View difference between Paste ID: Ds889nyY and hXHc9Cr2
SHOW: | | - or go back to the newest paste.
1
local Player = game:GetService("Players").LocalPlayer
2
repeat
3
    wait()
4
until Player.Character
5
local Character = Player.Character
6
TrailSettings = {
7
    Lifetime = 1,
8
    Texture = "http://www.roblox.com/asset/?id=1097260739",
9
    Color1 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
10
    Color2 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
11
    AllBody = true,
12
    UpperBodyOnly = false,
13
    LowerBodyOnly = false,
14
    Accessories = false,
15
    Extras = true,
16
    R15 = false,
17
    R15Parts = {"UpperTorso", "LowerTorso"}
18
}
19
local Trail
20
function UpperBody()
21
    if TrailSettings.R15 == false then
22
        A0 = Instance.new("Attachment", Character.Torso)
23
        A1 = Instance.new("Attachment", Character.Head)
24
        A2 = Instance.new("Attachment", Character["Right Arm"])
25
        A3 = Instance.new("Attachment", Character["Left Arm"])
26
        Trail = Instance.new("Trail", Character)
27
        Trail.Attachment0 = A0
28
        Trail.Attachment1 = A1
29
        Trail.Texture = TrailSettings.Texture
30
        Trail.Color = TrailSettings.Color1
31
        Trail.Lifetime = TrailSettings.Lifetime
32
        local Trail2 = Trail:Clone()
33
        Trail2.Parent = Character
34
        Trail2.Attachment1 = A2
35
        local Trail3 = Trail:Clone()
36
        Trail3.Parent = Character
37
        Trail3.Attachment1 = A3
38
        local Trail6 = Trail:Clone()
39
        Trail6.Parent = Character
40
        Trail6.Attachment0 = A1
41
        Trail6.Attachment1 = A2
42
        local Trail7 = Trail:Clone()
43
        Trail7.Parent = Character
44
        Trail7.Attachment0 = A1
45
        Trail7.Attachment1 = A3
46
    else
47
        A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
48
        A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
49
        A1 = Instance.new("Attachment", Character.Head)
50
        A2 = Instance.new("Attachment", Character.RightUpperArm)
51
        A2R = Instance.new("Attachment", Character.RightLowerArm)
52
        A3 = Instance.new("Attachment", Character.LeftUpperArm)
53
        A3R = Instance.new("Attachment", Character.LeftLowerArm)
54
        Trail = Instance.new("Trail", Character)
55
        Trail.Attachment0 = A0
56
        Trail.Attachment1 = A1
57
        Trail.Texture = TrailSettings.Texture
58
        Trail.Color = TrailSettings.Color1
59
        Trail.Lifetime = TrailSettings.Lifetime
60
        local Trail2 = Trail:Clone()
61
        Trail2.Parent = Character
62
        Trail2.Attachment1 = A2
63
        local Trail3 = Trail:Clone()
64
        Trail3.Parent = Character
65
        Trail3.Attachment1 = A3
66
        local Trail6 = Trail:Clone()
67
        Trail6.Parent = Character
68
        Trail6.Attachment0 = A1
69
        Trail6.Attachment1 = A2
70
        local Trail7 = Trail:Clone()
71
        Trail7.Parent = Character
72
        Trail7.Attachment0 = A1
73
        Trail7.Attachment1 = A3
74
        local Trail1R = Trail:Clone()
75
        Trail1R.Parent = Character
76
        Trail1R.Attachment1 = A2R
77
        local Trail2R = Trail:Clone()
78
        Trail2R.Parent = Character
79
        Trail2R.Attachment1 = A3R
80
        local Trail6R = Trail:Clone()
81
        Trail6.Parent = Character
82
        Trail6.Attachment0 = A1
83
        Trail6.Attachment1 = A2R
84
        local Trail7R = Trail:Clone()
85
        Trail7.Parent = Character
86
        Trail7.Attachment0 = A1
87
        Trail7.Attachment1 = A3R
88
    end
89
end
90
function LowerBody()
91
    if TrailSettings.R15 == false then
92
        A4 = Instance.new("Attachment", Character["Right Leg"])
93
        A5 = Instance.new("Attachment", Character["Left Leg"])
94
        local Trail4 = Trail:Clone()
95
        Trail4.Parent = Character
96
        Trail4.Attachment1 = A4
97
        local Trail5 = Trail:Clone()
98
        Trail5.Parent = Character
99
        Trail5.Attachment1 = A5
100
        local Trail8 = Trail:Clone()
101
        Trail8.Parent = Character
102
        Trail8.Attachment0 = A2
103
        Trail8.Attachment1 = A4
104
        Trail8.Color = TrailSettings.Color2
105
        local Trail9 = Trail:Clone()
106
        Trail9.Parent = Character
107
        Trail9.Attachment0 = A3
108
        Trail9.Attachment1 = A5
109
        Trail9.Color = TrailSettings.Color2
110
        local FT = Trail:Clone()
111
        FT.Parent = Character
112
        FT.Attachment0 = A4
113
        FT.Attachment1 = A5
114
        FT.Color = TrailSettings.Color2
115
    else
116
        A4 = Instance.new("Attachment", Character.RightLowerLeg)
117
        A4R = Instance.new("Attachment", Character.RightUpperLeg)
118
        A5 = Instance.new("Attachment", Character.LeftLowerLeg)
119
        A5R = Instance.new("Attachment", Character.LeftUpperLeg)
120
        local Trail4 = Trail:Clone()
121
        Trail4.Parent = Character
122
        Trail4.Attachment1 = A4
123
        local Trail5 = Trail:Clone()
124
        Trail5.Parent = Character
125
        Trail5.Attachment1 = A5
126
        local Trail8 = Trail:Clone()
127
        Trail8.Parent = Character
128
        Trail8.Attachment0 = A2
129
        Trail8.Attachment1 = A4
130
        Trail8.Color = TrailSettings.Color2
131
        local Trail9 = Trail:Clone()
132
        Trail9.Parent = Character
133
        Trail9.Attachment0 = A3
134
        Trail9.Attachment1 = A5
135
        Trail9.Color = TrailSettings.Color2
136
        local FT = Trail:Clone()
137
        FT.Parent = Character
138
        FT.Attachment0 = A4
139
        FT.Attachment1 = A5
140
        FT.Color = TrailSettings.Color2
141
        local Trail3R = Trail:Clone()
142
        Trail3R.Parent = Character
143
        Trail3R.Attachment1 = A4R
144
        local Trail4R = Trail:Clone()
145
        Trail4R.Parent = Character
146
        Trail4R.Attachment1 = A5R
147
        local Trail8 = Trail:Clone()
148
        Trail8.Parent = Character
149
        Trail8.Attachment0 = A2R
150
        Trail8.Attachment1 = A4R
151
        Trail8.Color = TrailSettings.Color2
152
        local Trail9 = Trail:Clone()
153
        Trail9.Parent = Character
154
        Trail9.Attachment0 = A3R
155
        Trail9.Attachment1 = A5R
156
        Trail9.Color = TrailSettings.Color2
157
        local FT2R = Trail:Clone()
158
        FT2R.Parent = Character
159
        FT2R.Attachment0 = A4R
160
        FT2R.Attachment1 = A5R
161
        FT2R.Color = TrailSettings.Color2
162
    end
163
end
164
function AllBody()
165
    UpperBody()
166
    LowerBody()
167
end
168
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
169
    TrailSettings.UpperBodyOnly = false
170
    TrailSettings.LowerBodyOnly = false
171
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
172
    TrailSettings.UpperBodyOnly = false
173
    TrailSettings.LowerBodyOnly = false
174
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
175
    TrailSettings.UpperBodyOnly = false
176
    TrailSettings.LowerBodyOnly = false
177
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
178
    TrailSettings.AllBody = true
179
    TrailSettings.UpperBodyOnly = false
180
    TrailSettings.LowerBodyOnly = false
181
end
182
if TrailSettings.UpperBodyOnly == true then
183
    UpperBody()
184
    print("Called Upper Body Trail")
185
elseif TrailSettings.LowerBodyOnly == true then
186
    LowerBody()
187
    print("Called Lower Body Trail")
188
elseif TrailSettings.AllBody == true then
189
    AllBody()
190
    print("Called Full Body Trail")
191
end
192
if TrailSettings.Accessories == true then
193
    for Index, Item in pairs(Character:GetChildren()) do
194
        if Item:IsA("Accessory") then
195
            local AA = Instance.new("Attachment", Item.Handle)
196
            local ATrail = Trail:Clone()
197
            ATrail.Parent = Character
198
            ATrail.Attachment1 = AA
199
        end
200
    end
201
end
202
if TrailSettings.Extras == true then
203
    spawn(function()
204
        repeat
205
            wait()
206
        until Trail
207
        local AB = Instance.new("Attachment", a)
208
        local ABT = Trail:Clone()
209
        ABT.Parent = Character
210
        ABT.Attachment0 = A4
211
        ABT.Attachment1 = AB
212
        ABT.Color = TrailSettings.Color2
213
        local ABT2 = Trail:Clone()
214
        ABT2.Parent = Character
215
        ABT2.Attachment0 = A5
216
        ABT2.Attachment1 = AB
217
        ABT2.Color = TrailSettings.Color2
218
    end)
219
end
220
local CLOCKLOOP = 0
221
local CLOCKTARGET = nil
222
local CLOCKSPEED = 4
223
local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
224
local Debounces = {Debounces={}}
225
local Sine = 0
226
local RbxUtility = LoadLibrary("RbxUtility")
227
local Create = RbxUtility.Create
228
--Converted with saba1520 ;p
229
function sandbox(var,func)
230
	local env = getfenv(func)
231
	local newenv = setmetatable({},{
232
		__index = function(self,k)
233
			if k=="script" then
234
				return var
235
			else
236
				return env[k]
237
			end
238
		end,
239
	})
240
	setfenv(func,newenv)
241
	return func
