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