View difference between Paste ID: FCPrP8Hv and B6GKGrb1
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = owner
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
75
	
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
local Player = owner 
88
 
89
local Mouse,mouse,UserInputService,ContextActionService
90
do
91
    script.Parent = Player.Character
92
    local CAS = {Actions={}}
93
    local Event = Instance.new("RemoteEvent")
94
    Event.Name = "UserInput_Event"
95
    Event.Parent = Player.Character
96
    local fakeEvent = function()
97
        local t = {_fakeEvent=true}
98
        t.Connect = function(self,f)self.Function=f end
99
        t.connect = t.Connect
100
        return t
101
    end
102
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
103
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
104
    function CAS:BindAction(name,fun,touch,...)
105
        CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
106
    end
107
    function CAS:UnbindAction(name)
108
        CAS.Actions[name] = nil
109
    end
110
    local function te(self,ev,...)
111
        local t = m[ev]
112
        if t and t._fakeEvent and t.Function then
113
            t.Function(...)
114
        end
115
    end
116
    m.TrigEvent = te
117
    UIS.TrigEvent = te
118
    Event.OnServerEvent:Connect(function(plr,io)
119
        if plr~=Player then return end
120
        if io.isMouse then
121
            m.Target = io.Target
122
            m.Hit = io.Hit
123
        elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
124
            if io.UserInputState == Enum.UserInputState.Begin then
125
                m:TrigEvent("Button1Down")
126
            else
127
                m:TrigEvent("Button1Up")
128
            end
129
        else
130
            for n,t in pairs(CAS.Actions) do
131
                for _,k in pairs(t.Keys) do
132
                    if k==io.KeyCode then
133
                        t.Function(t.Name,io.UserInputState,io)
134
                    end
135
                end
136
            end
137
            if io.UserInputState == Enum.UserInputState.Begin then
138
                m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
139
                UIS:TrigEvent("InputBegan",io,false)
140
            else
141
                m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
142
                UIS:TrigEvent("InputEnded",io,false)
143
            end
144
        end
145
    end)
146
    Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
147
end
148
 
149
---------owner
150
--Remove "Mouse =" or "local mouse =" at the start.
151
--Replace Kermat161 At The Top Of The Script With You Name.
152
-----------------------------Script In The Line's.
153
 
154
 
155
-------------------------------------------------
156
 
157
 
158
 
159
 
160
--//====================================================\\--
161
--||               CREATED BY SHACKLUSTER
162
--\\====================================================//--
163
 
164
 
165
 
166
 
167-
Player = game:GetService("Players").GodzillaGamer2037
167+
Player = game:GetService("Players").andreiek
168
PlayerGui = Player.PlayerGui
169
Cam = workspace.CurrentCamera
170
Backpack = Player.Backpack
171
Character = Player.Character
172
Humanoid = Character.Humanoid
173
RootPart = Character["HumanoidRootPart"]
174
Torso = Character["Torso"]
175
Head = Character["Head"]
176
RightArm = Character["Right Arm"]
177
LeftArm = Character["Left Arm"]
178
RightLeg = Character["Right Leg"]
179
LeftLeg = Character["Left Leg"]
180
RootJoint = RootPart["RootJoint"]
181
Neck = Torso["Neck"]
182
RightShoulder = Torso["Right Shoulder"]
183
LeftShoulder = Torso["Left Shoulder"]
184
RightHip = Torso["Right Hip"]
185
LeftHip = Torso["Left Hip"]
186
Player:ClearCharacterAppearance()
187
local sick = Instance.new("Sound",Character)
188
sick.SoundId = "rbxassetid://195900687"
189
sick.Looped = true
190
sick.Pitch = 1
191
sick.Volume = 3
192
sick:Play()
193
local firesound = Instance.new("Sound",RootPart)
194
firesound.SoundId = "rbxassetid://987328482"
195
firesound.Looped = true
196
firesound.Pitch = 1
197
firesound.Volume = 0
198
firesound:Play()
199
 
200
 
201
IT = Instance.new
202
CF = CFrame.new
203
VT = Vector3.new
204
RAD = math.rad
205
C3 = Color3.new
206
UD2 = UDim2.new
207
BRICKC = BrickColor.new
208
ANGLES = CFrame.Angles
209
EULER = CFrame.fromEulerAnglesXYZ
210
COS = math.cos
211
ACOS = math.acos
212
SIN = math.sin
213
ASIN = math.asin
214
ABS = math.abs
215
MRANDOM = math.random
216
FLOOR = math.floor
217
 
218
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
219
    local NEWMESH = IT(MESH)
220
    if MESH == "SpecialMesh" then
221
        NEWMESH.MeshType = MESHTYPE
222
        if MESHID ~= "nil" and MESHID ~= "" then
223
            NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
224
        end
225
        if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
226
            NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
227
        end
228
    end
229
    NEWMESH.Offset = OFFSET or VT(0, 0, 0)
230
    NEWMESH.Scale = SCALE
231
    NEWMESH.Parent = PARENT
232
    return NEWMESH
233
end
234
 
235
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
236
    local NEWPART = IT("Part")
237
    NEWPART.formFactor = FORMFACTOR
238
    NEWPART.Reflectance = REFLECTANCE
239
    NEWPART.Transparency = TRANSPARENCY
240
    NEWPART.CanCollide = false
241
    NEWPART.Locked = true
242
    NEWPART.Anchored = true
243
    if ANCHOR == false then
244
        NEWPART.Anchored = false
245
    end
246
    NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
247
    NEWPART.Name = NAME
248
    NEWPART.Size = SIZE
249
    NEWPART.Position = Torso.Position
250
    NEWPART.Material = MATERIAL
251
    NEWPART:BreakJoints()
252
    NEWPART.Parent = PARENT
253
    return NEWPART
254
end
255
 
256
--//=================================\\
257
--||          CUSTOMIZATION
258
--\\=================================//
259
 
260
Player_Size = 1 --Size of the player.
261
Animation_Speed = 3
262
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
263
local MODE = "Main"
264
local SIZE = 1
265
local LEVEL = 1
266
 
267
 
268
local Speed = 16
269
local Effects2 = {}
270
 
271
--//=================================\\
272
--||      END OF CUSTOMIZATION
273
--\\=================================//
274
 
275
    local function weldBetween(a, b)
276
        local weldd = Instance.new("ManualWeld")
277
        weldd.Part0 = a
278
        weldd.Part1 = b
279
        weldd.C0 = CFrame.new()
280
        weldd.C1 = b.CFrame:inverse() * a.CFrame
281
        weldd.Parent = a
282
        return weldd
283
    end
284
 
285
--//=================================\\
286
--||          USEFUL VALUES
287
--\\=================================//
288
 
289
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
290
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
291
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
292
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
293
local CHANGEDEFENSE = 0
294
local CHANGEDAMAGE = 0
295
local CHANGEMOVEMENT = 0
296
local ANIM = "Idle"
297
local ATTACK = false
298
local EQUIPPED = false
299
local HOLD = false
300
local COMBO = 1
301
local Rooted = false
302
local SINE = 0
303
local KEYHOLD = false
304
local CHANGE = 2 / Animation_Speed
305
local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382}
306
local WALKINGANIM = false
307
local WALK = 0
308
local VALUE1 = false
309
local VALUE2 = false
310
local ROBLOXIDLEANIMATION = IT("Animation")
311
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
312
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
313
--ROBLOXIDLEANIMATION.Parent = Humanoid
314
local WEAPONGUI = IT("ScreenGui", PlayerGui)
315
WEAPONGUI.Name = "Weapon GUI"
316
local Effects = IT("Folder", Character)
317
Effects.Name = "Effects"
318
sick.Volume = 0
319
Character.Archivable = true
320
local CLONE = Character:Clone()
321
CLONE.Parent = nil
322
Character.Archivable = false
323
sick.Volume = 3
324
local ANIMATOR = Humanoid.Animator
325
local ANIMATE = Character.Animate
326
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
327
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
328
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
329
local HITBLOCKSOUNDS = {"199148933", "199148947"}
330
local UNANCHOR = true
331
local BodyColor = C3(0,0,0)
332
local LegColor = C3(0,0,0.05)
333
local ArmColor = C3(0.05,0.05,0.15)
334
 
335
local SKILLTEXTCOLOR = C3(0.05,0.05,0.15)
336
local SKILLTEXTCOLOR2 = C3(0,0,0)
337
 
338
--//=================================\\
339
--\\=================================//
340
 
341
 
342
--//=================================\\
343
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
344
--\\=================================//
345
 
346
ArtificialHB = Instance.new("BindableEvent", script)
347
ArtificialHB.Name = "ArtificialHB"
348
 
349
script:WaitForChild("ArtificialHB")
350
 
351
frame = Frame_Speed
352
tf = 0
353
allowframeloss = false
354
tossremainder = false
355
lastframe = tick()
356
script.ArtificialHB:Fire()
357
 
358
game:GetService("RunService").Heartbeat:connect(function(s, p)
359
    tf = tf + s
360
    if tf >= frame then
361
        if allowframeloss then
362
            script.ArtificialHB:Fire()
363
            lastframe = tick()
364
        else
365
            for i = 1, math.floor(tf / frame) do
366
                script.ArtificialHB:Fire()
367
            end
368
        lastframe = tick()
369
        end
370
        if tossremainder then
371
            tf = 0
372
        else
373
            tf = tf - frame * math.floor(tf / frame)
374
        end
375
    end
376
end)
377
 
378
--//=================================\\
379
--\\=================================//
380
 
381
 
382
 
383
 
384
 
385
--//=================================\\
386
--||          SOME FUNCTIONS
387
--\\=================================//
388
 
389
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
390
    return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
391
end
392
 
393
function PositiveAngle(NUMBER)
394
    if NUMBER >= 0 then
395
        NUMBER = 0
396
    end
397
    return NUMBER
398
end
399
 
400
function NegativeAngle(NUMBER)
401
    if NUMBER <= 0 then
402
        NUMBER = 0
403
    end
404
    return NUMBER
405
end
406
 
407
function Swait(NUMBER)
408
    if NUMBER == 0 or NUMBER == nil then
409
        ArtificialHB.Event:wait()
410
    else
411
        for i = 1, NUMBER do
412
            ArtificialHB.Event:wait()
413
        end
414
    end
415
end
416
 
417
function QuaternionFromCFrame(cf)
418
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
419
    local trace = m00 + m11 + m22
420
    if trace > 0 then
421
        local s = math.sqrt(1 + trace)
422
        local recip = 0.5 / s
423
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
424
    else
425
        local i = 0
426
        if m11 > m00 then
427
            i = 1
428
        end
429
        if m22 > (i == 0 and m00 or m11) then
430
            i = 2
431
        end
432
        if i == 0 then
433
            local s = math.sqrt(m00 - m11 - m22 + 1)
434
            local recip = 0.5 / s
435
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
436
        elseif i == 1 then
437
            local s = math.sqrt(m11 - m22 - m00 + 1)
438
            local recip = 0.5 / s
439
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
440
        elseif i == 2 then
441
            local s = math.sqrt(m22 - m00 - m11 + 1)
442
            local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
443
        end
444
    end
445
end
446
 
447
function QuaternionToCFrame(px, py, pz, x, y, z, w)
448
    local xs, ys, zs = x + x, y + y, z + z
449
    local wx, wy, wz = w * xs, w * ys, w * zs
450
    local xx = x * xs
451
    local xy = x * ys
452
    local xz = x * zs
453
    local yy = y * ys
454
    local yz = y * zs
455
    local zz = z * zs
456
    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))
457
end
458
 
459
function QuaternionSlerp(a, b, t)
460
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
461
    local startInterp, finishInterp;
462
    if cosTheta >= 0.0001 then
463
        if (1 - cosTheta) > 0.0001 then
464
            local theta = ACOS(cosTheta)
465
            local invSinTheta = 1 / SIN(theta)
466
            startInterp = SIN((1 - t) * theta) * invSinTheta
467
            finishInterp = SIN(t * theta) * invSinTheta
468
        else
469
            startInterp = 1 - t
470
            finishInterp = t
471
        end
472
    else
473
        if (1 + cosTheta) > 0.0001 then
474
            local theta = ACOS(-cosTheta)
475
            local invSinTheta = 1 / SIN(theta)
476
            startInterp = SIN((t - 1) * theta) * invSinTheta
477
            finishInterp = SIN(t * theta) * invSinTheta
478
        else
479
            startInterp = t - 1
480
            finishInterp = t
481
        end
482
    end
483
    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
484
end
485
 
486
function Clerp(a, b, t)
487
    local qa = {QuaternionFromCFrame(a)}
488
    local qb = {QuaternionFromCFrame(b)}
489
    local ax, ay, az = a.x, a.y, a.z
490
    local bx, by, bz = b.x, b.y, b.z
491
    local _t = 1 - t
492
    return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
493
end
494
 
495
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
496
    local frame = IT("Frame")
497
    frame.BackgroundTransparency = TRANSPARENCY
498
    frame.BorderSizePixel = BORDERSIZEPIXEL
499
    frame.Position = POSITION
500
    frame.Size = SIZE
501
    frame.BackgroundColor3 = COLOR
502
    frame.BorderColor3 = BORDERCOLOR
503
    frame.Name = NAME
504
    frame.Parent = PARENT
505
    return frame
506
end
507
 
508
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
509
    local label = IT("TextLabel")
510
    label.BackgroundTransparency = 1
511
    label.Size = UD2(1, 0, 1, 0)
512
    label.Position = UD2(0, 0, 0, 0)
513
    label.TextColor3 = TEXTCOLOR
514
    label.TextStrokeTransparency = STROKETRANSPARENCY
515
    label.TextTransparency = TRANSPARENCY
516
    label.FontSize = TEXTFONTSIZE
517
    label.Font = TEXTFONT
518
    label.BorderSizePixel = BORDERSIZEPIXEL
519
    label.TextScaled = false
520
    label.Text = TEXT
521
    label.Name = NAME
522
    label.Parent = PARENT
523
    return label
524
end
525
 
526
function NoOutlines(PART)
527
    PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
528
end
529
 
530
 
531
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
532
    local NEWWELD = IT(TYPE)
533
    NEWWELD.Part0 = PART0
534
    NEWWELD.Part1 = PART1
535
    NEWWELD.C0 = C0
536
    NEWWELD.C1 = C1
537
    NEWWELD.Parent = PARENT
538
    return NEWWELD
539
end
540
 
541
function CreateSound(ID, PARENT, VOLUME, PITCH)
542
    local NEWSOUND = nil
543
    coroutine.resume(coroutine.create(function()
544
        NEWSOUND = IT("Sound", PARENT)
545
        NEWSOUND.Volume = VOLUME
546
        NEWSOUND.Pitch = PITCH
547
        NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
548
        Swait()
549
        NEWSOUND:play()
550
        game:GetService("Debris"):AddItem(NEWSOUND, 10)
551
    end))
552
    return NEWSOUND
553
end
554
 
555
function CFrameFromTopBack(at, top, back)
556
    local right = top:Cross(back)
557
    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)
558
end
559
 
560
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
561
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
562
    wave.Color = COLOR
563
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
564
    wave.CFrame = CFRAME
565
    coroutine.resume(coroutine.create(function(PART)
566
        for i = 1, WAIT do
567
            Swait()
568
            mesh.Scale = mesh.Scale + GROW
569
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
570
            if DOESROT == true then
571
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
572
            end
573
            wave.Transparency = wave.Transparency + (0.5/WAIT)
574
            if wave.Transparency > 0.99 then
575
                wave:remove()
576
            end
577
        end
578
    end))
579
end
580
 
581
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
582
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
583
    wave.Color = COLOR
584
    local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
585
    wave.CFrame = CFRAME
586
    coroutine.resume(coroutine.create(function(PART)
587
        for i = 1, WAIT do
588
            Swait()
589
            mesh.Scale = mesh.Scale + GROW
590
            wave.Transparency = wave.Transparency + (1/WAIT)
591
            if wave.Transparency > 0.99 then
592
                wave:remove()
593
            end
594
        end
595
    end))
596
end
597
 
598
function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
599
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
600
    local mesh = nil
601
    if KIND == "Base" then
602
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
603
    elseif KIND == "Thin" then
604
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
605
    elseif KIND == "Round" then
606
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
607
    end
608
    wave.CFrame = CFRAME
609
    coroutine.resume(coroutine.create(function(PART)
610
        for i = 1, WAIT do
611
            Swait()
612
            mesh.Scale = mesh.Scale + GROW/10
613
            wave.Transparency = wave.Transparency + (0.5/WAIT)
614
            if wave.Transparency > 0.99 then
615
                wave:remove()
616
            end
617
        end
618
    end))
619
end
620
 
621
function MakeForm(PART,TYPE)
622
    if TYPE == "Cyl" then
623
        local MSH = IT("CylinderMesh",PART)
624
    elseif TYPE == "Ball" then
625
        local MSH = IT("SpecialMesh",PART)
626
        MSH.MeshType = "Sphere"
627
    elseif TYPE == "Wedge" then
628
        local MSH = IT("SpecialMesh",PART)
629
        MSH.MeshType = "Wedge"
630
    end
631
end
632
 
633
function CheckTableForString(Table, String)
634
    for i, v in pairs(Table) do
635
        if string.find(string.lower(String), string.lower(v)) then
636
            return true
637
        end
638
    end
639
    return false
640
end
641
 
642
Debris = game:GetService("Debris")
643
 
644
function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
645
    if DoesCourontine == false then
646
        local Direction = CF(Part.Position,ToLocation)
647
        local Distance = (Part.Position - ToLocation).magnitude
648
        for i = 1, AmountOfTime do
649
            Swait()
650
            Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
651
            Direction = Part.CFrame
652
        end
653
        Part:remove()
654
    elseif DoesCourontine == true then
655
        coroutine.resume(coroutine.create(function()
656
            local Direction = CF(Part.Position,ToLocation)
657
            local Distance = (Part.Position - ToLocation).magnitude
658
            for i = 1, AmountOfTime do
659
                Swait()
660
                Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
661
                Direction = Part.CFrame
662
            end
663
            Part:remove()
664
        end))
665
    end
666
end
667
 
668
function turnto(position)
669
    RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
670
end
671
local naeeym2 = Instance.new("BillboardGui", Character)
672
naeeym2.AlwaysOnTop = true
673
naeeym2.Size = UDim2.new(5, 35, 2, 15)
674
naeeym2.StudsOffset = Vector3.new(0, 3, 0)
675
naeeym2.Adornee = Character.Head
676
naeeym2.Name = "Name"
677
local tecks2 = Instance.new("TextLabel", naeeym2)
678
tecks2.BackgroundTransparency = 1
679
tecks2.TextScaled = true
680
tecks2.BorderSizePixel = 0
681
tecks2.Text = "Dominus Astra"
682
tecks2.Font = "Fantasy"
683
tecks2.TextSize = 30
684
tecks2.TextStrokeTransparency = 0
685
tecks2.TextColor3 = Color3.new(0.05,0.05,0.15)
686
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
687
tecks2.Size = UDim2.new(1, 0, 0.5, 0)
688
tecks2.Parent = naeeym2
689
 
690
--//=================================\\
691
--||         WEAPON CREATION
692
--\\=================================//
693
 
694
local LMAO = IT("Model")
695
LMAO.Name = "Particles"
696
LMAO.Parent = nil
697
local Weapon = IT("Model")
698
Weapon.Name = "Adds"
699
local Weapon2 = IT("Model")
700
Weapon2.Name = "Adds"
701
 
702
local EYE = CreatePart(3, Weapon2, "Neon", 0, 0, "Gold", "Eyeball", VT(0.1, 0.4, 0.1), false)
703
MakeForm(EYE, "Ball")
704
EYE.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72)
705
local EW = weldBetween(EYE, Head)
706
local EYE2 = CreatePart(3, Weapon2, "Neon", 0, 0, "Gold", "Eyeball1", VT(0.4, 0.1, 0.1), false)
707
MakeForm(EYE2, "Ball")
708
EYE2.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72)
709
local EW2 = weldBetween(EYE2, Head)
710
 
711
Weapon2.Parent = nil
712
 
713
local Particle = IT("ParticleEmitter",nil)
714
Particle.Enabled = false
715
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
716
Particle.LightEmission = 0.5
717
Particle.Rate = 150
718
Particle.ZOffset = 1
719
Particle.Rotation = NumberRange.new(-180, 180)
720
Particle.RotSpeed = NumberRange.new(-180, 180)
721
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
722
Particle.Color = ColorSequence.new(C3(0.4,0,0),C3(0.4,0,0))
723
 
724
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
725
function ParticleEmitter(Table)
726
    local PRTCL = Particle:Clone()
727
    local Speed = Table.Speed or 5
728
    local Drag = Table.Drag or 0
729
    local Size1 = Table.Size1 or 1
730
    local Size2 = Table.Size2 or 5
731
    local Lifetime1 = Table.Lifetime1 or 1
732
    local Lifetime2 = Table.Lifetime2 or 1.5
733
    local Parent = Table.Parent or Torso
734
    local Emit = Table.Emit or 100
735
    local Offset = Table.Offset or 360
736
    local Acel = Table.Acel or VT(0,0,0)
737
    local Enabled = Table.Enabled or false
738
    PRTCL.Parent = Parent
739
    PRTCL.Size = NumberSequence.new(Size1,Size2)
740
    PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
741
    PRTCL.Speed = NumberRange.new(Speed)
742
    PRTCL.VelocitySpread = Offset
743
    PRTCL.Drag = Drag
744
    PRTCL.Acceleration = Acel
745
    if Enabled == false then
746
        PRTCL:Emit(Emit)
747
        Debris:AddItem(PRTCL,Lifetime2)
748
    else
749
        PRTCL.Enabled = true
750
    end
751
    return PRTCL
752
end
753
 
754
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
755
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
756
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
757
MakeForm(Part,"Wedge")
758
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
759
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
760
MakeForm(Part,"Wedge")
761
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
762
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
763
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
764
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
765
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
766
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
767
MakeForm(Part,"Cyl")
768
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
769
for i = 1, 8 do
770
    local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
771
    CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
772
end
773
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
774
MakeForm(Part,"Cyl")
775
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
776
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
777
MakeForm(Part,"Ball")
778
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
779
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
780
MakeForm(Part,"Wedge")
781
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
782
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
783
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
784
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
785
MakeForm(Part,"Cyl")
786
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
787
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
788
MakeForm(Part,"Cyl")
789
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
790
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
791
MakeForm(Part,"Cyl")
792
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
793
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
794
MakeForm(Part,"Wedge")
795
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
796
local LASTPART = Handle
797
for i = 1, 10 do
798
    if LASTPART == Handle then
799
        local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
800
        LASTPART = Part
801
        CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
802
    else
803
        local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
804
        CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
805
        LASTPART = Part
806
    end
807
end
808
 
809
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
810
MakeForm(Barrel,"Cyl")
811
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
812
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
813
MakeForm(Part,"Cyl")
814
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
815
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
816
MakeForm(Part,"Wedge")
817
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
818
local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
819
MakeForm(Hole2,"Cyl")
820
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
821
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
822
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
823
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
824
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
825
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
826
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
827
coroutine.resume(coroutine.create(function()
828
    while wait() do
829
        GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
830
        GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
831
    end
832
end))
833
 
834
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
835
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
836
 
837
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
838
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
839
 
840
for _, c in pairs(Weapon:GetDescendants()) do
841
    if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
842
        c.Material = "Glass"
843
        c.Color = C3(0.15,0.05,0.05)
844
    elseif c.ClassName == "Part" and c.Name == "Eye" then
845
        c.Color = C3(1,0,0)
846
        c.Material = "Neon"
847
    end
848
end
849
 
850
local DeadEyes = IT("Model")
851
DeadEyes.Name = "Adds"
852
for _, c in pairs(Weapon:GetChildren()) do
853
    if c.ClassName == "Part" then
854
        c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
855
    end
856
end
857
 
858
local Handle = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
859
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
860
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
861
MakeForm(Part,"Wedge")
862
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
863
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
864
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
865
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
866
MakeForm(Part,"Cyl")
867
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
868
for i = 1, 8 do
869
    local Piece = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
870
    CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
871
end
872
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
873
MakeForm(Part,"Wedge")
874
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
875
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
876
MakeForm(Part,"Cyl")
877
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
878
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
879
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
880
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
881
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
882
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
883
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
884
local RightBarrel = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
885
MakeForm(RightBarrel,"Cyl")
886
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
887
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
888
MakeForm(Part,"Wedge")
889
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
890
local RightHole = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
891
MakeForm(RightHole,"Cyl")
892
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
893
 
894
 
895
for _, c in pairs(DeadEyes:GetDescendants()) do
896
    if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
897
        c.Material = "Metal"
898
        c.Color = C3(0,0,0)
899
    end
900
end
901
 
902
DeadEyes.Parent = nil
903
 
904
function Transparency(TRANS)
905
    for _, c in pairs(Character:GetChildren()) do
906
        if c.ClassName == "Part" and c ~= RootPart then
907
            c.Transparency = TRANS
908
            if c:FindFirstChildOfClass("Decal") then
909
                c:FindFirstChildOfClass("Decal").Transparency = TRANS
910
            end
911
        elseif c.ClassName == "Accessory" then
912
            c.Handle.Transparency = TRANS
913
        elseif c.ClassName == "Model" then
914
            for _, q in pairs(c:GetChildren()) do
915
                if q.ClassName == "Part" then
916
                    q.Transparency = TRANS
917
                    if q:FindFirstChildOfClass("Decal") then
918
                        q:FindFirstChildOfClass("Decal").Transparency = TRANS
919
                    end
920
                end
921
            end
922
        end
923
    end
924
end
925
 
926
Humanoid.Died:connect(function()
927
    Humanoid.Parent = nil
928
    Humanoid.MaxHealth = "inf"
929
    Humanoid.Health = "inf"
930
    refit3()
931
    refit2()
932
    Humanoid.Parent = Character
933
    CreateSound("907330011", Head, 10, 1.2)
934
end)
935
 
936
--//=================================\\
937
--||            DAMAGING
938
--\\=================================//
939
 
940
function killnearest(position,range,maxstrength)
941
    for i,v in ipairs(workspace:GetChildren()) do
942
    local body = v:GetChildren()
943
        for part = 1, #body do
944
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
945
                if(body[part].Position - position).Magnitude < range then
946
                    if v.ClassName == "Model" then
947
                        v:BreakJoints()
948
                    end
949
                    --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
950
                    local bv = Instance.new("BodyVelocity")
951
                    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
952
                    bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
953
                    bv.Parent = body[part]
954
                    Debris:AddItem(bv,0.2)
955
                end
956
            end
957
        end
958
        if v.ClassName == "Part" then
959
            if v.Anchored == false and (v.Position - position).Magnitude < range then
960
                --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
961
                v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
962
            end
963
        end
964
    end
965
end
966
 
967
--//=================================\\
968
--||    ATTACK FUNCTIONS AND STUFF
969
--\\=================================//
970
 
971
local TOBANISH = {}
972
 
973
function printbye(Name)
974
    local MESSAGES = {"Tu, ne ipsis, ","Esses contumeliam, ","Te potest ignorare mandatum meum, ","Iam mortuus est, "}
975
    warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
976
end
977
   
978
workspace.ChildAdded:connect(function(instance)
979
    for BANISH = 1, #TOBANISH do
980
        if TOBANISH[BANISH] ~= nil then
981
            if instance.Name == TOBANISH[BANISH] then
982
                coroutine.resume(coroutine.create(function()
983
                    printbye(instance.Name)
984
                    instance:ClearAllChildren()
985
                    Debris:AddItem(instance,0.0005)
986
                end))
987
            end
988
        end
989
    end
990
end)
991
 
992
function Banish(Foe)
993
    if Foe then