242
end
243
cors = {}
244
mas = Instance.new("Model",game:GetService("Lighting"))
245
LocalScript0 = Instance.new("LocalScript")
246
ParticleEmitter1 = Instance.new("ParticleEmitter")
247
ParticleEmitter2 = Instance.new("ParticleEmitter")
248
BillboardGui3 = Instance.new("BillboardGui")
249
TextLabel4 = Instance.new("TextLabel")
250
TextLabel5 = Instance.new("TextLabel")
251
ParticleEmitter6 = Instance.new("ParticleEmitter")
252
LocalScript7 = Instance.new("LocalScript")
253
NumberValue8 = Instance.new("NumberValue")
254
NumberValue9 = Instance.new("NumberValue")
255
BoolValue10 = Instance.new("BoolValue")
256
ParticleEmitter11 = Instance.new("ParticleEmitter")
257
ParticleEmitter12 = Instance.new("ParticleEmitter")
258
ParticleEmitter13 = Instance.new("ParticleEmitter")
259
ParticleEmitter14 = Instance.new("ParticleEmitter")
260
ParticleEmitter15 = Instance.new("ParticleEmitter")
261
ParticleEmitter16 = Instance.new("ParticleEmitter")
262
ParticleEmitter17 = Instance.new("ParticleEmitter")
263
ParticleEmitter18 = Instance.new("ParticleEmitter")
264
ParticleEmitter19 = Instance.new("ParticleEmitter")
265
ParticleEmitter20 = Instance.new("ParticleEmitter")
266
Part21 = Instance.new("Part")
267
SpecialMesh22 = Instance.new("SpecialMesh")
268
Folder23 = Instance.new("Folder")
269
CharacterMesh24 = Instance.new("CharacterMesh")
270
CharacterMesh25 = Instance.new("CharacterMesh")
271
CharacterMesh26 = Instance.new("CharacterMesh")
272
CharacterMesh27 = Instance.new("CharacterMesh")
273
CharacterMesh28 = Instance.new("CharacterMesh")
274
Part29 = Instance.new("Part")
275
SpecialMesh30 = Instance.new("SpecialMesh")
276
LocalScript0.Name = "SearingEmperor"
277
LocalScript0.Parent = mas
278
table.insert(cors,sandbox(LocalScript0,function()
279
--//====================================================\\--
280
--||			   CREATED BY SHACKLUSTER
281
--\\====================================================//--
282
283
wait(1)
284
285
local txt = Instance.new("BillboardGui", Char)
286
txt.Adornee = Char .Head
287
txt.Name = "_status"
288
txt.Size = UDim2.new(2, 0, 1.2, 0)
289
txt.StudsOffset = Vector3.new(-9, 8, 0)
290
local text = Instance.new("TextLabel", txt)
291
text.Size = UDim2.new(10, 0, 7, 0)
292
text.FontSize = "Size24"
293
text.TextScaled = true
294
text.TextTransparency = 0
295
text.BackgroundTransparency = 1
296
text.TextTransparency = 0
297
text.TextStrokeTransparency = 0
298
text.Font = "Antique"
299
text.TextStrokeColor3 = Color3.new(0,255,0)
300
 
301
v=Instance.new("Part")
302
v.Name = "ColorBrick"
303
v.Parent=Player.Character
304
v.FormFactor="Symmetric"
305
v.Anchored=true
306
v.CanCollide=false
307
v.BottomSurface="Smooth"
308
v.TopSurface="Smooth"
309
v.Size=Vector3.new(10,5,3)
310
v.Transparency=1
311
v.CFrame=Char.Torso.CFrame
312
v.BrickColor=BrickColor.new(CV)
313
v.Transparency=1
314
text.TextColor3 = Color3.new(0,0,0)
315
v.Shape="Block"
316
text.Text = Char.Name
317
318
cam = game.Workspace.CurrentCamera
319
CF = CFrame.new
320
angles = CFrame.Angles
321
attack = false
322
Euler = CFrame.fromEulerAnglesXYZ
323
Rad = math.rad
324
IT = Instance.new
325
BrickC = BrickColor.new
326
Cos = math.cos
327
Acos = math.acos
328
Sin = math.sin
329
Asin = math.asin
330
Abs = math.abs
331
Mrandom = math.random
332
Floor = math.floor
333
Player = game:GetService("Players").LocalPlayer
334
PlayerGui = Player.PlayerGui
335
Cam = workspace.CurrentCamera
336
Backpack = Player.Backpack
337
repeat wait() until Player.Character
338
Character = Player.Character
339
repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid")
340
Humanoid = Character:FindFirstChildOfClass("Humanoid")
341
Mouse = Player:GetMouse()
342
Player_Size = 1 --Size of the player.
343
RootPart = Character["HumanoidRootPart"]
344
Torso = Character["Torso"]
345
Head = Character["Head"]
346
RightArm = Character["Right Arm"]
347
LeftArm = Character["Left Arm"]
348
RightLeg = Character["Right Leg"]
349
LeftLeg = Character["Left Leg"]
350
RootJoint = RootPart["RootJoint"]
351
Neck = Torso["Neck"]
352
RightShoulder = Torso["Right Shoulder"]
353
LeftShoulder = Torso["Left Shoulder"]
354
RightHip = Torso["Right Hip"]
355
LeftHip = Torso["Left Hip"]
356
357
plr = game:GetService("Players").LocalPlayer
358
char = plr.Character
359
hum = char.Humanoid
360
local cam = game.Workspace.CurrentCamera
361
local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
362
Camera = cam
363
local CamInterrupt = false
364
local TwoD = false
365
local TargetInfo = {nil, nil}
366
cam.CameraType = "Custom"
367
t = char.Torso
368
h = char.Head
369
ra = char["Right Arm"]
370
la = char["Left Arm"]
371
rl = char["Right Leg"]
372
ll = char["Left Leg"]
373
tors = char.Torso
374
lleg = char["Left Leg"]
375
root = char.HumanoidRootPart
376
hed = char.Head
377
rleg = char["Right Leg"]
378
rarm = char["Right Arm"]
379
larm = char["Left Arm"]
380
radian = math.rad
381
random = math.random
382
Vec3 = Vector3.new
383
Inst = Instance.new
384
cFrame = CFrame.new
385
Euler = CFrame.fromEulerAnglesXYZ
386
vt = Vector3.new
387
bc = BrickColor.new
388
br = BrickColor.random
389
it = Instance.new
390
cf = CFrame.new
391
local eff = true
392
local shielding = false
393
394
SIZE = 1
395
396
IT = Instance.new
397
CF = CFrame.new
398
VT = Vector3.new
399
RAD = math.rad
400
C3 = Color3.new
401
UD2 = UDim2.new
402
BRICKC = BrickColor.new
403
ANGLES = CFrame.Angles
404
EULER = CFrame.fromEulerAnglesXYZ
405
COS = math.cos
406
ACOS = math.acos
407
SIN = math.sin
408
ASIN = math.asin
409
ABS = math.abs
410
MRANDOM = math.random
411
FLOOR = math.floor
412
413
for i,v in pairs(char:children()) do
414
if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
415
v:Remove()
416
end
417
end
418
shirt = Instance.new("Shirt", char)
419
shirt.Name = "Shirt"
420
pants = Instance.new("Pants", char)
421
pants.Name = "Pants"
422
char.Shirt.ShirtTemplate = "rbxassetid://791994658"
423
char.Pants.PantsTemplate = "rbxassetid://1029442377"
424
425
local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat")
426
Hat.AttachmentPos = Vector3.new(0, 0, 0)
427
Hat.Name = "Hat_F"
428
local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
429
if Handle.Name ~= "Handle" then
430
  Handle.Size = Vector3.new(0, 0, 0)
431
end
432
Handle.BottomSurface = 0
433
Handle.Name = "Handle"
434
Handle.TopSurface = 0
435
Handle.Locked = 1
436
handle = Instance.new("Part", char)
437
handle.TopSurface = "Smooth"
438
handle.BottomSurface = "Smooth"
439
handle.Material = "Neon"
440
handle.Size = Vector3.new(0.4, 1.2, 2)
441
handle.CanCollide = false
442
handle.FormFactor = "Custom"
443
local Weldb = Instance.new("Weld", char)
444
Weldb.Part0 = ra
445
Weldb.Part1 = handle
446
Weldb.C1 = CFrame.new(0, -.4, -1.6) *angles(Rad(90), Rad(0), Rad(180))
447
local KnifeMesh = Instance.new("SpecialMesh", handle)
448
KnifeMesh.MeshType = "FileMesh"
449
KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=441587064"
450
KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=441587082"
451
KnifeMesh.Scale = Vector3.new(0.035, 0.02, 0.02)
452
453
--//=================================\\
454
--|| 	      USEFUL VALUES
455
--\\=================================//
456
457
Animation_Speed = 3
458
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
459
local Speed = 16
460
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
461
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
462
local RIGHTSHOULDERC0 = CF(-0.5, -0.25, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
463
local LEFTSHOULDERC0 = CF(0.5, -0.25, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
464
local DAMAGEMULTIPLIER = 1
465
local ANIM = "Idle"
466
local ATTACK = false
467
local EQUIPPED = false
468
local HOLD = false
469
local COMBO = 1
470
local Rooted = false
471
local SINE = 0
472
local PLAYSONG = true
473
local KEYHOLD = false
474
local CHANGE = 2 / Animation_Speed
475
local WALKINGANIM = false
476
local VALUE1 = false
477
local VALUE2 = false
478
local ROBLOXIDLEANIMATION = IT("Animation")
479
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
480
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
481
--ROBLOXIDLEANIMATION.Parent = Humanoid
482
local WEAPONGUI = IT("ScreenGui", PlayerGui)
483
WEAPONGUI.Name = "Weapon GUI"
484
local Effects = IT("Folder", Character)
485
Effects.Name = "Effects"
486
local SpecialEffects = IT("Folder", Character)
487
SpecialEffects.Name = "SpecialEffects"
488
local ANIMATOR = Humanoid.Animator
489
local ANIMATE = Character.Animate
490
local UNANCHOR = true
491
local REGENRATE = 1
492
local FULLREGEN = false
493
local POSEIDON = false
494
local EXPLOSIONSMALLSOUND = 439342426
495
local EXPLOSIONMEDIUMSOUND = 605005842
496
local EXPLOSIONLARGESOUND = 565538688
497
local CHARGE = 278641993
498
local POSEIDONSOUND = 374289727
499
local FIREBALLSOUND = 414517770
500
local BURNSOUND = 565777213
501
local FIREFIELD = false
502
local SEARING = false
503
local BODYPOS = nil
504
local GYRO = nil
505
local DIRECTTURN = false
506
local APPLYGYRO = true
507
local SONGS = {835120625,835120625,835120625,835120625,835120625,835120625}
508
local CHOSENSONG = MRANDOM(1,#SONGS)
509
510
--------------------
511
local ROBLOXIDLEANIMATION = IT("Animation")
512
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
513
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
514
--ROBLOXIDLEANIMATION.Parent = Humanoid
515
local WEAPONGUI = IT("ScreenGui", PlayerGui)
516
WEAPONGUI.Name = "Weapon GUI"
517
local Weapon = IT("Model")
518
Weapon.Name = "Adds"
519
local Effects = IT("Folder", Weapon)
520
Effects.Name = "Effects"
521
local ANIMATOR = Humanoid.Animator
522
local ANIMATE = Character.Animate
523
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
524
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
525
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
526
local HITBLOCKSOUNDS = {"199148933", "199148947"}
527
local UNANCHOR = true
528
529
530
--//=================================\\
531
--\\=================================//
532
533
534
--//=================================\\
535
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
536
--\\=================================//
537
538
ArtificialHB = Instance.new("BindableEvent", script)
539
ArtificialHB.Name = "ArtificialHB"
540
541
script:WaitForChild("ArtificialHB")
542
543
frame = Frame_Speed
544
tf = 0
545
allowframeloss = false
546
tossremainder = false
547
lastframe = tick()
548
script.ArtificialHB:Fire()
549
550
game:GetService("RunService").Heartbeat:connect(function(s, p)
551
	tf = tf + s
552
	if tf >= frame then
553
		if allowframeloss then
554
			script.ArtificialHB:Fire()
555
			lastframe = tick()
556
		else
557
			for i = 1, math.floor(tf / frame) do
558
				script.ArtificialHB:Fire()
559
			end
560
		lastframe = tick()
561
		end
562
		if tossremainder then
563
			tf = 0
564
		else
565
			tf = tf - frame * math.floor(tf / frame)
566
		end
567
	end
568
end)
569
570
--//=================================\\
571
--\\=================================//
572
573
--//=================================\\
574
--|| 	      SOME FUNCTIONS
575
--\\=================================//
576
577
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
578
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
579
end
580
581
function PositiveAngle(NUMBER)
582
	if NUMBER >= 0 then
583
		NUMBER = 0
584
	end
585
	return NUMBER
586
end
587
588
function NegativeAngle(NUMBER)
589
	if NUMBER <= 0 then
590
		NUMBER = 0
591
	end
592
	return NUMBER
593
end
594
595
function swait(num)
596
    if num == 0 or num == nil then
597
        ArtificialHB.Event:wait()
598
    else
599
        for i = 0, num do
600
            ArtificialHB.Event:wait()
601
        end
602
    end
603
end
604
605
function Swait(NUMBER)
606
	if NUMBER == 0 or NUMBER == nil then
607
		ArtificialHB.Event:wait()
608
	else
609
		for i = 1, NUMBER do
610
			ArtificialHB.Event:wait()
611
		end
612
	end
613
end
614
615
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
616
	local NEWMESH = IT(MESH)
617
	if MESH == "SpecialMesh" then
618
		NEWMESH.MeshType = MESHTYPE
619
		if MESHID ~= "nil" and MESHID ~= "" then
620
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
621
		end
622
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
623
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
624
		end
625
	end
626
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
627
	NEWMESH.Scale = SCALE
628
	NEWMESH.Parent = PARENT
629
	return NEWMESH
630
end
631
632
function Debounces:New(name,cooldown)
633
    local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
634
    setmetatable(aaaaa,{__index = Debounces})
635
    Debounces.Debounces[name] = aaaaa
636
    return aaaaa
637
end
638
639
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
640
	local NEWPART = IT("Part")
641
	NEWPART.formFactor = FORMFACTOR
642
	NEWPART.Reflectance = REFLECTANCE
643
	NEWPART.Transparency = TRANSPARENCY
644
	NEWPART.CanCollide = false
645
	NEWPART.Locked = true
646
	NEWPART.Anchored = true
647
	if ANCHOR == false then
648
		NEWPART.Anchored = false
649
	end
650
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
651
	NEWPART.Name = NAME
652
	NEWPART.Size = SIZE
653
	NEWPART.Position = Torso.Position
654
	NEWPART.Material = MATERIAL
655
	NEWPART:BreakJoints()
656
	NEWPART.Parent = PARENT
657
	return NEWPART
658
end
659
660
	local function weldBetween(a, b)
661
	    local weldd = Instance.new("ManualWeld")
662
	    weldd.Part0 = a
663
	    weldd.Part1 = b
664
	    weldd.C0 = CFrame.new()
665
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
666
	    weldd.Parent = a
667
	    return weldd
668
	end
669
670
671
function QuaternionFromCFrame(cf)
672
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
673
	local trace = m00 + m11 + m22
674
	if trace > 0 then 
675
		local s = math.sqrt(1 + trace)
676
		local recip = 0.5 / s
677
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
678
	else
679
		local i = 0
680
		if m11 > m00 then
681
			i = 1
682
		end
683
		if m22 > (i == 0 and m00 or m11) then
684
			i = 2
685
		end
686
		if i == 0 then
687
			local s = math.sqrt(m00 - m11 - m22 + 1)
688
			local recip = 0.5 / s
689
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
690
		elseif i == 1 then
691
			local s = math.sqrt(m11 - m22 - m00 + 1)
692
			local recip = 0.5 / s
693
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
694
		elseif i == 2 then
695
			local s = math.sqrt(m22 - m00 - m11 + 1)
696
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
697
		end
698
	end
699
end
700
 
701
local BC = char["Body Colors"]
702
BC.HeadColor = BrickColor.new("Deep orange")
703
BC.RightArmColor = BrickColor.new("Deep orange")
704
BC.LeftArmColor = BrickColor.new("Deep orange")
705
BC.RightLegColor = BrickColor.new("Deep orange")
706
BC.LeftLegColor = BrickColor.new("Deep orange")
707
BC.TorsoColor = BrickColor.new("Deep orange")
708
709
function QuaternionToCFrame(px, py, pz, x, y, z, w)
710
	local xs, ys, zs = x + x, y + y, z + z
711
	local wx, wy, wz = w * xs, w * ys, w * zs
712
	local xx = x * xs
713
	local xy = x * ys
714
	local xz = x * zs
715
	local yy = y * ys
716
	local yz = y * zs
717
	local zz = z * zs
718
	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))
719
end
720
 
721
function QuaternionSlerp(a, b, t)
722
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
723
	local startInterp, finishInterp;
724
	if cosTheta >= 0.0001 then
725
		if (1 - cosTheta) > 0.0001 then
726
			local theta = ACOS(cosTheta)
727
			local invSinTheta = 1 / SIN(theta)
728
			startInterp = SIN((1 - t) * theta) * invSinTheta
729
			finishInterp = SIN(t * theta) * invSinTheta
730
		else
731
			startInterp = 1 - t
732
			finishInterp = t
733
		end
734
	else
735
		if (1 + cosTheta) > 0.0001 then
736
			local theta = ACOS(-cosTheta)
737
			local invSinTheta = 1 / SIN(theta)
738
			startInterp = SIN((t - 1) * theta) * invSinTheta
739
			finishInterp = SIN(t * theta) * invSinTheta
740
		else
741
			startInterp = t - 1
742
			finishInterp = t
743
		end
744
	end
745
	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
746
end
747
748
function Clerp(a, b, t)
749
	local qa = {QuaternionFromCFrame(a)}
750
	local qb = {QuaternionFromCFrame(b)}
751
	local ax, ay, az = a.x, a.y, a.z
752
	local bx, by, bz = b.x, b.y, b.z
753
	local _t = 1 - t
754
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
755
end
756
757
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
758
	local frame = IT("Frame")
759
	frame.BackgroundTransparency = TRANSPARENCY
760
	frame.BorderSizePixel = BORDERSIZEPIXEL
761
	frame.Position = POSITION
762
	frame.Size = SIZE
763
	frame.BackgroundColor3 = COLOR
764
	frame.BorderColor3 = BORDERCOLOR
765
	frame.Name = NAME
766
	frame.Parent = PARENT
767
	return frame
768
end
769
770
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
771
	local label = IT("TextLabel")
772
	label.BackgroundTransparency = 1
773
	label.Size = UD2(1, 0, 1, 0)
774
	label.Position = UD2(0, 0, 0, 0)
775
	label.TextColor3 = TEXTCOLOR
776
	label.TextStrokeTransparency = STROKETRANSPARENCY
777
	label.TextTransparency = TRANSPARENCY
778
	label.FontSize = TEXTFONTSIZE
779
	label.Font = TEXTFONT
780
	label.BorderSizePixel = BORDERSIZEPIXEL
781
	label.TextScaled = false
782
	label.Text = TEXT
783
	label.Name = NAME
784
	label.Parent = PARENT
785
	return label
786
end
787
788
function NoOutlines(PART)
789
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
790
end
791
792
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
793
	local NEWWELD = IT(TYPE)
794
	NEWWELD.Part0 = PART0
795
	NEWWELD.Part1 = PART1
796
	NEWWELD.C0 = C0
797
	NEWWELD.C1 = C1
798
	NEWWELD.Parent = PARENT
799
	return NEWWELD
800
end
801
802
function Soul(POS)
803
	coroutine.resume(coroutine.create(function()
804
		local SOULMODEL = IT("Model", Effects)
805
		SOULMODEL.Name = "Soul"
806
		local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "Really red", "Part", VT(0.5, 0.5, 0.5))
807
		SOUL.Color = C3(0, 0, 0)
808
		SOUL.CFrame = CF(POS)
809
		local A1 = IT("Attachment", SOUL)
810
		A1.Position = Vector3.new(0, 0.25, 0)
811
		local A2 = IT("Attachment", SOUL)
812
		A2.Position = Vector3.new(0, -0.25, 0)
813
		local Trail = IT("Trail", SOUL)
814
		Trail.LightEmission = 0
815
		Trail.FaceCamera = true
816
		Trail.Texture = "rbxassetid://945758042"
817
		Trail.Attachment0 = A1
818
		Trail.Attachment1 = A2
819
		Trail.Lifetime = 0.5
820
		Trail.MinLength = 0
821
		Trail.Transparency = NumberSequence.new(0)
822
		Trail.Color = ColorSequence.new(SOUL.Color)
823
		MakeForm(SOUL, "Ball")
824
		local DISTANCE
825
		local HUM = IT("Humanoid", SOULMODEL)
826
		repeat
827
			Swait()
828
			SOUL.CFrame = Clerp(SOUL.CFrame, Torso.CFrame, 0.03)
829
			DISTANCE = (SOUL.Position - Torso.Position).Magnitude
830
		until DISTANCE < 0.4
831
		SOUL.Transparency = 1
832
		A1.Parent = Torso
833
		A2.Parent = Torso
834
		Trail.Parent = Torso
835
		SOULMODEL:remove()
836
		for i = 1, 100 do
837
			Swait()
838
			Trail.Transparency = NumberSequence.new(i / 100)
839
		end
840
		A1:remove()
841
		A2:remove()
842
		Trail:remove()
843
	end))
844
end
845
Humanoid.Died:connect(function()
846
	ATTACK = true
847
end)
848
849
function Blob(POSITION, RANGE)
850
	for index, CHILD in pairs(workspace:GetChildren()) do
851
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD:FindFirstChild("AbsylumDrag") == nil then
852
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
853
			if HUM then
854
				do
855
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
856
					if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
857
						do
858
							local HITFLOOR, HITPOS = Raycast(TORSO.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, TORSO.Size.Y * 3, CHILD)
859
							if HITFLOOR and HITFLOOR.Anchored == true then
860
								TORSO.Anchored = true
861
								CHILD.PrimaryPart = TORSO
862
								coroutine.resume(coroutine.create(function()
863
									local FLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "AbsylumFloor", VT(0, 0, 0), true)
864
									FLOOR.Color = C3(1,1,1)
865
									MakeForm(FLOOR, "Cyl")
866
									FLOOR.CFrame = CF(HITPOS)
867
									local E = IT("Folder", CHILD)
868
									E.Name = "AbsylumDrag"
869
									for i = 1, 35 do
870
										Swait()
871
										FLOOR.Size = FLOOR.Size + VT(0.2 * TORSO.Size.Z, 0, 0.2 * TORSO.Size.Z)
872
									end
873
									local SOUND = CreateSound(744744924, FLOOR, 0, MRANDOM(8, 12) / 10, false)
874
									repeat
875
										Swait()
876
										SOUND.Parent = FLOOR
877
										SOUND.Volume = SOUND.Volume + 0.08888888888888889
878
										CHILD:SetPrimaryPartCFrame(TORSO.CFrame * CF(0, -0.05, 0))
879
									until TORSO.Position.Y < FLOOR.Position.Y - 2.3 * TORSO.Size.Z
880
									for _, c in pairs(CHILD:GetChildren()) do
881
										if c.ClassName == "Accessory" or c.ClassName == "Tool" or c.ClassName == "Hat" then
882
											local H = c:FindFirstChild("Handle")
883
											if H then
884
												H.CanCollide = true
885
												H.Parent = workspace
886
												H.CFrame = TORSO.CFrame * CF(0, TORSO.Size.Y * 1.2, 0)
887
												Debris:AddItem(H, 5)
888
											end
889
										end
890
									end
891
									CHILD:Remove()
892
									local VOLUME = SOUND.Volume
893
									for i = 1, 35 do
894
										Swait()
895
										SOUND.Volume = SOUND.Volume - VOLUME / 35
896
										FLOOR.Size = FLOOR.Size - VT(0.2 * TORSO.Size.Z, 0, 0.2 * TORSO.Size.Z)
897
									end
898
									Soul(FLOOR.Position)
899
									SOUND:Stop()
900
									FLOOR:remove()
901
								end))
902
							end
903
						end
904
					end
905
				end
906
			end
907
		end
908
	end
909
end
910
911
local S = IT("Sound")
912
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
913
	local NEWSOUND = nil
914
	coroutine.resume(coroutine.create(function()
915
		NEWSOUND = S:Clone()
916
		NEWSOUND.Parent = PARENT
917
		NEWSOUND.Volume = VOLUME
918
		NEWSOUND.Pitch = PITCH
919
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
920
		NEWSOUND:play()
921
		if DOESLOOP == true then
922
			NEWSOUND.Looped = true
923
		else
924
			repeat wait(1) until NEWSOUND.Playing == false
925
			NEWSOUND:remove()
926
		end
927
	end))
928
	return NEWSOUND
929
end
930
931
function CFrameFromTopBack(at, top, back)
932
	local right = top:Cross(back)
933
	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)
934
end
935
936
--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(222,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
937
function WACKYEFFECT(Table)
938
	local TYPE = (Table.EffectType or "Sphere")
939
	local SIZE = (Table.Size or VT(1,1,1))
940
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
941
	local TRANSPARENCY = (Table.Transparency or 0)
942
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
943
	local CFRAME = (Table.CFrame or Torso.CFrame)
944
	local MOVEDIRECTION = (Table.MoveToPos or nil)
945
	local ROTATION1 = (Table.RotationX or 0)
946
	local ROTATION2 = (Table.RotationY or 0)
947
	local ROTATION3 = (Table.RotationZ or 0)
948
	local MATERIAL = (Table.Material or "Neon")
949
	local COLOR = (Table.Color or C3(222,255,0))
950
	local TIME = (Table.Time or 45)
951
	local SOUNDID = (Table.SoundID or nil)
952
	local SOUNDPITCH = (Table.SoundPitch or nil)
953
	local SOUNDVOLUME = (Table.SoundVolume or nil)
954
	coroutine.resume(coroutine.create(function()
955
		local PLAYSSOUND = false
956
		local SOUND = nil
957
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Deep orange"), "Effect", VT(1,1,1), true)
958
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
959
			PLAYSSOUND = true
960
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
961
		end
962
		EFFECT.Color = COLOR
963
		local MSH = nil
964
		if TYPE == "Sphere" then
965
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
966
		elseif TYPE == "Block" then
967
			MSH = IT("BlockMesh",EFFECT)
968
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
969
		elseif TYPE == "Wave" then
970
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
971
		elseif TYPE == "Ring" then
972
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
973
		elseif TYPE == "Slash" then
974
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
975
		elseif TYPE == "Round Slash" then
976
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
977
		elseif TYPE == "Swirl" then
978
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
979
		elseif TYPE == "Skull" then
980
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
981
		elseif TYPE == "Crystal" then
982
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
983
		end
984
		if MSH ~= nil then
985
			local MOVESPEED = nil
986
			if MOVEDIRECTION ~= nil then
987
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
988
			end
989
			local GROWTH = SIZE - ENDSIZE
990
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
991
			if TYPE == "Block" then
992
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
993
			else
994
				EFFECT.CFrame = CFRAME
995
			end
996
			for LOOP = 1, TIME+1 do
997
				Swait()
998
				MSH.Scale = MSH.Scale - GROWTH/TIME
999
				if TYPE == "Wave" then
1000
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1001
				end
1002
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1003
				if TYPE == "Block" then
1004
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1005
				else
1006
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1007
				end
1008
				if MOVEDIRECTION ~= nil then
1009
					local ORI = EFFECT.Orientation
1010
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1011
					EFFECT.Orientation = ORI
1012
				end
1013
			end
1014
			if PLAYSSOUND == false then
1015
				EFFECT:remove()
1016
			else
1017
				repeat Swait() until SOUND.Playing == false
1018
				EFFECT:remove()
1019
			end
1020
		else
1021
			if PLAYSSOUND == false then
1022
				EFFECT:remove()
1023
			else
1024
				repeat Swait() until SOUND.Playing == false
1025
				EFFECT:remove()
1026
			end
1027
		end
1028
	end))
1029
end
1030
1031
local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
1032
1033
local AddInstance = function(Object, ...)
1034
local Obj = Instance.new(Object)
1035
for i,v in next,(...) do
1036
Obj[i] = v
1037
end
1038
return Obj
1039
end
1040
1041
function MakeForm(PART,TYPE)
1042
	if TYPE == "Cyl" then
1043
		local MSH = IT("CylinderMesh",PART)
1044
	elseif TYPE == "Ball" then
1045
		local MSH = IT("SpecialMesh",PART)
1046
		MSH.MeshType = "Sphere"
1047
	elseif TYPE == "Wedge" then
1048
		local MSH = IT("SpecialMesh",PART)
1049
		MSH.MeshType = "Wedge"
1050
	end
1051
end
1052
1053
Debris = game:GetService("Debris")
1054
1055
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1056
	local DIRECTION = CF(StartPos,EndPos).lookVector
1057
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
1058
end
1059
1060
function Particles(Which,Parent,Enabled)
1061
	if script:FindFirstChild(Which) then
1062
		local PARTICLES = script:FindFirstChild(Which):Clone()
1063
		PARTICLES.Parent = Parent
1064
		PARTICLES.Name = "CurseParticles"
1065
		if Enabled ~= true then	
1066
			PARTICLES:Emit(Enabled)
1067
			Debris:AddItem(PARTICLES,10)
1068
		else
1069
			PARTICLES.Enabled = true
1070
			return PARTICLES
1071
		end
1072
	end
1073
end
1074
1075
--//=================================\\
1076
--||	     WEAPON CREATION
1077
--\\=================================//
1078
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
1079
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1080
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
1081
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1082
MakeForm(PRT,"Cyl")
1083
local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
1084
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1085
MakeForm(PRT,"Cyl")
1086
PRT.Color = C3(255/255, 255/255, 0/255)
1087
local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
1088
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1089
MakeForm(RING,"Cyl")
1090
RING.Color = C3(0,0,0)
1091
for i = 1, 12 do
1092
    local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
1093
    PRT.Color = C3(0,0,0)
1094
    local MSH = IT("BlockMesh",PRT)
1095
    MSH.Scale = VT(0.6,1,1)
1096
    CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
1097
end
1098
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
1099
PRT.Color = C3(0,0,0)
1100
local MSH = IT("BlockMesh",PRT)
1101
MSH.Scale = VT(0.4,1,1)
1102
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
1103
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
1104
PRT.Color = C3(0,0,0)
1105
local MSH = IT("BlockMesh",PRT)
1106
MSH.Scale = VT(0.4,1,1)
1107
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
1108
coroutine.resume(coroutine.create(function()
1109
    while true do
1110
        Swait()
1111
        CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
1112
        WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
1113
        WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
1114
        if CLOCKLOOP <= -150 then
1115
            if VALUE1 == false then
1116
                CLOCKLOOP = 0
1117
                WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
1118
                local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1119
                ApplyAoE(HITPOS,10,15,45,75,true)
1120
                WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
1121
                WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
1122
                if CLOCKTARGET ~= nil then
1123
                    CLOCKTARGET.Health = CLOCKTARGET.Health - 20
1124
                    if CLOCKTARGET.Torso ~= nil then
1125
                        CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
1126
                    end
1127
                    if CLOCKTARGET.Health == 0 then
1128
                        CLOCKTARGET = nil
1129
                    end
1130
                end
1131
            end
1132
        end
1133
    end
1134
end))
1135
 
1136
for _, c in pairs(Weapon:GetChildren()) do
1137
    if c.ClassName == "Part" then
1138
        c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1139
    end
1140
end
1141
 
1142
Neck.Name = "Weld"
1143
RootJoint.Name = "Weld"
1144
RightShoulder.Name = "Weld"
1145
LeftShoulder.Name = "Weld"
1146
RightHip.Name = "Weld"
1147
LeftHip.Name = "Weld"
1148
 
1149
local BODY = {}
1150
for _, c in pairs(Character:GetDescendants()) do
1151
    if c:IsA("BasePart") and c.Name ~= "Handle" then
1152
        if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1153
            c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1154
        end
1155
        table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
1156
    elseif c:IsA("JointInstance") then
1157
        table.insert(BODY,{c,c.Parent,nil,nil,nil})
1158
    end
1159
end
1160
for e = 1, #BODY do
1161
    if BODY[e] ~= nil then
1162
        local STUFF = BODY[e]
1163
        local PART = STUFF[1]
1164
        local PARENT = STUFF[2]
1165
        local MATERIAL = STUFF[3]
1166
        local COLOR = STUFF[4]
1167
        local TRANSPARENCY = STUFF[5]
1168
        if PART.ClassName == "Part" and PART ~= RootPart then
1169
            PART.Material = MATERIAL
1170
            PART.Color = COLOR
1171
            PART.Transparency = TRANSPARENCY
1172
        end
1173
        PART.AncestryChanged:Connect(function()
1174
            PART.Parent = PARENT
1175
        end)
1176
    end
1177
end
1178
 
1179
function refit()
1180
    Character.Parent = workspace
1181
    for e = 1, #BODY do
1182
        if BODY[e] ~= nil then
1183
            local STUFF = BODY[e]
1184
            local PART = STUFF[1]
1185
            local PARENT = STUFF[2]
1186
            local MATERIAL = STUFF[3]
1187
            local COLOR = STUFF[4]
1188
            local TRANSPARENCY = STUFF[5]
1189
            if PART.ClassName == "Part" and PART ~= RootPart then
1190
                PART.Material = MATERIAL
1191
                PART.Color = COLOR
1192
                PART.Transparency = TRANSPARENCY
1193
            end
1194
            if PART.Parent ~= PARENT then
1195
                Humanoid:remove()
1196
                PART.Parent = PARENT
1197
                Humanoid = IT("Humanoid",Character)
1198
chatfunc ("I dont have time to die...")
1199
            end
1200
        end
1201
    end
1202
end
1203
local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255)
1204
local SKILLFONT = "Fantasy"
1205
local SKILLTEXTSIZE = 7
1206
 
1207
Weapon.Parent = Character
1208
Humanoid.Parent = Character
1209
 
1210
Humanoid.Died:connect(function()
1211
    refit()
1212
end)
1213
1214
------------
1215
1216
1217
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Eye", VT(0.49,0.49,0.49),false)
1218
local EyeWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
1219
local Eye2 = CreatePart(3, Character, "Neon", 0, 0.5, "Cyan", "Eye", VT(0.49,0.49,0.30),false)
1220
local EyeWeld2 = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye2, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
1221
 
1222
1223
1224
1225
--------------------------
1226
1227
local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
1228
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(-15)), CF(0, 0, 0))
1229
local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false)
1230
CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1231
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Light", VT(0.35,1.4,0.35),false)
1232
CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1233
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
1234
CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1235
 
1236
local DECAL = IT("Decal",Part)
1237
DECAL.Texture = "http://www.roblox.com/asset/?id=50184258"
1238
DECAL.Face = "Top"
1239
 
1240
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
1241
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1242
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
1243
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
1244
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
1245
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
1246
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
1247
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1248
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Eon", VT(0.5,0.5,1.25),false)
1249
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1250
 
1251
for _, c in pairs(Weapon:GetChildren()) do
1252
    if c.ClassName == "Part" then
1253
        c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1254
    end
1255
end
1256
 
1257
 
1258
Weapon.Parent = Character
1259
 
1260
Humanoid.Died:connect(function()
1261
    ATTACK = true
1262
end)
1263
1264
-------------------------------------
1265
1266
local GUI = script.NameGui
1267
GUI.Parent = RootPart
1268
GUI.PlayerToHideFrom = Player
1269
Humanoid.DisplayDistanceType = "None"
1270
GUI.Enabled = true
1271
local Pauldrons = script.Pauldrons
1272
Pauldrons.Parent = Character
1273
Pauldrons.CFrame = Torso.CFrame
1274
local WELD = weldBetween(Torso,Pauldrons)
1275
Pauldrons.Anchored = false
1276
Pauldrons.Transparency = 0
1277
local FLINTLOCK = script.Flintlock
1278
FLINTLOCK.Parent = Character
1279
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, FLINTLOCK, CF(1,-1.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1280
1281
local REGENSOUND = 487215897
1282
for _, c in pairs(Character:GetDescendants()) do
1283
	if c and c.Parent then
1284
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
1285
			local ACCESSORY = c.Parent
1286
			c.Parent = Character
1287
			if c then
1288
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
1289
					weldBetween(Head,c)
1290
				else
1291
					weldBetween(Torso,c)
1292
				end
1293
			end
1294
			ACCESSORY:remove()
1295
		end
1296
	end
1297
end
1298
wait()
1299
local BODY = {}
1300
for _, c in pairs(Character:GetDescendants()) do
1301
	if c:IsA("BasePart") then
1302
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1303
		end
1304
		local REGENVALUE = IT("BoolValue",c)
1305
		REGENVALUE.Name = "IsRegening"
1306
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
1307
	elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then
1308
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil})
1309
	end
1310
end
1311
function FullBodyRegen()
1312
	if FULLREGEN == false then
1313
		FULLREGEN = true
1314
		Character.Parent = workspace
1315
		GUI.Enabled = false
1316
		CreateSound(FIREBALLSOUND,Torso,3,MRANDOM(10,12)/10,false)
1317
		UNANCHOR = false
1318
		for e = 1, #BODY do
1319
			if BODY[e] ~= nil then
1320
				local STUFF = BODY[e]
1321
				local PART = STUFF[1]
1322
				local PARENT = STUFF[2]
1323
				local MATERIAL = STUFF[3]
1324
				local COLOR = STUFF[4]
1325
				local TRANSPARENCY = STUFF[5]
1326
				--local SIZE = STUFF[6]
1327
				local NAME = STUFF[7]
1328
				local VALUE = STUFF[8]
1329
				PART.Parent = PARENT
1330
				Humanoid.MaxHealth = "inf"
1331
				Humanoid.Health = "inf"
1332
				Humanoid.Parent = nil
1333
				Humanoid = IT("Humanoid",Character)
1334
				Humanoid.Died:Connect(FullBodyRegen)
1335
				PART.Parent = PARENT
1336
				if PART:IsA("BasePart") and VALUE.Value == false and PART ~= RootPart then
1337
				VALUE.Value = true
1338
				coroutine.resume(coroutine.create(function()
1339
					PART.Transparency = 1
1340
					CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/15,false)
1341
					local REGEN = script.Regen:Clone()
1342
					REGEN.Parent = PART
1343
					REGEN.Speed = NumberRange.new(30)
1344
					REGEN:Emit(100)
1345
					local REGENING = script.Regen2:Clone()
1346
					REGENING.Parent = PART
1347
					REGENING.Enabled = true
1348
					REGENING.Speed = NumberRange.new(35)
1349
					wait()
1350
					local RANGE = 35
1351
					for i = 1, math.ceil(REGENRATE*25) do
1352
						wait()
1353
						ApplyAoE(PART.Position,6,1,1,0,false)
1354
						REGENING.Speed = NumberRange.new(RANGE)
1355
						RANGE = RANGE - (35/(math.ceil(REGENRATE*20)))
1356
					end
1357
					REGEN.Speed = NumberRange.new(6)
1358
					REGEN:Emit(60)
1359
					wait(REGENRATE/3)
1360
					RootPart.Velocity = VT(0,0,0)
1361
					UNANCHOR = true
1362
					GUI.Enabled = true
1363
					PART.Transparency = 0
1364
					REGEN.Rate = 50
1365
					REGEN.Enabled = true
1366
					REGENING.Enabled = false
1367
					wait(REGENRATE/1.5)
1368
					VALUE.Value = false
1369
					Debris:AddItem(REGENING,5)
1370
					FULLREGEN = false
1371
					REGEN.Enabled = false
1372
					Debris:AddItem(REGEN,5)
1373
				end))