994
        coroutine.resume(coroutine.create(function()
995
            --if game.Players:FindFirstChild(Foe.Name) then
996
                table.insert(TOBANISH,Foe.Name)
997
                printbye(Foe.Name)
998
            --end
999
            Foe.Archivable = true
1000
            local CLONE = Foe:Clone()
1001
            Foe:Destroy()
1002
            CLONE.Parent = Effects
1003
            CLONE:BreakJoints()
1004
            local MATERIALS = {"Glass","Neon"}
1005
            for _, c in pairs(CLONE:GetDescendants()) do
1006
                if c:IsA("BasePart") then
1007
                    if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1008
                        CreateSound(340722848, c, 10, 1, false)
1009
                    end
1010
                    c.Anchored = true
1011
                    c.Transparency = c.Transparency + 0.2
1012
                    c.Material = MATERIALS[MRANDOM(1,2)]
1013
                    c.Color = C3(1,0,0)
1014
                    if c.ClassName == "MeshPart" then
1015
                        c.TextureID = ""
1016
                    end
1017
                    if c:FindFirstChildOfClass("SpecialMesh") then
1018
                        c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1019
                    end
1020
                    if c:FindFirstChildOfClass("Decal") then
1021
                        c:FindFirstChildOfClass("Decal"):remove()
1022
                    end
1023
                    c.Name = "Banished"
1024
                    c.CanCollide = false
1025
                else
1026
                    c:remove()
1027
                end
1028
            end
1029
            local A = false
1030
            for i = 1, 35 do
1031
                if A == false then
1032
                    A = true
1033
                elseif A == true then
1034
                    A = false
1035
                end
1036
                for _, c in pairs(CLONE:GetDescendants()) do
1037
                    if c:IsA("BasePart") then
1038
                        c.Anchored = true
1039
                        c.Material = MATERIALS[MRANDOM(1,2)]
1040
                        c.Transparency = c.Transparency + 0.8/35
1041
                        if A == false then
1042
                            c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1043
                        elseif A == true then
1044
                            c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                      
1045
                        end
1046
                    end
1047
                end
1048
                Swait()
1049
            end
1050
            CLONE:remove()
1051
        end))
1052
    end
1053
end
1054
 
1055
function ApplyAoE(POSITION,RANGE,ISBANISH)
1056
    local CHILDREN = workspace:GetDescendants()
1057
    for index, CHILD in pairs(CHILDREN) do
1058
        if CHILD.ClassName == "Model" and CHILD ~= Character then
1059
            local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1060
            if HUM then
1061
                local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1062
                if TORSO then
1063
                    if (TORSO.Position - POSITION).Magnitude <= RANGE then
1064
                        if ISBANISH == true then
1065
                            Banish(CHILD)
1066
                        else
1067
                            if ISBANISH == "Gravity" then
1068
                                HUM.PlatformStand = true
1069
                                if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1070
                                    local grav = Instance.new("BodyPosition",TORSO)
1071
                                    grav.D = 15
1072
                                    grav.P = 20000
1073
                                    grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1074
                                    grav.position = TORSO.Position
1075
                                    grav.Name = "V3BanishForce"..Player.Name
1076
                                else
1077
                                    TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1078
                                    TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1079
                                end
1080
                            else
1081
                                HUM.PlatformStand = false
1082
                            end
1083
                        end
1084
                    elseif ISBANISH == "Gravity" then
1085
                        if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1086
                            TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1087
                            HUM.PlatformStand = false
1088
                        end
1089
                    end
1090
                end
1091
            end
1092
        end
1093
    end
1094
end
1095
 
1096
function SpawnTrail(FROM,TO,BIG)
1097
    local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
1098
    MakeForm(TRAIL,"Cyl")
1099
    local DIST = (FROM - TO).Magnitude
1100
    if BIG == true then
1101
        TRAIL.Size = VT(5,DIST,5)
1102
    else
1103
        TRAIL.Size = VT(5,DIST,5)
1104
    end
1105
    TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1106
    coroutine.resume(coroutine.create(function()
1107
        for i = 1, 5 do
1108
            Swait()
1109
            TRAIL.Transparency = TRAIL.Transparency + 0.1
1110
        end
1111
        TRAIL:remove()
1112
    end))
1113
end
1114
 
1115
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1116
    local DIRECTION = CF(StartPos,EndPos).lookVector
1117
    return Raycast(StartPos, DIRECTION, Distance, Ignore)
1118
end
1119
 
1120
local Decal = IT("Decal")
1121
function MagicRing()
1122
    local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
1123
    O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
1124
    local decal = Decal:Clone()
1125
    decal.Parent = O1
1126
    decal.Face = "Top"
1127
    decal.Texture = "http://www.roblox.com/asset/?id=917750924"
1128
    local decal2 = Decal:Clone()
1129
    decal2.Parent = O1
1130
    decal2.Face = "Bottom"
1131
    decal2.Texture = "http://www.roblox.com/asset/?id=917750924"
1132
    return O1
1133
end
1134
 
1135
local EyeSizes = {
1136
    NumberSequenceKeypoint.new(0, 1, 0),
1137
    NumberSequenceKeypoint.new(1, 0, 0)
1138
}
1139
local PE = Instance.new("ParticleEmitter")
1140
PE.LightEmission = 0.8
1141
PE.Color = ColorSequence.new(BRICKC("Gold").Color)
1142
PE.Size = NumberSequence.new(EyeSizes)
1143
PE.Lifetime = NumberRange.new(0.35, 0.35, 0.35)
1144
PE.Rotation = NumberRange.new(0, 360)
1145
PE.Transparency = NumberSequence.new(0.9)
1146
PE.Rate = 999
1147
PE.VelocitySpread = 10000
1148
PE.Acceleration = Vector3.new(0, 75, 0)
1149
PE.Drag = 5
1150
PE.Speed = NumberRange.new(6, 6)
1151
PE.Texture = "http://www.roblox.com/asset/?id=1351966707"
1152
PE.ZOffset = -1.5
1153
PE.Name = "OVERLORDAURA"
1154
 
1155
function particles(art)
1156
    PE:Clone().Parent = art
1157
end
1158
 
1159
function CheckIntangible(Hit)
1160
    local ProjectileNames = {
1161
        "Water",
1162
        "Arrow",
1163
        "Projectile",
1164
        "Effect",
1165
        "Rail",
1166
        "Lightning",
1167
        "Bullet"
1168
    }
1169
    if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
1170
        return true
1171
    end
1172
    return false
1173
end
1174
Debris = game:GetService("Debris")
1175
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
1176
    local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
1177
    local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
1178
    if RayHit and CheckIntangible(RayHit) then
1179
        if DelayIfHit then
1180
            wait()
1181
        end
1182
        RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
1183
    end
1184
    return RayHit, RayPos, RayNormal
1185
end
1186
BaseLightning = IT("Part")
1187
BaseLightning.Anchored = true
1188
BaseLightning.CanCollide = false
1189
BaseLightning.Material = "Neon"
1190
local LightningBolts = {}
1191
function Zap(Table)
1192
    local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
1193
    local Duration = Table.Duration or 2
1194
    local Offset = Table.Offset or 2
1195
    local Individualize = Table.Individualize or false
1196
    local MaxRange = Table.MaxRange or 200
1197
    local SegmentLength = Table.SegmentLength or 5
1198
    local Transparency = Table.Transparency or 0
1199
    local Ignore = Table.Ignore or {}
1200
    local SIZE = Table.SIZE or 0.3
1201
    if not (StartPos and TargetPos) or not Character then
1202
        return
1203
    end
1204
    local LightningModel = IT("Folder", Effects)
1205
    LightningModel.Name = "ZAPP"
1206
    for i, v in pairs({Character, LightningModel}) do
1207
        table.insert(Ignore, v)
1208
    end
1209
    local LastPos = StartPos
1210
    local Direction = CFrame.new(StartPos, TargetPos).lookVector
1211
    local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
1212
    local RayLength = (StartPos - RayPos).Magnitude
1213
    local Struck = false
1214
    local TotalSegments = math.ceil(RayLength / SegmentLength)
1215
    Direction = CFrame.new(StartPos, RayPos).lookVector
1216
    local LightningBolt = IT("Model", Effects)
1217
    LightningBolt.Name = "Lightning"
1218
    if not Individualize then
1219
        table.insert(LightningBolts, LightningBolt)
1220
    end
1221
    LastBolt = LightningBolt
1222
    Debris:AddItem(LightningBolt, Duration)
1223
    LightningBolt.Parent = LightningModel
1224
    for i = 1, TotalSegments do
1225
        if not Struck then
1226
            local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
1227
            local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
1228
            local SegmentVec = NewPos - LastPos
1229
            local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
1230
            local RayVec = LastPos - RayPos
1231
            local LightningPart = BaseLightning:Clone()
1232
            LightningPart.BrickColor = BrickColor.new(Color)
1233
            LightningPart.Transparency = Transparency
1234
            LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
1235
            LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
1236
            table.insert(Effects2, {
1237
                LightningPart,
1238
                "Disappear",
1239
                0.025,
1240
                1,
1241
                1,
1242
                1,
1243
                2
1244
            })
1245
            local CylinderMesh = IT("CylinderMesh", LightningPart)
1246
            local OrigCF = LightningPart.CFrame
1247
            LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
1248
            LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
1249
            LightningPart.Parent = LightningBolt
1250
            LastPos = NewPos
1251
        end
1252
    end
1253
    return {
1254
        RayHit = RayHit,
1255
        RayPos = RayPos,
1256
        RayNormal = RayNormal,
1257
        LightningModel = LightningModel
1258
    }
1259
end
1260
 
1261
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
1262
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1263
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
1264
    wave.CFrame = CFRAME
1265
    coroutine.resume(coroutine.create(function(PART)
1266
        for i = 1, WAIT do
1267
            Swait()
1268
            mesh.Scale = mesh.Scale + GROW
1269
            mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
1270
            if DOESROT == true then
1271
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1272
            end
1273
            wave.Transparency = wave.Transparency + 0.5 / WAIT
1274
            if wave.Transparency > 0.99 then
1275
                wave:remove()
1276
            end
1277
        end
1278
    end))
1279
end
1280
 
1281
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
1282
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1283
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
1284
    wave.CFrame = CFRAME
1285
    coroutine.resume(coroutine.create(function(PART)
1286
        for i = 1, WAIT do
1287
            Swait()
1288
            mesh.Scale = mesh.Scale + GROW
1289
            if DOESROT == true then
1290
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1291
            end
1292
            wave.Transparency = wave.Transparency + 0.5 / WAIT
1293
            if wave.Transparency > 0.99 then
1294
                wave:remove()
1295
            end
1296
        end
1297
    end))
1298
end
1299
 
1300
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
1301
    for _, c in pairs(PARENT:GetChildren()) do
1302
        if c.ClassName == "Model" then
1303
            if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
1304
                local HUMANOID = c:FindFirstChildOfClass("Humanoid")
1305
                local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
1306
                if DIST > (TORSO.Position - FROM).Magnitude then
1307
                    table.insert(TABLE, c)
1308
                end
1309
                AddChildrenToTable(FROM, c, DIST, TABLE)
1310
            elseif c.ClassName == "Folder" then
1311
                AddChildrenToTable(FROM, c, DIST, TABLE)
1312
            end
1313
        end
1314
    end
1315
end
1316
 
1317
local ATTACKTAUNTS = {
1318
    "907329893",
1319
    "907329532",
1320
    "907333294",
1321
    "907332856"
1322
}
1323
local ULTTAUNTS = {
1324
    "907332997",
1325
    "907332670",
1326
    "907330103"
1327
}
1328
 
1329
function Lunar_Blast()
1330
    local HITBODIES = {}
1331
    local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0))
1332
    local HITFLOOR,ECH,NORMAL = Raycast(Mouse.Hit.p+VT(0,2,0), (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 10000000, Character)
1333
    CENTER.CFrame = CF(ECH)
1334
    local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25))
1335
    RAY.Color = C3(0.05,0.05,0.15)
1336
    MakeForm(RAY,"Cyl")
1337
    RAY.CFrame = CF(ECH)
1338
    for i = 1, 75 do
1339
        Swait()
1340
        RAY.Transparency = RAY.Transparency - 1/75
1341
        RAY.Size = RAY.Size - VT(25/75,0,25/75)
1342
        MagicSphere(VT(1,1,1),15,CF(ECH)*CF(MRANDOM(-15,15),MRANDOM(0,100),MRANDOM(-15,15)),C3(1,1,1),VT(0,0,0))
1343
    end
1344
    killnearest(ECH,25,25)
1345
    MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
1346
    for i = 1, 25 do
1347
        MagicSphere(VT(1,1,1),i*3,CF(ECH)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
1348
    end
1349
    CreateSound("168586621", CENTER, 10, 0.8)
1350
    RAY:remove()
1351
    Debris:AddItem(CENTER,5)
1352
end
1353
 
1354
function Star_Cutter()
1355
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
1356
    if HITFLOOR ~= nil then
1357
        ATTACK = true
1358
        Rooted = true
1359
        local GYRO = IT("BodyGyro",RootPart)
1360
        GYRO.D = 100
1361
        GYRO.P = 2000
1362
        GYRO.MaxTorque = VT(0,4000000,0)
1363
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1364
        CreateSound("429459101", RightArm, 10, 0.8)
1365
        for i=0, 3.5, 0.1 / Animation_Speed do
1366
            Swait()
1367
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1368
            Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-0.01,0,-0.01))
1369
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1370
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1371
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1372
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1373
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1374
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1375
        end
1376
        GYRO:remove()
1377
        for i=0, 0.15, 0.1 / Animation_Speed do
1378
            Swait()
1379
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1380
            Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-0.01,0,-0.01))
1381
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1382
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1383
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1384
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1385
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1386
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1387
        end
1388
        local BOMBSPOTS = {}
1389
        for i = 1, 25 do
1390
            local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8))
1391
            SPOT.Color = SKILLTEXTCOLOR
1392
            SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
1393
            table.insert(BOMBSPOTS,SPOT)
1394
            MakeForm(SPOT,"Cyl")
1395
        end
1396
        for i=0, 0.2, 0.1 / Animation_Speed do
1397
            Swait()
1398
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1399
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1400
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1401
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1402
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1403
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1404
        end
1405
        ATTACK = false
1406
        Rooted = false
1407
        coroutine.resume(coroutine.create(function()
1408
            Swait(3)
1409
            for i = 1, #BOMBSPOTS do
1410
                if BOMBSPOTS[i] ~= nil then
1411
                    local E = BOMBSPOTS[i]
1412
                    coroutine.resume(coroutine.create(function()
1413
                        local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0))
1414
                        BLADE.Color = SKILLTEXTCOLOR
1415
                        CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
1416
                        CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
1417
                        BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
1418
                        for i = 1, 10 do
1419
                            Swait()
1420
                            MagicSphere(VT(1,1,1)/5,65,CF(E.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0))
1421
                            killnearest(BLADE.Position,6,80)
1422
                            BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
1423
                            BLADE.Transparency = BLADE.Transparency - 0.1
1424
                        end
1425
                        Swait(45)
1426
                        for i = 1, 100 do
1427
                            Swait()
1428
                            BLADE.Transparency = BLADE.Transparency + 0.01
1429
                            E.Transparency = E.Transparency + 0.01
1430
                        end
1431
                        BLADE:remove()
1432
                        E:remove()
1433
                    end))
1434
                end
1435
            end
1436
        end))
1437
    end
1438
end
1439
 
1440
function Supernova()
1441
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
1442
    if HITFLOOR ~= nil then
1443
        local HITBODIES = {}
1444
        ATTACK = true
1445
        Rooted = true
1446
        local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
1447
        MakeForm(ABSOLUTE,"Ball")
1448
        CreateSound("429459101", ABSOLUTE, 10, 1)
1449
        for i=0, 4, 0.1 / Animation_Speed do
1450
            Swait()
1451
            ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
1452
            ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
1453
            ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
1454
            local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
1455
            MakeForm(CHARGE,"Ball")
1456
            CHARGE.Color = C3(1,1,1)
1457
            CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
1458
            FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
1459
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1460
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1461
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1462
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1463
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1464
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1465
        end
1466
        CreateSound("907330103", Head, 10, 1.2)
1467
        for i = 1, 75 do
1468
            Swait()
1469
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1470
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1471
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1472
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1473
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1474
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1475
        end
1476
        coroutine.resume(coroutine.create(function()
1477
            for i = 1, 13 do
1478
                for e = 1, 8 do
1479
                    Swait()
1480
                    MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
1481
                    CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
1482
                end
1483
                for i = 1, 5 do
1484
                    Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
1485
                    Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0))
1486
                end
1487
                CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
1488
                CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
1489
                CreateSound("168586621", ABSOLUTE, 4, 0.8)
1490
                CreateSound("201858144", ABSOLUTE, 10, 0.8)
1491
                killnearest(ABSOLUTE.Position,i*18,i)
1492
                ABSOLUTE.Size = ABSOLUTE.Size*0.9
1493
                MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
1494
                MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
1495
            end
1496
            ABSOLUTE.Transparency = 1
1497
            Debris:AddItem(ABSOLUTE,10)
1498
        end))
1499
        ATTACK = false
1500
        Rooted = false
1501
    end
1502
end
1503
 
1504
local Decal = IT("Decal")
1505
 
1506
function Astral_Hop()
1507
    ATTACK = true
1508
    Rooted = false
1509
    local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
1510
    O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
1511
    local decal = Decal:Clone()
1512
    decal.Parent = O1
1513
    decal.Face = "Top"
1514
    decal.Texture = "http://www.roblox.com/asset/?id=349165228"
1515
    local decal2 = Decal:Clone()
1516
    decal2.Parent = O1
1517
    decal2.Face = "Bottom"
1518
    decal2.Texture = "http://www.roblox.com/asset/?id=349165228"
1519
    local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
1520
    local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
1521
    O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
1522
    local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
1523
    ROOT.CFrame = CF(O2.Position,RootPart.Position)
1524
    local decal = Decal:Clone()
1525
    decal.Parent = O2
1526
    decal.Face = "Top"
1527
    decal.Texture = "http://www.roblox.com/asset/?id=349165228"
1528
    local decal2 = Decal:Clone()
1529
    decal2.Parent = O2
1530
    decal2.Face = "Bottom"
1531
    decal2.Texture = "http://www.roblox.com/asset/?id=349165228"
1532
    CreateSound("84005018", O1, 10, 0.7)
1533
    CreateSound("84005018", O2, 10, 0.7)
1534
    for i = 1, 75 do
1535
        Swait()
1536
        O1.Size = O1.Size + VT(0.1,0,0.1)
1537
        O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
1538
        O2.Size = O2.Size + VT(0.1,0,0.1)
1539
        O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
1540
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1541
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1542
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1543
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1544
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1545
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1546
    end
1547
    Rooted = true
1548
    UNANCHOR = false
1549
    RootPart.Anchored = true
1550
    VALUE1 = true
1551
    for i = 1, 15 do
1552
        Transparency(i/15)
1553
        Swait()
1554
        RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
1555
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1556
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1557
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1558
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1559
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1560
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1561
    end
1562
    RootPart.CFrame = ROOT.CFrame
1563
    ROOT:remove()
1564
    for i = 1, 15 do
1565
        Transparency(1-(i/15))
1566
        Swait()
1567
        RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
1568
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1569
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1570
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1571
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1572
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1573
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1574
    end
1575
    VALUE1 = false
1576
    coroutine.resume(coroutine.create(function()
1577
        for i = 1, 75 do
1578
            Swait()
1579
            O1.Size = O1.Size - VT(0.1,0,0.1)
1580
            O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
1581
            O2.Size = O2.Size - VT(0.1,0,0.1)
1582
            O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
1583
        end
1584
        O1:remove()
1585
        O2:remove()
1586
    end))
1587
    UNANCHOR = true
1588
    RootPart.Anchored = false
1589
    ATTACK = false
1590
    Rooted = false
1591
end
1592
 
1593
function WACKYEFFECT(Table)
1594
    local TYPE = (Table.EffectType or "Sphere")
1595
    local SIZE = (Table.Size or VT(1,1,1))
1596
    local ENDSIZE = (Table.Size2 or VT(0,0,0))
1597
    local TRANSPARENCY = (Table.Transparency or 0)
1598
    local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1599
    local CFRAME = (Table.CFrame or Torso.CFrame)
1600
    local MOVEDIRECTION = (Table.MoveToPos or nil)
1601
    local ROTATION1 = (Table.RotationX or 0)
1602
    local ROTATION2 = (Table.RotationY or 0)
1603
    local ROTATION3 = (Table.RotationZ or 0)
1604
    local MATERIAL = (Table.Material or "Neon")
1605
    local COLOR = (Table.Color or C3(1,1,1))
1606
    local TIME = (Table.Time or 45)
1607
    local SOUNDID = (Table.SoundID or nil)
1608
    local SOUNDPITCH = (Table.SoundPitch or nil)
1609
    local SOUNDVOLUME = (Table.SoundVolume or nil)
1610
    coroutine.resume(coroutine.create(function()
1611
        local PLAYSSOUND = false
1612
        local SOUND = nil
1613
        local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1614
        if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1615
            PLAYSSOUND = true
1616
            SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1617
        end
1618
        EFFECT.Color = COLOR
1619
        local MSH = nil
1620
        if TYPE == "Sphere" then
1621
            MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1622
        elseif TYPE == "Block" or TYPE == "Box" then
1623
            MSH = IT("BlockMesh",EFFECT)
1624
            MSH.Scale = SIZE
1625
        elseif TYPE == "Wave" then
1626
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1627
        elseif TYPE == "Ring" then
1628
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1629
        elseif TYPE == "Slash" then
1630
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1631
        elseif TYPE == "Round Slash" then
1632
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1633
        elseif TYPE == "Swirl" then
1634
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1635
        elseif TYPE == "Skull" then
1636
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1637
        elseif TYPE == "Crystal" then
1638
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1639
        end
1640
        if MSH ~= nil then
1641
            local MOVESPEED = nil
1642
            if MOVEDIRECTION ~= nil then
1643
                MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1644
            end
1645
            local GROWTH = SIZE - ENDSIZE
1646
            local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1647
            if TYPE == "Block" then
1648
                EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1649
            else
1650
                EFFECT.CFrame = CFRAME
1651
            end
1652
            for LOOP = 1, TIME+1 do
1653
                Swait()
1654
                MSH.Scale = MSH.Scale - GROWTH/TIME
1655
                if TYPE == "Wave" then
1656
                    MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1657
                end
1658
                EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1659
                if TYPE == "Block" then
1660
                    EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1661
                else
1662
                    EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1663
                end
1664
                if MOVEDIRECTION ~= nil then
1665
                    local ORI = EFFECT.Orientation
1666
                    EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1667
                    EFFECT.Orientation = ORI
1668
                end
1669
            end
1670
            if PLAYSSOUND == false then
1671
                EFFECT:remove()
1672
            else
1673
                repeat wait(1) until SOUND.Playing == false
1674
                EFFECT:remove()
1675
            end
1676
        else
1677
            if PLAYSSOUND == false then
1678
                EFFECT:remove()
1679
            else
1680
                repeat Swait() until SOUND.Playing == false
1681
                EFFECT:remove()
1682
            end
1683
        end
1684
    end))
1685
end
1686
 
1687
function PhForm()
1688
    ATTACK = true
1689
    Rooted = true
1690
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1691
    if MODE == "Main" then
1692
        sick.SoundId = "rbxassetid://1418800825"
1693
        sick.Volume = 6
1694
        sick.Pitch = 1
1695
        sick.TimePosition = 1
1696
    for _, c in pairs(Character:GetChildren()) do
1697
        if c.ClassName == "Part" then
1698
            c.Material = "Neon"
1699
            if c:FindFirstChildOfClass("ParticleEmitter") then
1700
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
1701
            end
1702
            if c == Head then
1703
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
1704
                    M.Name = "Dominus"
1705
                if c:FindFirstChild("face") then
1706
                    c.face:remove()
1707
                end
1708
            end
1709
        end
1710
    end
1711
    BodyColor = C3(1, 1, 1)
1712
    LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
1713
    ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549)
1714
        -- Animation --
1715
        coroutine.resume(coroutine.create(function()
1716
        end))
1717
        for i=0, 1.5, 0.1 / Animation_Speed do
1718
            Swait()
1719
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1720
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1721
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1722
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1723
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1724
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1725
        end
1726
        MODE = "Phaedra"
1727
        SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
1728
        SKILLTEXTCOLOR2 = C3(1,1,1)
1729
        firesound.Volume = 6
1730
        Weapon2.Parent = Character
1731
        for i=0, 1.5, 0.1 / Animation_Speed do
1732
            Swait()
1733
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1734
 
1735
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1736
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1737
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1738
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1739
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1740
        end
1741
        Speed = 20
1742
        tecks2.Text = "Dominus Phaedra"
1743
    elseif MODE == "Phaedra" then
1744
        firesound.Volume = 0
1745
        Weapon2.Parent = nil
1746
        CreateSound(147722227, Torso, 4, 1.3, false)
1747
        sick.SoundId = "rbxassetid://195900687"
1748
        sick.Volume = 4
1749
        sick.Pitch = 1
1750
        sick.TimePosition = 20.7
1751
    for _, c in pairs(Character:GetChildren()) do
1752
        if c.ClassName == "Part" then
1753
            c.Material = "Neon"
1754
            if c:FindFirstChildOfClass("ParticleEmitter") then
1755
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
1756
            end
1757
            if c == Torso then
1758
                c.Color = C3(0,0,0)
1759
            elseif c == RightArm then
1760
                c.Color = C3(0.05,0.05,0.15)
1761
            elseif c == LeftArm then
1762
                c.Color = C3(0.05,0.05,0.15)
1763
            elseif c == RightLeg then
1764
                c.Color = C3(0,0,0.05)
1765
            elseif c == LeftLeg then
1766
                c.Color = C3(0,0,0.05)
1767
            elseif c == Head then
1768
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
1769
                    M.Name = "Dominus"
1770
                if c:FindFirstChild("face") then
1771
                    c.face:remove()
1772
 
1773
                end
1774
            end
1775
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1776
            c:remove()
1777
        end
1778
    end
1779
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1780
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1781
        Swait(15)
1782
        Speed = 16
1783
        MODE = "Main"
1784
        BodyColor = C3(0,0,0)
1785
        LegColor = C3(0,0,0.05)
1786
        ArmColor = C3(0.05,0.05,0.15)
1787
    end
1788
    ATTACK = false
1789
    Rooted = false
1790
end
1791
 
1792
function UpForm()
1793
    ATTACK = true
1794
    Rooted = true
1795
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1796
    if MODE == "Phaedra" then
1797
       
1798
        sick.SoundId = "rbxassetid://700037500"
1799
        sick.Volume = 10
1800
        sick.Pitch = 1
1801
        sick.TimePosition = 1
1802
    for _, c in pairs(Character:GetChildren()) do
1803
        if c.ClassName == "Part" then
1804
            c.Material = "Neon"
1805
            if c:FindFirstChildOfClass("ParticleEmitter") then
1806
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
1807
            end
1808
            if c == Head then
1809
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
1810
                    M.Name = "Dominus"
1811
                if c:FindFirstChild("face") then
1812
                    c.face:remove()
1813
                end
1814
            end
1815
        end
1816
    end
1817
    BodyColor = C3(1, 1, 1)
1818
    LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
1819
    ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549)
1820
        -- Animation --
1821
        coroutine.resume(coroutine.create(function()
1822
        end))
1823
        for i=0, 1.5, 0.1 / Animation_Speed do
1824
            Swait()
1825
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1826
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1827
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1828
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1829
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1830
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1831
        end
1832
        MODE = "Ultra Phaedra"