1374
				end
1375
			end
1376
		end
1377
	end
1378
end
1379
function Regen()
1380
	Character.Parent = workspace
1381
	for e = 1, #BODY do
1382
		if BODY[e] ~= nil then
1383
			local STUFF = BODY[e]
1384
			local PART = STUFF[1]
1385
			local PARENT = STUFF[2]
1386
			local MATERIAL = STUFF[3]
1387
			local COLOR = STUFF[4]
1388
			local TRANSPARENCY = STUFF[5]
1389
			--local SIZE = STUFF[6]
1390
			local NAME = STUFF[7]
1391
			local VALUE = STUFF[8]
1392
			if PART.ClassName == "Part" and PART ~= RootPart then
1393
				PART.Material = MATERIAL
1394
				PART.Name = NAME
1395
			end
1396
			if PART.Parent ~= PARENT then
1397
				PART.Parent = PARENT
1398
				if PART:IsA("BasePart") and PART ~= RootPart and FULLREGEN == false then
1399
					if VALUE.Value == false then
1400
						VALUE.Value = true
1401
						coroutine.resume(coroutine.create(function()
1402
							PART.Transparency = 1
1403
							wait(REGENRATE)
1404
							CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
1405
							local REGENING = script.Regen:Clone()
1406
							REGENING.Parent = PART
1407
							REGENING.Enabled = true
1408
							for i = 1, math.ceil(REGENRATE*10) do
1409
								wait()
1410
								ApplyAoE(PART.Position,6,1,1,0,false)
1411
							end
1412
							wait(REGENRATE)	
1413
							PART.Transparency = 0
1414
							wait(REGENRATE/5)	
1415
							REGENING.Enabled = false
1416
							VALUE.Value = false
1417
							Debris:AddItem(REGENING,5)
1418
						end))
1419
					end
1420
				elseif PART:IsA("JointInstance") and PARENT ~= RootPart and FULLREGEN == false then
1421
					local VALUE = PARENT.IsRegening	
1422
					if VALUE == false then
1423
						VALUE.Value = true
1424
						local PART = PART.Part1
1425
						coroutine.resume(coroutine.create(function()
1426
							PART.Transparency = 1
1427
							wait(REGENRATE)
1428
							CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
1429
							local REGENING = script.Regen:Clone()
1430
							REGENING.Parent = PART
1431
							REGENING.Enabled = true
1432
							for i = 1, math.ceil(REGENRATE*10) do
1433
								wait()
1434
								ApplyAoE(PART.Position,6,1,1,0,false)
1435
							end
1436
							wait(REGENRATE)		
1437
							PART.Transparency = 0
1438
							wait(REGENRATE/5)	
1439
							REGENING.Enabled = false
1440
							VALUE.Value = false
1441
						end))	
1442
					end
1443
				end	
1444
			end
1445
		end
1446
	end
1447
end
1448
1449
for _, c in pairs(script.Package:GetChildren()) do
1450
	c.Parent = Character
1451
end
1452
1453
local b = IT("BodyForce",RootPart)
1454
b.Name = "LowGrav"
1455
b.force = Vector3.new(0,1500,0)
1456
1457
local SKILLTEXTCOLOR = C3(222,255,0)
1458
local SKILLFONT = "Fantasy"
1459
local SKILLTEXTSIZE = 7
1460
1461
local BACKATTACHMENT1 = IT("Attachment",Torso)
1462
BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
1463
local BACKATTACHMENT2 = IT("Attachment",Torso)
1464
BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
1465
1466
Humanoid.Died:Connect(FullBodyRegen)
1467
1468
--//=================================\\
1469
--||			DAMAGING
1470
--\\=================================//
1471
1472
function ApplyDamage(Humanoid,Damage)
1473
	if Humanoid.Health == math.huge then
1474
		Humanoid.Parent:BreakJoints()
1475
	else
1476
		local MULTIPLY = Humanoid.MaxHealth/100
1477
		Damage = Damage * DAMAGEMULTIPLIER
1478
		if Humanoid.Health ~= 0 then
1479
			Humanoid.Health = Humanoid.Health - Damage*MULTIPLY
1480
		end
1481
	end
1482
end
1483
1484
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,CAMSINSTAKILL,INSTAKILL)
1485
	local CHILDREN = workspace:GetDescendants()
1486
	for index, CHILD in pairs(CHILDREN) do
1487
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1488
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1489
			if HUM then
1490
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1491
				if TORSO then
1492
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1493
						if INSTAKILL == true or HUM.MaxHealth == math.huge then
1494
							CHILD:BreakJoints()
1495
						else
1496
							local DMG = MRANDOM(MINDMG,MAXDMG)
1497
							ApplyDamage(HUM,DMG)
1498
						end
1499
						if FLING > 0 then
1500
							for _, c in pairs(CHILD:GetChildren()) do
1501
								if c:IsA("BasePart") then
1502
									local bv = Instance.new("BodyVelocity") 
1503
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1504
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1505
									bv.Parent = c
1506
									Debris:AddItem(bv,0.05)
1507
								end
1508
							end
1509
						end
1510
					end
1511
				end
1512
			end
1513
		end
1514
	end
1515
end
1516
1517
--//=================================\\
1518
--||	ATTACK FUNCTIONS AND STUFF
1519
--\\=================================//
1520
1521
function Fireball()
1522
	ATTACK = true
1523
	Rooted = true
1524
	local GYRO = IT("BodyGyro",RootPart)
1525
	GYRO.D = 20
1526
	GYRO.P = 4000
1527
	GYRO.MaxTorque = VT(40000,40000,40000)
1528
	local POSITION = IT("BodyPosition",RootPart)
1529
	POSITION.Position = RootPart.Position+VT(0,2,0)
1530
	POSITION.D = 450
1531
	POSITION.P = 40000
1532
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1533
	local FIRE = Particles("FistFire",RightArm,true)
1534
	CreateSound(CHARGE,RightArm,6,1,false)
1535
	coroutine.resume(coroutine.create(function()
1536
		repeat
1537
			Swait()
1538
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1539
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1540
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1541
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1542
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1543
			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)
1544
			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)
1545
		until ATTACK == false
1546
		FIRE.LockedToPart = false
1547
		FIRE.Enabled = false
1548
		Debris:AddItem(FIRE,5)
1549
		GYRO:remove()
1550
		POSITION:remove()
1551
	end))
1552
	wait(1)
1553
	repeat
1554
		Particles("ExplosionFire1",RightArm,70)
1555
		coroutine.resume(coroutine.create(function()
1556
			local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Deep orange", "Flight", VT(10,10,10))
1557
			FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
1558
			CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
1559
			local FLAME = Particles("FireballFire1",FIREBALL,true)
1560
			local FLAME2 = Particles("FireballFire2",FIREBALL,true)
1561
			for i = 1, 250 do
1562
				Swait()
1563
				local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 10, Character)
1564
				FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-5)
1565
				if HIT then
1566
					Particles("ExplosionFire1",FIREBALL,600)
1567
					ApplyAoE(FIREBALL.Position,200,15,25,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1568
					for i = 1, 3 do
1569
						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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1570
					end
1571
					for i = 1, 3 do
1572
						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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1573
					end
1574
					for i = 1, 5 do
1575
						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(222,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1576
					end
1577
					break
1578
				end
1579
			end
1580
			FLAME.Enabled = false
1581
			FLAME2.Enabled = false
1582
			Debris:AddItem(FIREBALL,7)
1583
		end))
1584
		wait(0.1)
1585
	until KEYHOLD == false
1586
	wait(0.2)
1587
	ATTACK = false
1588
	Rooted = false
1589
end
1590
1591
function FireField()
1592
	ATTACK = true
1593
	Rooted = true
1594
	local A = false
1595
	local POSITION = IT("BodyPosition",RootPart)
1596
	POSITION.Position = RootPart.Position+VT(0,2,0)
1597
	POSITION.D = 450
1598
	POSITION.P = 40000
1599
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1600
	coroutine.resume(coroutine.create(function()
1601
		repeat
1602
			Swait()
1603
			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)
1604
			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)
1605
			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)
1606
			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)
1607
			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)
1608
			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)
1609
		until A == true
1610
		repeat
1611
			Swait()
1612
			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)
1613
			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)
1614
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.4, -0.3) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1615
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.4, -0.3) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1616
			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)
1617
			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)
1618
		until ATTACK == false
1619
		POSITION:remove()
1620
	end))
1621
	local RANGE = 75
1622
	local REGENING = script.Regen2:Clone()
1623
	REGENING.Parent = Torso
1624
	REGENING.Enabled = true
1625
	REGENING.Rate = 900
1626
	REGENING.Speed = NumberRange.new(RANGE)
1627
	wait()
1628
	for i = 1, 75 do
1629
		wait()
1630
		ApplyAoE(Torso.Position,6,1,1,0,false)
1631
		REGENING.Speed = NumberRange.new(RANGE)
1632
		RANGE = RANGE - (75/(math.ceil(REGENRATE*75)))
1633
	end
1634
	REGENING.Enabled = false
1635
	wait(0.5)
1636
	for i = 1, 6 do
1637
		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(222,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1638
	end
1639
	CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
1640
	A = true
1641
	local FLAME = Particles("Field",Torso,true)
1642
	FLAME.Size = NumberSequence.new(0,25)
1643
	FIREFIELD = true
1644
	local SOUND = CreateSound(BURNSOUND,Torso,10,1,true)
1645
	coroutine.resume(coroutine.create(function()
1646
		for i = 1, 20 do
1647
			wait(1)
1648
			SOUND.Parent = Torso
1649
			SOUND.Playing = true
1650
			ApplyAoE(Torso.Position,100,5,10,0,false,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1651
			for i = 1, 2 do
1652
				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(222,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1653
			end
1654
			if SEARING == true then
1655
				break
1656
			end
1657
		end
1658
		FIREFIELD = false
1659
		FLAME.Enabled = false
1660
		Debris:AddItem(FLAME,5)
1661
		SOUND:remove()
1662
	end))
1663
	wait(1)
1664
	ATTACK = false
1665
	Rooted = false
1666
end
1667
1668
function SearingForm()
1669
	ATTACK = true
1670
	Rooted = true
1671
	local POSITION = IT("BodyPosition",RootPart)
1672
	POSITION.Position = RootPart.Position+VT(0,2,0)
1673
	POSITION.D = 450
1674
	POSITION.P = 40000
1675
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1676
	coroutine.resume(coroutine.create(function()
1677
		repeat
1678
			Swait()
1679
			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)
1680
			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)
1681
			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)
1682
			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)
1683
			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)
1684
			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)
1685
		until ATTACK == false
1686
	end))
1687
	local FIRES = {}
1688
	local RANGE = 75
1689
	local REGENING = script.Regen2:Clone()
1690
	REGENING.Parent = Torso
1691
	REGENING.Enabled = true
1692
	REGENING.Rate = 900
1693
	REGENING.Speed = NumberRange.new(RANGE)
1694
	wait()
1695
	for i = 1, 75 do
1696
		wait()
1697
		ApplyAoE(Torso.Position,6,1,1,0,false)
1698
		REGENING.Speed = NumberRange.new(RANGE)
1699
		RANGE = RANGE - (75/(math.ceil(REGENRATE*75)))
1700
	end
1701
	REGENING.Enabled = false
1702
	wait(0.5)
1703
	for i = 1, 6 do
1704
		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(222,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1705
	end
1706
	local BUSY = true
1707
	Particles("ExplosionFire1",Torso,100)
1708
	SEARING = true
1709
	local WING1 = Particles("WingFire1",BACKATTACHMENT1,true)
1710
	local WING2 = Particles("WingFire1",BACKATTACHMENT2,true)
1711
	coroutine.resume(coroutine.create(function()
1712
		coroutine.resume(coroutine.create(function()		
1713
			repeat 
1714
				wait(1)
1715
				ApplyAoE(Torso.Position,20,5,10,0,false,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1716
			until SEARING == false
1717
		end))
1718
		repeat 
1719
			Swait()
1720
			local ACCEL1 = VT(10,2-(6*COS(SINE / 24)),-6-(2*COS(SINE / 24)))
1721
			local ACCEL2 = VT(-10,2-(6*COS(SINE / 24)),-6-(2*COS(SINE / 24)))
1722
			WING1.Acceleration = ACCEL1
1723
			WING2.Acceleration = ACCEL2
1724
			local HIT,HITPOS = Raycast(RootPart.Position, RootPart.CFrame.lookVector, 4, Character)
1725
			if HIT then
1726
				ApplyAoE(Torso.Position,200,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1727
				CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1728
				CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1729
				for i = 1, 3 do
1730
					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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1731
				end
1732
				for i = 1, 3 do
1733
					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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1734
				end
1735
				Particles("ExplosionFire1",Torso,600)
1736
				BUSY = false
1737
				break
1738
			end
1739
		until SEARING == false
1740
	end))
1741
	for _, c in pairs(Character:GetChildren()) do
1742
		if c:IsA("BasePart") then
1743
			local FLAME = Particles("BodyFire",c,true)
1744
			table.insert(FIRES,FLAME)
1745
		end
1746
	end
1747
	POSITION:remove()
1748
	wait()
1749
	ApplyAoE(Torso.Position,120,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1750
	CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
1751
	ATTACK = false
1752
	Rooted = false
1753
	GYRO = IT("BodyGyro",RootPart)
1754
	GYRO.D = 20
1755
	GYRO.P = 4000
1756
	GYRO.MaxTorque = VT(0,40000,0)
1757
	BODYPOS = IT("BodyPosition",RootPart)
1758
	BODYPOS.Position = RootPart.Position+VT(0,2,0)
1759
	BODYPOS.D = 450
1760
	BODYPOS.P = 40000
1761
	BODYPOS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1762
	local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
1763
		if NEWKEY == "c" and ATTACK == false then
1764
			BUSY = false
1765
		end
1766
	end)
1767
	local HUM = Humanoid.Died:Connect(function()
1768
		BUSY = false
1769
		ApplyAoE(Torso.Position,200,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1770
		CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1771
		CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1772
		for i = 1, 3 do
1773
			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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1774
		end
1775
		for i = 1, 3 do
1776
			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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1777
		end
1778
		Particles("ExplosionFire1",Torso,600)
1779
	end)
1780
	repeat wait() until BUSY == false
1781
	for i = 1, #FIRES do
1782
		FIRES[i].Enabled = false
1783
		Debris:AddItem(FIRES[i],5)
1784
	end
1785
	HUM:disconnect()
1786
	WING1.Enabled = false
1787
	WING2.Enabled = false
1788
	WING1.LockedToPart = false
1789
	WING2.LockedToPart = false
1790
	Debris:AddItem(WING1,5)
1791
	Debris:AddItem(WING2,5)
1792
	KEYDOWN:disconnect()
1793
	SEARING = false
1794
	GYRO:remove()
1795
	BODYPOS:remove()
1796
	FullBodyRegen()
1797
end
1798
1799
function SearingOrb()
1800
	ATTACK = true
1801
	Rooted = true
1802
	local POSITION = IT("BodyPosition",RootPart)
1803
	POSITION.Position = RootPart.Position+VT(0,2,0)
1804
	POSITION.D = 450
1805
	POSITION.P = 40000
1806
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1807
	local FIRE = Particles("FistFire",RightArm,true)
1808
	local FIRE2 = Particles("FistFire",LeftArm,true)
1809
	CreateSound(CHARGE,Torso,6,1,false)
1810
	local NEWANIM = false
1811
	coroutine.resume(coroutine.create(function()
1812
		repeat
1813
			Swait()
1814
			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)
1815
			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)
1816
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1817
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1818
			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)
1819
			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)
1820
		until ATTACK == false or NEWANIM == true
1821
		if NEWANIM == true then
1822
			local GYRO = IT("BodyGyro",RootPart)
1823
			GYRO.D = 20
1824
			GYRO.P = 4000
1825
			GYRO.MaxTorque = VT(40000,40000,40000)
1826
			repeat
1827
				Swait()
1828
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1829
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1830
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1831
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1832
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1833
				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)
1834
				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)
1835
			until ATTACK == false
1836
			GYRO:remove()
1837
		end
1838
		POSITION:remove()
1839
		FIRE.LockedToPart = false
1840
		FIRE.Enabled = false
1841
		Debris:AddItem(FIRE,5)
1842
		FIRE2.LockedToPart = false
1843
		FIRE2.Enabled = false
1844
		Debris:AddItem(FIRE2,5)
1845
	end))
1846
	local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Deep orange"), "Orb", VT(0,0,0), true)
1847
	MakeForm(ORB,"Ball")
1848
	ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
1849
	local A = IT("Attachment",ORB)
1850
	local FIRES = Particles("FireballFire1",A,true)
1851
	FIRES.Size = NumberSequence.new(0)
1852
	FIRES.LockedToPart = true
1853
	local LOOP = 0
1854
	for i = 1, 500 do
1855
		Swait()
1856
		LOOP = LOOP + 1
1857
		if LOOP >= 30 then
1858
			LOOP = 0
1859
			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"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1860
		end
1861
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
1862
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1863
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1864
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1865
		FIRES.Enabled = true
1866
	end
1867
	wait(1)
1868
	if KEYHOLD == false then
1869
		coroutine.resume(coroutine.create(function()
1870
			ORB.Transparency = 1
1871
			FIRES.Enabled = false
1872
			Debris:AddItem(ORB,10)
1873
			ApplyAoE(ORB.Position,400,75,90,175,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1874
			CreateSound(EXPLOSIONLARGESOUND,ORB,10,1,false)
1875
			CreateSound(EXPLOSIONSMALLSOUND,ORB,10,1,false)
1876
			for i = 1, 3 do
1877
				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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1878
			end
1879
			for i = 1, 3 do
1880
				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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1881
			end
1882
			Particles("ExplosionFire1",ORB,1200)
1883
			for i = 1, 15 do
1884
				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(222,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1885
			end
1886
		end))
1887
	else
1888
		for i = 1, 100 do
1889
			Swait()
1890
			ORB.Size = ORB.Size - VT(0.2,0.2,0.2)*5
1891
			ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1892
			FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1893
			FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1894
		end
1895
		ORB.Transparency = 1
1896
		FIRES.Enabled = false
1897
		Debris:AddItem(ORB,10)
1898
		CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
1899
		for _, c in pairs(Character:GetChildren()) do
1900
			if c:IsA("BasePart") then
1901
				Particles("ExplosionFire2",c,25)
1902
			end
1903
		end
1904
		NEWANIM = true
1905
		wait(0.5)
1906
		for i = 1, 15 do
1907
			wait(0.1)
1908
			coroutine.resume(coroutine.create(function()
1909
				local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Deep orange", "Flight", VT(2,2,2))
1910
				FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
1911
				CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
1912
				local FLAME = Particles("FireballFire3",FIREBALL,true)
1913
				for i = 1, 250 do
1914
					Swait()
1915
					local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2, Character)
1916
					FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
1917
					if HIT then
1918
						CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
1919
						local FIELD = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Deep orange"), "Fire", VT(75,0,75), true)
1920
						local FIELD2 = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Deep orange"), "Fire", VT(75,0,75), true)
1921
						FIELD.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
1922
						FIELD2.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(45), RAD(0))
1923
						coroutine.resume(coroutine.create(function()
1924
							local FLAMES = Particles("DebrisFire",FIELD,true)
1925
							local FLAMES2 = Particles("DebrisFire",FIELD2,true)
1926
							for i = 1, 15 do
1927
								wait(1)
1928
								ApplyAoE(FIELD.Position,FIELD.Size.X/2,5,15,0,false,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1929
							end
1930
							FLAMES.Enabled = false
1931
							FLAMES2.Enabled = false
1932
							Debris:AddItem(FIELD,5)
1933
							Debris:AddItem(FIELD2,5)
1934
						end))
1935
						Particles("ExplosionFire2",FIREBALL,600)
1936
						break
1937
					end
1938
				end
1939
				FLAME.Enabled = false
1940
				Debris:AddItem(FIREBALL,7)
1941
			end))
1942
		end
1943
	end
1944
	wait(0.3)
1945
	ATTACK = false
1946
	Rooted = false
1947
end
1948
1949
function Shroud()
1950
	if Mouse.Target ~= nil then
1951
		if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1952
			local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")
1953
			local TORSO = HUM.Parent:FindFirstChild("HumanoidRootPart") or HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1954
			if TORSO and HUM.Health > 0 then
1955
				local DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
1956
				if DISTANCE < 100 then
1957
					ATTACK = true
1958
					POSEIDON = false
1959
					Rooted = true
1960
					local GYRO = IT("BodyGyro",RootPart)
1961
					GYRO.D = 20
1962
					GYRO.P = 4000
1963
					GYRO.MaxTorque = VT(40000,40000,40000)
1964
					local POSITION = IT("BodyPosition",RootPart)
1965
					POSITION.Position = RootPart.Position+VT(0,2,0)
1966
					POSITION.D = 450
1967
					POSITION.P = 40000
1968
					POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1969
					local TARGETTING = true
1970
					local HIT = false
1971
					local FIRES = {}
1972
					for _, c in pairs(Character:GetChildren()) do
1973
						if c:IsA("BasePart") then
1974
							local FLAME = Particles("BodyFire",c,true)
1975
							FLAME.Rate = 15
1976
							table.insert(FIRES,FLAME)
1977
						end
1978
					end
1979
					CreateSound(CHARGE,Torso,6,1,false)
1980
					coroutine.resume(coroutine.create(function()
1981
						repeat
1982
							GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
1983
							Swait()
1984
							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)
1985
							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)
1986
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1987
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1988
							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)
1989
							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)
1990
						until TARGETTING == false
1991
						repeat
1992
							GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
1993
							POSITION.Position = CF(RootPart.Position,TORSO.Position)*CF(0,0,-5).p
1994
							DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
1995
							Swait()
1996
							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)
1997
							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)
1998
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1999
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2000
							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)
2001
							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)
2002
						until HIT == true
2003
						POSITION:remove()
2004
						GYRO:remove()
2005
					end))
2006
					wait(0.5)
2007
					repeat wait() until HOLD == true
2008
					for _, c in pairs(Character:GetChildren()) do
2009
						if c:IsA("BasePart") then
2010
							local FLAME = Particles("BodyFire",c,true)
2011
							table.insert(FIRES,FLAME)
2012
						end
2013
					end
2014
					for _, c in pairs(Character:GetChildren()) do
2015
						if c:IsA("BasePart") then
2016
							c.Transparency = 1
2017
						end
2018
					end
2019
					TARGETTING = false
2020
					for i = 1, 100 do
2021
						wait()
2022
						if DISTANCE < 5 or DISTANCE >= 200 then
2023
							break
2024
						end
2025
					end
2026
					HIT = true
2027
					if DISTANCE < 5 then
2028
						for i = 1, #FIRES do
2029
							FIRES[i].Enabled = false
2030
						end
2031
						for _, c in pairs(HUM.Parent:GetChildren()) do
2032
							if c:IsA("BasePart") then
2033
								local FLAME = Particles("BodyFire",c,true)
2034
								table.insert(FIRES,FLAME)
2035
							end
2036
						end
2037
						CreateSound(FIREBALLSOUND,Torso,6,1,false)
2038
						RootPart.CFrame = TORSO.CFrame
2039
						local WELD = weldBetween(RootPart,TORSO)
2040
						repeat wait() until HOLD == true
2041
						CreateSound(416328540,Torso,6,1,false)
2042
						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"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2043
						local bv = Instance.new("BodyVelocity") 
2044
						bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2045
						bv.velocity = CF(TORSO.Position,TORSO.Position+VT(0,15,0)).lookVector*125
2046
						bv.Parent = TORSO
2047
						for i = 1, 70 do
2048
							wait(0.1)
2049
							if TORSO.Parent == nil then
2050
								break
2051
							end
2052
							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"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2053
						end
2054
						UNANCHOR = false
2055
						bv:remove()
2056
						wait(1)
2057
						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"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2058
						CreateSound(FIREBALLSOUND,Torso,6,1,false)
2059
						UNANCHOR = true
2060
						local bv = Instance.new("BodyVelocity") 
2061
						bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2062
						bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
2063
						bv.Parent = TORSO
2064
						local LANDED = false
2065
						for i = 1, 500 do
2066
							wait()
2067
							Ignore = {Character,HUM.Parent}
2068
							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"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2069
							local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
2070
							local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
2071
							if HITFLOOR or FULLREGEN == true then
2072
								LANDED = true
2073
								break
2074
							end
2075
							if TORSO.Parent == nil then
2076
								break
2077
							end
2078
						end
2079
						if TORSO.Parent ~= nil then
2080
							UNANCHOR = false
2081
							bv:remove()
2082
							wait(1)
2083
							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"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2084
							CreateSound(FIREBALLSOUND,Torso,6,1,false)
2085
							UNANCHOR = true
2086
							local bv = Instance.new("BodyVelocity") 
2087
							bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2088
							bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
2089
							bv.Parent = TORSO
2090
							local LANDED = false
2091
							for i = 1, 500 do
2092
								wait()
2093
								Ignore = {Character,HUM.Parent}
2094
								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"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2095
								local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
2096
								local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
2097
								if HITFLOOR or FULLREGEN == true then
2098
									LANDED = true
2099
									break
2100
								end
2101
								if TORSO.Parent == nil then
2102
									break
2103
								end
2104
							end
2105
							bv:remove()
2106
							if LANDED == true then
2107
								UNANCHOR = false
2108
								for i = 1, 10 do
2109
									ApplyAoE(TORSO.Position+VT(0,1,0),10+(2*i),15,15,45,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
2110
								end
2111
								CreateSound(EXPLOSIONLARGESOUND,TORSO,10,1,false)
2112
								CreateSound(EXPLOSIONSMALLSOUND,TORSO,10,1,false)
2113
								Particles("ExplosionFire1",TORSO,120)
2114
								for i = 1, 15 do
2115
									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(222,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2116
								end
2117
								WELD:remove()
2118
								wait(0.3)
2119
								UNANCHOR = true
2120
							else
2121
								WELD:remove()
2122
							end
2123
						end
2124
					end
2125
					for i = 1, #FIRES do
2126
						FIRES[i].Enabled = false
2127
						Debris:AddItem(FIRES[i],5)
2128
					end
2129
					for _, c in pairs(Character:GetChildren()) do
2130
						if c:IsA("BasePart") and c ~= RootPart then
2131
							c.Transparency = 0
2132
						end
2133
					end
2134
					RootPart.Velocity = VT(0,0,0)
2135
					ATTACK = false
2136
					Rooted = false
2137
				end
2138
			end
2139
		end
2140
	end
2141
end
2142
2143
function Spitter()
2144
	ATTACK = true
2145
	Rooted = true
2146
	local GYRO = IT("BodyGyro",RootPart)
2147
	GYRO.D = 20
2148
	GYRO.P = 4000
2149
	GYRO.MaxTorque = VT(40000,40000,40000)
2150
	local POSITION = IT("BodyPosition",RootPart)
2151
	POSITION.Position = RootPart.Position+VT(0,2,0)
2152
	POSITION.D = 450
2153
	POSITION.P = 40000
2154
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2155
	local FIRE = Particles("FistFire",RightArm,true)
2156
	CreateSound(CHARGE,RightArm,6,0.8,false)
2157
	coroutine.resume(coroutine.create(function()
2158
		repeat
2159
			Swait()
2160
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2161
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
2162
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
2163
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2164
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2165
			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)
2166
			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)
2167
		until ATTACK == false
2168
		FIRE.LockedToPart = false
2169
		FIRE.Enabled = false
2170
		Debris:AddItem(FIRE,5)
2171
		GYRO:remove()
2172
		POSITION:remove()
2173
	end))
2174
	local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Deep orange"), "Orb", VT(0,0,0), true)
2175
	MakeForm(FIREBALL,"Ball")
2176
	FIREBALL.CFrame = RightArm.CFrame*CF(0,-1,0)
2177
	local CORE = IT("Attachment",FIREBALL)
2178
	local FIRES = Particles("FireballFire1",CORE,true)
2179
	FIRES.Size = NumberSequence.new(0)
2180
	FIRES.LockedToPart = true
2181
	local LOOP = 0
2182
	repeat
2183
		Swait()
2184
		LOOP = LOOP + 1
2185
		if LOOP == 20 then
2186
			LOOP = 0
2187
			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"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2188
		end
2189
		if FIREBALL.Size.X < 20 then
2190
			FIREBALL.Size = FIREBALL.Size + VT(0.1,0.1,0.1)
2191
			FIRES.Size = NumberSequence.new(FIREBALL.Size.Y/1.5)
2192
			FIRES.Speed = NumberRange.new(0,FIREBALL.Size.Y/2)
2193
		end
2194
		FIRES.Enabled = true
2195
		FIREBALL.CFrame = RightArm.CFrame*CF(0,-1-FIREBALL.Size.Z/2,0)
2196
	until KEYHOLD == false and FIREBALL.Size.X >= 10
2197
	CreateSound(FIREBALLSOUND,FIREBALL,10,0.8,false)
2198
	coroutine.resume(coroutine.create(function()
2199
		FIREBALL.CFrame = CF(FIREBALL.Position,Mouse.Hit.p)
2200
		local RANGE = 75
2201
		local FLAME = Particles("Field",CORE,true)
2202
		FLAME.Speed = NumberRange.new(0,FIREBALL.Size.X*5)
2203
		FLAME.Size = NumberSequence.new(0,25)
2204
		for i = 1, 600 do
2205
			LOOP = LOOP + 1
2206
			if LOOP == 20 then
2207
				LOOP = 0
2208
				ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*5,5,25,0,false)
2209
				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"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2210
			end
2211
			Swait()
2212
			FIREBALL.CFrame = CF(FIREBALL.Position,FIREBALL.CFrame*CF(0,-0.001,-1).p)*CF(0,0,-0.2)
2213
			local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, FIREBALL.Size.X/2.5, Character)
2214
			if HIT then
2215
				ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*12,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
2216
				CreateSound(EXPLOSIONLARGESOUND,FIREBALL,10,1,false)
2217
				CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
2218
				for i = 1, 3 do
2219
					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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2220
				end
2221
				for i = 1, 3 do
2222
					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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2223
				end
2224
				Particles("ExplosionFire1",FIREBALL,1200)
2225
				for i = 1, 15 do
2226
					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(222,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2227
				end
2228
				break
2229
			end
2230
		end
2231
		FLAME.Enabled = false
2232
		FIRES.Enabled = false
2233
		for i = 1, 10 do
2234
			Swait()
2235
			FIREBALL.Mesh.Scale = FIREBALL.Mesh.Scale - VT(0.1,0.1,0.1)
2236
		end
2237
		Debris:AddItem(FIREBALL,5)
2238
	end))
2239
	wait(0.5)
2240
	ATTACK = false
2241
	Rooted = false
2242
end
2243
2244
function Devastor()
2245
	ATTACK = true
2246
	Rooted = true
2247
	local POSITION = IT("BodyPosition",RootPart)
2248
	POSITION.Position = RootPart.Position+VT(0,2,0)
2249
	POSITION.D = 450
2250
	POSITION.P = 40000
2251
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2252
	local FIRE = Particles("FistFire",RightArm,true)
2253
	local FIRE2 = Particles("FistFire",LeftArm,true)
2254
	CreateSound(CHARGE,Torso,6,1,false)
2255
	local NEWANIM = false
2256
	coroutine.resume(coroutine.create(function()
2257
		repeat
2258
			Swait()
2259
			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)
2260
			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)
2261
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2262
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2263
			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)
2264
			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)
2265
		until ATTACK == false or NEWANIM == true
2266
		if NEWANIM == true then
2267
			local GYRO = IT("BodyGyro",RootPart)
2268
			GYRO.D = 20
2269
			GYRO.P = 4000
2270
			GYRO.MaxTorque = VT(40000,40000,40000)
2271
			repeat
2272
				Swait()
2273
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2274
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
2275
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
2276
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2277
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2278
				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)
2279
				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)
2280
			until ATTACK == false
2281
			GYRO:remove()
2282
		end
2283
		POSITION:remove()
2284
		FIRE.LockedToPart = false
2285
		FIRE.Enabled = false
2286
		Debris:AddItem(FIRE,5)
2287
		FIRE2.LockedToPart = false
2288
		FIRE2.Enabled = false
2289
		Debris:AddItem(FIRE2,5)
2290
	end))
2291
	local FIRETABLE = {}
2292
	local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Deep orange"), "Orb", VT(0,0,0), true)
2293
	MakeForm(ORB,"Ball")
2294
	ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
2295
	local A = IT("Attachment",ORB)
2296
	local FIRES = Particles("FireballFire1",A,true)
2297
	FIRES.Size = NumberSequence.new(0)
2298
	FIRES.LockedToPart = true