1833
        Humanoid.HipHeight = 4
1834
        SKILLTEXTCOLOR = C3(0.8, 0.6, 0.4)
1835
        SKILLTEXTCOLOR2 = C3(1,1,1)
1836
        firesound.Volume = 10
1837
        firesound.Parent = Character
1838
        Weapon2.Parent = Character
1839
        for i=0, 1.5, 0.1 / Animation_Speed do
1840
            Swait()
1841
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1842
 
1843
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1844
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1845
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1846
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1847
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1848
        end
1849
        Speed = 20
1850
        tecks2.Text = "Ultima Dominus Phaedra"
1851
    elseif MODE == "Ultra Phaedra" then
1852
        firesound.Volume = 0
1853
        firesound.Parent = RootPart
1854
        Humanoid.HipHeight = 2
1855
        Weapon2.Parent = nil
1856
        CreateSound(147722227, Torso, 4, 1.3, false)
1857
        sick.SoundId = "rbxassetid://195900687"
1858
        sick.Volume = 4
1859
        sick.Pitch = 1
1860
        sick.TimePosition = 20.7
1861
    for _, c in pairs(Character:GetChildren()) do
1862
        if c.ClassName == "Part" then
1863
            c.Material = "Neon"
1864
            if c:FindFirstChildOfClass("ParticleEmitter") then
1865
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
1866
            end
1867
            if c == Torso then
1868
                c.Color = C3(0,0,0)
1869
            elseif c == RightArm then
1870
                c.Color = C3(0.05,0.05,0.15)
1871
            elseif c == LeftArm then
1872
                c.Color = C3(0.05,0.05,0.15)
1873
            elseif c == RightLeg then
1874
                c.Color = C3(0,0,0.05)
1875
            elseif c == LeftLeg then
1876
                c.Color = C3(0,0,0.05)
1877
            elseif c == Head then
1878
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
1879
                    M.Name = "Dominus"
1880
                if c:FindFirstChild("face") then
1881
                    c.face:remove()
1882
 
1883
                end
1884
            end
1885
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1886
            c:remove()
1887
        end
1888
    end
1889
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1890
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1891
        Swait(15)
1892
        Speed = 16
1893
        MODE = "Main"
1894
        BodyColor = C3(0,0,0)
1895
        LegColor = C3(0,0,0.05)
1896
        ArmColor = C3(0.05,0.05,0.15)
1897
    end
1898
    ATTACK = false
1899
    Rooted = false
1900
end
1901
 
1902
function TeForm()
1903
    ATTACK = true
1904
    Rooted = true
1905
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1906
    if MODE == "Main" then
1907
        sick.SoundId = "rbxassetid://926658175"
1908
        sick.Volume = 3
1909
        sick.Pitch = 1
1910
        sick.TimePosition = 1
1911
    for _, c in pairs(Character:GetChildren()) do
1912
        if c.ClassName == "Part" then
1913
            c.Material = "Neon"
1914
            if c:FindFirstChildOfClass("ParticleEmitter") then
1915
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
1916
            end
1917
            if c == Head then
1918
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
1919
                    M.Name = "Dominus"
1920
                if c:FindFirstChild("face") then
1921
                    c.face:remove()
1922
                end
1923
            end
1924
        end
1925
    end
1926
    BodyColor = C3(0,0,0)
1927
    LegColor = C3(0,0,0)
1928
    ArmColor = C3(0.05,0.05,0.05)
1929
        SKILLTEXTCOLOR = C3(0.05,0.05,0.05)
1930
        SKILLTEXTCOLOR2 = C3(0,0,0)
1931
        -- Animation --
1932
        coroutine.resume(coroutine.create(function()
1933
        end))
1934
        CreateSound(363808674, Torso, 6, 1, false)
1935
        for i=0, 0.6, 0.1 / Animation_Speed do
1936
            Swait()
1937
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1938
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1939
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1940
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1941
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1942
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1943
        end
1944
        for i=0, 0.6, 0.1 / Animation_Speed do
1945
            Swait()
1946
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1947
 
1948
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1949
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1950
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1951
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1952
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1953
        end
1954
        MODE = "Tenebris"
1955
        tecks2.Text = "Dominus Tenebris"
1956
        SKILLTEXTCOLOR = C3(0.05,0,0)
1957
        SKILLTEXTCOLOR2 = C3(0,0,0)
1958
        Speed = 20
1959
    elseif MODE == "Tenebris" then
1960
        CreateSound(147722227, Torso, 4, 1.3, false)
1961
        sick.SoundId = "rbxassetid://195900687"
1962
        sick.Volume = 4
1963
        sick.Pitch = 1
1964
        sick.TimePosition = 20.7
1965
    for _, c in pairs(Character:GetChildren()) do
1966
        if c.ClassName == "Part" then
1967
            c.Material = "Neon"
1968
            if c:FindFirstChildOfClass("ParticleEmitter") then
1969
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
1970
            end
1971
            if c == Torso then
1972
                c.Color = C3(0,0,0)
1973
            elseif c == RightArm then
1974
                c.Color = C3(0.05,0.05,0.15)
1975
            elseif c == LeftArm then
1976
                c.Color = C3(0.05,0.05,0.15)
1977
            elseif c == RightLeg then
1978
                c.Color = C3(0,0,0.05)
1979
            elseif c == LeftLeg then
1980
                c.Color = C3(0,0,0.05)
1981
            elseif c == Head then
1982
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
1983
                    M.Name = "Dominus"
1984
                if c:FindFirstChild("face") then
1985
                    c.face:remove()
1986
 
1987
                end
1988
            end
1989
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1990
            c:remove()
1991
        end
1992
    end
1993
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1994
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1995
        Swait(15)
1996
        Speed = 16
1997
        MODE = "Main"
1998
        BodyColor = C3(0,0,0)
1999
        LegColor = C3(0,0,0.05)
2000
        ArmColor = C3(0.05,0.05,0.15)
2001
    end
2002
    ATTACK = false
2003
    Rooted = false
2004
end
2005
 
2006
function TemplateTrans()
2007
    ATTACK = true
2008
    Rooted = true
2009
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2010
    if MODE == "Main" then
2011
        sick.SoundId = "rbxassetid://926658175"
2012
        sick.Volume = 3
2013
        sick.Pitch = 1
2014
        sick.TimePosition = 1
2015
    for _, c in pairs(Character:GetChildren()) do
2016
        if c.ClassName == "Part" then
2017
            c.Material = "Neon"
2018
            if c:FindFirstChildOfClass("ParticleEmitter") then
2019
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2020
            end
2021
            if c == Head then
2022
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2023
                    M.Name = "Dominus"
2024
                if c:FindFirstChild("face") then
2025
                    c.face:remove()
2026
                end
2027
            end
2028
        end
2029
    end
2030
    BodyColor = C3(0,0,0)
2031
    LegColor = C3(0,0,0)
2032
    ArmColor = C3(0.05,0.05,0.05)
2033
        SKILLTEXTCOLOR = C3(0.05,0.05,0.05)
2034
        SKILLTEXTCOLOR2 = C3(0,0,0)
2035
        -- Animation --
2036
        coroutine.resume(coroutine.create(function()
2037
        end))
2038
        MODE = "Form"
2039
        tecks2.Text = "Dominus Form"
2040
        SKILLTEXTCOLOR = C3(0.05,0,0)
2041
        SKILLTEXTCOLOR2 = C3(0,0,0)
2042
        Speed = 20
2043
    elseif MODE == "Form" then
2044
        CreateSound(147722227, Torso, 4, 1.3, false)
2045
        sick.SoundId = "rbxassetid://195900687"
2046
        sick.Volume = 4
2047
        sick.Pitch = 1
2048
        sick.TimePosition = 20.7
2049
    for _, c in pairs(Character:GetChildren()) do
2050
        if c.ClassName == "Part" then
2051
            c.Material = "Neon"
2052
            if c:FindFirstChildOfClass("ParticleEmitter") then
2053
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2054
            end
2055
            if c == Torso then
2056
                c.Color = C3(0,0,0)
2057
            elseif c == RightArm then
2058
                c.Color = C3(0.05,0.05,0.15)
2059
            elseif c == LeftArm then
2060
                c.Color = C3(0.05,0.05,0.15)
2061
            elseif c == RightLeg then
2062
                c.Color = C3(0,0,0.05)
2063
            elseif c == LeftLeg then
2064
                c.Color = C3(0,0,0.05)
2065
            elseif c == Head then
2066
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2067
                    M.Name = "Dominus"
2068
                if c:FindFirstChild("face") then
2069
                    c.face:remove()
2070
 
2071
                end
2072
            end
2073
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2074
            c:remove()
2075
        end
2076
    end
2077
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2078
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2079
        Swait(15)
2080
        Speed = 16
2081
        MODE = "Main"
2082
        BodyColor = C3(0,0,0)
2083
        LegColor = C3(0,0,0.05)
2084
        ArmColor = C3(0.05,0.05,0.15)
2085
    end
2086
    ATTACK = false
2087
    Rooted = false
2088
end
2089
 
2090
function VeForm()
2091
    ATTACK = true
2092
    Rooted = true
2093
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2094
    if MODE == "Tenebris" then
2095
        sick.SoundId = "rbxassetid://968448494"
2096
        sick.Volume = 4
2097
        sick.Pitch = 1.15
2098
        sick.TimePosition = 1
2099
        SKILLTEXTCOLOR = C3(0.05,0.05,0.05)
2100
        SKILLTEXTCOLOR2 = C3(0,0,0)
2101
        -- Animation --
2102
        coroutine.resume(coroutine.create(function()
2103
        end))
2104
        for i=0, 0.6, 0.1 / Animation_Speed do
2105
            Swait()
2106
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2107
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2108
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2109
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2110
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2111
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2112
        end
2113
    for _, c in pairs(Character:GetChildren()) do
2114
        if c.ClassName == "Part" then
2115
            c.Material = "Neon"
2116
            if c:FindFirstChildOfClass("ParticleEmitter") then
2117
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2118
            end
2119
            if c == Head then
2120
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "1578505955", "1578441237", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2121
                    M.Name = "Dominus"
2122
                if c:FindFirstChild("face") then
2123
                    c.face:remove()
2124
                end
2125
            end
2126
        end
2127
    end
2128
    BodyColor = C3(1,1,1)
2129
    LegColor = C3(0.5,0.5,0)
2130
    ArmColor = C3(0.75,0.75,0)
2131
        for i=0, 0.6, 0.1 / Animation_Speed do
2132
            Swait()
2133
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2134
 
2135
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2136
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2137
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2138
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2139
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2140
        end
2141
        MODE = "Venari"
2142
        tecks2.Text = "Dominus Venari"
2143
        SKILLTEXTCOLOR = C3(5,5,0)
2144
        SKILLTEXTCOLOR2 = C3(0,0,0)
2145
        Speed = 20
2146
    elseif MODE == "Venari" then
2147
        CreateSound(147722227, Torso, 4, 1.3, false)
2148
        sick.SoundId = "rbxassetid://195900687"
2149
        sick.Volume = 4
2150
        sick.Pitch = 1
2151
        sick.TimePosition = 20.7
2152
    for _, c in pairs(Character:GetChildren()) do
2153
        if c.ClassName == "Part" then
2154
            c.Material = "Neon"
2155
            if c:FindFirstChildOfClass("ParticleEmitter") then
2156
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2157
            end
2158
            if c == Torso then
2159
                c.Color = C3(0,0,0)
2160
            elseif c == RightArm then
2161
                c.Color = C3(0.05,0.05,0.15)
2162
            elseif c == LeftArm then
2163
                c.Color = C3(0.05,0.05,0.15)
2164
            elseif c == RightLeg then
2165
                c.Color = C3(0,0,0.05)
2166
            elseif c == LeftLeg then
2167
                c.Color = C3(0,0,0.05)
2168
            elseif c == Head then
2169
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2170
                    M.Name = "Dominus"
2171
                if c:FindFirstChild("face") then
2172
                    c.face:remove()
2173
 
2174
                end
2175
            end
2176
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2177
            c:remove()
2178
        end
2179
    end
2180
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2181
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2182
        Swait(15)
2183
        Speed = 16
2184
        MODE = "Main"
2185
        BodyColor = C3(0,0,0)
2186
        LegColor = C3(0,0,0.05)
2187
        ArmColor = C3(0.05,0.05,0.15)
2188
    end
2189
    ATTACK = false
2190
    Rooted = false
2191
end
2192
 
2193
function InForm()
2194
    ATTACK = true
2195
    Rooted = true
2196
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2197
    if MODE == "Main" then
2198
        sick.SoundId = "rbxassetid://415891745"
2199
        sick.Volume = 4
2200
        sick.Pitch = 1
2201
        sick.TimePosition = 1
2202
        SKILLTEXTCOLOR = C3(0.05,0.05,0.05)
2203
        SKILLTEXTCOLOR2 = C3(0,0,0)
2204
        -- Animation --
2205
    for _, c in pairs(Character:GetChildren()) do
2206
        if c.ClassName == "Part" then
2207
            c.Material = "Neon"
2208
            if c:FindFirstChildOfClass("ParticleEmitter") then
2209
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2210
            end
2211
            if c == Head then
2212
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "", VT(1,1,1)*1.1, VT(0,0,0))
2213
                    M.Name = "Dominus"
2214
                    c.Material = "Neon"
2215
                if c:FindFirstChild("face") then
2216
                    c.face:remove()
2217
                end
2218
            end
2219
        end
2220
    end
2221
    BodyColor = BrickColor.random().Color
2222
    LegColor = BrickColor.random().Color
2223
    ArmColor = BrickColor.random().Color
2224
    SKILLTEXTCOLOR = BrickColor.random().Color
2225
    SKILLTEXTCOLOR2 = BrickColor.random().Color
2226
        MODE = "Insaniam"
2227
        tecks2.Text = "Dominus Insaniam"
2228
        SKILLTEXTCOLOR = C3(5,5,0)
2229
        SKILLTEXTCOLOR2 = C3(0,0,0)
2230
        Speed = 14
2231
    elseif MODE == "Insaniam" then
2232
        CreateSound(147722227, Torso, 4, 1.3, false)
2233
        sick.SoundId = "rbxassetid://195900687"
2234
        sick.Volume = 4
2235
        sick.Pitch = 1
2236
        sick.TimePosition = 20.7
2237
    for _, c in pairs(Character:GetChildren()) do
2238
        if c.ClassName == "Part" then
2239
            c.Material = "Neon"
2240
            if c:FindFirstChildOfClass("ParticleEmitter") then
2241
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2242
            end
2243
            if c == Torso then
2244
                c.Color = C3(0,0,0)
2245
            elseif c == RightArm then
2246
                c.Color = C3(0.05,0.05,0.15)
2247
            elseif c == LeftArm then
2248
                c.Color = C3(0.05,0.05,0.15)
2249
            elseif c == RightLeg then
2250
                c.Color = C3(0,0,0.05)
2251
            elseif c == LeftLeg then
2252
                c.Color = C3(0,0,0.05)
2253
            elseif c == Head then
2254
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2255
                    M.Name = "Dominus"
2256
                    c.Material = "Plastic"
2257
                if c:FindFirstChild("face") then
2258
                    c.face:remove()
2259
 
2260
                end
2261
            end
2262
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2263
            c:remove()
2264
        end
2265
    end
2266
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2267
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2268
        Swait(15)
2269
        Speed = 16
2270
        MODE = "Main"
2271
        BodyColor = C3(0,0,0)
2272
        LegColor = C3(0,0,0.05)
2273
        ArmColor = C3(0.05,0.05,0.15)
2274
    end
2275
    ATTACK = false
2276
    Rooted = false
2277
end
2278
 
2279
function PrForm()
2280
    ATTACK = true
2281
    Rooted = true
2282
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2283
    if MODE == "Main" then
2284
        sick.SoundId = "rbxassetid://859912308"
2285
        sick.Volume = 3
2286
        sick.Pitch = 1
2287
        sick.TimePosition = 1
2288
    for _, c in pairs(Character:GetChildren()) do
2289
        if c.ClassName == "Part" then
2290
            c.Material = "Neon"
2291
            if c:FindFirstChildOfClass("ParticleEmitter") then
2292
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2293
            end
2294
            if c == Head then
2295
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2296
                    M.Name = "Dominus"
2297
                if c:FindFirstChild("face") then
2298
                    c.face:remove()
2299
                end
2300
            end
2301
        end
2302
    end
2303
    BodyColor = C3(0,0,0)
2304
    LegColor = C3(0, 0.03, 0)
2305
    ArmColor = C3(0, 0.13, 0)
2306
        SKILLTEXTCOLOR = C3(0, 0.03, 0)
2307
        SKILLTEXTCOLOR2 = C3(0,0,0)
2308
        -- Animation --
2309
        coroutine.resume(coroutine.create(function()
2310
        end))
2311
        CreateSound(363808674, Torso, 6, 1, false)
2312
        MODE = "Praefectus"
2313
        tecks2.Text = "Dominus Praefectus"
2314
        Speed = 20
2315
    elseif MODE == "Praefectus" then
2316
        CreateSound(147722227, Torso, 4, 1.3, false)
2317
        sick.SoundId = "rbxassetid://195900687"
2318
        sick.Volume = 4
2319
        sick.Pitch = 1
2320
        sick.TimePosition = 20.7
2321
    for _, c in pairs(Character:GetChildren()) do
2322
        if c.ClassName == "Part" then
2323
            c.Material = "Neon"
2324
            if c:FindFirstChildOfClass("ParticleEmitter") then
2325
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2326
            end
2327
            if c == Torso then
2328
                c.Color = C3(0,0,0)
2329
            elseif c == RightArm then
2330
                c.Color = C3(0.05,0.05,0.15)
2331
            elseif c == LeftArm then
2332
                c.Color = C3(0.05,0.05,0.15)
2333
            elseif c == RightLeg then
2334
                c.Color = C3(0,0,0.05)
2335
            elseif c == LeftLeg then
2336
                c.Color = C3(0,0,0.05)
2337
            elseif c == Head then
2338
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2339
                    M.Name = "Dominus"
2340
                if c:FindFirstChild("face") then
2341
                    c.face:remove()
2342
 
2343
                end
2344
            end
2345
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2346
            c:remove()
2347
        end
2348
    end
2349
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2350
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2351
        Swait(15)
2352
        Speed = 16
2353
        MODE = "Main"
2354
        BodyColor = C3(0,0,0)
2355
        LegColor = C3(0,0,0.05)
2356
        ArmColor = C3(0.05,0.05,0.15)
2357
    end
2358
    ATTACK = false
2359
    Rooted = false
2360
end
2361
 
2362
function BaForm()
2363
    ATTACK = true
2364
    Rooted = true
2365
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2366
    if MODE == "Main" then
2367
        sick.SoundId = "rbxassetid://1392856912"
2368
        sick.Volume = 10
2369
        sick.Pitch = 0.97
2370
        sick.TimePosition = 1
2371
    for _, c in pairs(Character:GetChildren()) do
2372
        if c.ClassName == "Part" then
2373
            c.Material = "Neon"
2374
            if c:FindFirstChildOfClass("ParticleEmitter") then
2375
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2376
            end
2377
            if c == Head then
2378
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "65645429", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2379
                    M.Name = "Dominus"
2380
                if c:FindFirstChild("face") then
2381
                    c.face:remove()
2382
                end
2383
            end
2384
        end
2385
    end
2386
    BodyColor = C3(0,0,0)
2387
    LegColor = C3(0.05,0,0)
2388
    ArmColor = C3(0.15,0.05,0.05)
2389
        -- Animation --
2390
        coroutine.resume(coroutine.create(function()
2391
        end))
2392
        for i=0, 2, 0.1 / Animation_Speed do
2393
            Swait()
2394
            CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark red",VT(5,5,0))
2395
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2396
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2397
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2398
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2399
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2400
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2401
        end
2402
        Weapon.Parent = Character
2403
        CreateSound(633627961, Character, 5, 1, false)
2404
        for i=0, 1, 0.1 / Animation_Speed do
2405
            Swait()
2406
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2407
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2408
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2409
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2410
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2411
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2412
        end
2413
        MODE = "Fugatrix"
2414
        SKILLTEXTCOLOR = C3(0.05,0,0)
2415
        SKILLTEXTCOLOR2 = C3(0,0,0)
2416
        tecks2.Text = "Dominus Fugatrix"
2417
        Speed = 30
2418
    elseif MODE == "Fugatrix" then
2419
        Weapon.Parent = nil
2420
        CreateSound(147722227, Torso, 4, 1.3, false)
2421
        sick.SoundId = "rbxassetid://195900687"
2422
        sick.Volume = 4
2423
        sick.Pitch = 1
2424
        sick.TimePosition = 20.7
2425
    for _, c in pairs(Character:GetChildren()) do
2426
        if c.ClassName == "Part" then
2427
            c.Material = "Neon"
2428
            if c:FindFirstChildOfClass("ParticleEmitter") then
2429
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2430
            end
2431
            if c == Torso then
2432
                c.Color = C3(0,0,0)
2433
            elseif c == RightArm then
2434
                c.Color = C3(0.05,0.05,0.15)
2435
            elseif c == LeftArm then
2436
                c.Color = C3(0.05,0.05,0.15)
2437
            elseif c == RightLeg then
2438
                c.Color = C3(0,0,0.05)
2439
            elseif c == LeftLeg then
2440
                c.Color = C3(0,0,0.05)
2441
            elseif c == Head then
2442
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2443
                    M.Name = "Dominus"
2444
                if c:FindFirstChild("face") then
2445
                    c.face:remove()
2446
 
2447
                end
2448
            end
2449
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2450
            c:remove()
2451
        end
2452
    end
2453
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2454
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2455
        Swait(15)
2456
        Speed = 16
2457
        MODE = "Main"
2458
        BodyColor = C3(0,0,0)
2459
        LegColor = C3(0,0,0.05)
2460
        ArmColor = C3(0.05,0.05,0.15)
2461
    end
2462
    ATTACK = false
2463
    Rooted = false
2464
end
2465
 
2466
function DeathForm()
2467
    ATTACK = true
2468
    Rooted = true
2469
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2470
    if MODE == "Fugatrix" then
2471
        sick.SoundId = "rbxassetid://2650791818"
2472
        sick.Volume = 10
2473
        sick.Pitch = 0.97
2474
        sick.TimePosition = 0
2475
        -- Animation --
2476
        coroutine.resume(coroutine.create(function()
2477
        end))
2478
        for i=0, 2, 0.1 / Animation_Speed do
2479
            Swait()
2480
            CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0))
2481
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2482
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2483
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2484
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2485
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2486
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2487
        end
2488
        Weapon.Parent = nil
2489
        DeadEyes.Parent = Character
2490
        CreateSound(145080998, Character, 5, 1, false)
2491
    for _, c in pairs(Character:GetChildren()) do
2492
        if c.ClassName == "Part" then
2493
            c.Material = "Neon"
2494
            if c:FindFirstChildOfClass("ParticleEmitter") then
2495
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2496
            end
2497
            if c == Head then
2498
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "32571089", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2499
                    M.Name = "Dominus"
2500
                if c:FindFirstChild("face") then
2501
                    c.face:remove()
2502
                end
2503
            end
2504
        end
2505
    end
2506
    BodyColor = C3(0.07,0,0)
2507
    LegColor = C3(0.1,0,0)
2508
    ArmColor = C3(1.017,0,0)
2509
        for i=0, 1, 0.1 / Animation_Speed do
2510
            Swait()
2511
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2512
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2513
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2514
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2515
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2516
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2517
        end
2518
        MODE = "Mortem"
2519
        SKILLTEXTCOLOR = C3(0.1,0,0)
2520
        SKILLTEXTCOLOR2 = C3(0,0,0)
2521
        tecks2.Text = "Dominus Mortem"
2522
        Speed = 30
2523
    elseif MODE == "Mortem" then
2524
        DeadEyes.Parent = nil
2525
        CreateSound(147722227, Torso, 4, 1.3, false)
2526
        sick.SoundId = "rbxassetid://195900687"
2527
        sick.Volume = 4
2528
        sick.Pitch = 1
2529
        sick.TimePosition = 20.7
2530
    for _, c in pairs(Character:GetChildren()) do
2531
        if c.ClassName == "Part" then
2532
            c.Material = "Neon"
2533
            if c:FindFirstChildOfClass("ParticleEmitter") then
2534
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2535
            end
2536
            if c == Torso then
2537
                c.Color = C3(0,0,0)
2538
            elseif c == RightArm then
2539
                c.Color = C3(0.05,0.05,0.15)
2540
            elseif c == LeftArm then
2541
                c.Color = C3(0.05,0.05,0.15)
2542
            elseif c == RightLeg then
2543
                c.Color = C3(0,0,0.05)
2544
            elseif c == LeftLeg then
2545
                c.Color = C3(0,0,0.05)
2546
            elseif c == Head then
2547
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2548
                    M.Name = "Dominus"
2549
                if c:FindFirstChild("face") then
2550
                    c.face:remove()
2551
 
2552
                end
2553
            end
2554
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2555
            c:remove()
2556
        end
2557
    end
2558
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2559
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2560
        Swait(15)
2561
        Speed = 16
2562
        MODE = "Main"
2563
        BodyColor = C3(0,0,0)
2564
        LegColor = C3(0,0,0.05)
2565
        ArmColor = C3(0.05,0.05,0.15)
2566
    end
2567
    ATTACK = false
2568
    Rooted = false
2569
end
2570
 
2571
function CreateParticles(art,text,accel,drag,lifetime,type,isenabledbydefault,locked)
2572
    local particle = nil
2573
    coroutine.resume(coroutine.create(function(PART)
2574
        particle = PE:Clone()
2575
        Swait()
2576
        particle.Rate = 999
2577
        particle.Parent = art
2578
        particle.Acceleration = accel
2579
        if type == "Fire" then
2580
            local EyeSizes={
2581
                NumberSequenceKeypoint.new(0,0.5,0.3),
2582
                NumberSequenceKeypoint.new(1,0.2,0.2)
2583
            }
2584
            particle.Size = NumberSequence.new(EyeSizes)
2585
        elseif type == "Smoke" then
2586
            local EyeSizes={
2587
                NumberSequenceKeypoint.new(0,0.5,0),
2588
                NumberSequenceKeypoint.new(1,5,0.5)
2589
            }
2590
            particle.Size = NumberSequence.new(EyeSizes)
2591
        elseif type == "Solid" then
2592
            local EyeSizes={
2593
                NumberSequenceKeypoint.new(0,0.5,0),
2594
                NumberSequenceKeypoint.new(1,0.5,0)
2595
            }
2596
            particle.Size = NumberSequence.new(EyeSizes)
2597
        end
2598
        particle.Lifetime=NumberRange.new(lifetime)
2599
        particle.Drag = drag
2600
        if locked == true then
2601
            particle.LockedToPart = true
2602
        end
2603
        particle.Texture = "http://www.roblox.com/asset/?id="..text
2604
        particle.Enabled = isenabledbydefault
2605
    end))
2606
return particle
2607
end
2608
 
2609
local MAGICPARTICLE = "296874871"
2610
 
2611
local Plate = IT("Part",LMAO)
2612
Plate.Size = VT(1,0.1,1)
2613
Plate.Transparency = 1
2614
Plate.CanCollide = false
2615
Plate.CFrame = RightArm.CFrame * CF(0,-1.1,0)
2616
CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true)
2617
weldBetween(RightArm,Plate)
2618
Plate.Parent = nil
2619
 
2620
local Plate = IT("Part",LMAO)
2621
Plate.Size = VT(1,0.1,1)
2622
Plate.Transparency = 1
2623
Plate.CanCollide = false
2624
Plate.CFrame = LeftArm.CFrame * CF(0,-1.1,0)
2625
CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true)
2626
weldBetween(LeftArm,Plate)
2627
Plate.Parent = nil
2628
 