2299
	local LOOP = 0
2300
	for i = 1, 200 do
2301
		Swait()
2302
		LOOP = LOOP + 1
2303
		if LOOP >= 30 then
2304
			LOOP = 0
2305
			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"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2306
		end
2307
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
2308
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
2309
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
2310
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
2311
		FIRES.Enabled = true
2312
	end
2313
	RightArm.Transparency = 1
2314
	LeftArm.Transparency = 1
2315
	FIRE.Enabled = false
2316
	FIRE2.Enabled = false
2317
	for _, c in pairs(Character:GetChildren()) do
2318
		if c:IsA("BasePart") then
2319
			local FLAME = Particles("BodyFire",c,true)
2320
			table.insert(FIRETABLE,FLAME)
2321
		end
2322
	end
2323
	CreateSound(CHARGE,Torso,6,0.5,false)
2324
	for i = 1, 200 do
2325
		Swait()
2326
		LOOP = LOOP + 1
2327
		if LOOP >= 30 then
2328
			LOOP = 0
2329
			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"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2330
		end
2331
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
2332
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
2333
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
2334
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
2335
		FIRES.Enabled = true
2336
	end
2337
	for _, c in pairs(Character:GetChildren()) do
2338
		if c:IsA("BasePart") then
2339
			c.Transparency = 1
2340
		end
2341
	end
2342
	for i = 1, #FIRETABLE do
2343
		FIRETABLE[i].Enabled = false
2344
		Debris:AddItem(FIRETABLE[i],5)
2345
	end
2346
	for i = 1, 400 do
2347
		Swait()
2348
		LOOP = LOOP + 1
2349
		if LOOP >= 30 then
2350
			LOOP = 0
2351
			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"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2352
		end
2353
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
2354
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
2355
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
2356
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
2357
		FIRES.Enabled = true
2358
	end
2359
	wait(0.5)
2360
	FIRES.Lifetime = NumberRange.new(2,5)
2361
	FIRES.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,ORB.Size.Y/1.5),NumberSequenceKeypoint.new(0.5,ORB.Size.Y/2),NumberSequenceKeypoint.new(1,0)})
2362
	FIRES.LockedToPart = false
2363
	CreateSound(FIREBALLSOUND,Effects,4,1,false)
2364
	coroutine.resume(coroutine.create(function()
2365
		ORB.CFrame = CF(ORB.Position,Mouse.Hit.p)
2366
		for i = 1, 1200 do
2367
			Swait()
2368
			ORB.CFrame = ORB.CFrame*CF(0,0,-1)
2369
			local HIT,HITPOS = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X/2.5, Character)
2370
			if HIT then
2371
				break
2372
			end
2373
		end
2374
		for i = 1, 6 do
2375
			ApplyAoE(ORB.Position,ORB.Size.X*10,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
2376
			CreateSound(EXPLOSIONLARGESOUND,Effects,2,1,false)
2377
			CreateSound(EXPLOSIONSMALLSOUND,Effects,4,1,false)
2378
			for i = 1, 3 do
2379
				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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2380
			end
2381
			for i = 1, 3 do
2382
				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"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2383
			end
2384
			for i = 1, 15 do
2385
				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"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2386
			end
2387
			wait(1)
2388
		end
2389
		FIRES.Enabled = false
2390
		for i = 1, 10 do
2391
			Swait()
2392
			ORB.Mesh.Scale = ORB.Mesh.Scale - VT(0.1,0.1,0.1)
2393
		end
2394
		Debris:AddItem(ORB,5)
2395
	end))
2396
	wait(1)
2397
	FullBodyRegen()
2398
	ATTACK = false
2399
	Rooted = false
2400
end
2401
2402
--//=================================\\
2403
--||	 	 	MISC
2404
--\\=================================//
2405
2406
        local Reaper = AddInstance("Part",{
2407
            Parent = hed,
2408
            CFrame = hed.CFrame,
2409
            formFactor = "Symmetric",
2410
            Size = Vector3.new(1, 1, 1),
2411
            CanCollide = false,
2412
            TopSurface = "Smooth",
2413
            BottomSurface = "Smooth",
2414
            Locked = true,
2415
        })
2416
        local Weld = AddInstance("Weld",{
2417
            Parent = Reaper,
2418
            Part0 = hed,
2419
            C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0),
2420
            Part1 = Reaper,
2421
        })
2422
        local Mesh = AddInstance("SpecialMesh",{
2423
            Parent = Reaper,
2424
            MeshId = "rbxassetid://83499032",
2425
            TextureId = "rbxassetid://184744284",
2426
            Scale = Vector3.new(1.1, 1.1, 1.1),
2427
            VertexColor = Vector3.new(0.3, 0.3, 0.3),
2428
        })
2429
-----------------------------
2430
2431
Circle = nil
2432
CircleParts = {}
2433
Equipped = false
2434
 
2435
function RayCast(Position, Direction, MaxDistance, IgnoreList)
2436
    return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
2437
end
2438
    Equipped = true
2439
    Circle = Instance.new("Model")
2440
    Circle.Name = "Circle"
2441
    Angle = 0
2442
    for i = 1, 1 do
2443
        local CirclePart = Instance.new("Part")
2444
        CirclePart.Name = "CirclePart"
2445
        CirclePart.Transparency = 1
2446
        CirclePart.BrickColor = BrickColor.new("Deep orange")
2447
        CirclePart.Material = Enum.Material.Plastic
2448
        CirclePart.Shape = Enum.PartType.Block
2449
        CirclePart.FormFactor = Enum.FormFactor.Custom
2450
        CirclePart.TopSurface = Enum.SurfaceType.Smooth
2451
        CirclePart.BottomSurface = Enum.SurfaceType.Smooth
2452
        CirclePart.Anchored = true
2453
        CirclePart.CanCollide = false
2454
        CirclePart.Locked = true
2455
        CirclePart.Size = Vector3.new(10, 0.2, 10)
2456
        local Aura = Instance.new('ParticleEmitter')
2457
Aura.Name = "Aura"
2458
Aura.Texture = "rbxassetid://50184258"
2459
Aura.Parent = CirclePart
2460
Aura.LightEmission = 0
2461
Aura.Transparency = NumberSequence.new(0.2,0.4,1)
2462
Aura.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0))
2463
Aura.Size = NumberSequence.new(0.9,0.5,0.3)
2464
Aura.LockedToPart = false
2465
Aura.Lifetime = NumberRange.new(1)
2466
Aura.Rate = 50
2467
Aura.Speed = NumberRange.new(2.5)
2468
Aura.SpreadAngle = Vector2.new(80,80)
2469
        local BlockMesh = Instance.new("BlockMesh")
2470
        BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
2471
        BlockMesh.Parent = CirclePart
2472
        CirclePart.Parent = Circle
2473
        local Star = Instance.new("Decal", CirclePart)
2474
        Star.Texture = "http://www.roblox.com/asset/?id=50184258"
2475
        Star.Face = "Top"
2476
        local Light = Instance.new("PointLight", CirclePart)
2477
        Light.Color = Color3.new(222,255,0)
2478
        Light.Brightness = 100
2479
        Light.Range = 15
2480
        table.insert(CircleParts, CirclePart)
2481
    end
2482
    Spawn(function()
2483
        while Equipped and Humanoid.Parent and Torso.Parent do
2484
            if Angle == 360 then
2485
                Angle = 0
2486
            end
2487
            Angle = Angle + 0.05
2488
            local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
2489
            if Hit then
2490
                if not Circle.Parent then
2491
                    Circle.Parent = Character
2492
                end
2493
                for i, v in pairs(CircleParts) do
2494
                    v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
2495
                end
2496
            else
2497
                Circle.Parent = nil
2498
            end
2499
            wait()
2500
        end
2501
    end)
2502
2503
function Lock()
2504
	ATTACK = true
2505
	Rooted = true
2506
	local GYRO = IT("BodyGyro",RootPart)
2507
	GYRO.D = 50
2508
	GYRO.P = 4000
2509
	GYRO.MaxTorque = VT(40000,40000,40000)
2510
	local POSITION = IT("BodyPosition",RootPart)
2511
	POSITION.Position = RootPart.Position+VT(0,1,0)
2512
	POSITION.D = 450
2513
	POSITION.P = 40000
2514
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2515
	local FLINT = FLINTLOCK:Clone()
2516
	FLINTLOCK.Transparency = 1
2517
	FLINT.Parent = Character
2518
	local SHOT = false
2519
	CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, FLINT, CF(-0.05,-1.65,0) * ANGLES(RAD(180),RAD(0),RAD(0)), CF(0, 0, 0))
2520
	coroutine.resume(coroutine.create(function()
2521
		repeat
2522
			Swait()
2523
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2524
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2525
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2526
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2527
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2528
			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)
2529
			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)
2530
		until SHOT == true
2531
		CreateSound(213603013,RightArm,4,1,false)
2532
		local FROM = FLINT.CFrame*CF(0,1.043,0.231).p
2533
		local Ignore = Character
2534
		local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
2535
		local TO = Mouse.Hit.p
2536
		local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Ignore)
2537
		if AIMHIT ~= nil then
2538
			if AIMHIT.Parent ~= Character then
2539
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2540
					local HUM = AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
2541
					if HUM then
2542
						ApplyDamage(HUM,MRANDOM(70,90))
2543
					end
2544
				end
2545
			end
2546
		end
2547
		local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Arrow", VT(0,0,0))
2548
		MakeForm(TRAIL,"Cyl")
2549
		local DIST = (FLINT.CFrame*CF(0,1.043,0.231).p - AIMPOS).Magnitude
2550
		TRAIL.Size = VT(0.1,DIST,0.1)
2551
		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))
2552
		coroutine.resume(coroutine.create(function()
2553
			for i = 1, 5 do
2554
				Swait()
2555
				TRAIL.Transparency = TRAIL.Transparency + 0.1
2556
			end
2557
			TRAIL:remove()
2558
		end))
2559
		repeat
2560
			Swait()
2561
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2562
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2563
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2564
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2565
			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)
2566
			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)
2567
		until ATTACK == false
2568
		GYRO:remove()
2569
		POSITION:remove()
2570
		FLINT:remove()
2571
		FLINTLOCK.Transparency = 0
2572
	end))
2573
	wait(0.3)
2574
	SHOT = true
2575
	wait(0.5)
2576
	ATTACK = false
2577
	Rooted = false
2578
end
2579
2580
function Jupiter()
2581
	ATTACK = true
2582
	Rooted = true
2583
	local POSITION = IT("BodyPosition",RootPart)
2584
	POSITION.Position = RootPart.Position+VT(0,0.2,0)
2585
	POSITION.D = 450
2586
	POSITION.P = 40000
2587
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2588
	coroutine.resume(coroutine.create(function()
2589
		repeat
2590
			Swait()
2591
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
2592
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
2593
			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)
2594
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2595
			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)
2596
			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)
2597
		until ATTACK == false
2598
	end))
2599
	wait(0.5)
2600
	repeat wait() until KEYHOLD == false
2601
	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"Deep orange".Color, SoundID = 431105970, SoundPitch = 1, SoundVolume = 10})
2602
	POSITION:remove()
2603
	RootPart.Velocity = VT(0,150,0)
2604
	ATTACK = false
2605
	Rooted = false
2606
end
2607
 
2608
2609
function Ritual()
2610
	ATTACK = true
2611
	Rooted = false
2612
	for i = 0, 0.2, 0.1 / Animation_Speed do
2613
		Swait()
2614
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2615
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2616
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(160), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2617
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2618
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2619
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2620
	end
2621
	HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
2622
	if HITFLOOR and HITFLOOR.Anchored == true then
2623
		do
2624
			local NEWFLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "Floor", VT(0, 0, 0), true)
2625
			NEWFLOOR.Color = C3(1,1,1)
2626
			MakeForm(NEWFLOOR, "Cyl")
2627
			NEWFLOOR.CFrame = CF(HITPOS)
2628
			CreateSound(1110489303, NEWFLOOR, 4, 1, false)
2629
			coroutine.resume(coroutine.create(function()
2630
				for i = 1, 25 do
2631
					Swait()
2632
					Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
2633
					NEWFLOOR.Size = NEWFLOOR.Size + VT(0.6, 0, 0.6)
2634
				end
2635
				for i = 1, 450 do
2636
					Swait()
2637
					Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
2638
					NEWFLOOR.Size = VT(15, 0, 15) + VT(0.1 * SIN(SINE / 12), 0, 0.1 * SIN(SINE / 12))
2639
				end
2640
				local SIZE = NEWFLOOR.Size.X
2641
				for i = 1, 70 do
2642
					Swait()
2643
					Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
2644
					NEWFLOOR.Size = NEWFLOOR.Size - VT(SIZE / 70, 0, SIZE / 70)
2645
				end
2646
				NEWFLOOR:remove()
2647
			end))
2648
		end
2649
	end
2650
	for i = 0, 0.3, 0.1 / Animation_Speed do
2651
		Swait()
2652
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(65 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2653
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2654
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(45), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2655
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2656
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2657
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2658
	end
2659
	ATTACK = false
2660
	Rooted = false
2661
end
2662
2663
function TakeOnMe()
2664
    Speed = 5
2665
    local MEME = CreateSound(1066344174, Effects, 2, 1, false)
2666
    ATTACK = true
2667
    Rooted = false
2668
    local DANCE = true
2669
    local KEY = Mouse.KeyDown:connect(function(NEWKEY)
2670
        if NEWKEY == "p" then
2671
            DANCE = false
2672
        end
2673
    end)
2674
    PLAYSONG = false
2675
    while true do
2676
        for i = 1, 15 do
2677
            Swait()
2678
            MEME.Parent = Effects
2679
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2680
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2681
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2682
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2683
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2684
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2685
        end
2686
        if DANCE == false then
2687
            break
2688
        end
2689
        for i = 1, 15 do
2690
            Swait()
2691
            MEME.Parent = Effects
2692
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2693
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2694
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2695
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2696
            RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2697
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2698
        end
2699
    end
2700
    PLAYSONG = true
2701
    KEY:Disconnect()
2702
    MEME:remove()
2703
    Speed = 15
2704
    ATTACK = false
2705
    Rooted = false
2706
end
2707
2708
function Taunt()
2709
    ATTACK = true
2710
    local LAUGH = nil
2711
    coroutine.resume(coroutine.create(function()
2712
        repeat
2713
            Swait()
2714
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2715
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
2716
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2717
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2718
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2719
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2720
        until LAUGH ~= nil
2721
        repeat
2722
            Swait()
2723
            LAUGH.Parent = Head
2724
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2725
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
2726
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2727
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2728
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2729
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2730
        until LAUGH.Playing == false
2731
    ATTACK = false
2732
    end))
2733
    wait(0.1)
2734
    LAUGH = CreateSound(159882644, Head, 10, 1, false)
2735
end
2736
2737
--//=================================\\
2738
--||	  ASSIGN THINGS TO KEYS
2739
--\\=================================//
2740
2741
function MouseDown(Mouse)
2742
	HOLD = true
2743
	if ATTACK == false then
2744
	end
2745
end
2746
2747
function MouseUp(Mouse)
2748
	HOLD = false
2749
end
2750
2751
local MUSIC = CreateSound(285883918,Character,3,1,true)
2752
2753
function KeyDown(Key)
2754
	KEYHOLD = true
2755
	if ATTACK == false and FULLREGEN == false then
2756
		if Key == "z" then
2757
			Fireball()
2758
		end
2759
	
2760
		if Key == "b" and FIREFIELD == false and SEARING == false then
2761
			FireField()
2762
		end
2763
	
2764
		if Key == "c" and SEARING == false then
2765
			SearingForm()
2766
		end
2767
	
2768
		if Key == "v" and SEARING == false then
2769
			SearingOrb()
2770
		end
2771
2772
		if Key == "q" and SEARING == false then
2773
			Shroud()
2774
		end
2775
2776
		if Key == "x" and SEARING == false then
2777
			Jupiter()
2778
			wait(2)
2779
			Devastor()
2780
		end
2781
	
2782
		if Key == "e" then
2783
			Spitter()
2784
		end
2785
2786
		if Key == "g" then
2787
			Lock()
2788
		end
2789
2790
		if Key == "j" then
2791
			Jupiter()
2792
		end
2793
2794
		if Key == "t" and SEARING == false then
2795
			Taunt()
2796
		end
2797
		if Key == "p" and SEARING == false then
2798
            TakeOnMe()
2799
		end
2800
		if Key == "f" and SEARING == false then
2801
            Ritual()
2802
        end
2803
		if Key == "h" then
2804
			if POSEIDON == false then
2805
				POSEIDON = true
2806
				CreateSound(POSEIDONSOUND,Torso,5,MRANDOM(8,12)/10,false)
2807
			else
2808
				POSEIDON = false
2809
			end
2810
		end
2811
	end
2812
2813
	if Key == "w" and ATTACK == false and SEARING == true and VALUE2 == false then
2814
		repeat
2815
			VALUE2 = true
2816
			Swait()
2817
			BODYPOS.Position = RootPart.CFrame*CF(0,0,-5).p
2818
		until KEYHOLD == false
2819
		VALUE2 = false
2820
	end
2821
2822
	if string.byte(Key) == 50 and ATTACK == false then
2823
		if Speed == 16 then
2824
			Speed = 45
2825
		elseif Speed == 45 then
2826
			Speed = 16
2827
		end
2828
	end
2829
2830
	if Key == "1" then
2831
		MUSIC:Play()
2832
		CHOSENSONG = CHOSENSONG + 1
2833
		if CHOSENSONG > #SONGS then
2834
			CHOSENSONG = 1
2835
		end
2836
	end
2837
end
2838
2839
function KeyUp(Key)
2840
	KEYHOLD = false
2841
end
2842
2843
	Mouse.Button1Down:connect(function(NEWKEY)
2844
		MouseDown(NEWKEY)
2845
	end)
2846
	Mouse.Button1Up:connect(function(NEWKEY)
2847
		MouseUp(NEWKEY)
2848
	end)
2849
	Mouse.KeyDown:connect(function(NEWKEY)
2850
		KeyDown(NEWKEY)
2851
	end)
2852
	Mouse.KeyUp:connect(function(NEWKEY)
2853
		KeyUp(NEWKEY)
2854
	end)
2855
2856
--//=================================\\
2857
--\\=================================//
2858
2859
function unanchor()
2860
	if UNANCHOR == true then
2861
		for _, c in pairs(Character:GetChildren()) do
2862
			if c:IsA("BasePart") then
2863
				c.Anchored = false
2864
			end
2865
		end
2866
	else
2867
		for _, c in pairs(Character:GetChildren()) do
2868
			if c:IsA("BasePart") then
2869
				c.Anchored = true
2870
			end
2871
		end
2872
	end
2873
end
2874
2875
--//=================================\\
2876
--||	WRAP THE WHOLE SCRIPT UP
2877
--\\=================================//
2878
2879
Humanoid.Changed:connect(function(Jump)
2880
    if Jump == "Jump" and (Disable_Jump == true) then
2881
        Humanoid.Jump = false
2882
    end
2883
end)
2884
 
2885
local LOOP = 0
2886
 
2887
while true do
2888
    Swait()
2889
    if Character:FindFirstChildOfClass("Humanoid") == nil then
2890
        Humanoid = IT("Humanoid",Character)
2891
    end
2892
    Effects.Parent = Character
2893
    script.Parent = WEAPONGUI
2894
    ANIMATE.Parent = nil
2895
    for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2896
        v:Stop();
2897
    end
2898
    SINE = SINE + CHANGE
2899
    local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2900
    local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2901
    Ignore = {Torso,RootPart,RightLeg,LeftLeg,RightLeg,Head,RightArm,LeftArm,Effects}
2902
    local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
2903
    local HITFLOOR,HITPOS = CastProperRay(RootPart.Position, RootPart.Position-VT(0,15,0), 4, Ignore)
2904
    local WALKSPEEDVALUE = 5
2905
    EyeWeld2.C1 = Clerp(EyeWeld2.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed)
2906
    EyeWeld.C1 = Clerp(EyeWeld.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(SINE*2)), 1 / Animation_Speed)
2907
    if SEARING == false then
2908
        if ANIM == "Walk" and TORSOVELOCITY > 1 and SEARING == false and Rooted == false then
2909
            if Humanoid.WalkSpeed <= 20 then
2910
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2911
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * 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)
2912
        elseif SEARING == false and Humanoid.WalkSpeed > 20 and Rooted == false then
2913
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2914
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2915
            end
2916
        elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or SEARING == true or Rooted == true then
2917
            RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2918
            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)
2919
            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)
2920
            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)
2921
        end
2922
        if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2923
            ANIM = "Jump"
2924
            if ATTACK == false then
2925
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2926
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2927
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2928
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2929
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
2930
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
2931
	    end
2932
        elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2933
            ANIM = "Fall"
2934
            if ATTACK == false then
2935
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2936
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2937
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2938
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2939
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
2940
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
2941
		end
2942
        elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2943
            ANIM = "Idle"
2944
            if ATTACK == false then
2945
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2946
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2947
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
2948
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
2949
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2950
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2951
			end
2952
        elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2953
            ANIM = "Walk"
2954
            if ATTACK == false then
2955
                if Humanoid.WalkSpeed <= 20 then
2956
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2957
		    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2958
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2959
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2960
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2961
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2962
		        end
2963
			end
2964
        end
2965
    elseif SEARING == true then
2966
        if APPLYGYRO == true then
2967
            if VALUE2 == false and DIRECTTURN == false then
2968
                if GYRO ~= nil then
2969
                    GYRO.MaxTorque = VT(0,40000,0)
2970
                    GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2971
                end
2972
            else
2973
                if GYRO ~= nil then
2974
                    GYRO.MaxTorque = VT(80000,40000,80000)
2975
                    GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2976
                end
2977
            end
2978
        end
2979
        if VALUE2 == false and ATTACK == false then
2980
            ANIM = "IdleFlight"
2981
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2982
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2983
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2984
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2985
            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)
2986
            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)
2987
        elseif VALUE2 == true and ATTACK == false then
2988
            ANIM = "Flight"
2989
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
2990
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2991
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
2992
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2993
            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)
2994
            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)
2995
        end
2996
    end
2997
	unanchor()
2998
	Humanoid.MaxHealth = "inf"
2999
	Humanoid.Health = "inf"
3000
	if Rooted == false then
3001
		Disable_Jump = false
3002
		Humanoid.WalkSpeed = Speed
3003
	elseif Rooted == true then
3004
		Disable_Jump = true
3005
		Humanoid.WalkSpeed = 0
3006
	end
3007
	Regen()
3008
	if Head:FindFirstChild("face") then
3009
		Head.face.Texture = "rbxassetid://843367143"
3010
		Head.face.Transparency = Head.Transparency
3011
	end
3012
	for _, c in pairs(Character:GetDescendants()) do
3013
		if c.ClassName == "Attachment" and c ~= BACKATTACHMENT1 and c ~= BACKATTACHMENT2 and c.Parent.Parent ~= Effects then
3014
			c:remove()
3015
		end
3016
		if c.ClassName == "ParticleEmitter" then
3017
			if c.Name ~= "Regen" and c.Name ~= "Regen2" and c.Name ~= "CurseParticles" and c.Parent.Parent == Character then
3018
				c:remove()
3019
			end
3020
		end
3021
		if c and c.Parent then
3022
			if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
3023
				local ACCESSORY = c.Parent
3024
				c.Parent = Character
3025
				local REGENVALUE = IT("BoolValue",c)
3026
				REGENVALUE.Name = "IsRegening"
3027
				table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
3028
				if c then
3029
					if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
3030
						local WELD = weldBetween(Head,c)
3031
						table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
3032
					else
3033
						local WELD = weldBetween(Torso,c)
3034
						table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
3035
					end
3036
				end
3037
				ACCESSORY:remove()
3038
			end
3039
		end
3040
	end
3041
	for _, c in pairs(Character:GetChildren()) do
3042
		if SEARING == true and c:IsA("BasePart") then
3043
			c.Transparency = 1
3044
		end
3045
	end
3046
	MUSIC.Parent = Character
3047
	MUSIC.SoundId = "rbxassetid://"..SONGS[CHOSENSONG]
3048
	MUSIC.Pitch = 1
3049
	if CHOSENSONG ~= 5 then
3050
		MUSIC.Volume = 2
3051
	else
3052
		MUSIC.Volume = 4
3053
	end 
3054
	MUSIC.Playing = true
3055
	if POSEIDON == true and FULLREGEN == false then
3056
		LOOP = LOOP + 1
3057
		local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Deep orange"), "Floor", VT(15,0,15), true)
3058
		FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))
3059
		FLOOR.CanCollide = true
3060
		Debris:AddItem(FLOOR,0.2)
3061
		local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Deep orange"), "Floor", VT(15,0,15), true)
3062
		FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))*ANGLES(RAD(0),RAD(45),RAD(0))
3063
		FLOOR.CanCollide = true
3064
		Debris:AddItem(FLOOR,0.2)
3065
		if LOOP >= 5 then
3066
			LOOP = 0
3067
			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 orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3068
		end
3069
	end
3070
	RootJoint.Parent = RootPart
3071
	Humanoid.DisplayDistanceType = "None"
3072
	Humanoid.Name = "Searing Emperor"