2629
function FinalForm()
2630
    ATTACK = true
2631
    Rooted = true
2632
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2633
    if MODE == "Main" then
2634
        sick.SoundId = "rbxassetid://576172702"
2635
        sick.Volume = 10
2636
        sick.Pitch = 0.97
2637
        sick.TimePosition = 0
2638
        -- Animation --
2639
        coroutine.resume(coroutine.create(function()
2640
        end))
2641
        for i=0, 2, 50 / Animation_Speed do
2642
            Swait()
2643
            Slice("Round", 0, 45, CF(RightArm.CFrame * CF(0, MRANDOM(-3, -2), 0).p) * ANGLES(RAD(0), RAD(MRANDOM(-180, 180)), RAD(0)), "Pearl", VT(0.01, 0, 0.01) * MRANDOM(2, 3))
2644
            MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0.5, 0.5, 1), VT(1, 0.1, 0.1))
2645
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2646
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2647
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2648
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2649
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2650
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2651
        end
2652
    for _, c in pairs(Character:GetChildren()) do
2653
        if c.ClassName == "Part" then
2654
            c.Material = "Neon"
2655
            if c:FindFirstChildOfClass("ParticleEmitter") then
2656
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2657
            end
2658
            if c == Head then
2659
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "53837867", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2660
                    M.Name = "Dominus"
2661
                if c:FindFirstChild("face") then
2662
                    c.face:remove()
2663
                end
2664
            end
2665
        end
2666
    end
2667
    LMAO.Parent = Character
2668
    BodyColor = C3(0.025,0.025,0.1)
2669
    LegColor = BRICKC("Storm blue").Color
2670
    ArmColor = C3(0.5, 0.5, 1)
2671
        for i = 1, 25 do
2672
            Swait()
2673
            Slice("Round", 0, 45, CF(RootPart.Position + VT(0, MRANDOM(-5, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Pearl", VT(0.1, 0, 0.1) * MRANDOM(2, 3))
2674
            Slice("Thin", 0, 65, CF(RootPart.Position + VT(0, MRANDOM(-5, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Pearl", VT(0.1, 0, 0.1) * MRANDOM(2, 3))
2675
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2676
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2677
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2678
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2679
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2680
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2681
        end
2682
        MODE = "Maris"
2683
        SKILLTEXTCOLOR = C3(0,0,1)
2684
        SKILLTEXTCOLOR2 = C3(0,0,0)
2685
        tecks2.Text = "Dominus Maris"
2686
        Speed = 80
2687
    elseif MODE == "Maris" then
2688
    LMAO.Parent = nil
2689
        CreateSound(147722227, Torso, 4, 1.3, false)
2690
        sick.SoundId = "rbxassetid://195900687"
2691
        sick.Volume = 4
2692
        sick.Pitch = 1
2693
        sick.TimePosition = 20.7
2694
    for _, c in pairs(Character:GetChildren()) do
2695
        if c.ClassName == "Part" then
2696
            c.Material = "Neon"
2697
            if c:FindFirstChildOfClass("ParticleEmitter") then
2698
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2699
            end
2700
            if c == Torso then
2701
                c.Color = C3(0,0,0)
2702
            elseif c == RightArm then
2703
                c.Color = C3(0.05,0.05,0.15)
2704
            elseif c == LeftArm then
2705
                c.Color = C3(0.05,0.05,0.15)
2706
            elseif c == RightLeg then
2707
                c.Color = C3(0,0,0.05)
2708
            elseif c == LeftLeg then
2709
                c.Color = C3(0,0,0.05)
2710
            elseif c == Head then
2711
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2712
                    M.Name = "Dominus"
2713
                if c:FindFirstChild("face") then
2714
                    c.face:remove()
2715
 
2716
                end
2717
            end
2718
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2719
            c:remove()
2720
        end
2721
    end
2722
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2723
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2724
        Swait(15)
2725
        Speed = 16
2726
        MODE = "Main"
2727
        BodyColor = C3(0,0,0)
2728
        LegColor = C3(0,0,0.05)
2729
        ArmColor = C3(0.05,0.05,0.15)
2730
    end
2731
    ATTACK = false
2732
    Rooted = false
2733
end
2734
 
2735
function DeForm()
2736
    ATTACK = true
2737
    Rooted = true
2738
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2739
    if MODE == "Praefectus" then
2740
        sick.SoundId = "rbxassetid://1633982099"
2741
        sick.Volume = 10
2742
        sick.Pitch = 0.97
2743
        sick.TimePosition = 1
2744
    for _, c in pairs(Character:GetChildren()) do
2745
        if c.ClassName == "Part" then
2746
            c.Material = "Neon"
2747
            if c:FindFirstChildOfClass("ParticleEmitter") then
2748
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2749
            end
2750
            if c == Head then
2751
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "1486164425", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2752
                    M.Name = "Dominus"
2753
                if c:FindFirstChild("face") then
2754
                    c.face:remove()
2755
                end
2756
            end
2757
        end
2758
    end
2759
    BodyColor = C3(0,0,0)
2760
    LegColor = C3(0.03, 0, 0)
2761
    ArmColor = C3(0.13, 0, 0)
2762
        -- Animation --
2763
        coroutine.resume(coroutine.create(function()
2764
        end))
2765
        CreateSound(1238240145, Torso, 6, 1, false)
2766
        for i=0, 0.6, 0.1 / Animation_Speed do
2767
            Swait()
2768
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2769
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2770
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2771
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2772
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2773
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2774
        end
2775
        for i=0, 0.6, 0.1 / Animation_Speed do
2776
            Swait()
2777
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2778
 
2779
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2780
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2781
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2782
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2783
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2784
        end
2785
        MODE = "Demonum"
2786
        tecks2.Text = "Dominus Daemonium"
2787
        SKILLTEXTCOLOR = C3(0.03, 0, 0)
2788
        SKILLTEXTCOLOR2 = C3(0,0,0)
2789
        Speed = 30
2790
    elseif MODE == "Demonum" then
2791
        CreateSound(147722227, Torso, 4, 1.3, false)
2792
        sick.SoundId = "rbxassetid://195900687"
2793
        sick.Volume = 4
2794
        sick.Pitch = 1
2795
        sick.TimePosition = 20.7
2796
    for _, c in pairs(Character:GetChildren()) do
2797
        if c.ClassName == "Part" then
2798
            c.Material = "Neon"
2799
            if c:FindFirstChildOfClass("ParticleEmitter") then
2800
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2801
            end
2802
            if c == Torso then
2803
                c.Color = C3(0,0,0)
2804
            elseif c == RightArm then
2805
                c.Color = C3(0.05,0.05,0.15)
2806
            elseif c == LeftArm then
2807
                c.Color = C3(0.05,0.05,0.15)
2808
            elseif c == RightLeg then
2809
                c.Color = C3(0,0,0.05)
2810
            elseif c == LeftLeg then
2811
                c.Color = C3(0,0,0.05)
2812
            elseif c == Head then
2813
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2814
                    M.Name = "Dominus"
2815
                if c:FindFirstChild("face") then
2816
                    c.face:remove()
2817
 
2818
                end
2819
            end
2820
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2821
            c:remove()
2822
        end
2823
    end
2824
        WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2825
        WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2826
        Swait(15)
2827
        Speed = 16
2828
        MODE = "Main"
2829
        BodyColor = C3(0,0,0)
2830
        LegColor = C3(0,0,0.05)
2831
        ArmColor = C3(0.05,0.05,0.15)
2832
    end
2833
    ATTACK = false
2834
    Rooted = false
2835
end
2836
 
2837
function Ignem_Aeternum()
2838
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
2839
    if HITFLOOR ~= nil then
2840
        do
2841
            local POWER = LEVEL
2842
            ATTACK = true
2843
            Rooted = true
2844
            local CENTER = MagicRing()
2845
            CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
2846
            CreateSound("424777055", CENTER, 10, 1)
2847
            local RAIN = {}
2848
            for i = 1, 55 do
2849
                Swait()
2850
                CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3
2851
                CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
2852
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2853
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2854
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2855
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2856
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2857
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2858
            end
2859
            local MAXDIST = 30
2860
            local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector
2861
            local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character)
2862
            local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character)
2863
            local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
2864
            MakeForm(ORB, "Ball")
2865
            CreateSound("201858045", ORB, 10, 0.5)
2866
            for i = 0, 1, 0.1 / Animation_Speed do
2867
                Swait()
2868
                ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0)
2869
                ORB.Transparency = 0
2870
                ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7
2871
                local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
2872
                local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude
2873
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2874
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2875
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2876
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2877
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2878
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2879
            end
2880
            coroutine.resume(coroutine.create(function()
2881
                ORB.CFrame = CF(ORB.Position, HITPOS3)
2882
                local IMPACT = false
2883
                for i = 1, 400 do
2884
                    Swait()
2885
                    ORB.CFrame = ORB.CFrame * CF(0, 0, -1)
2886
                    local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character)
2887
                    if HIT ~= nil then
2888
                        IMPACT = true
2889
                        break
2890
                    end
2891
                end
2892
                if IMPACT == true then
2893
                    ORB.Transparency = 1
2894
                    local FRONT = ORB.CFrame * CF(0, 0, -1).p
2895
                    ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z))
2896
                    for i = 1, 35 do
2897
                        ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5)
2898
                        MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35)
2899
                        CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ORB.Position - VT(0, ORB.Size.Y / 3, 0)) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24))
2900
                        killnearest(ORB.Position, ORB.Size.X * 2, 500)
2901
                        Swait()
2902
                    end
2903
                else
2904
                    ORB:remove()
2905
                end
2906
            end))
2907
            ATTACK = false
2908
            Rooted = false
2909
            coroutine.resume(coroutine.create(function()
2910
                for i = 1, 55 do
2911
                    Swait()
2912
                    CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
2913
                    CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
2914
                end
2915
                CENTER:remove()
2916
            end))
2917
        end
2918
    end
2919
end
2920
 
2921
function Dead_Cutter()
2922
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
2923
    if HITFLOOR ~= nil then
2924
        ATTACK = true
2925
        Rooted = true
2926
        local RAIN = {}
2927
        local GYRO = IT("BodyGyro",RootPart)
2928
        GYRO.D = 100
2929
        GYRO.P = 2000
2930
        GYRO.MaxTorque = VT(0,4000000,0)
2931
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2932
        CreateSound("429459101", RightArm, 10, 0.8)
2933
        for i=0, 3.5, 0.1 / Animation_Speed do
2934
            Swait()
2935
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2936
            Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-0.01,0,-0.01))
2937
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2938
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2939
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2940
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2941
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2942
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2943
        end
2944
        GYRO:remove()
2945
        for i=0, 0.15, 0.1 / Animation_Speed do
2946
            Swait()
2947
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2948
            Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-0.01,0,-0.01))
2949
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2950
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2951
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2952
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2953
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2954
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2955
        end
2956
        local BOMBSPOTS = {}
2957
        for i = 1, 60 do
2958
            local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(30,1,30))
2959
            SPOT.Color = SKILLTEXTCOLOR
2960
            SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
2961
            table.insert(BOMBSPOTS,SPOT)
2962
            MakeForm(SPOT,"Cyl")
2963
        Swait()
2964
        for i = 1, 3 do
2965
        coroutine.resume(coroutine.create(function()
2966
            local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Raindrop", VT(2 / 2, 2 / 2, 2 * 5))
2967
            DROP.CFrame = CF(SPOT.Position + VT(MRANDOM(-SPOT.Size.X / 3, SPOT.Size.X / 3), 200, MRANDOM(-SPOT.Size.X / 3, SPOT.Size.X / 3)), SPOT.Position + VT(MRANDOM(-SPOT.Size.X / 2.5, SPOT.Size.X / 2.5), 0, MRANDOM(-SPOT.Size.X / 2.5, SPOT.Size.X / 2.5)))
2968
            table.insert(RAIN, DROP)
2969
            MakeForm(DROP, "Ball")
2970
            local IMPACT = false
2971
            for i = 1, 80 do
2972
                Swait()
2973
                DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
2974
                local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
2975
                if HIT ~= nil then
2976
                    IMPACT = true
2977
                    break
2978
                end
2979
            end
2980
            table.remove(RAIN, 1)
2981
            if IMPACT == true then
2982
                DROP.Transparency = 1
2983
                MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Really red").Color, VT(2, 2, 2) / 2)
2984
                killnearest(DROP.Position, 2 * 5, 500)
2985
                Debris:AddItem(DROP, 5)
2986
            else
2987
                DROP:remove()
2988
            end
2989
        end))
2990
        end
2991
        end
2992
        for i=0, 0.2, 0.1 / Animation_Speed do
2993
            Swait()
2994
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2995
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2996
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2997
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2998
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2999
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3000
        end
3001
        ATTACK = false
3002
        Rooted = false
3003
        coroutine.resume(coroutine.create(function()
3004
            Swait(3)
3005
            for i = 1, #BOMBSPOTS do
3006
                if BOMBSPOTS[i] ~= nil then
3007
                    local E = BOMBSPOTS[i]
3008
                    coroutine.resume(coroutine.create(function()
3009
                        for i = 1, 10 do
3010
                            Swait()
3011
                        end
3012
                        Swait(45)
3013
                        for i = 1, 100 do
3014
                            Swait()
3015
                        end
3016
                        E:remove()
3017
                    end))
3018
                end
3019
            end
3020
        end))
3021
    end
3022
end
3023
 
3024
 
3025
function Ultimate_B()
3026
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
3027
    if HITFLOOR ~= nil then
3028
        do
3029
            local POWER = 3
3030
            ATTACK = true
3031
            Rooted = true
3032
            local CENTER = MagicRing()
3033
            CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
3034
            CreateSound("424777055", CENTER, 10, 1)
3035
            local RAIN = {}
3036
            for i = 1, 55 do
3037
                Swait()
3038
                CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3
3039
                CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3040
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3041
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3042
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3043
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3044
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3045
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3046
            end
3047
            local MAXDIST = 30
3048
            local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector
3049
            local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character)
3050
            local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character)
3051
            local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
3052
            MakeForm(ORB, "Ball")
3053
            CreateSound("201858045", ORB, 10, 0.5)
3054
            for i = 0, 1, 0.1 / Animation_Speed do
3055
                Swait()
3056
                ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0)
3057
                ORB.Transparency = 0
3058
                ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7
3059
                local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
3060
                local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude
3061
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3062
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3063
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3064
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3065
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3066
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3067
            end
3068
            coroutine.resume(coroutine.create(function()
3069
                ORB.CFrame = CF(ORB.Position, HITPOS3)
3070
                local IMPACT = false
3071
                for i = 1, 400 do
3072
                    Swait()
3073
                    ORB.CFrame = ORB.CFrame * CF(0, 0, -1)
3074
                    local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character)
3075
                    if HIT ~= nil then
3076
                        IMPACT = true
3077
                        break
3078
                    end
3079
                end
3080
                if IMPACT == true then
3081
                    ORB.Transparency = 1
3082
                    local FRONT = ORB.CFrame * CF(0, 0, -1).p
3083
                    ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z))
3084
                    for i = 1, 35 do
3085
                        ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5)
3086
                        MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35)
3087
                        CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ORB.Position - VT(0, ORB.Size.Y / 3, 0)) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24))
3088
                        killnearest(ORB.Position, ORB.Size.X * 2, 500)
3089
                        Swait()
3090
                    end
3091
                else
3092
                    ORB:remove()
3093
                end
3094
            end))
3095
    for i = 1, 70 do
3096
        Swait()
3097
        coroutine.resume(coroutine.create(function()
3098
            local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5))
3099
            DROP.CFrame = CF(ORB.Position + VT(MRANDOM(-ORB.Size.X / 3, ORB.Size.X / 3), 200, MRANDOM(-ORB.Size.X / 3, ORB.Size.X / 3)), ORB.Position + VT(MRANDOM(-ORB.Size.X / 2.5, ORB.Size.X / 2.5), 0, MRANDOM(-ORB.Size.X / 2.5, ORB.Size.X / 2.5)))
3100
            table.insert(RAIN, DROP)
3101
            particles(DROP)
3102
            MakeForm(DROP, "Ball")
3103
            local IMPACT = false
3104
            for i = 1, 80 do
3105
                Swait()
3106
                DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
3107
                local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
3108
                if HIT ~= nil then
3109
                    IMPACT = true
3110
                    break
3111
                end
3112
            end
3113
            table.remove(RAIN, 1)
3114
            if IMPACT == true then
3115
                DROP.Transparency = 1
3116
                DROP.OVERLORDAURA.Enabled = false
3117
                MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2)
3118
                killnearest(DROP.Position, POWER * 5, 500)
3119
                Debris:AddItem(DROP, 5)
3120
            else
3121
                DROP:remove()
3122
            end
3123
        end))
3124
    end
3125
            ATTACK = false
3126
            Rooted = false
3127
            coroutine.resume(coroutine.create(function()
3128
                for i = 1, 55 do
3129
                    Swait()
3130
                    CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
3131
                    CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3132
                end
3133
                CENTER:remove()
3134
            end))
3135
        end
3136
    end
3137
end
3138
 
3139
function Dolor_Pluvia()
3140
    local POWER = LEVEL
3141
    local CENTER = MagicRing()
3142
    CENTER.CFrame = CF(Mouse.Hit.p)
3143
    CreateSound("424777055", CENTER, 10, 1)
3144
    local RAIN = {}
3145
    for i = 1, 45 do
3146
        Swait()
3147
        CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
3148
        CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3149
    end
3150
    for i = 1, 35 do
3151
        Swait()
3152
        coroutine.resume(coroutine.create(function()
3153
            local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5))
3154
            DROP.CFrame = CF(CENTER.Position + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 200, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)), CENTER.Position + VT(MRANDOM(-CENTER.Size.X / 2.5, CENTER.Size.X / 2.5), 0, MRANDOM(-CENTER.Size.X / 2.5, CENTER.Size.X / 2.5)))
3155
            table.insert(RAIN, DROP)
3156
            particles(DROP)
3157
            MakeForm(DROP, "Ball")
3158
            local IMPACT = false
3159
            for i = 1, 80 do
3160
                Swait()
3161
                DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
3162
                local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
3163
                if HIT ~= nil then
3164
                    IMPACT = true
3165
                    break
3166
                end
3167
            end
3168
            table.remove(RAIN, 1)
3169
            if IMPACT == true then
3170
                DROP.Transparency = 1
3171
                DROP.OVERLORDAURA.Enabled = false
3172
                MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2)
3173
                killnearest(DROP.Position, POWER * 5, 500)
3174
                Debris:AddItem(DROP, 5)
3175
            else
3176
                DROP:remove()
3177
            end
3178
        end))
3179
    end
3180
    repeat
3181
        Swait()
3182
    until #RAIN == 0
3183
    for i = 1, 45 do
3184
        Swait()
3185
        CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
3186
        CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3187
    end
3188
    CENTER:remove()
3189
end
3190
 
3191
function Ultimate_Z()
3192
    local POWER = 5
3193
    local CENTER = MagicRing()
3194
    CENTER.CFrame = CF(Mouse.Hit.p)
3195
    CreateSound("424777055", CENTER, 10, 1)
3196
    local RAIN = {}
3197
    for i = 1, 45 do
3198
        Swait()
3199
        CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
3200
        CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3201
    end
3202
    for i = 1, 100 do
3203
        Swait()
3204
        coroutine.resume(coroutine.create(function()
3205
            local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5))
3206
            DROP.CFrame = CF(CENTER.Position + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 200, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)), CENTER.Position + VT(MRANDOM(-CENTER.Size.X / 2.5, CENTER.Size.X / 2.5), 0, MRANDOM(-CENTER.Size.X / 2.5, CENTER.Size.X / 2.5)))
3207
            table.insert(RAIN, DROP)
3208
            particles(DROP)
3209
            MakeForm(DROP, "Ball")
3210
            local IMPACT = false
3211
            for i = 1, 80 do
3212
                Swait()
3213
                DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
3214
                local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
3215
                if HIT ~= nil then
3216
                    IMPACT = true
3217
                    break
3218
                end
3219
            end
3220
            table.remove(RAIN, 1)
3221
            if IMPACT == true then
3222
                DROP.Transparency = 1
3223
                DROP.OVERLORDAURA.Enabled = false
3224
                MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2)
3225
                killnearest(DROP.Position, POWER * 5, 500)
3226
                Debris:AddItem(DROP, 5)
3227
            else
3228
                DROP:remove()
3229
            end
3230
        end))
3231
    end
3232
    repeat
3233
        Swait()
3234
    until #RAIN == 0
3235
    for i = 1, 45 do
3236
        Swait()
3237
        CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
3238
        CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3239
    end
3240
    CENTER:remove()
3241
end
3242
 
3243
function Ultima_Consummatio()
3244
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character)
3245
    if HITFLOOR ~= nil then
3246
        do
3247
            local POWER = LEVEL
3248
            ATTACK = true
3249
            Rooted = true
3250
            if POWER <= 6 then
3251
                do
3252
                    local CENTER = MagicRing()
3253
                    CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
3254
                    CreateSound("424777055", CENTER, 10, 1)
3255
                    local RAIN = {}
3256
                    for i = 1, 65 do
3257
                        Swait()
3258
                        CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
3259
                        CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3260
                        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3261
                        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3262
                        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3263
                        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3264
                        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3265
                        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3266
                    end
3267
                    local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
3268
                    MakeForm(ORB, "Ball")
3269
                    CreateSound("201858045", ORB, 10, 0.5)
3270
                    for i = 0, 5, 0.1 / Animation_Speed do
3271
                        Swait()
3272
                        ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0)
3273
                        ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10
3274
                        ORB.Transparency = 0
3275
                        local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
3276
                        local RANGE = (POS - ORB.Position).Magnitude
3277
                        local ZAPTABLE = Zap({
3278
                            StartPosition = POS,
3279
                            TargetPosition = ORB.Position,
3280
                            Character = workspace,
3281
                            Color = "Gold",
3282
                            Individual = true,
3283
                            MaxRange = RANGE,
3284
                            SegmentLength = POWER * 2,
3285
                            Offset = 1
3286
                        })
3287
                        Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
3288
                        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3289
                        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3290
                        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3291
                        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3292
                        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3293
                        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3294
                    end
3295
                    coroutine.resume(coroutine.create(function()
3296
                        if POWER <= 3 then
3297
                            local AIMPOS = Mouse.Hit.p
3298
                            local O1 = MagicRing()
3299
                            local O2 = MagicRing()
3300
                            local O3 = MagicRing()
3301
                            O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
3302
                            O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
3303
                            O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
3304
                            for i = 1, 25 do
3305
                                Swait()
3306
                                O1.Size = O1.Size + VT(POWER, 0, POWER)
3307
                                O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
3308
                                O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
3309
                            end
3310
                            local DIST = (ORB.Position - AIMPOS).Magnitude
3311
                            for i = 1, 75 do
3312
                                Swait(3)
3313
                                CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
3314
                                killnearest(ORB.Position, ORB.Size.X, 200)
3315
                                local ZAPTABLE = Zap({
3316
                                    SIZE = POWER * 2,
3317
                                    StartPosition = ORB.Position,
3318
                                    TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2,
3319
                                    Character = Character,
3320
                                    Color = "Gold",
3321
                                    Individual = true,
3322
                                    MaxRange = POWER * 400,
3323
                                    SegmentLength = DIST / 25,
3324
                                    Offset = 3 + DIST / 350
3325
                                })
3326
                                Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
3327
                                MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15)
3328
                                killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
3329
                                CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24))
3330
                            end
3331
                            local SIZE = ORB.Size
3332
                            for i = 1, 25 do
3333
                                Swait()
3334
                                ORB.Size = ORB.Size - SIZE / 25
3335
                                O1.Size = O1.Size - VT(POWER, 0, POWER)
3336
                                O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
3337
                                O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
3338
                            end
3339
                            ORB:remove()
3340
                            O1:remove()
3341
                            O2:remove()
3342
                            O3:remove()
3343
                        elseif POWER > 3 then
3344
                            local O1 = MagicRing()
3345
                            local O2 = MagicRing()
3346
                            local O3 = MagicRing()
3347
                            O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
3348
                            O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
3349
                            O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
3350
                            for i = 1, 25 do
3351
                                Swait()
3352
                                O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
3353
                                O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
3354
                                O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
3355
                                O1.Size = O1.Size + VT(POWER, 0, POWER)
3356
                                O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
3357
                                O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
3358
                            end
3359
                            for i = 1, 75 do
3360
                                for i = 1, 5 do
3361
                                    Swait()
3362
                                    O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
3363
                                    O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
3364
                                    O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
3365
                                end
3366
                                killnearest(ORB.Position, ORB.Size.X, 200)
3367
                                CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
3368
                                local DIST = (ORB.Position - Mouse.Hit.p).Magnitude
3369
                                local ZAPTABLE = Zap({
3370
                                    SIZE = POWER,
3371
                                    StartPosition = ORB.Position,
3372
                                    TargetPosition = Mouse.Hit.p,
3373
                                    Character = Character,
3374
                                    Color = "Gold",
3375
                                    Individual = true,
3376
                                    MaxRange = POWER * 400,
3377
                                    SegmentLength = DIST / 25,
3378
                                    Offset = 3 + DIST / 350
3379
                                })
3380
                                Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
3381
                                MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15)
3382
                                killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
3383
                                CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24))
3384
                            end
3385
                            local SIZE = ORB.Size
3386
                            for i = 1, 25 do
3387
                                Swait()
3388
                                ORB.Size = ORB.Size - SIZE / 25
3389
                                O1.Size = O1.Size - VT(POWER, 0, POWER)
3390
                                O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
3391
                                O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
3392
                            end
3393
                            ORB:remove()
3394
                            O1:remove()
3395
                            O2:remove()
3396
                            O3:remove()
3397
                        end
3398
                        coroutine.resume(coroutine.create(function()
3399
                            for i = 1, 65 do
3400
                                Swait()
3401
                                CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
3402
                                CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3403
                            end
3404
                            CENTER:remove()
3405
                        end))
3406
                    end))
3407
                end
3408
            elseif POWER > 6 then
3409
                do
3410
                    local FINISHED = false
3411
                    local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "YIN", VT(25, 25, 25))
3412
                    local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "YAN", VT(65, 25, 65))
3413
                    coroutine.resume(coroutine.create(function()
3414
                        local LOOP = 0
3415
                        repeat
3416
                            YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200)
3417
                            YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200)
3418
                            LOOP = LOOP + 5
3419
                            MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Gold").Color, VT(-1, -0.001, -1) * 2)
3420
                            MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(1, 1, 1), VT(-1, -0.001, -1) * 2)
3421
                            Swait()
3422
                        until FINISHED == true
3423
                        YIN:remove()
3424
                        YAN:remove()
3425
                    end))
3426
                    CreateSound("438666077", Effects, 10, 1)
3427
                    for i = 0, 1, 0.1 / Animation_Speed do
3428
                        Swait()
3429
                        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3430
                        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3431
                        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3432
                        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3433
                        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3434
                        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3435
                    end
3436
                    local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "ORB", VT(6, 6, 6))
3437
                    MakeForm(ORB, "Ball")
3438
                    ORB.CFrame = CF(HITPOS + VT(0, 150, 0))
3439
                    for i = 0, 8, 0.1 / Animation_Speed do
3440
                        Swait()
3441
                        if MRANDOM(1, 8) == 1 then
3442
                            local RANGE1 = (ORB.Position - YIN.Position).Magnitude
3443
                            local RANGE2 = (ORB.Position - YAN.Position).Magnitude