3073
end
3074
3075
--//=================================\\
3076
--\\=================================//
3077
3078
3079
3080
--//====================================================\\--
3081
--||			  		 END OF SCRIPT
3082
--\\====================================================//--
3083
end))
3084
ParticleEmitter1.Name = "Regen"
3085
ParticleEmitter1.Parent = LocalScript0
3086
ParticleEmitter1.Speed = NumberRange.new(1, 1)
3087
ParticleEmitter1.Rotation = NumberRange.new(0, 360)
3088
ParticleEmitter1.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3089
ParticleEmitter1.Enabled = false
3090
ParticleEmitter1.LightEmission = 0.89999997615814
3091
ParticleEmitter1.Texture = "rbxassetid://296874871"
3092
ParticleEmitter1.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3093
ParticleEmitter1.ZOffset = 1
3094
ParticleEmitter1.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
3095
ParticleEmitter1.Acceleration = Vector3.new(0, 3, 0)
3096
ParticleEmitter1.Drag = 3
3097
ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
3098
ParticleEmitter1.Lifetime = NumberRange.new(1, 1)
3099
ParticleEmitter1.Rate = 300
3100
ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
3101
ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
3102
ParticleEmitter1.VelocitySpread = 360
3103
ParticleEmitter2.Name = "Regen2"
3104
ParticleEmitter2.Parent = LocalScript0
3105
ParticleEmitter2.Speed = NumberRange.new(1, 1)
3106
ParticleEmitter2.Rotation = NumberRange.new(0, 360)
3107
ParticleEmitter2.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3108
ParticleEmitter2.Enabled = false
3109
ParticleEmitter2.LightEmission = 0.89999997615814
3110
ParticleEmitter2.Texture = "rbxassetid://296874871"
3111
ParticleEmitter2.Transparency = NumberSequence.new(1,1,0.7704918384552,0.29508197307587,0.24590164422989,0.37704920768738,0.62841534614563,0.90710383653641,1)
3112
ParticleEmitter2.ZOffset = 1
3113
ParticleEmitter2.Size = NumberSequence.new(0,0.81967234611511,0.7103830575943,0.49180328845978,0)
3114
ParticleEmitter2.Drag = 5
3115
ParticleEmitter2.EmissionDirection = Enum.NormalId.Right
3116
ParticleEmitter2.Lifetime = NumberRange.new(1, 1)
3117
ParticleEmitter2.Rate = 70
3118
ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
3119
ParticleEmitter2.SpreadAngle = Vector2.new(360, 360)
3120
ParticleEmitter2.VelocitySpread = 360
3121
BillboardGui3.Name = "NameGui"
3122
BillboardGui3.Parent = LocalScript0
3123
BillboardGui3.Enabled = false
3124
BillboardGui3.Size = UDim2.new(7.5, 0, 1.5, 0)
3125
BillboardGui3.AlwaysOnTop = true
3126
BillboardGui3.MaxDistance = 70
3127
BillboardGui3.SizeOffset = Vector2.new(0, 4)
3128
TextLabel4.Name = "PlayerName"
3129
TextLabel4.Parent = BillboardGui3
3130
TextLabel4.Transparency = 1
3131
TextLabel4.Size = UDim2.new(1, 0, 1, 0)
3132
TextLabel4.BackgroundColor = BrickColor.new("Deep orange")
3133
TextLabel4.BackgroundColor3 = Color3.new(222,255,0)
3134
TextLabel4.BackgroundTransparency = 1
3135
TextLabel4.BorderColor = BrickColor.new("Deep orange")
3136
TextLabel4.BorderColor3 = Color3.new(222,255,0)
3137
TextLabel4.BorderSizePixel = 0
3138
TextLabel4.Font = Enum.Font.Antique
3139
TextLabel4.FontSize = Enum.FontSize.Size14
3140
TextLabel4.Text = "The Angel"
3141
TextLabel4.TextColor = BrickColor.new("Deep orange")
3142
TextLabel4.TextColor3 = Color3.new(222,255,0)
3143
TextLabel4.TextScaled = true
3144
TextLabel4.TextSize = 14
3145
TextLabel4.TextStrokeColor3 = Color3.new(222,255,0)
3146
TextLabel4.TextStrokeTransparency = 0
3147
TextLabel4.TextWrap = true
3148
TextLabel4.TextWrapped = true
3149
TextLabel5.Name = "Title"
3150
TextLabel5.Parent = BillboardGui3
3151
TextLabel5.Position = UDim2.new(-0.75, 0, 0.899999976, 0)
3152
TextLabel5.Transparency = 1
3153
TextLabel5.Size = UDim2.new(2.5, 0, 1.5, 0)
3154
TextLabel5.BackgroundColor = BrickColor.new("Deep orange")
3155
TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1)
3156
TextLabel5.BackgroundTransparency = 1
3157
TextLabel5.BorderColor = BrickColor.new("Deep orange")
3158
TextLabel5.BorderColor3 = Color3.new(1, 1, 1)
3159
TextLabel5.BorderSizePixel = 0
3160
TextLabel5.Font = Enum.Font.Antique
3161
TextLabel5.FontSize = Enum.FontSize.Size14
3162
TextLabel5.Text = "The Sun God"
3163
TextLabel5.TextColor = BrickColor.new("Deep orange")
3164
TextLabel5.TextColor3 = Color3.new(222,255,0)
3165
TextLabel5.TextScaled = true
3166
TextLabel5.TextSize = 14
3167
TextLabel5.TextStrokeColor3 = Color3.new(222,255,0)
3168
TextLabel5.TextStrokeTransparency = 0
3169
TextLabel5.TextWrap = true
3170
TextLabel5.TextWrapped = true
3171
ParticleEmitter6.Name = "FistFire"
3172
ParticleEmitter6.Parent = LocalScript0
3173
ParticleEmitter6.Speed = NumberRange.new(3, 3)
3174
ParticleEmitter6.Rotation = NumberRange.new(0, 360)
3175
ParticleEmitter6.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3176
ParticleEmitter6.Enabled = false
3177
ParticleEmitter6.LightEmission = 0.89999997615814
3178
ParticleEmitter6.Texture = "rbxassetid://296874871"
3179
ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.2896174788475,0.25683063268661,0.4426229596138,0.62841534614563,1)
3180
ParticleEmitter6.ZOffset = 1
3181
ParticleEmitter6.Size = NumberSequence.new(0,0,0.7103830575943,0.49180328845978,0)
3182
ParticleEmitter6.Acceleration = Vector3.new(0, 3, 0)
3183
ParticleEmitter6.Drag = 1
3184
ParticleEmitter6.EmissionDirection = Enum.NormalId.Bottom
3185
ParticleEmitter6.Lifetime = NumberRange.new(2, 2)
3186
ParticleEmitter6.LockedToPart = true
3187
ParticleEmitter6.Rate = 300
3188
ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
3189
ParticleEmitter6.SpreadAngle = Vector2.new(45, 45)
3190
ParticleEmitter6.VelocitySpread = 45
3191
LocalScript7.Name = "CamShake"
3192
LocalScript7.Parent = LocalScript0
3193
table.insert(cors,sandbox(LocalScript7,function()
3194
wait()
3195
VT = Vector3.new
3196
MRANDOM = math.random
3197
local A = nil
3198
local B = nil
3199
local C = nil
3200
local HUMANOID = script.Parent:FindFirstChildOfClass("Humanoid")
3201
for _, c in pairs(script:GetChildren()) do
3202
	if c.Name == "Timer" then
3203
		A = c.Value
3204
	elseif c.Name == "Shake" then
3205
		B = c.Value*5
3206
	elseif c.Name == "DoesFade" then
3207
		C = c.Value
3208
	end
3209
end
3210
local TIMER = A or 35
3211
local SHAKE = B or 5
3212
local FADE = C or true
3213
if HUMANOID and game.Players:FindFirstChild(script.Parent.Name) then
3214
	if FADE == true then
3215
		local FADER = SHAKE/TIMER
3216
		for i = 1, TIMER do
3217
			wait()
3218
			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)
3219
		end
3220
		HUMANOID.CameraOffset = VT(0,0,0)
3221
	else
3222
		for i = 1, TIMER do
3223
			wait()
3224
			HUMANOID.CameraOffset = VT(MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10)
3225
		end
3226
		HUMANOID.CameraOffset = VT(0,0,0)
3227
	end
3228
end
3229
script:remove()
3230
end))
3231
LocalScript7.Disabled = true
3232
NumberValue8.Name = "Timer"
3233
NumberValue8.Parent = LocalScript7
3234
NumberValue8.Value = 35
3235
NumberValue9.Name = "Shake"
3236
NumberValue9.Parent = LocalScript7
3237
NumberValue9.Value = 5
3238
BoolValue10.Name = "DoesFade"
3239
BoolValue10.Parent = LocalScript7
3240
ParticleEmitter11.Name = "FireballFire2"
3241
ParticleEmitter11.Parent = LocalScript0
3242
ParticleEmitter11.Rotation = NumberRange.new(0, 360)
3243
ParticleEmitter11.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0))
3244
ParticleEmitter11.Enabled = false
3245
ParticleEmitter11.LightEmission = 0.89999997615814
3246
ParticleEmitter11.Texture = "rbxassetid://296874871"
3247
ParticleEmitter11.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3248
ParticleEmitter11.ZOffset = 2
3249
ParticleEmitter11.Size = NumberSequence.new(5,5,1.8032789230347,0)
3250
ParticleEmitter11.Drag = 1
3251
ParticleEmitter11.EmissionDirection = Enum.NormalId.Right
3252
ParticleEmitter11.Lifetime = NumberRange.new(0, 1.5)
3253
ParticleEmitter11.Rate = 9999
3254
ParticleEmitter11.RotSpeed = NumberRange.new(-56, 56)
3255
ParticleEmitter11.SpreadAngle = Vector2.new(360, 360)
3256
ParticleEmitter11.VelocitySpread = 360
3257
ParticleEmitter12.Name = "ExplosionFire2"
3258
ParticleEmitter12.Parent = LocalScript0
3259
ParticleEmitter12.Speed = NumberRange.new(7, 270)
3260
ParticleEmitter12.Rotation = NumberRange.new(0, 360)
3261
ParticleEmitter12.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3262
ParticleEmitter12.Enabled = false
3263
ParticleEmitter12.LightEmission = 0.89999997615814
3264
ParticleEmitter12.Texture = "rbxassetid://296874871"
3265
ParticleEmitter12.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3266
ParticleEmitter12.ZOffset = 1
3267
ParticleEmitter12.Size = NumberSequence.new(0,0.98360657691956,1.530054807663,0)
3268
ParticleEmitter12.Drag = 8
3269
ParticleEmitter12.EmissionDirection = Enum.NormalId.Right
3270
ParticleEmitter12.Lifetime = NumberRange.new(2, 4)
3271
ParticleEmitter12.Rate = 300
3272
ParticleEmitter12.RotSpeed = NumberRange.new(-56, 56)
3273
ParticleEmitter12.SpreadAngle = Vector2.new(360, 360)
3274
ParticleEmitter12.VelocitySpread = 360
3275
ParticleEmitter13.Name = "Field"
3276
ParticleEmitter13.Parent = LocalScript0
3277
ParticleEmitter13.Speed = NumberRange.new(20, 50)
3278
ParticleEmitter13.Rotation = NumberRange.new(0, 360)
3279
ParticleEmitter13.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3280
ParticleEmitter13.Enabled = false
3281
ParticleEmitter13.LightEmission = 0.89999997615814
3282
ParticleEmitter13.Texture = "rbxassetid://296874871"
3283
ParticleEmitter13.Transparency = NumberSequence.new(1,0.92349725961685,0.87978142499924,0.92349725961685,1)
3284
ParticleEmitter13.ZOffset = 1
3285
ParticleEmitter13.Size = NumberSequence.new(0,10)
3286
ParticleEmitter13.EmissionDirection = Enum.NormalId.Right
3287
ParticleEmitter13.Lifetime = NumberRange.new(2, 4)
3288
ParticleEmitter13.Rate = 999
3289
ParticleEmitter13.RotSpeed = NumberRange.new(-56, 56)
3290
ParticleEmitter13.SpreadAngle = Vector2.new(360, 360)
3291
ParticleEmitter13.VelocitySpread = 360
3292
ParticleEmitter14.Name = "BodyFire"
3293
ParticleEmitter14.Parent = LocalScript0
3294
ParticleEmitter14.Speed = NumberRange.new(1, 1)
3295
ParticleEmitter14.Rotation = NumberRange.new(0, 360)
3296
ParticleEmitter14.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3297
ParticleEmitter14.Enabled = false
3298
ParticleEmitter14.LightEmission = 0.89999997615814
3299
ParticleEmitter14.Texture = "rbxassetid://296874871"
3300
ParticleEmitter14.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1)
3301
ParticleEmitter14.ZOffset = 1
3302
ParticleEmitter14.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
3303
ParticleEmitter14.Acceleration = Vector3.new(0, 3, 0)
3304
ParticleEmitter14.Drag = 3
3305
ParticleEmitter14.EmissionDirection = Enum.NormalId.Right
3306
ParticleEmitter14.Lifetime = NumberRange.new(1, 1)
3307
ParticleEmitter14.Rate = 300
3308
ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
3309
ParticleEmitter14.SpreadAngle = Vector2.new(360, 360)
3310
ParticleEmitter14.VelocitySpread = 360
3311
ParticleEmitter15.Name = "WingFire1"
3312
ParticleEmitter15.Parent = LocalScript0
3313
ParticleEmitter15.Speed = NumberRange.new(8, 8)
3314
ParticleEmitter15.Rotation = NumberRange.new(0, 360)
3315
ParticleEmitter15.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3316
ParticleEmitter15.Enabled = false
3317
ParticleEmitter15.LightEmission = 0.89999997615814
3318
ParticleEmitter15.Texture = "rbxassetid://296874871"
3319
ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3320
ParticleEmitter15.ZOffset = 1
3321
ParticleEmitter15.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076)
3322
ParticleEmitter15.Acceleration = Vector3.new(8, 5, -7)
3323
ParticleEmitter15.EmissionDirection = Enum.NormalId.Back
3324
ParticleEmitter15.Lifetime = NumberRange.new(2.5, 2.5)
3325
ParticleEmitter15.LockedToPart = true
3326
ParticleEmitter15.Rate = 300
3327
ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
3328
ParticleEmitter15.SpreadAngle = Vector2.new(15, 5)
3329
ParticleEmitter15.VelocitySpread = 15
3330
ParticleEmitter16.Name = "WingFire2"
3331
ParticleEmitter16.Parent = LocalScript0
3332
ParticleEmitter16.Speed = NumberRange.new(8, 8)
3333
ParticleEmitter16.Rotation = NumberRange.new(0, 360)
3334
ParticleEmitter16.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3335
ParticleEmitter16.Enabled = false
3336
ParticleEmitter16.LightEmission = 0.89999997615814
3337
ParticleEmitter16.Texture = "rbxassetid://296874871"
3338
ParticleEmitter16.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3339
ParticleEmitter16.ZOffset = 1
3340
ParticleEmitter16.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076)
3341
ParticleEmitter16.Acceleration = Vector3.new(-8, 5, -7)
3342
ParticleEmitter16.EmissionDirection = Enum.NormalId.Back
3343
ParticleEmitter16.Lifetime = NumberRange.new(2.5, 2.5)
3344
ParticleEmitter16.LockedToPart = true
3345
ParticleEmitter16.Rate = 300
3346
ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
3347
ParticleEmitter16.SpreadAngle = Vector2.new(15, 5)
3348
ParticleEmitter16.VelocitySpread = 15
3349
ParticleEmitter17.Name = "ExplosionFire1"
3350
ParticleEmitter17.Parent = LocalScript0
3351
ParticleEmitter17.Speed = NumberRange.new(7, 670)
3352
ParticleEmitter17.Rotation = NumberRange.new(0, 360)
3353
ParticleEmitter17.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3354
ParticleEmitter17.Enabled = false
3355
ParticleEmitter17.LightEmission = 0.89999997615814
3356
ParticleEmitter17.Texture = "rbxassetid://296874871"
3357
ParticleEmitter17.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3358
ParticleEmitter17.ZOffset = 1
3359
ParticleEmitter17.Size = NumberSequence.new(10,10,7.0491800308228,0)
3360
ParticleEmitter17.Drag = 5
3361
ParticleEmitter17.EmissionDirection = Enum.NormalId.Right
3362
ParticleEmitter17.Lifetime = NumberRange.new(2, 4)
3363
ParticleEmitter17.Rate = 300
3364
ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
3365
ParticleEmitter17.SpreadAngle = Vector2.new(360, 360)
3366
ParticleEmitter17.VelocitySpread = 360
3367
ParticleEmitter18.Name = "FireballFire1"
3368
ParticleEmitter18.Parent = LocalScript0
3369
ParticleEmitter18.Rotation = NumberRange.new(0, 360)
3370
ParticleEmitter18.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3371
ParticleEmitter18.Enabled = false
3372
ParticleEmitter18.LightEmission = 0.89999997615814
3373
ParticleEmitter18.Texture = "rbxassetid://296874871"
3374
ParticleEmitter18.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3375
ParticleEmitter18.ZOffset = 1
3376
ParticleEmitter18.Size = NumberSequence.new(10,10,7.0491800308228,0)
3377
ParticleEmitter18.Drag = 1
3378
ParticleEmitter18.EmissionDirection = Enum.NormalId.Right
3379
ParticleEmitter18.Lifetime = NumberRange.new(0, 1.5)
3380
ParticleEmitter18.Rate = 9999
3381
ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
3382
ParticleEmitter18.SpreadAngle = Vector2.new(360, 360)
3383
ParticleEmitter18.VelocitySpread = 360
3384
ParticleEmitter19.Name = "FireballFire3"
3385
ParticleEmitter19.Parent = LocalScript0
3386
ParticleEmitter19.Rotation = NumberRange.new(0, 360)
3387
ParticleEmitter19.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3388
ParticleEmitter19.Enabled = false
3389
ParticleEmitter19.LightEmission = 0.89999997615814
3390
ParticleEmitter19.Texture = "rbxassetid://296874871"
3391
ParticleEmitter19.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3392
ParticleEmitter19.ZOffset = 1
3393
ParticleEmitter19.Size = NumberSequence.new(2.7868854999542,4.4808745384216,4.5901637077332,0)
3394
ParticleEmitter19.Drag = 1
3395
ParticleEmitter19.EmissionDirection = Enum.NormalId.Right
3396
ParticleEmitter19.Lifetime = NumberRange.new(0, 1.5)
3397
ParticleEmitter19.Rate = 9999
3398
ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56)
3399
ParticleEmitter19.SpreadAngle = Vector2.new(360, 360)
3400
ParticleEmitter19.VelocitySpread = 360
3401
ParticleEmitter20.Name = "DebrisFire"
3402
ParticleEmitter20.Parent = LocalScript0
3403
ParticleEmitter20.Speed = NumberRange.new(2, 2)
3404
ParticleEmitter20.Rotation = NumberRange.new(0, 360)
3405
ParticleEmitter20.Color = ColorSequence.new(Color3.new(222,255,0),Color3.new(222,255,0),Color3.new(222,255,0))
3406
ParticleEmitter20.Enabled = false
3407
ParticleEmitter20.LightEmission = 0.89999997615814
3408
ParticleEmitter20.Texture = "rbxassetid://296874871"
3409
ParticleEmitter20.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1)
3410
ParticleEmitter20.ZOffset = 1
3411
ParticleEmitter20.Size = NumberSequence.new(2.677595615387,3.9890713691711,4.6448087692261,3.8251371383667,0)
3412
ParticleEmitter20.Acceleration = Vector3.new(0, 25, 0)
3413
ParticleEmitter20.Drag = 3
3414
ParticleEmitter20.EmissionDirection = Enum.NormalId.Right
3415
ParticleEmitter20.Lifetime = NumberRange.new(0, 3)
3416
ParticleEmitter20.Rate = 300
3417
ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
3418
ParticleEmitter20.SpreadAngle = Vector2.new(360, 360)
3419
ParticleEmitter20.VelocitySpread = 360
3420
Part21.Name = "Pauldrons"
3421
Part21.Parent = LocalScript0
3422
Part21.CFrame = CFrame.new(47.1000023, 21.5235691, 58.9999733, -1, 0, 0, 0, 1, 0, 0, 0, -1)
3423
Part21.Orientation = Vector3.new(0, 180, 0)
3424
Part21.Position = Vector3.new(47.1000023, 21.5235691, 58.9999733)
3425
Part21.Rotation = Vector3.new(-180, 0, -180)
3426
Part21.Transparency = 1
3427
Part21.Size = Vector3.new(3.4000001, 2.20000005, 1)
3428
Part21.Anchored = true
3429
Part21.BottomSurface = Enum.SurfaceType.Smooth
3430
Part21.CanCollide = false
3431
Part21.Locked = true
3432
Part21.TopSurface = Enum.SurfaceType.Smooth
3433
Part21.FormFactor = Enum.FormFactor.Custom
3434
Part21.formFactor = Enum.FormFactor.Custom
3435
SpecialMesh22.Parent = Part21
3436
SpecialMesh22.MeshId = "http://www.roblox.com/asset/?id=0"
3437
SpecialMesh22.TextureId = "rbxassetid://0"
3438
SpecialMesh22.MeshType = Enum.MeshType.FileMesh
3439
Folder23.Name = "Package"
3440
Folder23.Parent = LocalScript0
3441
CharacterMesh24.Parent = Folder23
3442
CharacterMesh24.BodyPart = Enum.BodyPart.Torso
3443
CharacterMesh24.MeshId = 27111894
3444
CharacterMesh25.Parent = Folder23
3445
CharacterMesh25.BodyPart = Enum.BodyPart.LeftLeg
3446
CharacterMesh25.MeshId = 27111857
3447
CharacterMesh26.Parent = Folder23
3448
CharacterMesh26.BodyPart = Enum.BodyPart.RightLeg
3449
CharacterMesh26.MeshId = 27111882
3450
CharacterMesh27.Name = "Superhero Left Arm"
3451
CharacterMesh27.Parent = Folder23
3452
CharacterMesh27.BodyPart = Enum.BodyPart.LeftArm
3453
CharacterMesh27.MeshId = 32328397
3454
CharacterMesh28.Name = "Superhero Right Arm"
3455
CharacterMesh28.Parent = Folder23
3456
CharacterMesh28.BodyPart = Enum.BodyPart.RightArm
3457
CharacterMesh28.MeshId = 32328563
3458
Part29.Name = "Flintlock"
3459
Part29.Parent = LocalScript0
3460
Part29.CFrame = CFrame.new(-11.2999983, 4.42351913, 92.0999756, -1, 0, 0, 0, -1, 0, 0, 0, 1)
3461
Part29.Orientation = Vector3.new(0, 0, 180)
3462
Part29.Position = Vector3.new(-11.2999983, 4.42351913, 92.0999756)
3463
Part29.Rotation = Vector3.new(0, 0, -180)
3464
Part29.Color = Color3.new(222,255,0)
3465
Part29.Size = Vector3.new(1, 2, 1)
3466
Part29.Anchored = true
3467
Part29.BottomSurface = Enum.SurfaceType.Smooth
3468
Part29.BrickColor = BrickColor.new("Deep orange")
3469
Part29.CanCollide = false
3470
Part29.Locked = true
3471
Part29.TopSurface = Enum.SurfaceType.Smooth
3472
Part29.brickColor = BrickColor.new("Deep orange")
3473
Part29.FormFactor = Enum.FormFactor.Plate
3474
Part29.formFactor = Enum.FormFactor.Plate
3475
SpecialMesh30.Parent = Part29
3476
SpecialMesh30.MeshId = "http://www.roblox.com/asset/?id=0"
3477
SpecialMesh30.Scale = Vector3.new(1.5, 1.5, 1.5)
3478
SpecialMesh30.TextureId = "http://www.roblox.com/asset/?id=0"
3479
SpecialMesh30.MeshType = Enum.MeshType.FileMesh
3480
for i,v in pairs(mas:GetChildren()) do
3481
	v.Parent = workspace
3482
	pcall(function() v:MakeJoints() end)
3483
end
3484
mas:Destroy()
3485
for i,v in pairs(cors) do
3486
	spawn(function()
3487
		pcall(v)
3488
	end)
3489
end