3444
                            local ZAPTABLE1 = Zap({
3445
                                SIZE = POWER / 3,
3446
                                StartPosition = YIN.Position,
3447
                                TargetPosition = ORB.Position,
3448
                                Character = workspace,
3449
                                Color = "Pearl",
3450
                                Individual = true,
3451
                                MaxRange = RANGE1,
3452
                                SegmentLength = 25,
3453
                                Offset = 6
3454
                            })
3455
                            local ZAPTABLE2 = Zap({
3456
                                SIZE = POWER / 3,
3457
                                StartPosition = YAN.Position,
3458
                                TargetPosition = ORB.Position,
3459
                                Character = workspace,
3460
                                Color = "Gold",
3461
                                Individual = true,
3462
                                MaxRange = RANGE1,
3463
                                SegmentLength = 25,
3464
                                Offset = 6
3465
                            })
3466
                            Debris:AddItem(ZAPTABLE1.LightningModel, 0.1)
3467
                            Debris:AddItem(ZAPTABLE2.LightningModel, 0.1)
3468
                        end
3469
                        ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15
3470
                        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3471
                        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
3472
                        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3473
                        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3474
                        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3475
                        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3476
                    end
3477
                    FINISHED = true
3478
                    coroutine.resume(coroutine.create(function()
3479
                        for i = 1, 6 do
3480
                            for e = 1, 10 do
3481
                                Swait()
3482
                                Slice("Thin", ORB.Size.X / 15, 15, ORB.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Pearl", VT(-0.01, 0, -0.01))
3483
                                ORB.Size = ORB.Size * 0.97
3484
                                killnearest(ORB.Position, ORB.Size.X * 3, 200)
3485
                                CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER))
3486
                            end
3487
                            local POS = ORB.Position
3488
                            for i = 1, 5 do
3489
                                CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
3490
                            end
3491
                            CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0))
3492
                            for e = 1, 10 do
3493
                                Swait()
3494
                                if MRANDOM(1, 5) == 1 then
3495
                                    local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p
3496
                                    local ZAPTABLE = Zap({
3497
                                        SIZE = POWER,
3498
                                        StartPosition = ORB.Position,
3499
                                        TargetPosition = POS,
3500
                                        Character = workspace,
3501
                                        Color = "Gold",
3502
                                        Individual = true,
3503
                                        MaxRange = POWER * 75,
3504
                                        SegmentLength = POWER * 5,
3505
                                        Offset = 3
3506
                                    })
3507
                                    Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
3508
                                end
3509
                                ORB.Size = ORB.Size * 1.05
3510
                                killnearest(ORB.Position, ORB.Size.X * 3, 200)
3511
                                CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER))
3512
                            end
3513
                        end
3514
                        local POS = ORB.Position
3515
                        for e = 1, 10 do
3516
                            Swait()
3517
                            ORB.Transparency = ORB.Transparency + 0.1
3518
                        end
3519
                        ORB:remove()
3520
                        killnearest(POS, POWER * 35, 200)
3521
                        for i = 1, 5 do
3522
                            CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
3523
                        end
3524
                        CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0))
3525
                    end))
3526
                end
3527
            end
3528
            ATTACK = false
3529
            Rooted = false
3530
        end
3531
    end
3532
end
3533
 
3534
function Hop()
3535
    ATTACK = true
3536
    Rooted = false
3537
    local O1 = MagicRing()
3538
    local O2 = MagicRing()
3539
    local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
3540
    O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
3541
    O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
3542
    local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
3543
    ROOT.CFrame = CF(O2.Position, RootPart.Position)
3544
    CreateSound("814168787", O1, 10, 0.7)
3545
    CreateSound("814168787", O2, 10, 0.7)
3546
    for i = 1, 75 do
3547
        Swait()
3548
        O1.Size = O1.Size + VT(0.15, 0, 0.15)
3549
        O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
3550
        O2.Size = O2.Size + VT(0.15, 0, 0.15)
3551
        O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3552
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3553
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3554
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.35 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3555
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3556
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3557
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3558
    end
3559
    Rooted = true
3560
    UNANCHOR = false
3561
    RootPart.Anchored = true
3562
    VALUE1 = true
3563
    for i = 1, 15 do
3564
        Transparency(i / 15)
3565
        Swait()
3566
        RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
3567
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3568
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3569
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3570
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3571
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3572
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3573
    end
3574
    RootPart.CFrame = ROOT.CFrame
3575
    ROOT:remove()
3576
    for i = 1, 15 do
3577
        Transparency(1 - i / 15)
3578
        Swait()
3579
        RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
3580
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3581
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3582
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3583
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3584
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3585
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3586
    end
3587
    VALUE1 = false
3588
    coroutine.resume(coroutine.create(function()
3589
        for i = 1, 75 do
3590
            Swait()
3591
            O1.Size = O1.Size - VT(0.15, 0, 0.15)
3592
            O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3593
            O2.Size = O2.Size - VT(0.15, 0, 0.15)
3594
            O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3595
        end
3596
        O1:remove()
3597
        O2:remove()
3598
    end))
3599
    UNANCHOR = true
3600
    RootPart.Anchored = false
3601
    ATTACK = false
3602
    Rooted = false
3603
end
3604
 
3605
local ATANIM = IT("Animation")
3606
ATANIM.Name = "Attack Animation"
3607
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
3608
 
3609
function SummonHop()
3610
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
3611
    if HITFLOOR ~= nil then
3612
    ATTACK = true
3613
    Rooted = false
3614
    local O1 = MagicRing()
3615
    local O2 = MagicRing()
3616
    local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
3617
    O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
3618
    O2.CFrame = CF(Mouse.Hit.p)
3619
    local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
3620
    ROOT.CFrame = CF(O2.Position, RootPart.Position)
3621
    CreateSound("814168787", O1, 10, 0.7)
3622
    CreateSound("814168787", O2, 10, 0.7)
3623
    for i = 1, 75 do
3624
        Swait()
3625
        O1.Size = O1.Size + VT(0.15, 0, 0.15)
3626
        O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
3627
        O2.Size = O2.Size + VT(0.15, 0, 0.15)
3628
        O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3629
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3630
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3631
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3632
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3633
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3634
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3635
    end
3636
    Rooted = true
3637
    UNANCHOR = false
3638
    RootPart.Anchored = true
3639
    VALUE1 = true
3640
            local RANDOMEFFECT = MRANDOM(1,1)
3641
            if RANDOMEFFECT == 1 then
3642
                for i = 1, 10 do
3643
                    wait(0.15)
3644
                    WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = O2.CFrame*CF(0,0.3,0), MoveToPos = O2.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
3645
                    coroutine.resume(coroutine.create(function()
3646
                        local MINION = CLONE:Clone()
3647
                        MINION.Parent = Effects
3648
                        MINION.Name = "Shadow"
3649
                        MINION.HumanoidRootPart.CFrame = O2.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
3650
                        MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
3651
                        for _, c in pairs(MINION:GetChildren()) do
3652
                            if c.ClassName == "Part" then
3653
                                c.Material = "Neon"
3654
                                c.Color = C3(0,0,0)
3655
                                c.Transparency = 0.25
3656
                                if c.Name == "Head" then
3657
                                    c:ClearAllChildren()
3658
                                    local MSH = IT("BlockMesh",c)
3659
                                    MSH.Scale = VT(0.5,1,1)
3660
                                end
3661
                            end
3662
                        end
3663
                        local TORSO = MINION.Torso
3664
                        local HUMAN = MINION.Humanoid
3665
                        HUMAN.WalkSpeed = 20
3666
                        HUMAN.MaxHealth = math.huge
3667
                        HUMAN.Health = math.huge
3668
                        HUMAN.DisplayDistanceType = "None"
3669
                        HUMAN.Died:connect(function()
3670
                            MINION:remove()
3671
                            --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
3672
                        end)
3673
                        wait(1)
3674
                        local findNearestTorso = function(POS)
3675
                            local list = game.Workspace:GetDescendants()
3676
                            local torso = nil
3677
                            local dist = 500
3678
                            local temp = nil
3679
                            local human = nil
3680
                            local temp2 = nil
3681
                            for x = 1, #list do
3682
                                temp2 = list[x]
3683
                                if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
3684
                                    temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
3685
                                    human = temp2:findFirstChildOfClass("Humanoid")
3686
                                    if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
3687
                                        if (temp.Position - POS).magnitude < dist then
3688
                                            torso = temp
3689
                                            dist = (temp.Position - POS).magnitude
3690
                                        end
3691
                                    end
3692
                                end
3693
                            end
3694
                            return torso, dist
3695
                        end
3696
                        for i = 1, 20 do
3697
                            if HUMAN.Health == 0 then
3698
                                break
3699
                            end
3700
                            wait(0.3)
3701
                            local target,dist= findNearestTorso(TORSO.Position)
3702
                            if target then
3703
                                HUMAN:MoveTo(target.Position)
3704
                                if dist < 25 then
3705
                                    CreateSound(348663022, TORSO, 10, 1, true)
3706
                                    wait(2)
3707
                                    local ANIM = HUMAN:LoadAnimation(ATANIM)
3708
                                    ANIM:Play()
3709
                                    --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
3710
                                    killnearest(TORSO.Position,10,85)
3711
                                    WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
3712
                                    for i = 1, 5 do
3713
                                        WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3714
                                    end
3715
                                    break
3716
                                end
3717
                            end
3718
                        end
3719
                        MINION:remove()
3720
                    end))
3721
                end
3722
                end
3723
    VALUE1 = false
3724
    coroutine.resume(coroutine.create(function()
3725
        for i = 1, 75 do
3726
            Swait()
3727
            O1.Size = O1.Size - VT(0.15, 0, 0.15)
3728
            O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3729
            O2.Size = O2.Size - VT(0.15, 0, 0.15)
3730
            O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3731
        end
3732
        O1:remove()
3733
        O2:remove()
3734
    end))
3735
    UNANCHOR = true
3736
    RootPart.Anchored = false
3737
    ATTACK = false
3738
    Rooted = false
3739
end
3740
end
3741
 
3742
function Dark_Cutter()
3743
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
3744
    if HITFLOOR ~= nil then
3745
        ATTACK = true
3746
        Rooted = true
3747
        local GYRO = IT("BodyGyro",RootPart)
3748
        GYRO.D = 100
3749
        GYRO.P = 2000
3750
        GYRO.MaxTorque = VT(0,4000000,0)
3751
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3752
        CreateSound("429459101", RightArm, 10, 0.8)
3753
        for i=0, 3.5, 0.1 / Animation_Speed do
3754
            Swait()
3755
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3756
            Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-0.01,0,-0.01))
3757
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3758
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3759
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3760
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3761
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3762
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3763
        end
3764
        GYRO:remove()
3765
        for i=0, 0.15, 0.1 / Animation_Speed do
3766
            Swait()
3767
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3768
            Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-0.01,0,-0.01))
3769
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3770
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3771
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3772
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3773
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3774
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3775
        end
3776
        local BOMBSPOTS = {}
3777
        for i = 1, 100 do
3778
            local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Blade", VT(16,1,16))
3779
            SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
3780
            table.insert(BOMBSPOTS,SPOT)
3781
            MakeForm(SPOT,"Cyl")
3782
        end
3783
        for i=0, 0.2, 0.1 / Animation_Speed do
3784
            Swait()
3785
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3786
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3787
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3788
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3789
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3790
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3791
        end
3792
        ATTACK = false
3793
        Rooted = false
3794
        coroutine.resume(coroutine.create(function()
3795
            Swait(3)
3796
            for i = 1, #BOMBSPOTS do
3797
                if BOMBSPOTS[i] ~= nil then
3798
                    local E = BOMBSPOTS[i]
3799
                    coroutine.resume(coroutine.create(function()
3800
                        local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Blade", VT(0,0,0))
3801
                        CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(1.2,2,0.8)*3, VT(0,0,0))
3802
                        CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
3803
                        BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
3804
                        for i = 1, 10 do
3805
                            Swait()
3806
                           killnearest(BLADE.Position,12,160)
3807
                            BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
3808
                            BLADE.Transparency = BLADE.Transparency - 0.1
3809
                        end
3810
                        Swait(45)
3811
                        for i = 1, 100 do
3812
                            Swait()
3813
                            BLADE.Transparency = BLADE.Transparency + 0.01
3814
                            E.Transparency = E.Transparency + 0.01
3815
                        end
3816
                        BLADE:remove()
3817
                        E:remove()
3818
                    end))
3819
                end
3820
            end
3821
        end))
3822
    end
3823
end
3824
 
3825
function SupernovaThrow()
3826
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
3827
    if HITFLOOR ~= nil then
3828
        local HITBODIES = {}
3829
        ATTACK = true
3830
        Rooted = true
3831
        local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Star", VT(0,0,0))
3832
        MakeForm(ABSOLUTE,"Ball")
3833
        CreateSound("429459101", ABSOLUTE, 10, 1)
3834
        for i=0, 4, 0.1 / Animation_Speed do
3835
            Swait()
3836
            ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
3837
            ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
3838
            ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
3839
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3840
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3841
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3842
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3843
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3844
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3845
        end
3846
        CreateSound("907330103", Head, 10, 1.2)
3847
        for i = 1, 75 do
3848
            Swait()
3849
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3850
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3851
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3852
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3853
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3854
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3855
        end
3856
        coroutine.resume(coroutine.create(function()
3857
        ABSOLUTE.CFrame = CF(ABSOLUTE.Position, Mouse.Hit.p)
3858
        for i = 1, 500 do
3859
            Swait()
3860
            ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -2)
3861
            local HITFLOOR, HITPOS = Raycast(ABSOLUTE.Position, ABSOLUTE.CFrame.lookVector, 2.2, Character)
3862
            if HITFLOOR ~= nil then
3863
                break
3864
            end
3865
        end
3866
            for i = 1, 13 do
3867
                for e = 1, 8 do
3868
                    Swait()
3869
                    CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
3870
                end
3871
                for i = 1, 5 do
3872
                    Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
3873
                    Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0))
3874
                end
3875
                CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
3876
                CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.05),VT(i,i*2,i))
3877
                CreateSound("168586621", ABSOLUTE, 4, 0.8)
3878
                CreateSound("201858144", ABSOLUTE, 10, 0.8)
3879
                killnearest(ABSOLUTE.Position,i*18,i)
3880
                ABSOLUTE.Size = ABSOLUTE.Size*0.9
3881
                MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
3882
                MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.05),VT(i,i,i))
3883
            end
3884
            ABSOLUTE.Transparency = 1
3885
            Debris:AddItem(ABSOLUTE,10)
3886
        end))
3887
        ATTACK = false
3888
        Rooted = false
3889
    end
3890
end
3891
 
3892
function Dark_Blast()
3893
    local HITBODIES = {}
3894
    local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0))
3895
    local HITFLOOR,ECH,NORMAL = Raycast(Mouse.Hit.p+VT(0,2,0), (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 10000000, Character)
3896
    CENTER.CFrame = CF(ECH)
3897
    local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25))
3898
    RAY.Color = C3(0.05,0.05,0.05)
3899
    MakeForm(RAY,"Cyl")
3900
    RAY.CFrame = CF(ECH)
3901
    for i = 1, 75 do
3902
        Swait()
3903
        RAY.Transparency = RAY.Transparency - 1/75
3904
        RAY.Size = RAY.Size - VT(25/75,0,25/75)
3905
    end
3906
    killnearest(ECH,50,25)
3907
    MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.05),VT(2,2,2))
3908
    for i = 1, 50 do
3909
    end
3910
    CreateSound("1222405264", CENTER, 10, 0.8)
3911
    RAY:remove()
3912
    Debris:AddItem(CENTER,5)
3913
end
3914
 
3915
function Banisher_Bullet()
3916
    ATTACK = true
3917
    Rooted = false
3918
    for i=0, 0.4, 0.1 / Animation_Speed do
3919
        Swait()
3920
        turnto(Mouse.Hit.p)
3921
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3922
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3923
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3924
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3925
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3926
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3927
    end
3928
    repeat
3929
        for i=0, 0.2, 0.1 / Animation_Speed do
3930
            Swait()
3931
            turnto(Mouse.Hit.p)
3932
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3933
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3934
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3935
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3936
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3937
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3938
        end
3939
        local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
3940
        SpawnTrail(Hole2.Position,POS)
3941
        if HIT ~= nil then
3942
            if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
3943
                Banish(HIT.Parent)
3944
            end
3945
        end
3946
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3947
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3948
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3949
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3950
        for i=0, 0.3, 0.1 / Animation_Speed do
3951
            Swait()
3952
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3953
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3954
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3955
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3956
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3957
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3958
        end
3959
    until KEYHOLD == false
3960
    ATTACK = false
3961
    Rooted = false
3962
end
3963
 
3964
function Dead_Bullet()
3965
    ATTACK = true
3966
    Rooted = false
3967
    for i=0, 0.1, 0.1 / Animation_Speed do
3968
        Swait()
3969
        turnto(Mouse.Hit.p)
3970
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3971
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3972
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3973
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3974
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3975
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3976
    end
3977
    repeat
3978
        for i=0, 0.1, 0.1 / Animation_Speed do
3979
            Swait()
3980
            turnto(Mouse.Hit.p)
3981
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3982
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3983
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3984
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3985
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3986
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3987
        end
3988
        local HIT,POS = CastProperRay(RightHole.Position, Mouse.Hit.p, 1000, Character)
3989
        SpawnTrail(RightHole.Position,POS)
3990
        if HIT ~= nil then
3991
            if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
3992
                Banish(HIT.Parent)
3993
            end
3994
        end
3995
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3996
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3997
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightHole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3998
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightHole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3999
        for i=0, 0.1, 0.1 / Animation_Speed do
4000
            Swait()
4001
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4002
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4003
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4004
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4005
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4006
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4007
        end
4008
    until KEYHOLD == false
4009
    ATTACK = false
4010
    Rooted = false
4011
end
4012
 
4013
function Ruler2()
4014
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
4015
    if HITFLOOR ~= nil then
4016
        do
4017
            local HITBODIES = {}
4018
            ATTACK = true
4019
            Rooted = true
4020
            local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Dark red", "SuperNova", VT(0, 0, 0))
4021
            MakeForm(ABSOLUTE, "Ball")
4022
            CreateSound("814168787", ABSOLUTE, 10, 0.3)
4023
            for i = 0, 4, 0.1 / Animation_Speed do
4024
                Swait()
4025
                ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
4026
                ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
4027
                ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
4028
                local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
4029
                MakeForm(CHARGE, "Ball")
4030
                CHARGE.Color = C3(0, 0, 0)
4031
                CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
4032
                FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
4033
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4034
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4035
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4036
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4037
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4038
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4039
            end
4040
            CreateSound("907333406", Head, 10, 1)
4041
            for i = 0, 2, 0.1 / Animation_Speed do
4042
                Swait()
4043
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4044
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4045
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4046
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4047
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4048
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4049
            end
4050
                local PITS = {}
4051
                CreateSound("178452217", ABSOLUTE, 10, 0.7)
4052
                for i = 1, 6 do
4053
                    for i = 1, 10 do
4054
                        Swait()
4055
                        Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
4056
                        ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4057
                    end
4058
                    for i = 1, 10 do
4059
                        Swait()
4060
                        ABSOLUTE.Size = ABSOLUTE.Size * 1.12
4061
                    end
4062
                end
4063
                CreateSound("215395388", ABSOLUTE, 10, 0.6)
4064
                CreateSound("215395388", ABSOLUTE, 10, 0.65)
4065
                CreateSound("215395388", ABSOLUTE, 10, 0.7)
4066
                for i = 1, 75 do
4067
                    Swait()
4068
                    local ICICLE = IT("CornerWedgePart", Effects)
4069
                    ICICLE.Locked = true
4070
                    ICICLE.CanCollide = false
4071
                    ICICLE.Anchored = true
4072
                    ICICLE.Color = C3(0, 0, 0)
4073
                    ICICLE.Material = "Neon"
4074
                    ICICLE.Size = VT(i / 3, i * 2, i / 3)
4075
                    ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
4076
                    table.insert(PITS, ICICLE)
4077
                    killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
4078
                    ABSOLUTE.Size = ABSOLUTE.Size * 1.03
4079
                    killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100)
4080
                    for i = 1, 3 do
4081
                        Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
4082
                    end
4083
                    CreateWave(VT(ABSOLUTE.Size.X / 1.5, 35, ABSOLUTE.Size.X / 1.5), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), false, 0, C3(0, 0, 0), VT(i / 3, 0, i / 3))
4084
                end
4085
                ABSOLUTE.Transparency = 0
4086
                for i = 1, 10 do
4087
                    Swait()
4088
                    ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4089
                    ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
4090
                end
4091
                Debris:AddItem(ABSOLUTE, 5)
4092
                Swait(50)
4093
                for i = 1, 10 do
4094
                    Swait()
4095
                    for e = 1, #PITS do
4096
                        if PITS[e] ~= nil then
4097
                            local E = PITS[e]
4098
                            E.Transparency = E.Transparency + 0.1
4099
                        end
4100
                    end
4101
                end
4102
                for e = 1, #PITS do
4103
                    if PITS[e] ~= nil then
4104
                        local E = PITS[e]
4105
                        E:remove()
4106
                    end
4107
                end
4108
            ATTACK = false
4109
            Rooted = false
4110
        end
4111
    end
4112
end
4113
 
4114
function Ultima_ConsummatioB()
4115
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character)
4116
    if HITFLOOR ~= nil then
4117
        do
4118
            local POWER = 20
4119
            ATTACK = true
4120
            Rooted = true
4121
            if POWER <= 6 then
4122
                do
4123
                    local CENTER = MagicRing()
4124
                    CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
4125
                    CreateSound("424777055", CENTER, 10, 1)
4126
                    local RAIN = {}
4127
                    for i = 1, 65 do
4128
                        Swait()
4129
                        CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
4130
                        CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
4131
                        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4132
                        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4133
                        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4134
                        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4135
                        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4136
                        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4137
                    end
4138
                    local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ORB", VT(4, 4, 4))
4139
                    MakeForm(ORB, "Ball")
4140
                    CreateSound("201858045", ORB, 10, 0.5)
4141
                    for i = 0, 5, 0.1 / Animation_Speed do
4142
                        Swait()
4143
                        ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0)
4144
                        ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10
4145
                        ORB.Transparency = 0
4146
                        local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
4147
                        local RANGE = (POS - ORB.Position).Magnitude
4148
                        local ZAPTABLE = Zap({
4149
                            StartPosition = POS,
4150
                            TargetPosition = ORB.Position,
4151
                            Character = workspace,
4152
                            Color = "Really red",
4153
                            Individual = true,
4154
                            MaxRange = RANGE,
4155
                            SegmentLength = POWER * 2,
4156
                            Offset = 1
4157
                        })
4158
                        Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
4159
                        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4160
                        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4161
                        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4162
                        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4163
                        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4164
                        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4165
                    end
4166
                    coroutine.resume(coroutine.create(function()
4167
                        if POWER <= 3 then
4168
                            local AIMPOS = Mouse.Hit.p
4169
                            local O1 = MagicRing()
4170
                            local O2 = MagicRing()
4171
                            local O3 = MagicRing()
4172
                            O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
4173
                            O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
4174
                            O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
4175
                            for i = 1, 25 do
4176
                                Swait()
4177
                                O1.Size = O1.Size + VT(POWER, 0, POWER)
4178
                                O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
4179
                                O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
4180
                            end
4181
                            local DIST = (ORB.Position - AIMPOS).Magnitude
4182
                            for i = 1, 75 do
4183
                                Swait(3)
4184
                                CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
4185
                                killnearest(ORB.Position, ORB.Size.X, 200)
4186
                                local ZAPTABLE = Zap({
4187
                                    SIZE = POWER * 2,
4188
                                    StartPosition = ORB.Position,
4189
                                    TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2,
4190
                                    Character = Character,
4191
                                    Color = "Really red",
4192
                                    Individual = true,
4193
                                    MaxRange = POWER * 400,
4194
                                    SegmentLength = DIST / 25,
4195
                                    Offset = 3 + DIST / 350
4196
                                })
4197
                                Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
4198
                                MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really red").Color, ORB.Size / 15)
4199
                                killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
4200
                                CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Really red", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24))
4201
                            end
4202
                            local SIZE = ORB.Size
4203
                            for i = 1, 25 do
4204
                                Swait()
4205
                                ORB.Size = ORB.Size - SIZE / 25
4206
                                O1.Size = O1.Size - VT(POWER, 0, POWER)
4207
                                O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
4208
                                O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
4209
                            end
4210
                            ORB:remove()
4211
                            O1:remove()
4212
                            O2:remove()
4213
                            O3:remove()
4214
                        elseif POWER > 3 or POWER == 3 then
4215
                            local O1 = MagicRing()
4216
                            local O2 = MagicRing()
4217
                            local O3 = MagicRing()
4218
                            O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
4219
                            O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
4220
                            O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
4221
                            for i = 1, 25 do
4222
                                Swait()
4223
                                O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
4224
                                O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
4225
                                O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
4226
                                O1.Size = O1.Size + VT(POWER, 0, POWER)
4227
                                O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
4228
                                O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
4229
                            end
4230
                            for i = 1, 75 do
4231
                                for i = 1, 5 do
4232
                                    Swait()
4233
                                    O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
4234
                                    O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
4235
                                    O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
4236
                                end
4237
                                killnearest(ORB.Position, ORB.Size.X, 200)
4238
                                CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
4239
                                local DIST = (ORB.Position - Mouse.Hit.p).Magnitude
4240
                                local ZAPTABLE = Zap({
4241
                                    SIZE = POWER,
4242
                                    StartPosition = ORB.Position,
4243
                                    TargetPosition = Mouse.Hit.p,
4244
                                    Character = Character,
4245
                                    Color = "Really red",
4246
                                    Individual = true,
4247
                                    MaxRange = POWER * 400,
4248
                                    SegmentLength = DIST / 25,
4249
                                    Offset = 3 + DIST / 350
4250
                                })
4251
                                Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
4252
                                MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really red").Color, ORB.Size / 15)
4253
                                killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
4254
                                CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Really red", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24))
4255
                            end
4256
                            local SIZE = ORB.Size
4257
                            for i = 1, 25 do
4258
                                Swait()
4259
                                ORB.Size = ORB.Size - SIZE / 25
4260
                                O1.Size = O1.Size - VT(POWER, 0, POWER)
4261
                                O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
4262
                                O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
4263
                            end
4264
                            ORB:remove()
4265
                            O1:remove()
4266
                            O2:remove()
4267
                            O3:remove()
4268
                        end
4269
                        coroutine.resume(coroutine.create(function()
4270
                            for i = 1, 65 do
4271
                                Swait()
4272
                                CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
4273
                                CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
4274
                            end
4275
                            CENTER:remove()
4276
                        end))
4277
                    end))
4278
                end
4279
            elseif POWER > 6 then
4280
                do
4281
                    local FINISHED = false
4282
                    local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "YIN", VT(25, 25, 25))
4283
                    local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "YAN", VT(65, 25, 65))
4284
                    coroutine.resume(coroutine.create(function()
4285
                        local LOOP = 0
4286
                        repeat
4287
                            YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200)
4288
                            YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200)
4289
                            LOOP = LOOP + 5
4290
                            MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Really red").Color, VT(-1, -0.001, -1) * 2)
4291
                            MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(0, 0, 0), VT(-1, -0.001, -1) * 2)
4292
                            Swait()
4293
                        until FINISHED == true
4294
                        YIN:remove()
4295
                        YAN:remove()
4296
                    end))
4297
                    CreateSound("438666077", Effects, 10, 1)
4298
                    for i = 0, 1, 0.1 / Animation_Speed do
4299
                        Swait()
4300
                        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4301
                        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4302
                        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4303
                        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4304
                        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4305
                        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4306
                    end
4307
                    local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "ORB", VT(6, 6, 6))
4308
                    MakeForm(ORB, "Ball")
4309
                    ORB.CFrame = CF(HITPOS + VT(0, 150, 0))
4310
                    for i = 0, 8, 0.1 / Animation_Speed do
4311
                        Swait()
4312
                        if MRANDOM(1, 8) == 1 then
4313
                            local RANGE1 = (ORB.Position - YIN.Position).Magnitude
4314
                            local RANGE2 = (ORB.Position - YAN.Position).Magnitude
4315
                            local ZAPTABLE1 = Zap({
4316
                                SIZE = POWER / 3,
4317
                                StartPosition = YIN.Position,
4318
                                TargetPosition = ORB.Position,
4319
                                Character = workspace,
4320
                                Color = "Pearl",
4321
                                Individual = true,
4322
                                MaxRange = RANGE1,
4323
                                SegmentLength = 25,
4324
                                Offset = 6
4325
                            })
4326
                            local ZAPTABLE2 = Zap({
4327
                                SIZE = POWER / 3,
4328
                                StartPosition = YAN.Position,
4329
                                TargetPosition = ORB.Position,
4330
                                Character = workspace,
4331
                                Color = "Really red",
4332
                                Individual = true,
4333
                                MaxRange = RANGE1,
4334
                                SegmentLength = 25,
4335
                                Offset = 6
4336
                            })
4337
                            Debris:AddItem(ZAPTABLE1.LightningModel, 0.1)
4338
                            Debris:AddItem(ZAPTABLE2.LightningModel, 0.1)
4339
                        end
4340
                        ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15
4341
                        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4342
                        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
4343
                        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4344
                        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4345
                        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4346
                        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4347
                    end
4348
                    FINISHED = true
4349
                    coroutine.resume(coroutine.create(function()
4350
                        for i = 1, 6 do
4351
                            for e = 1, 10 do
4352
                                Swait()
4353
                                Slice("Thin", ORB.Size.X / 15, 15, ORB.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Pearl", VT(-0.01, 0, -0.01))
4354
                                ORB.Size = ORB.Size * 0.97
4355
                                killnearest(ORB.Position, ORB.Size.X * 3, 200)
4356
                                CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER))
4357
                            end
4358
                            local POS = ORB.Position
4359
                            for i = 1, 5 do
4360
                                CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
4361
                            end
4362
                            CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0))
4363
                            for e = 1, 10 do
4364
                                Swait()
4365
                                if MRANDOM(1, 5) == 1 then
4366
                                    local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p
4367
                                    local ZAPTABLE = Zap({
4368
                                        SIZE = POWER,
4369
                                        StartPosition = ORB.Position,
4370
                                        TargetPosition = POS,
4371
                                        Character = workspace,
4372
                                        Color = "Really red",
4373
                                        Individual = true,
4374
                                        MaxRange = POWER * 75,
4375
                                        SegmentLength = POWER * 5,
4376
                                        Offset = 3
4377
                                    })
4378
                                    Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
4379
                                end
4380
                                ORB.Size = ORB.Size * 1.05
4381
                                killnearest(ORB.Position, ORB.Size.X * 3, 200)
4382
                                CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER))
4383
                            end
4384
                        end
4385
                        local POS = ORB.Position
4386
                        for e = 1, 10 do
4387
                            Swait()
4388
                            ORB.Transparency = ORB.Transparency + 0.1
4389
                        end
4390
                        ORB:remove()
4391
                        killnearest(POS, POWER * 35, 200)
4392
                        for i = 1, 5 do
4393
                            CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
4394
                        end
4395
                        CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0))
4396
                    end))
4397
                end
4398
            end
4399
            ATTACK = false
4400
            Rooted = false
4401
            local POWER = 1
4402
        end
4403
    end
4404
end
4405
 
4406
function Banish_Hop()
4407
    ATTACK = true
4408
    Rooted = false
4409
    local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
4410
    O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
4411
    local decal = Decal:Clone()
4412
    decal.Parent = O1
4413
    decal.Face = "Top"
4414
    decal.Texture = "http://www.roblox.com/asset/?id=106410100"
4415
    local decal2 = Decal:Clone()
4416
    decal2.Parent = O1
4417
    decal2.Face = "Bottom"
4418
    decal2.Texture = "http://www.roblox.com/asset/?id=106410100"
4419
    local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
4420
    local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
4421
    O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
4422
    local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
4423
    ROOT.CFrame = CF(O2.Position,RootPart.Position)
4424
    local decal = Decal:Clone()
4425
    decal.Parent = O2
4426
    decal.Face = "Top"
4427
    decal.Texture = "http://www.roblox.com/asset/?id=106410100"
4428
    local decal2 = Decal:Clone()
4429
    decal2.Parent = O2
4430
    decal2.Face = "Bottom"
4431
    decal2.Texture = "http://www.roblox.com/asset/?id=106410100"
4432
    CreateSound("84005018", O1, 10, 0.7)
4433
    CreateSound("84005018", O2, 10, 0.7)
4434
    for i = 1, 75 do
4435
        Swait()
4436
        O1.Size = O1.Size + VT(0.1,0,0.1)
4437
        O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
4438
        O2.Size = O2.Size + VT(0.1,0,0.1)
4439
        O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
4440
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4441
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4442
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4443
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4444
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4445
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4446
    end
4447
    Rooted = true
4448
    UNANCHOR = false
4449
    RootPart.Anchored = true
4450
    VALUE1 = true
4451
    for i = 1, 15 do
4452
        Transparency(i/15)
4453
        Swait()
4454
        RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
4455
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4456
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4457
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4458
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4459
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4460
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4461
    end
4462
    RootPart.CFrame = ROOT.CFrame
4463
    ROOT:remove()
4464
    for i = 1, 15 do
4465
        Transparency(1-(i/15))
4466
        Swait()
4467
        RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
4468
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4469
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4470
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4471
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4472
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4473
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4474
    end
4475
    VALUE1 = false
4476
    coroutine.resume(coroutine.create(function()
4477
        for i = 1, 75 do
4478
            Swait()
4479
            O1.Size = O1.Size - VT(0.1,0,0.1)
4480
            O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
4481
            O2.Size = O2.Size - VT(0.1,0,0.1)
4482
            O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
4483
        end
4484
        O1:remove()
4485
        O2:remove()
4486
    end))
4487
    UNANCHOR = true
4488
    RootPart.Anchored = false
4489
    ATTACK = false
4490
    Rooted = false
4491
end
4492
 
4493
function Governor_Bomb()
4494
    local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "CenterPart", VT(0, 0, 0))
4495
    local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(25, 25, 25))
4496
    RAY.Color = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549)
4497
    MakeForm(RAY, "Ball")
4498
    local ECH = Mouse.Hit.p
4499
    CENTER.CFrame = CF(Mouse.Hit.p)
4500
    RAY.CFrame = CENTER.CFrame
4501
    CreateSound("814168787", CENTER, 10, 0.6)
4502
    for i = 1, 80 do
4503
        Swait()
4504
        RAY.Size = RAY.Size * 0.98
4505
        RAY.Transparency = RAY.Transparency - 0.016666666666666666
4506
    end
4507
    killnearest(ECH, 25, 250)
4508
    MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(2, 2, 2))
4509
    MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2))
4510
    CreateSound("314970790", CENTER, 10, 1)
4511
    Debris:AddItem(CENTER, 5)
4512
    RAY:remove()
4513
end
4514
function Governor_Bomb2()
4515
    local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "CenterPart", VT(0, 0, 0))
4516
    local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(25, 25, 25))
4517
    RAY.Color = C3(0.96078431372549, 0.019803921568627451, 0.0196078431372549)
4518
    MakeForm(RAY, "Ball")
4519
    local ECH = Mouse.Hit.p
4520
    CENTER.CFrame = CF(Mouse.Hit.p)
4521
    RAY.CFrame = CENTER.CFrame
4522
    CreateSound("814168787", CENTER, 10, 0.6)
4523
    for i = 1, 80 do
4524
        Swait()
4525
        RAY.Size = RAY.Size * 0.98
4526
        RAY.Transparency = RAY.Transparency - 0.016666666666666666
4527
    end
4528
    killnearest(ECH, 25, 250)
4529
    MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(0.96078431372549, 0.019803921568627451, 0.0196078431372549), VT(2, 2, 2))
4530
    MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2))
4531
    CreateSound("314970790", CENTER, 10, 1)
4532
    Debris:AddItem(CENTER, 5)
4533
    RAY:remove()
4534
end
4535
function Governor_Bomb3()
4536
    local ABSOLUTE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116), "CenterPart", VT(50, 50, 50))
4537
    local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(75, 75, 75))
4538
    RAY.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
4539
    MakeForm(RAY, "Ball")
4540
    local ECH = Mouse.Hit.p
4541
    ABSOLUTE.CFrame = CF(Mouse.Hit.p)
4542
    local HITFLOOR, HITPOS, NORMAL = Raycast(ABSOLUTE.Position, CF(ABSOLUTE.Position, ABSOLUTE.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
4543
    RAY.CFrame = ABSOLUTE.CFrame
4544
    CreateSound("814168787", ABSOLUTE, 10, 0.6)
4545
    for i = 1, 80 do
4546
        Swait()
4547
        RAY.Size = RAY.Size * 0.98
4548
        RAY.Transparency = RAY.Transparency - 0.016666666666666666
4549
    end
4550
            coroutine.resume(coroutine.create(function()
4551
                local PITS = {}
4552
                CreateSound("178452217", ABSOLUTE, 10, 0.7)
4553
                for i = 1, 6 do
4554
                    for i = 1, 10 do
4555
                        Swait()
4556
                        Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really white", VT(-0.01, 0, -0.01))
4557
                        ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4558
                    end
4559
                    for i = 1, 10 do
4560
                        Swait()
4561
                        ABSOLUTE.Size = ABSOLUTE.Size * 1.12
4562
                    end
4563
                end
4564
                CreateSound("215395388", ABSOLUTE, 10, 0.6)
4565
                CreateSound("215395388", ABSOLUTE, 10, 0.65)
4566
                CreateSound("215395388", ABSOLUTE, 10, 0.7)
4567
                for i = 1, 75 do
4568
                    Swait()
4569
                    local ICICLE = IT("CornerWedgePart", Effects)
4570
                    ICICLE.Locked = true
4571
                    ICICLE.CanCollide = false
4572
                    ICICLE.Anchored = true
4573
                    ICICLE.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
4574
                    ICICLE.Material = "Neon"
4575
                    ICICLE.Size = VT(i / 3, i * 2, i / 3)
4576
                    ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
4577
                    table.insert(PITS, ICICLE)
4578
                    killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
4579
                    ABSOLUTE.Size = ABSOLUTE.Size * 1.03
4580
                    killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100)
4581
                    for i = 1, 3 do
4582
                        Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
4583
                    end
4584
                end
4585
                ABSOLUTE.Transparency = 0
4586
                for i = 1, 10 do
4587
                    Swait()
4588
                    ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4589
                    ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
4590
                end
4591
                Debris:AddItem(ABSOLUTE, 5)
4592
                Swait(50)
4593
                for i = 1, 10 do
4594
                    Swait()
4595
                    for e = 1, #PITS do
4596
                        if PITS[e] ~= nil then
4597
                            local E = PITS[e]
4598
                            E.Transparency = E.Transparency + 0.1
4599
                        end
4600
                    end
4601
                end
4602
                for e = 1, #PITS do
4603
                    if PITS[e] ~= nil then
4604
                        local E = PITS[e]
4605
                        E:remove()
4606
                    end
4607
                end
4608
            end))
4609
    MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(1, 1, 1), VT(2, 2, 2))
4610
    MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(1, 1, 1), VT(2, 2, 2))
4611
    CreateSound("314970790", ABSOLUTE, 10, 1)
4612
    Debris:AddItem(ABSOLUTE, 5)
4613
    RAY:remove()
4614
end
4615
function Command_Rush()
4616
    ATTACK = true
4617
    Rooted = false
4618
    for i = 0, 1, 0.1 / Animation_Speed do
4619
        Swait()
4620
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4621
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4622
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4623
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4624
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4625
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4626
    end
4627
    Rooted = true
4628
    local GYRO = IT("BodyGyro", RootPart)
4629
    GYRO.D = 100
4630
    GYRO.P = 2000
4631
    GYRO.MaxTorque = VT(0, 4000000, 0)
4632
    GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4633
    for i = 1, 15 do
4634
        for i = 1, 15 do
4635
            Swait()
4636
            GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4637
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4638
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4639
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4640
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4641
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4642
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4643
        end
4644
        coroutine.resume(coroutine.create(function()
4645
            local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0))
4646
            CreateSound("814168787", EYE, 10, 1)
4647
            EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
4648
            local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "82326541", "82327419", VT(0, 0, 0), VT(0, 0, 0))
4649
            MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1))
4650
            local ATTACKI = false
4651
            local TORS
4652
            for i = 1, 10 do
4653
                Swait()
4654
                M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
4655
                EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
4656
            end
4657
            for i = 1, 100 do
4658
                Swait()
4659
                for _, c in pairs(workspace:GetChildren()) do
4660
                    if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
4661
                        local HUMANOID = c:FindFirstChildOfClass("Humanoid")
4662
                        if 0 < HUMANOID.Health then
4663
                            local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
4664
                            if (TORSO.Position - EYE.Position).Magnitude < 35 then
4665
                                ATTACKI = true
4666
                                TORS = TORSO
4667
                            end
4668
                        end
4669
                    end
4670
                end
4671
                if ATTACKI == true then
4672
                    break
4673
                end
4674
                EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
4675
            end
4676
            if ATTACKI == false then
4677
                for i = 1, 10 do
4678
                    Swait()
4679
                    M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
4680
                    EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
4681
                end
4682
            else
4683
                if TORS ~= nil then
4684
                    CreateSound("215395388", EYE, 10, 2)
4685
                    local DIST = (TORS.Position - EYE.Position).Magnitude
4686
                    MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1))
4687
                    MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(0, 0, 0))
4688
                    MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1))
4689
                    EYE.CFrame = CF(EYE.Position, TORS.Position)
4690
                    TORS.Parent:BreakJoints()
4691
                    Swait(35)
4692
                end
4693
                for i = 1, 10 do
4694
                    Swait()
4695
                    M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
4696
                end
4697
            end
4698
            EYE:remove()
4699
        end))
4700
    end
4701
    GYRO:remove()
4702
    ATTACK = false
4703
    Rooted = false
4704
end
4705
function Ruler()
4706
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
4707
    if HITFLOOR ~= nil then
4708
        do
4709
            local HITBODIES = {}
4710
            ATTACK = true
4711
            Rooted = true
4712
            local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
4713
            ABSOLUTE.Color = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549)
4714
            MakeForm(ABSOLUTE, "Ball")
4715
            CreateSound("814168787", ABSOLUTE, 10, 0.3)
4716
            for i = 0, 4, 0.1 / Animation_Speed do
4717
                Swait()
4718
                ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
4719
                ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
4720
                ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
4721
                local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
4722
                MakeForm(CHARGE, "Ball")
4723
                CHARGE.Color = C3(0, 0, 0)
4724
                CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
4725
                FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
4726
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4727
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4728
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4729
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4730
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4731
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4732
            end
4733
            CreateSound("907333406", Head, 10, 1)
4734
            for i = 0, 2, 0.1 / Animation_Speed do
4735
                Swait()
4736
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4737
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4738
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4739
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4740
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4741
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4742
            end
4743
            coroutine.resume(coroutine.create(function()
4744
                local PITS = {}
4745
                CreateSound("178452217", ABSOLUTE, 10, 0.7)
4746
                for i = 1, 6 do
4747
                    for i = 1, 10 do
4748
                        Swait()
4749
                        Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
4750
                        ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4751
                    end
4752
                    for i = 1, 10 do
4753
                        Swait()
4754
                        ABSOLUTE.Size = ABSOLUTE.Size * 1.12
4755
                    end
4756
                end
4757
                CreateSound("215395388", ABSOLUTE, 10, 0.6)
4758
                CreateSound("215395388", ABSOLUTE, 10, 0.65)
4759
                CreateSound("215395388", ABSOLUTE, 10, 0.7)
4760
                for i = 1, 75 do
4761
                    Swait()
4762
                    local ICICLE = IT("CornerWedgePart", Effects)
4763
                    ICICLE.Locked = true
4764
                    ICICLE.CanCollide = false
4765
                    ICICLE.Anchored = true
4766
                    ICICLE.Color = C3(0, 0, 0)
4767
                    ICICLE.Material = "Neon"
4768
                    ICICLE.Size = VT(i / 3, i * 2, i / 3)
4769
                    ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
4770
                    table.insert(PITS, ICICLE)
4771
                    killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
4772
                    ABSOLUTE.Size = ABSOLUTE.Size * 1.03
4773
                    killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100)
4774
                    for i = 1, 3 do
4775
                        Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
4776
                    end
4777
                    CreateWave(VT(ABSOLUTE.Size.X / 1.5, 35, ABSOLUTE.Size.X / 1.5), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), false, 0, C3(0, 0, 0), VT(i / 3, 0, i / 3))
4778
                end
4779
                ABSOLUTE.Transparency = 0
4780
                for i = 1, 10 do
4781
                    Swait()
4782
                    ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4783
                    ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
4784
                end
4785
                Debris:AddItem(ABSOLUTE, 5)
4786
                Swait(50)
4787
                for i = 1, 10 do
4788
                    Swait()
4789
                    for e = 1, #PITS do
4790
                        if PITS[e] ~= nil then
4791
                            local E = PITS[e]
4792
                            E.Transparency = E.Transparency + 0.1
4793
                        end
4794
                    end
4795
                end
4796
                for e = 1, #PITS do
4797
                    if PITS[e] ~= nil then
4798
                        local E = PITS[e]
4799
                        E:remove()
4800
                    end
4801
                end
4802
            end))
4803
            ATTACK = false
4804
            Rooted = false
4805
        end
4806
    end
4807
end
4808
local Decal = IT("Decal")
4809
function Monarch_Hop()
4810
    ATTACK = true
4811
    Rooted = false
4812
    local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
4813
    O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
4814
    local decal = Decal:Clone()
4815
    decal.Parent = O1
4816
    decal.Face = "Top"
4817
    decal.Texture = "http://www.roblox.com/asset/?id=332014171"
4818
    local decal2 = Decal:Clone()
4819
    decal2.Parent = O1
4820
    decal2.Face = "Bottom"
4821
    decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
4822
    local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
4823
    local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
4824
    O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
4825
    local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
4826
    ROOT.CFrame = CF(O2.Position, RootPart.Position)
4827
    local decal = Decal:Clone()
4828
    decal.Parent = O2
4829
    decal.Face = "Top"
4830
    decal.Texture = "http://www.roblox.com/asset/?id=332014171"
4831
    local decal2 = Decal:Clone()
4832
    decal2.Parent = O2
4833
    decal2.Face = "Bottom"
4834
    decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
4835
    CreateSound("84005018", O1, 10, 0.7)
4836
    CreateSound("84005018", O2, 10, 0.7)
4837
    for i = 1, 75 do
4838
        Swait()
4839
        O1.Size = O1.Size + VT(0.1, 0, 0.1)
4840
        O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
4841
        O2.Size = O2.Size + VT(0.1, 0, 0.1)
4842
        O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
4843
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4844
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4845
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4846
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4847
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4848
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4849
    end
4850
    Rooted = true
4851
    UNANCHOR = false
4852
    RootPart.Anchored = true
4853
    VALUE1 = true
4854
    for i = 1, 15 do
4855
        Transparency(i / 15)
4856
        Swait()
4857
        RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
4858
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4859
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4860
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4861
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4862
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4863
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4864
    end
4865
    RootPart.CFrame = ROOT.CFrame
4866
    ROOT:remove()
4867
    for i = 1, 15 do
4868
        Transparency(1 - i / 15)
4869
        Swait()
4870
        RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
4871
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4872
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4873
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4874
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4875
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4876
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4877
    end
4878
    VALUE1 = false
4879
    coroutine.resume(coroutine.create(function()
4880
        for i = 1, 75 do
4881
            Swait()
4882
            O1.Size = O1.Size - VT(0.1, 0, 0.1)
4883
            O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
4884
            O2.Size = O2.Size - VT(0.1, 0, 0.1)
4885
            O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
4886
        end
4887
        O1:remove()
4888
        O2:remove()
4889
    end))
4890
    UNANCHOR = true
4891
    RootPart.Anchored = false
4892
    ATTACK = false
4893
    Rooted = false
4894
end
4895
 
4896
function R15Ragdoll(character,KeepArms)
4897
    character:BreakJoints()
4898
    coroutine.resume(coroutine.create(function()
4899
        recurse(character, function(_,v)
4900
            if v:IsA("Attachment") then
4901
                v.Axis = Vector3.new(0, 1, 0)
4902
                v.SecondaryAxis = Vector3.new(0, 0, 1)
4903
                v.Rotation = Vector3.new(0, 0, 0)
4904
            end
4905
        end)
4906
        for _,child in next,character:GetChildren() do
4907
            if child:IsA("Accoutrement") then
4908
                for _,part in next,child:GetChildren() do
4909
                    if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
4910
                        local attachment1 = part:FindFirstChildOfClass("Attachment")
4911
                        local attachment0 = getAttachment0(character,attachment1.Name)
4912
                        if attachment0 and attachment1 then
4913
                            local constraint = Instance.new("HingeConstraint")
4914
                            constraint.Attachment0 = attachment0
4915
                            constraint.Attachment1 = attachment1
4916
                            constraint.LimitsEnabled = true
4917
                            constraint.UpperAngle = 0
4918
                            constraint.LowerAngle = 0
4919
                            constraint.Parent = character
4920
                        end
4921
                        ArtificialHitbox(part)
4922
                    elseif part.Name == "HumanoidRootPart" then
4923
                        part:remove()
4924
                    end
4925
                end
4926
            end
4927
        end
4928
       
4929
        ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
4930
            {"LimitsEnabled",true};
4931
            {"UpperAngle",5};
4932
        })
4933
        if character:FindFirstChild("Head") then
4934
            ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
4935
                {"LimitsEnabled",true};
4936
                {"UpperAngle",15};
4937
            })
4938
        end
4939
       
4940
        local handProperties = {
4941
            {"LimitsEnabled", true};
4942
            {"UpperAngle",0};
4943
            {"LowerAngle",0};
4944
        }
4945
        ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
4946
        ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
4947
       
4948
        local shinProperties = {
4949
            {"LimitsEnabled", true};
4950
            {"UpperAngle", 0};
4951
            {"LowerAngle", -75};
4952
        }
4953
        ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
4954
        ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
4955
       
4956
        local footProperties = {
4957
            {"LimitsEnabled", true};
4958
            {"UpperAngle", 15};
4959
            {"LowerAngle", -45};
4960
        }
4961
        ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
4962
        ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
4963
        if KeepArms == true then
4964
            ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
4965
            ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
4966
            ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
4967
            ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
4968
        end
4969
        ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
4970
        ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
4971
        Debris:AddItem(character,5)
4972
    end))
4973
end
4974
 
4975
function Ragdoll(Character2,CharTorso,KeepArms)
4976
    coroutine.resume(coroutine.create(function()
4977
        Character2:BreakJoints()
4978
        local hum = Character2:findFirstChild("Humanoid")
4979
        hum:remove()
4980
        local function Scan(ch)
4981
            local e
4982
            for e = 1,#ch do
4983
                Scan(ch[e]:GetChildren())
4984
                if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
4985
                    ch[e]:remove()
4986
                end
4987
            end
4988
        end
4989
        local NEWHUM = IT("Humanoid")
4990
        NEWHUM.Name = "Corpse"
4991
        NEWHUM.Health = 0
4992
        NEWHUM.MaxHealth = 0
4993
        NEWHUM.PlatformStand = true
4994
        NEWHUM.Parent = Character2
4995
        NEWHUM.DisplayDistanceType = "None"
4996
   
4997
        local ch = Character2:GetChildren()
4998
        local i
4999
        for i = 1,#ch do
5000
            if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
5001
                ch[i]:remove()
5002
            end
5003
        end
5004
   
5005
        local Torso2 = Character2.Torso
5006
        local movevector = Vector3.new()
5007
   
5008
        if Torso2 then
5009
            movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
5010
            local Head = Character2:FindFirstChild("Head")
5011
            if Head then
5012
                local Neck = Instance.new("Weld")
5013
                Neck.Name = "Neck"
5014
                Neck.Part0 = Torso2
5015
                Neck.Part1 = Head
5016
                Neck.C0 = CFrame.new(0, 1.5, 0)
5017
                Neck.C1 = CFrame.new()
5018
                Neck.Parent = Torso2
5019
   
5020
            end
5021
            local Limb = Character2:FindFirstChild("Right Arm")
5022
            if Limb and KeepArms == true then
5023
   
5024
                Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
5025
                local Joint = Instance.new("Glue")
5026
                Joint.Name = "RightShoulder"
5027
                Joint.Part0 = Torso2
5028
                Joint.Part1 = Limb
5029
                Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
5030
                Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
5031
                Joint.Parent = Torso2
5032
   
5033
                local B = Instance.new("Part")
5034
                B.TopSurface = 0
5035
                B.BottomSurface = 0
5036
                B.formFactor = "Symmetric"
5037
                B.Size = Vector3.new(1, 1, 1)
5038
                B.Transparency = 1
5039
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
5040
                B.Parent = Character2
5041
                local W = Instance.new("Weld")
5042
                W.Part0 = Limb
5043
                W.Part1 = B
5044
                W.C0 = CFrame.new(0, -0.5, 0)
5045
                W.Parent = Limb
5046
   
5047
            end
5048
            local Limb = Character2:FindFirstChild("Left Arm")
5049
            if Limb and KeepArms == true then
5050
   
5051
                Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
5052
                local Joint = Instance.new("Glue")
5053
                Joint.Name = "LeftShoulder"
5054
                Joint.Part0 = Torso2
5055
                Joint.Part1 = Limb
5056
                Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
5057
                Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
5058
                Joint.Parent = Torso2
5059
   
5060
                local B = Instance.new("Part")
5061
                B.TopSurface = 0
5062
                B.BottomSurface = 0
5063
                B.formFactor = "Symmetric"
5064
                B.Size = Vector3.new(1, 1, 1)
5065
                B.Transparency = 1
5066
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
5067
                B.Parent = Character2
5068
                local W = Instance.new("Weld")
5069
                W.Part0 = Limb
5070
                W.Part1 = B
5071
                W.C0 = CFrame.new(0, -0.5, 0)
5072
                W.Parent = Limb
5073
   
5074
            end
5075
            local Limb = Character2:FindFirstChild("Right Leg")
5076
            if Limb then
5077
   
5078
                Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
5079
                local Joint = Instance.new("Glue")
5080
                Joint.Name = "RightHip"
5081
                Joint.Part0 = Torso2
5082
                Joint.Part1 = Limb
5083
                Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
5084
                Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
5085
                Joint.Parent = Torso2
5086
   
5087
                local B = Instance.new("Part")
5088
                B.TopSurface = 0
5089
                B.BottomSurface = 0
5090
                B.formFactor = "Symmetric"
5091
                B.Size = Vector3.new(1, 1, 1)
5092
                B.Transparency = 1
5093
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
5094
                B.Parent = Character2
5095
                local W = Instance.new("Weld")
5096
                W.Part0 = Limb
5097
                W.Part1 = B
5098
                W.C0 = CFrame.new(0, -0.5, 0)
5099
                W.Parent = Limb
5100
   
5101
            end
5102
            local Limb = Character2:FindFirstChild("Left Leg")
5103
            if Limb then
5104
   
5105
                Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
5106
                local Joint = Instance.new("Glue")
5107
                Joint.Name = "LeftHip"
5108
                Joint.Part0 = Torso2
5109
                Joint.Part1 = Limb
5110
                Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
5111
                Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
5112
                Joint.Parent = Torso2
5113
   
5114
                local B = Instance.new("Part")
5115
                B.TopSurface = 0
5116
                B.BottomSurface = 0
5117
                B.formFactor = "Symmetric"
5118
                B.Size = Vector3.new(1, 1, 1)
5119
                B.Transparency = 1
5120
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
5121
                B.Parent = Character2
5122
                local W = Instance.new("Weld")
5123
                W.Part0 = Limb
5124
                W.Part1 = B
5125
                W.C0 = CFrame.new(0, -0.5, 0)
5126
                W.Parent = Limb
5127
   
5128
            end
5129
            --[
5130
            local Bar = Instance.new("Part")
5131
            Bar.TopSurface = 0
5132
            Bar.BottomSurface = 0
5133
            Bar.formFactor = "Symmetric"
5134
            Bar.Size = Vector3.new(1, 1, 1)
5135
            Bar.Transparency = 1
5136
            Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
5137
            Bar.Parent = Character2
5138
            local Weld = Instance.new("Weld")
5139
            Weld.Part0 = Torso2
5140
            Weld.Part1 = Bar
5141
            Weld.C0 = CFrame.new(0, 0.5, 0)
5142
            Weld.Parent = Torso2
5143
            --]]
5144
        end
5145
        Character2.Parent = workspace
5146
        Debris:AddItem(Character2,5)
5147
   
5148
        return Character2,Torso2
5149
    end))
5150
end
5151
 
5152
function Roar()
5153
    ATTACK = true
5154
    Rooted = true
5155
    local VIOLENCE = 1
5156
    if VIOLENCE <= 10 then
5157
    MagicSphere(VT(0,0,0),15,Torso.CFrame,"Lime green",VT(2,2,2))
5158
        for i=0, 1, 0.1 / Animation_Speed do
5159
            Swait()
5160
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5161
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5162
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(22)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
5163
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-22)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
5164
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5165
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5166
        end
5167
        local TAUNT = CreateSound(VOCALS_ENRAGES[MRANDOM(1,#VOCALS_ENRAGES)], Torso, 10, 1, false)
5168
        repeat Swait() until TAUNT.TimeLength > 0
5169
        repeat
5170
            Swait()
5171
            ApplyAoE(Torso.Position,15,0,0,200,false)
5172
            local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
5173
            WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(15,0,15), Transparency = 1, Transparency2 = 1, CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
5174
            WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(35,0,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
5175
            TAUNT.Parent = Torso
5176
        Swait()
5177
        TAUNT.Parent = Torso
5178
        local CHILDREN = workspace:GetDescendants()
5179
        for index, CHILD in pairs(CHILDREN) do
5180
            if CHILD.ClassName == "Model" and CHILD ~= Character then
5181
                local HUM = CHILD:FindFirstChildOfClass("Humanoid")
5182
                if HUM then
5183
                    local TORSO = CHILD:FindFirstChild("Torso")
5184
                    if TORSO then
5185
                        if (TORSO.Position - Torso.Position).Magnitude <= 25 then
5186
                            WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5187
                            TORSO:remove()
5188
                            if CHILD:FindFirstChild("Torso") then
5189
                                Ragdoll(CHILD,Torso,true)
5190
                            elseif CHILD:FindFirstChild("UpperTorso") then
5191
                                R15Ragdoll(CHILD,true)
5192
                            end
5193
                        end
5194
                    end
5195
                end
5196
            end
5197
        end
5198
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -0.2*SIZE, -0.1*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
5199
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
5200
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(42)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5201
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(-42)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5202
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(25), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5203
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(45), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5204
        until TAUNT.TimePosition > TAUNT.TimeLength - 2
5205
    end
5206
    MagicSphere(VT(0,0,0),15,Torso.CFrame,"Lime green",VT(2,2,2))
5207
    ATTACK = false
5208
    Rooted = false
5209
end
5210
 
5211
function Blizzard()
5212
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
5213
    if HITFLOOR ~= nil then
5214
        ATTACK = true
5215
        Rooted = true
5216
        local GYRO = IT("BodyGyro", RootPart)
5217
        GYRO.D = 100
5218
        GYRO.P = 2000
5219
        GYRO.MaxTorque = VT(0, 4000000, 0)
5220
        GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
5221
        for i = 0, 3.5, 0.1 / Animation_Speed do
5222
            Swait()
5223
            MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0, 0, 0), VT(1, 0.1, 0.1) / 2)
5224
            GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
5225
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5226
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5227
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5228
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5229
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5230
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5231
        end
5232
        CreateSound("160772554", RightArm, 10, 0.7)
5233
        for i = 0, 0.15, 0.1 / Animation_Speed do
5234
            Swait()
5235
            MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0, 0, 0), VT(1, 0.1, 0.1) / 2)
5236
            GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
5237
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5238
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5239
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5240
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5241
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5242
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5243
        end
5244
        coroutine.resume(coroutine.create(function()
5245
            local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0))
5246
            CENTER.CFrame = RootPart.CFrame
5247
            for i = 1, 200 do
5248
                Swait()
5249
                CENTER.CFrame = CENTER.CFrame * CF(0, 0, -0.7)
5250
                for i = 1, 2 do
5251
                    Slice("Round", 0, 45, CF(CENTER.Position + VT(0, MRANDOM(-15, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(0.1, 0, 0.1) * MRANDOM(5, 15) / 10)
5252
                end
5253
                killnearest(CENTER.Position, 25, 10)
5254
            end
5255
            CENTER:remove()
5256
        end))
5257
        for i = 0, 1, 0.1 / Animation_Speed do
5258
            Swait()
5259
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5260
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5261
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5262
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5263
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5264
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5265
        end
5266
        Rooted = true
5267
        GYRO:remove()
5268
        ATTACK = false
5269
        Rooted = false
5270
    end
5271
end
5272
 
5273
local INTRO = false
5274
local INSTANT = false
5275
 
5276
function Intro()
5277
    ATTACK = true
5278
    Rooted = true
5279
    MODE = "intro"
5280
    tecks2.Text = "Dominus Switcher V2"
5281
coroutine.resume(coroutine.create(function()
5282
        wait(6)
5283
    BodyColor = C3(0,0,0)
5284
    LegColor = C3(0.03, 0, 0)
5285
    ArmColor = C3(0.13, 0, 0)
5286
    WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6})
5287
   
5288
        CreateSound(147722227, Torso, 4, 1.3, false)
5289
local eff = Instance.new("ParticleEmitter",Torso)
5290
eff.Texture = "rbxassetid://2273224484"
5291
eff.LightEmission = 1
5292
eff.Color = ColorSequence.new(BrickColor.random().Color)
5293
eff.Rate = 500000
5294
eff.Lifetime = NumberRange.new(1,3)
5295
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
5296
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
5297
eff.Speed = NumberRange.new(50,500)
5298
eff.Drag = 5
5299
eff.Rotation = NumberRange.new(-500,500)
5300
eff.VelocitySpread = 9000
5301
eff.RotSpeed = NumberRange.new(-50,50)
5302
    for _, c in pairs(Character:GetChildren()) do
5303
   
5304
            if c == Head then
5305
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "195696364", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
5306
                    M.Name = "Dominus"
5307
                if c:FindFirstChild("face") then
5308
                    c.face:remove()
5309
                end
5310
            end
5311
        end
5312
   
5313
        Swait(15)
5314
        CreateSound(1187613212, Torso, 4, 1.3, false)
5315
 
5316
    BodyColor = C3(1,3,2)
5317
    LegColor = C3(0.01, 0.03, 0.02)
5318
    ArmColor = C3(0.12, 0.13, 0.17)
5319
    WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6})
5320
   
5321
    for _, c in pairs(Character:GetChildren()) do
5322
        if c.ClassName == "Part" then
5323
            c.Material = "Neon"
5324
            if c:FindFirstChildOfClass("ParticleEmitter") then
5325
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
5326
            end
5327
            if c == Head then
5328
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
5329
                    M.Name = "Dominus"
5330
                if c:FindFirstChild("face") then
5331
                    c.face:remove()
5332
                end
5333
            end
5334
        end
5335
    end
5336
        Swait(15)
5337
        CreateSound(147722227, Torso, 4, 0.9, false)
5338
 
5339
    BodyColor = C3(1, 1, 1)
5340
    LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
5341
    ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549)  
5342
    WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6})
5343
   
5344
    for _, c in pairs(Character:GetChildren()) do
5345
        if c.ClassName == "Part" then
5346
            c.Material = "Neon"
5347
            if c:FindFirstChildOfClass("ParticleEmitter") then
5348
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
5349
            end
5350
            if c == Head then
5351
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
5352
                    M.Name = "Dominus"
5353
                if c:FindFirstChild("face") then
5354
                    c.face:remove()
5355
                end
5356
            end
5357
        end
5358
    end
5359
        Swait(60)
5360
        CreateSound(147722227, Torso, 4, 1, false)
5361
 
5362
    BodyColor = C3(0,0,0)
5363
    LegColor = C3(0.05,0,0)
5364
    ArmColor = C3(0.15,0.05,0.05)
5365
    WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6})
5366
   
5367
    for _, c in pairs(Character:GetChildren()) do
5368
        if c.ClassName == "Part" then
5369
            c.Material = "Neon"
5370
            if c:FindFirstChildOfClass("ParticleEmitter") then
5371
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
5372
            end
5373
            if c == Head then
5374
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "65645429", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
5375
                    M.Name = "Dominus"
5376
                if c:FindFirstChild("face") then
5377
                    c.face:remove()
5378
                end
5379
            end
5380
        end
5381
    end
5382
        Swait(15)
5383
        CreateSound(147722227, Torso, 4, 1.3, false)
5384
 
5385
    BodyColor = C3(0,0,0)
5386
    LegColor = C3(0,0,0)
5387
    ArmColor = C3(0.05,0.05,0.05)
5388
    WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BodyColor, SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6})
5389
   
5390
    for _, c in pairs(Character:GetChildren()) do
5391
        if c.ClassName == "Part" then
5392
            c.Material = "Neon"
5393
            if c:FindFirstChildOfClass("ParticleEmitter") then
5394
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
5395
            end
5396
            if c == Head then
5397
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
5398
                    M.Name = "Dominus"
5399
                if c:FindFirstChild("face") then
5400
                    c.face:remove()
5401
                end
5402
            end
5403
        end
5404
    end
5405
        Swait(15)
5406
        CreateSound(147722227, Torso, 4, 1.3, false)
5407
 
5408
    for _, c in pairs(Character:GetChildren()) do
5409
        if c.ClassName == "Part" then
5410
            c.Material = "Neon"
5411
            if c:FindFirstChildOfClass("ParticleEmitter") then
5412
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
5413
            end
5414
            if c == Torso then
5415
                c.Color = C3(0,0,0)
5416
            elseif c == RightArm then
5417
                c.Color = C3(0.05,0.05,0.15)
5418
            elseif c == LeftArm then
5419
                c.Color = C3(0.05,0.05,0.15)
5420
            elseif c == RightLeg then
5421
                c.Color = C3(0,0,0.05)
5422
            elseif c == LeftLeg then
5423
                c.Color = C3(0,0,0.05)
5424
            elseif c == Head then
5425
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
5426
                    M.Name = "Dominus"
5427
                if c:FindFirstChild("face") then
5428
                    c.face:remove()
5429
 
5430
                end
5431
            end
5432
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
5433
            c:remove()
5434
        end
5435
    end
5436
 
5437
   
5438
    eff.Enabled = false
5439
    for _, c in pairs(Character:GetChildren()) do
5440
            if c == Head then
5441
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
5442
                    M.Name = "Dominus"
5443
            end
5444
        end
5445
end))
5446
Swait(15)
5447
local BodyColor = C3(0,0,0)
5448
local LegColor = C3(0,0,0.05)
5449
local ArmColor = C3(0.05,0.05,0.15)
5450
    for _, c in pairs(Character:GetChildren()) do
5451
        if c.ClassName == "Part" then
5452
            c.Material = "Neon"
5453
            if c:FindFirstChildOfClass("ParticleEmitter") then
5454
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
5455
            end
5456
            if c == Torso then
5457
                c.Color = C3(0,0,0)
5458
            elseif c == RightArm then
5459
                c.Color = C3(0.05,0.05,0.15)
5460
            elseif c == LeftArm then
5461
                c.Color = C3(0.05,0.05,0.15)
5462
            elseif c == RightLeg then
5463
                c.Color = C3(0,0,0.05)
5464
            elseif c == LeftLeg then
5465
                c.Color = C3(0,0,0.05)
5466
            elseif c == Head then
5467
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
5468
                    M.Name = "Dominus"
5469
                if c:FindFirstChild("face") then
5470
                    c.face:remove()
5471
 
5472
                end
5473
            end
5474
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
5475
            c:remove()
5476
        end
5477
    end
5478
    repeat
5479
        Swait()
5480
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.5 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-3+3*COS(SINE/12)), RAD(0), RAD(9)), 1 / Animation_Speed)
5481
           
5482
             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-4 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5483
           
5484
              RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5485
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5486
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.7 - 0.3 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2+4*COS(SINE/12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5487
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.3 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2+7*COS(SINE/12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5488
 
5489
    until sick.TimePosition > 6
5490
    repeat
5491
        Swait()
5492
       
5493
   
5494
         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(3 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5495
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5496
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5497
           
5498
        RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
5499
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0 - 2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
5500
   
5501
 
5502
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5503
           
5504
   
5505
    until sick.TimePosition > 9
5506
BodyColor = C3(0,0,0)
5507
LegColor = C3(0,0,0.05)
5508
ArmColor = C3(0.05,0.05,0.15)
5509
    for _, c in pairs(Character:GetChildren()) do
5510
        if c.ClassName == "Part" then
5511
            c.Material = "Neon"
5512
            if c:FindFirstChildOfClass("ParticleEmitter") then
5513
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
5514
            end
5515
            if c == Torso then
5516
                c.Color = C3(0,0,0)
5517
            elseif c == RightArm then
5518
                c.Color = C3(0.05,0.05,0.15)
5519
            elseif c == LeftArm then
5520
                c.Color = C3(0.05,0.05,0.15)
5521
            elseif c == RightLeg then
5522
                c.Color = C3(0,0,0.05)
5523
            elseif c == LeftLeg then
5524
                c.Color = C3(0,0,0.05)
5525
            elseif c == Head then
5526
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
5527
                    M.Name = "Dominus"
5528
                if c:FindFirstChild("face") then
5529
                    c.face:remove()
5530
 
5531
                end
5532
            end
5533
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
5534
            c:remove()
5535
        end
5536
    end
5537
    ATTACK = false
5538
    Rooted = false
5539
    MODE = "Main"
5540
    end
5541
 
5542
local DAMAGEMULTIPLIER = 1
5543
 
5544
function ApplyDamage(Humanoid,Damage)
5545
    Damage = Damage * DAMAGEMULTIPLIER
5546
    if Humanoid.Health ~= 0 then
5547
        Humanoid.Health = Humanoid.Health - Damage
5548
    end
5549
end
5550
 
5551
function Shatter(Part)
5552
    if Part.Transparency < 1 then
5553
        local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0))
5554
        Debris:AddItem(SOUNDPART,5)
5555
        CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
5556
        local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
5557
        local SIZESET = SIZE/4
5558
        local XOffset = Part.Size.X*1.5/SIZESET
5559
        local YOffset = Part.Size.Y*1.5/SIZESET
5560
        local ZOffset = Part.Size.Z*1.5/SIZESET
5561
        for x = 1, math.ceil(XOffset) do
5562
            for y = 1, math.ceil(YOffset) do
5563
                for z = 1, math.ceil(ZOffset) do
5564
                    local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
5565
                    SHARD.CanCollide = true
5566
                    SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4))
5567
                    SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
5568
                    Debris:AddItem(SHARD,MRANDOM(10,25)/10)
5569
                    for _, c in pairs(Part:GetChildren()) do
5570
                        if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
5571
                            c:Clone().Parent = SHARD
5572
                        end
5573
                    end
5574
                end
5575
            end
5576
        end
5577
    end
5578
    Part:remove()
5579
end
5580
 
5581
 
5582
function Kill(Victim,Fire)
5583
    coroutine.resume(coroutine.create(function()
5584
        local NIL = script.TotalNil:Clone()
5585
        NIL.Parent = Victim
5586
        NIL.Disabled = false
5587
        if Fire ~= true then
5588
            Victim:BreakJoints()
5589
            for _, c in pairs(Victim:GetChildren()) do
5590
                if c:IsA("BasePart") then
5591
                    c.Anchored = true
5592
                end
5593
            end
5594
            for _, c in pairs(Victim:GetChildren()) do
5595
                if c:IsA("BasePart") then
5596
                    Shatter(c)
5597
                end
5598
            end
5599
        else
5600
            Victim:BreakJoints()
5601
            local FIRES = {}
5602
            for _, e in pairs(Victim:GetDescendants()) do
5603
                if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
5604
                    e.Transparency = 1
5605
                    e:ClearAllChildren()
5606
                    local FIRE = script.HellFire:Clone()
5607
                    FIRE.Parent = e
5608
                    FIRE.Enabled = true
5609
                    table.insert(FIRES,FIRE)
5610
                elseif e.ClassName == "Decal" then
5611
                    e:remove()
5612
                end
5613
            end
5614
            for i = 1, 50 do
5615
                Victim:BreakJoints()
5616
                wait()
5617
            end
5618
            for i = 1, #FIRES do
5619
                FIRES[i].Enabled = false
5620
            end
5621
            wait(1.1)
5622
            Victim:remove()
5623
        end
5624
    end))
5625
end
5626
 
5627
function ApplyDeathAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION)
5628
    local CHILDREN = workspace:GetDescendants()
5629
    for index, CHILD in pairs(CHILDREN) do
5630
        if CHILD.ClassName == "Model" and CHILD ~= Character then
5631
            local HUM = CHILD:FindFirstChildOfClass("Humanoid")
5632
            if HUM then
5633
                local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
5634
                if TORSO then
5635
                    if (TORSO.Position - POSITION).Magnitude <= RANGE then
5636
                        if INSTAKILL == true then
5637
                            CHILD:BreakJoints()
5638
                            if OPTION ~= nil then
5639
                                Kill(CHILD,OPTION)
5640
                            end
5641
                        else
5642
                            local DMG = MRANDOM(MINDMG,MAXDMG)
5643
                            ApplyDamage(HUM,DMG)
5644
                        end
5645
                        if FLING ~= 0 then
5646
                            for _, c in pairs(CHILD:GetChildren()) do
5647
                                if c:IsA("BasePart") then
5648
                                    local bv = Instance.new("BodyVelocity")
5649
                                    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5650
                                    bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
5651
                                    bv.Parent = c
5652
                                    Debris:AddItem(bv,0.05)
5653
                                end
5654
                            end
5655
                        end
5656
                    end
5657
                end
5658
            end
5659
        end
5660
    end
5661
end
5662
 
5663
function FingerMagic()
5664
    ATTACK = true
5665
    Rooted = false
5666
    for i=0, 0.1, 0.1 / Animation_Speed do
5667
        Swait()
5668
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5669
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5670
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5671
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5672
    end
5673
    for i=0, 1, 0.1 / Animation_Speed do
5674
        Swait()
5675
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5676
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5677
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5678
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5679
    end
5680
    WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
5681
    for i = 1, 5 do
5682
        WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,7,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 2, SoundVolume = 1})
5683
    end
5684
    CreateSound(217767125, LeftArm, 10, 1, false)
5685
    coroutine.resume(coroutine.create(function()
5686
        local EXPLODED = false
5687
        for i = 1, 3 do
5688
            coroutine.resume(coroutine.create(function()
5689
                local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
5690
                if HITFLOOR then
5691
                    local CFRAME = CF(HITPOS) * ANGLES(RAD(0), RAD((360/3)*i), RAD(0))
5692
                    for i = 1, 35 do
5693
                        wait()
5694
                        for _, c in pairs(workspace:GetChildren()) do
5695
                            if EXPLODED == false and c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
5696
                                local HUM = c:FindFirstChildOfClass("Humanoid")
5697
                                local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
5698
                                if TORSO and HUM.Health > 0 then
5699
                                    if (TORSO.Position - CFRAME.p).Magnitude < 10 then
5700
                                        EXPLODED = true
5701
                                        coroutine.resume(coroutine.create(function()
5702
                                            for i = 1, 15 do
5703
                                                ApplyDeathAoE(CFRAME*CF(0,10,0).p,30+(i*4),0,0,-35,false)
5704
                                                wait(0.2)
5705
                                                WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15+(i*2),5,15+(i*2)), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
5706
                                                WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
5707
                                                WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(12,12,12)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.7,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 1})
5708
                                            end
5709
                                            WACKYEFFECT({Time = 50, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
5710
                                            wait(1)
5711
                                            WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(100,100,100)*5, Transparency = 0.4, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0,0), SoundID = 461105534, SoundPitch = 1, SoundVolume = 10})
5712
                                            local PART = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
5713
                                            PART.CFrame = CFRAME*CF(0,10,0)
5714
                                            Debris:AddItem(PART,10)
5715
                                            local PARTICLES = script.Explode:Clone()
5716
                                            PARTICLES.Parent = PART
5717
                                            PARTICLES:Emit(500)
5718
                                            ApplyDeathAoE(CFRAME*CF(0,10,0).p,45*2,0,0,350,true)
5719
                                            WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(90,90,90)*2, Transparency = 0.8, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3})
5720
                                            WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(0), RAD(90), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5721
                                            WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5722
                                        end))
5723
                                    end
5724
                                end
5725
                            end
5726
                        end
5727
                        if EXPLODED == true then
5728
                            break
5729
                        end
5730
                        CFRAME = CFRAME * ANGLES(RAD(0), RAD(10), RAD(0)) * CF(0,0,-3)
5731
                        WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(10,15,10), Size2 = VT(0,35,0), Transparency = 1, Transparency2 = 0.9, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
5732
                        WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(15,15,15), Size2 = VT(0,25,0), Transparency = 1, Transparency2 = 0.6, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
5733
                    end
5734
                end
5735
            end))
5736
        end
5737
    end))
5738
    for i=0, 1, 0.1 / Animation_Speed do
5739
        Swait()
5740
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5741
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5742
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5743
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(170), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5744
    end
5745
    ATTACK = false
5746
    Rooted = false
5747
end
5748
 
5749
function EMOTE()
5750
    ATTACK = true
5751
    Rooted = false
5752
    local LOOP = 0
5753
    for i=0, 0.1, 0.1 / Animation_Speed do
5754
        Swait()
5755
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5756
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5757
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5758
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5759
    end
5760
    for i=0, 3, 0.1 / Animation_Speed do
5761
        Swait()
5762
        LOOP = LOOP + 1
5763
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5764
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5765
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5766
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5767
    end
5768
    for i=0, 0.1, 0.1 / Animation_Speed do
5769
        Swait()
5770
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5771
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5772
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5773
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5774
    end
5775
    ATTACK = false
5776
    Rooted = false
5777
end
5778
 
5779
function Roar()
5780
    ATTACK = true
5781
    Rooted = true
5782
    local ROAR = CreateSound("199978176", Head, 10, 1)
5783
    Swait()
5784
    repeat
5785
        Swait()
5786
        ROAR.Parent = Head
5787
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5788
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5789
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5790
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5791
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5792
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5793
    until ROAR.Playing == false
5794
    ATTACK = false
5795
    Rooted = false
5796
end
5797
 
5798
function Minutes()
5799
    ATTACK = true
5800
    Rooted = false
5801
    CreateSound(159882644, Character, 10, 1, false)
5802
    for i=0, 3.5, 0.1 / Animation_Speed do
5803
        Swait()
5804
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(2 + math.cos(SINE / 70) * math.cos(SINE / 20) - 2, 0 , 5 + 1.5* Player_Size * math.cos(SINE / 20)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5805
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5806
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
5807
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5808
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5809
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5810
    end
5811
    ATTACK = false
5812
    Rooted = false
5813
end
5814
 
5815
function TenebrisTAUNT1()
5816
    ATTACK = true
5817
    Rooted = false
5818
    CreateSound(865772398, Torso, 6, 1, false)
5819
    for i=0, 0.1, 0.1 / Animation_Speed do
5820
        Swait()
5821
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5822
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5823
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5824
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5825
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5826
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5827
    end
5828
    for i=0, 1, 0.1 / Animation_Speed do
5829
        Swait()
5830
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5831
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5832
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5833
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5834
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5835
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5836
    end
5837
    for i=0, 1, 0.1 / Animation_Speed do
5838
        Swait()
5839
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5840
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5841
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5842
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5843
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5844
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5845
    end
5846
    ATTACK = false
5847
    Rooted = false
5848
end
5849
 
5850
function Roar2()
5851
    ATTACK = true
5852
    Rooted = true
5853
    local ROAR = CreateSound("528589078", Head, 10, 1)
5854
    Swait()
5855
    repeat
5856
        Swait()
5857
        ROAR.Parent = Head
5858
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5859
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5860
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5861
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5862
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5863
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5864
    until ROAR.Playing == false
5865
    ATTACK = false
5866
    Rooted = false
5867
end
5868
 
5869
--//=================================\\
5870
--||      ASSIGN THINGS TO KEYS
5871
--\\=================================//
5872
 
5873
function MouseDown(Mouse)
5874
    if ATTACK == false then
5875
    end
5876
end
5877
 
5878
function MouseUp(Mouse)
5879
HOLD = false
5880
end
5881
 
5882
local FLIGHT = false
5883
 
5884
function KeyDown(Key)
5885
    KEYHOLD = true
5886
    if Key == "z" and ATTACK == false then
5887
        if MODE == "Main" then
5888
        Lunar_Blast()
5889
        elseif MODE == "Phaedra" then
5890
        Dolor_Pluvia()
5891
        elseif MODE == "Tenebris" then
5892
        Dark_Blast()
5893
        elseif MODE == "Fugatrix" then
5894
        Banisher_Bullet()
5895
        elseif MODE == "Praefectus" then
5896
        Governor_Bomb()
5897
        elseif MODE == "Demonum" then
5898
        Governor_Bomb2()
5899
        elseif MODE == "Mortem" then
5900
        Dead_Bullet()
5901
        elseif MODE == "Ultra Phaedra" then
5902
        Ultimate_Z()
5903
    end
5904
end
5905
 
5906
    if Key == "t" and ATTACK == false then
5907
        if MODE == "Main" then
5908
        CreateSound("907330011", Head, 10, 1.2)
5909
        elseif MODE == "Phaedra" then
5910
        Roar()
5911
        elseif MODE == "Tenebris" then
5912
        TenebrisTAUNT1()
5913
        elseif MODE == "Maris" then
5914
        Minutes()
5915
        elseif MODE == "Fugatrix" then
5916
        CreateSound(221057812,Torso,10,1,false)
5917
        elseif MODE == "Praefectus" then
5918
        ATTACK = true
5919
        CreateSound(363808674, Torso, 6, 1, false)
5920
        for i=0, 0.6, 0.1 / Animation_Speed do
5921
            Swait()
5922
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5923
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
5924
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5925
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5926
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5927
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5928
        end
5929
        for i=0, 0.6, 0.1 / Animation_Speed do
5930
            Swait()
5931
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5932
 
5933
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
5934
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5935
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5936
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5937
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5938
        end
5939
        ATTACK = false
5940
        elseif MODE == "Demonum" then
5941
        Roar2()
5942
        elseif MODE == "Mortem" then
5943
        EMOTE()
5944
        elseif MODE == "Ultra Phaedra" then
5945
        Roar()
5946
    end
5947
end
5948
 
5949
if Key == "space" then
5950
Humanoid.Jump = true
5951
end
5952
 
5953
    if Key == "zero" and ATTACK == false then
5954
        PhForm()
5955
    end
5956
 
5957
    if Key == "semicolon" and ATTACK == false then
5958
        FinalForm()
5959
    end
5960
 
5961
    if Key == "m" and ATTACK == false and MODE == "Phaedra" then
5962
        UpForm()
5963
    end
5964
 
5965
    if Key == "zero" and ATTACK == false and MODE == "Ultra Phaedra" then
5966
        UpForm()
5967
    end
5968
 
5969
    if Key == "m" and ATTACK == false and MODE == "Praefectus" then
5970
        DeForm()
5971
    end
5972
 
5973
    if Key == "three" and ATTACK == false and MODE == "Demonum" then
5974
        DeForm()
5975
    end
5976
 
5977
    if Key == "three" and ATTACK == false then
5978
        PrForm()
5979
    end
5980
 
5981
    if Key == "m" and ATTACK == false and MODE == "Tenebris" then
5982
        VeForm()
5983
    end
5984
 
5985
    if Key == "one" and ATTACK == false and MODE == "Venari" then
5986
        VeForm()
5987
    end
5988
 
5989
    if Key == "four" and ATTACK == false then
5990
        InForm()
5991
    end
5992
 
5993
    if Key == "x" and ATTACK == false and MODE == "Phaedra" then
5994
        LEVEL = 3
5995
        Ultima_Consummatio()
5996
        LEVEL = 1
5997
    end
5998
 
5999
    if Key == "m" and ATTACK == false and MODE == "Fugatrix" then
6000
        DeathForm()
6001
    end
6002
 
6003
    if Key == "two" and ATTACK == false and MODE == "Mortem" then
6004
        DeathForm()
6005
    end
6006
 
6007
    if Key == "two" and ATTACK == false then
6008
        BaForm()
6009
    end
6010
 
6011
    if Key == "one" and ATTACK == false then
6012
        TeForm()
6013
    end
6014
 
6015
    if Key == "b" and ATTACK == false then
6016
        if MODE == "Main" then
6017
            Star_Cutter()
6018
        elseif MODE == "Phaedra" then
6019
            Ignem_Aeternum()
6020
        elseif MODE == "Tenebris" then
6021
            Dark_Cutter()
6022
        elseif MODE == "Fugatrix" then
6023
            Ruler2()
6024
        elseif MODE == "Praefectus" then
6025
            Command_Rush()
6026
        elseif MODE == "Demonum" then
6027
            Blizzard()
6028
        elseif MODE == "Ultra Phaedra" then
6029
            Ultimate_B()
6030
        elseif MODE == "Mortem" then
6031
            Dead_Cutter()
6032
        end
6033
    end
6034
 
6035
    if Key == "c" and ATTACK == false then
6036
        if MODE == "Main" then
6037
        Supernova()
6038
        elseif MODE == "Phaedra" then
6039
        Ultima_Consummatio()
6040
        elseif MODE == "Tenebris" then
6041
        SupernovaThrow()
6042
        elseif MODE == "Fugatrix" then
6043
        Ultima_ConsummatioB()
6044
        elseif MODE == "Praefectus" then
6045
        Ruler()
6046
        elseif MODE == "Demonum" then
6047
        SupernovaThrow()
6048
        elseif MODE == "Ultra Phaedra" then
6049
        Governor_Bomb3()
6050
        elseif MODE == "Mortem" then
6051
        FingerMagic()
6052
        end
6053
    end
6054
 
6055
    if Key == "q" and ATTACK == false then
6056
        if MODE == "Main" then
6057
        Astral_Hop()
6058
        elseif MODE == "Phaedra" then
6059
        Hop()
6060
        elseif MODE == "Tenebris" then
6061
        Astral_Hop()
6062
        elseif MODE == "Venari" then
6063
        SummonHop()
6064
        elseif MODE == "Fugatrix" then
6065
        Banish_Hop()
6066
        elseif MODE == "Praefectus" then
6067
        Monarch_Hop()
6068
        elseif MODE == "Demonum" then
6069
        Banish_Hop()
6070
        elseif MODE == "Mortem" then
6071
        Banish_Hop()
6072
        elseif MODE == "Ultra Phaedra" then
6073
        Hop()
6074
        end
6075
    end
6076
end
6077
 
6078
function KeyUp(Key)
6079
    KEYHOLD = false
6080
end
6081
 
6082
    Mouse.Button1Down:connect(function(NEWKEY)
6083
        MouseDown(NEWKEY)
6084
    end)
6085
    Mouse.Button1Up:connect(function(NEWKEY)
6086
        MouseUp(NEWKEY)
6087
    end)
6088
    Mouse.KeyDown:connect(function(NEWKEY)
6089
        KeyDown(NEWKEY)
6090
    end)
6091
    Mouse.KeyUp:connect(function(NEWKEY)
6092
        KeyUp(NEWKEY)
6093
    end)
6094
 
6095
--//=================================\\
6096
--\\=================================//
6097
 
6098
 
6099
function unanchor()
6100
    if UNANCHOR == true then
6101
        g = Character:GetChildren()
6102
        for i = 1, #g do
6103
            if g[i].ClassName == "Part" then
6104
                g[i].Anchored = false
6105
            end
6106
        end
6107
    g = Weapon:GetChildren()
6108
    for i = 1, #g do
6109
        if g[i].ClassName == "Part" then
6110
            g[i].Anchored = false
6111
        end
6112
    end
6113
    end
6114
end
6115
 
6116
 
6117
--//=================================\\
6118
--||    WRAP THE WHOLE SCRIPT UP
6119
--\\=================================//
6120
 
6121
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
6122
local type = type
6123
local rotenable = rotatingop
6124
local rng = Instance.new("Part", Character)
6125
        rng.Anchored = true
6126
        rng.BrickColor = color
6127
        rng.CanCollide = false
6128
        rng.FormFactor = 3
6129
        rng.Name = "Ring"
6130
        rng.Material = "Neon"
6131
        rng.Size = Vector3.new(1, 1, 1)
6132
        rng.Transparency = 0
6133
if typeoftrans == "In" then
6134
rng.Transparency = 1
6135
end
6136
        rng.TopSurface = 0
6137
        rng.BottomSurface = 0
6138
        rng.CFrame = pos
6139
        local rngm = Instance.new("SpecialMesh", rng)
6140
        rngm.MeshType = "FileMesh"
6141
if typeofshape == "Normal" then
6142
rngm.MeshId = "rbxassetid://662586858"
6143
elseif typeofshape == "Round" then
6144
rngm.MeshId = "rbxassetid://662585058"
6145
end
6146
rngm.Scale = scale
6147
local scaler2 = 1/10
6148
if type == "Add" then
6149
scaler2 = 1*value/10
6150
elseif type == "Divide" then
6151
scaler2 = 1/value/10
6152
end
6153
local randomrot = math.random(1,2)
6154
coroutine.resume(coroutine.create(function()
6155
for i = 0,10/bonuspeed,0.1 do
6156
Swait()
6157
if type == "Add" then
6158
scaler2 = scaler2 - 0.01*value/bonuspeed/10
6159
elseif type == "Divide" then
6160
scaler2 = scaler2 - 0.01/value*bonuspeed/10
6161
end
6162
if rotenable == true then
6163
if randomrot == 1 then
6164
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
6165
elseif randomrot == 2 then
6166
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
6167
end
6168
end
6169
if typeoftrans == "Out" then
6170
rng.Transparency = rng.Transparency + 0.01*bonuspeed
6171
elseif typeoftrans == "In" then
6172
rng.Transparency = rng.Transparency - 0.01*bonuspeed
6173
end
6174
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
6175
end
6176
rng:Destroy()
6177
end))
6178
end
6179
 
6180
Humanoid.Changed:connect(function(Jump)
6181
    if Jump == "Jump" and (Disable_Jump == true) then
6182
        Humanoid.Jump = false
6183
    end
6184
end)
6185
 
6186
Humanoid.HipHeight = 2
6187
Head:ClearAllChildren()
6188
 
6189
Speed = 35
6190
 
6191
local BODY = {}
6192
for _, c in pairs(Character:GetDescendants()) do
6193
    if c:IsA("BasePart") and c.Name ~= "Handle" then
6194
        if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
6195
            c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
6196
        end
6197
        table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
6198
    elseif c:IsA("JointInstance") then
6199
        table.insert(BODY,{c,c.Parent,nil,nil,nil})
6200
    end
6201
end
6202
for e = 1, #BODY do
6203
    if BODY[e] ~= nil then
6204
        local STUFF = BODY[e]
6205
        local PART = STUFF[1]
6206
        local PARENT = STUFF[2]
6207
        local MATERIAL = STUFF[3]
6208
        local COLOR = STUFF[4]
6209
        local TRANSPARENCY = STUFF[5]
6210
        if PART.ClassName == "Part" and PART ~= RootPart then
6211
            PART.Transparency = TRANSPARENCY
6212
        end
6213
        PART.AncestryChanged:Connect(function()
6214
            PART.Parent = PARENT
6215
        end)
6216
    end
6217
end
6218
function refit2()
6219
    Character.Parent = workspace
6220
    for e = 1, #BODY do
6221
        if BODY[e] ~= nil then
6222
            local STUFF = BODY[e]
6223
            local PART = STUFF[1]
6224
            local PARENT = STUFF[2]
6225
 
6226
            local TRANSPARENCY = STUFF[5]
6227
            if PART:IsA("BasePart") and PART ~= RootPart then
6228
 
6229
                PART.Transparency = TRANSPARENCY
6230
            end
6231
            if PART.Parent ~= PARENT then
6232
                Humanoid:remove()
6233
                PART.Parent = PARENT
6234
                Humanoid = IT("Humanoid",Character)
6235
 
6236
            end
6237
        end
6238
    end
6239
end
6240
 
6241
local EXTRATRANS = 0
6242
 
6243
function refit3()
6244
    Character.Parent = workspace
6245
    for e = 1, #BODY do
6246
        if BODY[e] ~= nil then
6247
            local STUFF = BODY[e]
6248
            local PART = STUFF[1]
6249
            local PARENT = STUFF[2]
6250
            local MATERIAL = STUFF[3]
6251
            local COLOR = STUFF[4]
6252
            local TRANSPARENCY = STUFF[5]
6253
            if PART:IsA("BasePart") and PART ~= RootPart then
6254
                PART.Transparency = TRANSPARENCY+EXTRATRANS
6255
            end
6256
            if PART.Parent ~= PARENT then
6257
                Humanoid:remove()
6258
                PART.Parent = PARENT
6259
                Humanoid = IT("Humanoid",Character)
6260
            end
6261
        end
6262
    end
6263
end
6264
 
6265
Humanoid.Died:connect(function()
6266
    refit3()
6267
    refit2()
6268
end)
6269
 
6270
 
6271
 
6272
local FOUNDFORGOTTEN = false
6273
 
6274
    for _, c in pairs(Character:GetChildren()) do
6275
            if c == Head then
6276
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
6277
                    M.Name = "Dominus"
6278
            end
6279
        end
6280
 
6281
function CreateParta(parent,transparency,reflectance,material,brickcolor)
6282
local p = Instance.new("Part")
6283
p.TopSurface = 0
6284
p.BottomSurface = 0
6285
p.Parent = parent
6286
p.Size = Vector3.new(0.1,0.1,0.1)
6287
p.Transparency = transparency
6288
p.Reflectance = reflectance
6289
p.CanCollide = false
6290
p.Locked = true
6291
p.BrickColor = brickcolor
6292
p.Material = material
6293
return p
6294
end
6295
 
6296
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
6297
local weld = Instance.new("Weld")
6298
weld.Parent = parent
6299
weld.Part0 = part0
6300
weld.Part1 = part1
6301
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
6302
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
6303
return weld
6304
end
6305
 
6306
local m = Instance.new("Model",Character)
6307
 
6308
local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
6309
CreateWeld(cen,RootPart,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
6310
 
6311
local effar = Instance.new("ParticleEmitter",cen)
6312
effar.Texture = "rbxassetid://2344870656"
6313
effar.LightEmission = 1
6314
effar.Color = ColorSequence.new(Color3.new(1,0,0))
6315
effar.Rate = 50
6316
effar.Enabled = false
6317
effar.EmissionDirection = "Front"
6318
effar.Lifetime = NumberRange.new(1)
6319
effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
6320
effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
6321
effar.Speed = NumberRange.new(80,90)
6322
effar.Acceleration = Vector3.new(0,10,0)
6323
effar.Drag = 5
6324
effar.Rotation = NumberRange.new(-500,500)
6325
effar.SpreadAngle = Vector2.new(0,900)
6326
effar.RotSpeed = NumberRange.new(-500,500)
6327
 
6328
while true do
6329
    Swait()
6330
    ANIMATE.Parent = nil
6331
    Humanoid.HipHeight = 2
6332
    SINE = SINE + CHANGE
6333
    local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
6334
    local TORSOVERTICALVELOCITY = RootPart.Velocity.y
6335
    local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
6336
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
6337
    if ATTACK == false then
6338
        if TORSOVELOCITY < 1 and MODE == "Main" then
6339
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6340
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6341
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6342
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6343
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6344
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6345
        elseif TORSOVELOCITY > 1 and MODE == "Main" then
6346
            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)
6347
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6348
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6349
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6350
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6351
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6352
        elseif TORSOVELOCITY < 1 and MODE == "Demonum" then
6353
        SKILLTEXTCOLOR = C3(1, 0, 0)
6354
        SKILLTEXTCOLOR2 = C3(0,0,0)
6355
        local snap = math.random(1,2)
6356
        if snap == 1 then
6357
            SKILLTEXTCOLOR = C3(0,0,0)
6358
            SKILLTEXTCOLOR2 = C3(1,0,0)
6359
        end
6360
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.5 * SIN(SINE / 12), 0 + 0.25 * COS(SINE / 32), 1 + 1 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 24))), 1 / Animation_Speed)
6361
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6362
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9*SIZE, 0.5*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6363
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9*SIZE, 0.25*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
6364
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6365
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6366
        elseif TORSOVELOCITY > 1 and MODE == "Demonum" then
6367
        SKILLTEXTCOLOR = C3(1, 0, 0)
6368
        SKILLTEXTCOLOR2 = C3(0,0,0)
6369
        local snap = math.random(1,2)
6370
        if snap == 1 then
6371
            SKILLTEXTCOLOR = C3(0,0,0)
6372
            SKILLTEXTCOLOR2 = C3(1,0,0)
6373
        end
6374
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.5 * SIN(SINE / 12), 0 + 0.25 * COS(SINE / 32), 1 + 1 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 24))), 1 / Animation_Speed)
6375
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6376
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9*SIZE, 0.5*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6377
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9*SIZE, 0.25*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
6378
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6379
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6380
        elseif TORSOVELOCITY < 1 and MODE == "Phaedra" then
6381
        SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
6382
        SKILLTEXTCOLOR2 = C3(1,1,1)
6383
        local snap = math.random(1,2)
6384
        if snap == 1 then
6385
            SKILLTEXTCOLOR = C3(1,1,1)
6386
            SKILLTEXTCOLOR2 = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
6387
        end
6388
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6389
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 24)), RAD(9*SIN(SINE/24)), RAD(6*SIN(SINE/24))), 1 / Animation_Speed)
6390
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6391
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6392
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6393
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6394
        elseif TORSOVELOCITY > 1 and MODE == "Phaedra" then
6395
        SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
6396
        SKILLTEXTCOLOR2 = C3(1,1,1)
6397
        local snap = math.random(1,2)
6398
        if snap == 1 then
6399
            SKILLTEXTCOLOR2 = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
6400
            SKILLTEXTCOLOR = C3(1,1,1)
6401
        end
6402
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6403
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(15 * SIN(SINE / 28)), RAD(5 * SIN(SINE / 12))), 1 / Animation_Speed)
6404
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6405
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6406
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6407
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6408
        elseif TORSOVELOCITY < 1 and MODE == "Tenebris" then
6409
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6410
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6411
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6412
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
6413
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6414
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6415
        elseif TORSOVELOCITY > 1 and MODE == "Tenebris" then
6416
            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)
6417
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6418
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6419
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
6420
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6421
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6422
        elseif TORSOVELOCITY < 1 and MODE == "Fugatrix" then
6423
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6424
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6425
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6426
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6427
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6428
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6429
        elseif TORSOVELOCITY > 1 and MODE == "Fugatrix" then
6430
            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)
6431
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6432
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6433
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6434
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6435
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6436
        elseif TORSOVELOCITY < 1 and MODE == "Praefectus" then
6437
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6438
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6439
            if MRANDOM(1,7) == 1 then
6440
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
6441
            end
6442
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6443
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6444
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6445
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6446
        elseif TORSOVELOCITY > 1 and MODE == "Praefectus" then
6447
            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)
6448
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6449
            if MRANDOM(1,7) == 1 then
6450
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
6451
            end
6452
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6453
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6454
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6455
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6456
        elseif TORSOVELOCITY < 1 and MODE == "Venari" then
6457
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6458
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6459
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6460
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6461
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6462
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6463
        elseif TORSOVELOCITY > 1 and MODE == "Venari" then
6464
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 1 + 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)
6465
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6466
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6467
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6468
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6469
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6470
        elseif TORSOVELOCITY < 1 and MODE == "Ultra Phaedra" then
6471
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6472
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 24)), RAD(9*SIN(SINE/24)), RAD(6*SIN(SINE/24))), 1 / Animation_Speed)
6473
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6474
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.1 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6475
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6476
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6477
        elseif TORSOVELOCITY > 1 and MODE == "Ultra Phaedra" then
6478
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 1 * SIN(SINE / 22), 0, 2 + 1.5 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6479
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(15 * SIN(SINE / 28)), RAD(5 * SIN(SINE / 12))), 1 / Animation_Speed)
6480
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6481
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6482
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6483
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6484
        elseif TORSOVELOCITY < 1 and MODE == "Mortem" then
6485
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6486
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6487
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6488
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6489
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6490
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6491
        elseif TORSOVELOCITY > 1 and MODE == "Mortem" then
6492
            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(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6493
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6494
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.6) * ANGLES(RAD(165), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6495
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6496
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6497
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6498
        elseif TORSOVELOCITY < 1 and MODE == "Maris" then
6499
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(2 + math.cos(SINE / 70) * math.cos(SINE / 20) - 2, 0 , 5 + 1.5* Player_Size * math.cos(SINE / 20)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6500
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6501
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6502
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6503
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6504
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6505
            elseif TORSOVELOCITY > 1 and MODE == "Maris" then
6506
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(2 + math.cos(SINE / 70) * math.cos(SINE / 20) - 2, 0 , 5 + 1.5* Player_Size * math.cos(SINE / 20)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6507
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6508
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6509
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6510
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6511
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6512
        elseif TORSOVELOCITY < 1 and MODE == "Insaniam" then
6513
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6514
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6515
            if MRANDOM(1,2) == 1 then
6516
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
6517
            end
6518
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
6519
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
6520
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6521
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6522
            elseif TORSOVELOCITY > 1 and MODE == "Insaniam" then
6523
            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)
6524
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
6525
            if MRANDOM(1,2) == 1 then
6526
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
6527
            end
6528
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6529
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
6530
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6531
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6532
      end
6533
    end
6534
 
6535
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
6536
local type = type
6537
local rng = Instance.new("Part", Character)
6538
        rng.Anchored = true
6539
if ModeOfGlitch ~= 9 then
6540
        rng.BrickColor = color
6541
elseif ModeOfGlitch == 9 then
6542
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
6543
end
6544
        rng.CanCollide = false
6545
        rng.FormFactor = 3
6546
        rng.Name = "Ring"
6547
        rng.Material = "Neon"
6548
        rng.Size = Vector3.new(1, 1, 1)
6549
        rng.Transparency = 0
6550
        rng.TopSurface = 0
6551
        rng.BottomSurface = 0
6552
        rng.CFrame = pos
6553
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
6554
        local rngm = Instance.new("SpecialMesh", rng)
6555
        rngm.MeshType = "Sphere"
6556
rngm.Scale = VT(x1,y1,z1)
6557
if rainbowmode == true then
6558
rng.Color = Color3.new(r/255,g/255,b/255)
6559
end
6560
if ModeOfGlitch == 9 then
6561
coroutine.resume(coroutine.create(function()
6562
while true do
6563
Swait()
6564
if rng.Parent ~= nil then
6565
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
6566
else
6567
break
6568
end
6569
end
6570
end))
6571
end
6572
local scaler2 = 1
6573
local speeder = FastSpeed
6574
if type == "Add" then
6575
scaler2 = 1*value
6576
elseif type == "Divide" then
6577
scaler2 = 1/value
6578
end
6579
coroutine.resume(coroutine.create(function()
6580
for i = 0,10/bonuspeed,0.1 do
6581
Swait()
6582
if rainbowmode == true then
6583
rng.Color = Color3.new(r/255,g/255,b/255)
6584
end
6585
if type == "Add" then
6586
scaler2 = scaler2 - 0.01*value/bonuspeed
6587
elseif type == "Divide" then
6588
scaler2 = scaler2 - 0.01/value*bonuspeed
6589
end
6590
if chaosmode == true then
6591
rng.BrickColor = BrickColor.random()
6592
end
6593
speeder = speeder - 0.01*FastSpeed*bonuspeed
6594
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
6595
rng.Transparency = rng.Transparency + 0.01*bonuspeed
6596
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
6597
end
6598
rng:Destroy()
6599
end))
6600
end
6601
 
6602
if MODE == "Maris"  then
6603
if HITFLOOR ~= nil then
6604
    sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-25,25),math.random(10,15),math.random(-25,25))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.25,0.25,5,0.0075,BrickColor.new("Storm blue"),0)
6605
   WACKYEFFECT({EffectType = "Round Slash", Size = VT(0,0.05,0), Size2 = VT(0.25,0.08,0.25), Transparency = 0.2, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.85,0) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = MRANDOM(0,0.5), Material = "Neon", Color = C3(255/255,255/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
6606
end
6607
end
6608
    if MODE == "Ultra Phaedra" then
6609
    if HITFLOOR ~= nil then
6610
    Slice("Round", 0.75, 35, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "White", VT(0.001, 0, 0.001))
6611
    Slice("Round", 0.75, 45, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(MRANDOM(-180, 180)), RAD(0)), "Light yellow", VT(0, 0, 0))
6612
    ApplyAoE(RootPart.Position, 10, 2, 5, 0, true)
6613
    end
6614
    MagicSphere(VT(1,1,1)/5,35,CF(RootPart.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116),VT(0,0,0))
6615
        Slice("Round", 0.25, 5, CF(RootPart.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0), C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116), VT(-0.01, 0, -0.01))
6616
    end
6617
    unanchor()
6618
    Humanoid.MaxHealth = "inf"
6619
    Humanoid.Health = "inf"
6620
    if Rooted == false then
6621
        Disable_Jump = false
6622
        Humanoid.WalkSpeed = Speed
6623
    elseif Rooted == true then
6624
        Disable_Jump = true
6625
        Humanoid.WalkSpeed = 0
6626
    end
6627
if MODE == "Main" then
6628
tecks2.Text = "Dominus Astra"
6629
SKILLTEXTCOLOR = C3(0.05,0.05,0.15)
6630
SKILLTEXTCOLOR2 = C3(0,0,0)
6631
local BodyColor = C3(0,0,0)
6632
local LegColor = C3(0,0,0.05)
6633
local ArmColor = C3(0.05,0.05,0.15)
6634
end
6635
    for _, c in pairs(Character:GetChildren()) do
6636
        if c.ClassName == "Part" then
6637
            c.Material = "Neon"
6638
            for _, q in pairs(c:GetChildren()) do
6639
                if q.ClassName == "ParticleEmitter" and MODE ~= "Phaedra" and MODE ~= "Ultra Phaedra" and MODE ~= "Maris" then
6640
                    q:remove()
6641
                elseif q.ClassName == "Fire" then
6642
                    q:remove()
6643
                end
6644
            end
6645
            if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil and MODE == "Phaedra" then
6646
                particles(c)
6647
            end
6648
            if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil and MODE == "Ultra Phaedra" then
6649
                particles(c)
6650
            end
6651
            if c == Torso then
6652
                c.Color = BodyColor
6653
            elseif c == RightArm then
6654
                c.Color = ArmColor
6655
            elseif c == LeftArm then
6656
                c.Color = ArmColor
6657
            elseif c == RightLeg then
6658
                c.Color = LegColor
6659
            elseif c == LeftLeg then
6660
                c.Color = LegColor
6661
            elseif c == Head then
6662
                if c:FindFirstChild("face") then
6663
                    c.face:remove()
6664
                end
6665
            end
6666
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory"  then
6667
            c:remove()
6668
        end
6669
    end
6670
    if MODE == "Phaedra" or MODE == "Ultra Phaedra" then
6671
    weldBetween(EYE, Head)
6672
    weldBetween(EYE2, Head)
6673
end
6674
    sick.Parent = Character
6675
    refit3()
6676
    refit2()
6677
    tecks2.TextColor3 = SKILLTEXTCOLOR
6678
    tecks2.TextStrokeColor3 = SKILLTEXTCOLOR2
6679
    script.Parent = WEAPONGUI
6680
    Character.Parent = workspace
6681
    Humanoid.PlatformStand = false
6682
    Humanoid.Name = "Dominus"
6683
    for _, c in pairs(game.Players:GetChildren()) do
6684
        if c.Character ~= nil then
6685
            if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
6686
                c.Character:BreakJoints()
6687
            end
6688
        end
6689
    end
6690
    FOUNDFORGOTTEN = false
6691
    Humanoid.DisplayDistanceType = "None"
6692
    for _, c in pairs(workspace:GetChildren()) do
6693
        if c.ClassName == "Model" then
6694
            for _, q in pairs(c:GetChildren()) do
6695
                if q.Name == ("Forgotten Dominus") then
6696
                    FOUNDFORGOTTEN = true
6697
                end
6698
            end
6699
        end
6700
    end
6701
    if FOUNDFORGOTTEN == true then
6702
        sick:Stop()
6703
    else
6704
        sick.Playing = true
6705
    end
6706
if INTRO == false and INSTANT == false then
6707
        INTRO = true
6708
        coroutine.resume(coroutine.create(function()
6709
            sick:Play()
6710
            sick:Resume()
6711
            Intro()
6712
        end))
6713
    end
6714
    if INSTANT == true then
6715
        if TRANSFORMED == false then
6716
            sick.TimePosition = 20.7
6717
            sick:Play()
6718
            sick:Resume()
6719
        end
6720
        TRANSFORMED = true
6721
    end
6722
if MODE == "Insaniam" then
6723
for i, v in pairs(Character:GetChildren()) do
6724
if v:IsA("Part") then
6725
v.BrickColor = BrickColor.random()
6726
end
6727
end
6728
    BodyColor = BrickColor.random().Color
6729
    LegColor = BrickColor.random().Color
6730
    ArmColor = BrickColor.random().Color
6731
    SKILLTEXTCOLOR = BrickColor.random().Color
6732
    SKILLTEXTCOLOR2 = BrickColor.random().Color
6733
end
6734
for _, c in pairs(Character:GetDescendants()) do
6735
        if c.ClassName == "Part" and c.Name == "Eye" then
6736
            c.Color = C3(1,0,0)
6737
            c.Material = "Neon"
6738
        end
6739
end
6740
 
6741
    if VALUE1 == false and MODE == "Main" then
6742
        MagicSphere(VT(1,1,1)/5,35,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0))
6743
    end
6744
end
6745
 
6746
 
6747
--//=================================\\
6748
--\\=================================//
6749
 
6750
 
6751
 
6752
 
6753
 
6754
--//====================================================\\--
6755
--||                     END OF SCRIPT
6756
--\\====================================================//--