View difference between Paste ID: cWd35dzM and mMqBCnrJ
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
87
	local h,t
88
	--Give the server mouse data every second frame, but only if the values changed
89
	--If player is not moving their mouse, client won't fire events
90
	local HB = game:GetService("RunService").Heartbeat
91
	while true do
92
		if h~=Mouse.Hit or t~=Mouse.Target then
93
			h,t=Mouse.Hit,Mouse.Target
94
			Event:FireServer({isMouse=true,Target=t,Hit=h})
95
		end
96
		--Wait 2 frames
97
		for i=1,2 do
98
			HB:Wait()
99
		end
100
	end]==],script)
101
102
	----Sandboxed game object that allows the usage of client-side methods and services
103
	--Real game object
104
	local RealGame = game
105
106
	--Metatable for fake service
107
	local FakeService_Metatable = {
108
		__index = function(self,k)
109
			local s = rawget(self,"_RealService")
110
			if s then
111
				return typeof(s[k])=="function"
112
				and function(_,...)return s[k](s,...)end or s[k]
113
			end
114
		end,
115
		__newindex = function(self,k,v)
116
			local s = rawget(self,"_RealService")
117
			if s then s[k]=v end
118
		end
119
	}
120
	local function FakeService(t,RealService)
121
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
122
		return setmetatable(t,FakeService_Metatable)
123
	end
124
125
	--Fake game object
126
	local FakeGame = {
127
		GetService = function(self,s)
128
			return rawget(self,s) or RealGame:GetService(s)
129
		end,
130
		Players = FakeService({
131
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
132
		},"Players"),
133
		UserInputService = FakeService(UIS,"UserInputService"),
134
		ContextActionService = FakeService(CAS,"ContextActionService"),
135
		RunService = FakeService({
136
			_btrs = {},
137
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
138
			BindToRenderStep = function(self,name,_,fun)
139
				self._btrs[name] = self.Heartbeat:Connect(fun)
140
			end,
141
			UnbindFromRenderStep = function(self,name)
142
				self._btrs[name]:Disconnect()
143
			end,
144
		},"RunService")
145
	}
146
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
147
	FakeGame.service = FakeGame.GetService
148
	FakeService(FakeGame,game)
149
	--Changing owner to fake player object to support owner:GetMouse()
150
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
151
end
152
153
--//====================================================\\--
154
--||               CREATED BY SHACKLUSTER
155
--\\====================================================//--
156
157
 
158
 
159
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
160
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
161
do
162
	print("FE Compatibility code by Mokiros")
163
	script.Parent = RealPlayer.Character
164
165
	--RemoteEvent for communicating
166
	local Event = Instance.new("RemoteEvent")
167
	Event.Name = "UserInput_Event"
168
169
	--Fake event to make stuff like Mouse.KeyDown work
170
	local function fakeEvent()
171
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
172
		t.connect = t.Connect
173
		return t
174
	end
175
176
	--Creating fake input objects with fake variables
177
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
178
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
179
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
180
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
181
	end}
182
	--Merged 2 functions into one by checking amount of arguments
183
	CAS.UnbindAction = CAS.BindAction
184
185
	--This function will trigger the events that have been :Connect()'ed
186
	local function te(self,ev,...)
187
		local t = m[ev]
188
		if t and t._fakeEvent and t.Function then
189
			t.Function(...)
190
		end
191
	end
192
	m.TrigEvent = te
193
	UIS.TrigEvent = te
194
195
	Event.OnServerEvent:Connect(function(plr,io)
196
	    if plr~=Player then return end
197
		if io.isMouse then
198
			m.Target = io.Target
199
			m.Hit = io.Hit
200
		else
201
			local b = io.UserInputState == Enum.UserInputState.Begin
202
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
203
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
204
			end
205
			for _,t in pairs(CAS.Actions) do
206
				for _,k in pairs(t.Keys) do
207
					if k==io.KeyCode then
208
						t.Function(t.Name,io.UserInputState,io)
209
					end
210
				end
211
			end
212
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
213
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
214
	    end
215
	end)
216
	Event.Parent = NLS([==[
217-
	local Player = game:GetService("Players").LocalPlayer
217+
	local Player = game:GetService("Players").ThatProGamerKilledU
218
	local Event = script:WaitForChild("UserInput_Event")
219
220
	local UIS = game:GetService("UserInputService")
221
	local input = function(io,a)
222
		if a then return end
223
		--Since InputObject is a client-side instance, we create and pass table instead
224
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
225
	end
226
	UIS.InputBegan:Connect(input)
227
	UIS.InputEnded:Connect(input)
228
229-
	local Mouse = Player:GetMouse()
229+
230
	--Give the server mouse data 30 times every second, but only if the values changed
231
	--If player is not moving their mouse, client won't fire events
232
	while wait(1/30) do
233
		if h~=Mouse.Hit or t~=Mouse.Target then
234
			h,t=Mouse.Hit,Mouse.Target
235
			Event:FireServer({isMouse=true,Target=t,Hit=h})
236
		end
237
	end]==],Player.Character)
238
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
239
end
240
 
241
Player = owner
242
PlayerGui = Player.PlayerGui
243
Cam = workspace.CurrentCamera
244
Backpack = Player.Backpack
245
Character = Player.Character
246
Humanoid = Character.Humanoid
247
RootPart = Character["HumanoidRootPart"]
248
Torso = Character["Torso"]
249
Head = Character["Head"]
250
RightArm = Character["Right Arm"]
251
LeftArm = Character["Left Arm"]
252
RightLeg = Character["Right Leg"]
253
LeftLeg = Character["Left Leg"]
254
RootJoint = RootPart["RootJoint"]
255
Neck = Torso["Neck"]
256
RightShoulder = Torso["Right Shoulder"]
257
LeftShoulder = Torso["Left Shoulder"]
258
RightHip = Torso["Right Hip"]
259
LeftHip = Torso["Left Hip"]
260
Player:ClearCharacterAppearance()
261
local sick = Instance.new("Sound",Character)
262
sick.SoundId = "rbxassetid://195900687"
263
sick.Looped = true
264
sick.Pitch = 1
265
sick.Volume = 3
266
sick:Play()
267
local firesound = Instance.new("Sound",RootPart)
268
firesound.SoundId = "rbxassetid://987328482"
269
firesound.Looped = true
270
firesound.Pitch = 1
271
firesound.Volume = 0
272
firesound:Play()
273
274
275
IT = Instance.new
276
CF = CFrame.new
277
VT = Vector3.new
278
RAD = math.rad
279
C3 = Color3.new
280
UD2 = UDim2.new
281
BRICKC = BrickColor.new
282
ANGLES = CFrame.Angles
283
EULER = CFrame.fromEulerAnglesXYZ
284
COS = math.cos
285
ACOS = math.acos
286
SIN = math.sin
287
ASIN = math.asin
288
ABS = math.abs
289
MRANDOM = math.random
290
FLOOR = math.floor
291
 
292
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
293
    local NEWMESH = IT(MESH)
294
    if MESH == "SpecialMesh" then
295
        NEWMESH.MeshType = MESHTYPE
296
        if MESHID ~= "nil" and MESHID ~= "" then
297
            NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
298
        end
299
        if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
300
            NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
301
        end
302
    end
303
    NEWMESH.Offset = OFFSET or VT(0, 0, 0)
304
    NEWMESH.Scale = SCALE
305
    NEWMESH.Parent = PARENT
306
    return NEWMESH
307
end
308
 
309
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
310
    local NEWPART = IT("Part")
311
    NEWPART.formFactor = FORMFACTOR
312
    NEWPART.Reflectance = REFLECTANCE
313
    NEWPART.Transparency = TRANSPARENCY
314
    NEWPART.CanCollide = false
315
    NEWPART.Locked = true
316
    NEWPART.Anchored = true
317
    if ANCHOR == false then
318
        NEWPART.Anchored = false
319
    end
320
    NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
321
    NEWPART.Name = NAME
322
    NEWPART.Size = SIZE
323
    NEWPART.Position = Torso.Position
324
    NEWPART.Material = MATERIAL
325
    NEWPART:BreakJoints()
326
    NEWPART.Parent = PARENT
327
    return NEWPART
328
end
329
 
330
--//=================================\\
331
--||          CUSTOMIZATION
332
--\\=================================//
333
 
334
Player_Size = 1 --Size of the player.
335
Animation_Speed = 3
336
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
337
local MODE = "Main"
338
local SIZE = 1
339
local LEVEL = 1
340
341
342
local Speed = 16
343
local Effects2 = {}
344
 
345
--//=================================\\
346
--||      END OF CUSTOMIZATION
347
--\\=================================//
348
 
349
    local function weldBetween(a, b)
350
        local weldd = Instance.new("ManualWeld")
351
        weldd.Part0 = a
352
        weldd.Part1 = b
353
        weldd.C0 = CFrame.new()
354
        weldd.C1 = b.CFrame:inverse() * a.CFrame
355
        weldd.Parent = a
356
        return weldd
357
    end
358
 
359
--//=================================\\
360
--||          USEFUL VALUES
361
--\\=================================//
362
 
363
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
364
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
365
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
366
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
367
local CHANGEDEFENSE = 0
368
local CHANGEDAMAGE = 0
369
local CHANGEMOVEMENT = 0
370
local ANIM = "Idle"
371
local ATTACK = false
372
local EQUIPPED = false
373
local HOLD = false
374
local COMBO = 1
375
local Rooted = false
376
local SINE = 0
377
local KEYHOLD = false
378
local CHANGE = 2 / Animation_Speed
379
local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382}
380
local WALKINGANIM = false
381
local WALK = 0
382
local VALUE1 = false
383
local VALUE2 = false
384
local ROBLOXIDLEANIMATION = IT("Animation")
385
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
386
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
387
--ROBLOXIDLEANIMATION.Parent = RealPlayer.Humanoid
388-
--ROBLOXIDLEANIMATION.Parent = Humanoid
388+
389
WEAPONGUI.Name = "Weapon GUI"
390
local Effects = IT("Folder", Character)
391
Effects.Name = "Effects"
392
sick.Volume = 0
393
Character.Archivable = true
394
local CLONE = Character:Clone()
395
CLONE.Parent = nil
396
Character.Archivable = false
397
sick.Volume = 3
398
local ANIMATOR = Humanoid.Animator
399
local ANIMATE = Character.Animate
400
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
401
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
402
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
403
local HITBLOCKSOUNDS = {"199148933", "199148947"}
404
local UNANCHOR = true
405
local BodyColor = C3(0,0,0)
406
local LegColor = C3(0,0,0.05)
407
local ArmColor = C3(0.05,0.05,0.15)
408
409
local SKILLTEXTCOLOR = C3(0.05,0.05,0.15)
410
local SKILLTEXTCOLOR2 = C3(0,0,0)
411
412
--//=================================\\
413
--\\=================================//
414
 
415
 
416
--//=================================\\
417
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
418
--\\=================================//
419
 
420
ArtificialHB = Instance.new("BindableEvent", script)
421
ArtificialHB.Name = "ArtificialHB"
422
 
423
script:WaitForChild("ArtificialHB")
424
 
425
frame = Frame_Speed
426
tf = 0
427
allowframeloss = false
428
tossremainder = false
429
lastframe = tick()
430
script.ArtificialHB:Fire()
431
 
432
game:GetService("RunService").Heartbeat:connect(function(s, p)
433
    tf = tf + s
434
    if tf >= frame then
435
        if allowframeloss then
436
            script.ArtificialHB:Fire()
437
            lastframe = tick()
438
        else
439
            for i = 1, math.floor(tf / frame) do
440
                script.ArtificialHB:Fire()
441
            end
442
        lastframe = tick()
443
        end
444
        if tossremainder then
445
            tf = 0
446
        else
447
            tf = tf - frame * math.floor(tf / frame)
448
        end
449
    end
450
end)
451
 
452
--//=================================\\
453
--\\=================================//
454
 
455
 
456
 
457
 
458
 
459
--//=================================\\
460
--||          SOME FUNCTIONS
461
--\\=================================//
462
 
463
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
464
    return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
465
end
466
 
467
function PositiveAngle(NUMBER)
468
    if NUMBER >= 0 then
469
        NUMBER = 0
470
    end
471
    return NUMBER
472
end
473
 
474
function NegativeAngle(NUMBER)
475
    if NUMBER <= 0 then
476
        NUMBER = 0
477
    end
478
    return NUMBER
479
end
480
 
481
function Swait(NUMBER)
482
    if NUMBER == 0 or NUMBER == nil then
483
        ArtificialHB.Event:wait()
484
    else
485
        for i = 1, NUMBER do
486
            ArtificialHB.Event:wait()
487
        end
488
    end
489
end
490
 
491
function QuaternionFromCFrame(cf)
492
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
493
    local trace = m00 + m11 + m22
494
    if trace > 0 then
495
        local s = math.sqrt(1 + trace)
496
        local recip = 0.5 / s
497
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
498
    else
499
        local i = 0
500
        if m11 > m00 then
501
            i = 1
502
        end
503
        if m22 > (i == 0 and m00 or m11) then
504
            i = 2
505
        end
506
        if i == 0 then
507
            local s = math.sqrt(m00 - m11 - m22 + 1)
508
            local recip = 0.5 / s
509
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
510
        elseif i == 1 then
511
            local s = math.sqrt(m11 - m22 - m00 + 1)
512
            local recip = 0.5 / s
513
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
514
        elseif i == 2 then
515
            local s = math.sqrt(m22 - m00 - m11 + 1)
516
            local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
517
        end
518
    end
519
end
520
 
521
function QuaternionToCFrame(px, py, pz, x, y, z, w)
522
    local xs, ys, zs = x + x, y + y, z + z
523
    local wx, wy, wz = w * xs, w * ys, w * zs
524
    local xx = x * xs
525
    local xy = x * ys
526
    local xz = x * zs
527
    local yy = y * ys
528
    local yz = y * zs
529
    local zz = z * zs
530
    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))
531
end
532
 
533
function QuaternionSlerp(a, b, t)
534
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
535
    local startInterp, finishInterp;
536
    if cosTheta >= 0.0001 then
537
        if (1 - cosTheta) > 0.0001 then
538
            local theta = ACOS(cosTheta)
539
            local invSinTheta = 1 / SIN(theta)
540
            startInterp = SIN((1 - t) * theta) * invSinTheta
541
            finishInterp = SIN(t * theta) * invSinTheta
542
        else
543
            startInterp = 1 - t
544
            finishInterp = t
545
        end
546
    else
547
        if (1 + cosTheta) > 0.0001 then
548
            local theta = ACOS(-cosTheta)
549
            local invSinTheta = 1 / SIN(theta)
550
            startInterp = SIN((t - 1) * theta) * invSinTheta
551
            finishInterp = SIN(t * theta) * invSinTheta
552
        else
553
            startInterp = t - 1
554
            finishInterp = t
555
        end
556
    end
557
    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
558
end
559
 
560
function Clerp(a, b, t)
561
    local qa = {QuaternionFromCFrame(a)}
562
    local qb = {QuaternionFromCFrame(b)}
563
    local ax, ay, az = a.x, a.y, a.z
564
    local bx, by, bz = b.x, b.y, b.z
565
    local _t = 1 - t
566
    return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
567
end
568
 
569
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
570
    local frame = IT("Frame")
571
    frame.BackgroundTransparency = TRANSPARENCY
572
    frame.BorderSizePixel = BORDERSIZEPIXEL
573
    frame.Position = POSITION
574
    frame.Size = SIZE
575
    frame.BackgroundColor3 = COLOR
576
    frame.BorderColor3 = BORDERCOLOR
577
    frame.Name = NAME
578
    frame.Parent = PARENT
579
    return frame
580
end
581
 
582
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
583
    local label = IT("TextLabel")
584
    label.BackgroundTransparency = 1
585
    label.Size = UD2(1, 0, 1, 0)
586
    label.Position = UD2(0, 0, 0, 0)
587
    label.TextColor3 = TEXTCOLOR
588
    label.TextStrokeTransparency = STROKETRANSPARENCY
589
    label.TextTransparency = TRANSPARENCY
590
    label.FontSize = TEXTFONTSIZE
591
    label.Font = TEXTFONT
592
    label.BorderSizePixel = BORDERSIZEPIXEL
593
    label.TextScaled = false
594
    label.Text = TEXT
595
    label.Name = NAME
596
    label.Parent = PARENT
597
    return label
598
end
599
 
600
function NoOutlines(PART)
601
    PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
602
end
603
 
604
 
605
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
606
    local NEWWELD = IT(TYPE)
607
    NEWWELD.Part0 = PART0
608
    NEWWELD.Part1 = PART1
609
    NEWWELD.C0 = C0
610
    NEWWELD.C1 = C1
611
    NEWWELD.Parent = PARENT
612
    return NEWWELD
613
end
614
 
615
function CreateSound(ID, PARENT, VOLUME, PITCH)
616
    local NEWSOUND = nil
617
    coroutine.resume(coroutine.create(function()
618
        NEWSOUND = IT("Sound", PARENT)
619
        NEWSOUND.Volume = VOLUME
620
        NEWSOUND.Pitch = PITCH
621
        NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
622
        Swait()
623
        NEWSOUND:play()
624
        game:GetService("Debris"):AddItem(NEWSOUND, 10)
625
    end))
626
    return NEWSOUND
627
end
628
 
629
function CFrameFromTopBack(at, top, back)
630
    local right = top:Cross(back)
631
    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)
632
end
633
 
634
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
635
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
636
    wave.Color = COLOR
637
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
638
    wave.CFrame = CFRAME
639
    coroutine.resume(coroutine.create(function(PART)
640
        for i = 1, WAIT do
641
            Swait()
642
            mesh.Scale = mesh.Scale + GROW
643
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
644
            if DOESROT == true then
645
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
646
            end
647
            wave.Transparency = wave.Transparency + (0.5/WAIT)
648
            if wave.Transparency > 0.99 then
649
                wave:remove()
650
            end
651
        end
652
    end))
653
end
654
655
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
656
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
657
    wave.Color = COLOR
658
    local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
659
    wave.CFrame = CFRAME
660
    coroutine.resume(coroutine.create(function(PART)
661
        for i = 1, WAIT do
662
            Swait()
663
            mesh.Scale = mesh.Scale + GROW
664
            wave.Transparency = wave.Transparency + (1/WAIT)
665
            if wave.Transparency > 0.99 then
666
                wave:remove()
667
            end
668
        end
669
    end))
670
end
671
672
function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
673
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
674
    local mesh = nil
675
    if KIND == "Base" then
676
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
677
    elseif KIND == "Thin" then
678
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
679
    elseif KIND == "Round" then
680
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
681
    end
682
    wave.CFrame = CFRAME
683
    coroutine.resume(coroutine.create(function(PART)
684
        for i = 1, WAIT do
685
            Swait()
686
            mesh.Scale = mesh.Scale + GROW/10
687
            wave.Transparency = wave.Transparency + (0.5/WAIT)
688
            if wave.Transparency > 0.99 then
689
                wave:remove()
690
            end
691
        end
692
    end))
693
end
694
 
695
function MakeForm(PART,TYPE)
696
    if TYPE == "Cyl" then
697
        local MSH = IT("CylinderMesh",PART)
698
    elseif TYPE == "Ball" then
699
        local MSH = IT("SpecialMesh",PART)
700
        MSH.MeshType = "Sphere"
701
    elseif TYPE == "Wedge" then
702
        local MSH = IT("SpecialMesh",PART)
703
        MSH.MeshType = "Wedge"
704
    end
705
end
706
 
707
function CheckTableForString(Table, String)
708
    for i, v in pairs(Table) do
709
        if string.find(string.lower(String), string.lower(v)) then
710
            return true
711
        end
712
    end
713
    return false
714
end
715
 
716
Debris = game:GetService("Debris")
717
 
718
function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
719
    if DoesCourontine == false then
720
        local Direction = CF(Part.Position,ToLocation)
721
        local Distance = (Part.Position - ToLocation).magnitude
722
        for i = 1, AmountOfTime do
723
            Swait()
724
            Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
725
            Direction = Part.CFrame
726
        end
727
        Part:remove()
728
    elseif DoesCourontine == true then
729
        coroutine.resume(coroutine.create(function()
730
            local Direction = CF(Part.Position,ToLocation)
731
            local Distance = (Part.Position - ToLocation).magnitude
732
            for i = 1, AmountOfTime do
733
                Swait()
734
                Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
735
                Direction = Part.CFrame
736
            end
737
            Part:remove()
738
        end))
739
    end
740
end
741
 
742
function turnto(position)
743
    RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
744
end
745
local naeeym2 = Instance.new("BillboardGui", Character)
746
naeeym2.AlwaysOnTop = true
747
naeeym2.Size = UDim2.new(5, 35, 2, 15)
748
naeeym2.StudsOffset = Vector3.new(0, 3, 0)
749
naeeym2.Adornee = Character.Head
750
naeeym2.Name = "Name"
751
local tecks2 = Instance.new("TextLabel", naeeym2)
752
tecks2.BackgroundTransparency = 1
753
tecks2.TextScaled = true
754
tecks2.BorderSizePixel = 0
755
tecks2.Text = "Dominus Astra"
756
tecks2.Font = "Fantasy"
757
tecks2.TextSize = 30
758
tecks2.TextStrokeTransparency = 0
759
tecks2.TextColor3 = Color3.new(0.05,0.05,0.15)
760
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
761
tecks2.Size = UDim2.new(1, 0, 0.5, 0)
762
tecks2.Parent = naeeym2
763
764
--//=================================\\
765
--||         WEAPON CREATION
766
--\\=================================//
767
 
768
local LMAO = IT("Model")
769
LMAO.Name = "Particles"
770
LMAO.Parent = nil
771
local Weapon = IT("Model")
772
Weapon.Name = "Adds"
773
local Weapon2 = IT("Model")
774
Weapon2.Name = "Adds"
775
776
local EYE = CreatePart(3, Weapon2, "Neon", 0, 0, "Gold", "Eyeball", VT(0.1, 0.4, 0.1), false)
777
MakeForm(EYE, "Ball")
778
EYE.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72)
779
local EW = weldBetween(EYE, Head)
780
local EYE2 = CreatePart(3, Weapon2, "Neon", 0, 0, "Gold", "Eyeball1", VT(0.4, 0.1, 0.1), false)
781
MakeForm(EYE2, "Ball")
782
EYE2.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72)
783
local EW2 = weldBetween(EYE2, Head)
784
785
Weapon2.Parent = nil
786
787
local Particle = IT("ParticleEmitter",nil)
788
Particle.Enabled = false
789
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
790
Particle.LightEmission = 0.5
791
Particle.Rate = 150
792
Particle.ZOffset = 1
793
Particle.Rotation = NumberRange.new(-180, 180)
794
Particle.RotSpeed = NumberRange.new(-180, 180)
795
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
796
Particle.Color = ColorSequence.new(C3(0.4,0,0),C3(0.4,0,0))
797
798
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
799
function ParticleEmitter(Table)
800
	local PRTCL = Particle:Clone()
801
	local Speed = Table.Speed or 5
802
	local Drag = Table.Drag or 0
803
	local Size1 = Table.Size1 or 1
804
	local Size2 = Table.Size2 or 5
805
	local Lifetime1 = Table.Lifetime1 or 1
806
	local Lifetime2 = Table.Lifetime2 or 1.5
807
	local Parent = Table.Parent or Torso
808
	local Emit = Table.Emit or 100
809
	local Offset = Table.Offset or 360
810
	local Acel = Table.Acel or VT(0,0,0)
811
	local Enabled = Table.Enabled or false
812
	PRTCL.Parent = Parent
813
	PRTCL.Size = NumberSequence.new(Size1,Size2)
814
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
815
	PRTCL.Speed = NumberRange.new(Speed)
816
	PRTCL.VelocitySpread = Offset
817
	PRTCL.Drag = Drag
818
	PRTCL.Acceleration = Acel
819
	if Enabled == false then
820
		PRTCL:Emit(Emit)
821
		Debris:AddItem(PRTCL,Lifetime2)
822
	else
823
		PRTCL.Enabled = true
824
	end
825
	return PRTCL
826
end
827
828
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
829
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
830
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
831
MakeForm(Part,"Wedge")
832
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
833
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
834
MakeForm(Part,"Wedge")
835
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
836
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
837
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
838
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
839
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
840
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
841
MakeForm(Part,"Cyl")
842
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
843
for i = 1, 8 do
844
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
845
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
846
end
847
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
848
MakeForm(Part,"Cyl")
849
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
850
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
851
MakeForm(Part,"Ball")
852
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
853
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
854
MakeForm(Part,"Wedge")
855
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
856
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
857
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
858
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
859
MakeForm(Part,"Cyl")
860
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
861
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
862
MakeForm(Part,"Cyl")
863
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
864
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
865
MakeForm(Part,"Cyl")
866
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
867
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
868
MakeForm(Part,"Wedge")
869
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
870
local LASTPART = Handle
871
for i = 1, 10 do
872
	if LASTPART == Handle then
873
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
874
		LASTPART = Part
875
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
876
	else
877
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
878
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
879
		LASTPART = Part
880
	end
881
end
882
883
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
884
MakeForm(Barrel,"Cyl")
885
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
886
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
887
MakeForm(Part,"Cyl")
888
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
889
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
890
MakeForm(Part,"Wedge")
891
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
892
local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
893
MakeForm(Hole2,"Cyl")
894
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
895
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
896
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
897
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
898
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
899
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
900
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
901
coroutine.resume(coroutine.create(function()
902
	while wait() do
903
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
904
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
905
	end
906
end))
907
908
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)})
909
--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)})
910
911
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)})
912
--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)})
913
914
for _, c in pairs(Weapon:GetDescendants()) do
915
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
916
		c.Material = "Glass"
917
		c.Color = C3(0.15,0.05,0.05)
918
	elseif c.ClassName == "Part" and c.Name == "Eye" then
919
		c.Color = C3(1,0,0)
920
		c.Material = "Neon"
921
	end
922
end
923
924
local DeadEyes = IT("Model")
925
DeadEyes.Name = "Adds"
926
for _, c in pairs(Weapon:GetChildren()) do
927
	if c.ClassName == "Part" then
928
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
929
	end
930
end
931
932
local Handle = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
933
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
934
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
935
MakeForm(Part,"Wedge")
936
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
937
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
938
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
939
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
940
MakeForm(Part,"Cyl")
941
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
942
for i = 1, 8 do
943
	local Piece = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
944
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
945
end
946
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
947
MakeForm(Part,"Wedge")
948
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
949
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
950
MakeForm(Part,"Cyl")
951
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
952
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
953
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
954
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
955
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
956
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
957
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
958
local RightBarrel = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
959
MakeForm(RightBarrel,"Cyl")
960
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
961
local Part = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
962
MakeForm(Part,"Wedge")
963
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
964
local RightHole = CreatePart(3, DeadEyes, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
965
MakeForm(RightHole,"Cyl")
966
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
967
968
969
for _, c in pairs(DeadEyes:GetDescendants()) do
970
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
971
		c.Material = "Metal"
972
		c.Color = C3(0,0,0)
973
	end
974
end
975
976
DeadEyes.Parent = nil
977
978
function Transparency(TRANS)
979
    for _, c in pairs(Character:GetChildren()) do
980
        if c.ClassName == "Part" and c ~= RootPart then
981
            c.Transparency = TRANS
982
            if c:FindFirstChildOfClass("Decal") then
983
                c:FindFirstChildOfClass("Decal").Transparency = TRANS
984
            end
985
        elseif c.ClassName == "Accessory" then
986
            c.Handle.Transparency = TRANS
987
        elseif c.ClassName == "Model" then
988
            for _, q in pairs(c:GetChildren()) do
989
                if q.ClassName == "Part" then
990
                    q.Transparency = TRANS
991
                    if q:FindFirstChildOfClass("Decal") then
992
                        q:FindFirstChildOfClass("Decal").Transparency = TRANS
993
                    end
994
                end
995
            end
996
        end
997
    end
998
end
999
 
1000
Humanoid.Died:connect(function()
1001
    Humanoid.Parent = nil
1002
    Humanoid.MaxHealth = "inf"
1003
    Humanoid.Health = "inf"
1004
	refit3()
1005
	refit2()
1006
    Humanoid.Parent = RealPlayer.Character
1007
    CreateSound("907330011", Head, 10, 1.2)
1008
end)
1009
 
1010
--//=================================\\
1011
--||            DAMAGING
1012
--\\=================================//
1013
 
1014
function killnearest(position,range,maxstrength)
1015
    for i,v in ipairs(workspace:GetChildren()) do
1016
    local body = v:GetChildren()
1017
        for part = 1, #body do
1018
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1019
                if(body[part].Position - position).Magnitude < range then
1020
                    if v.ClassName == "Model" then
1021
                        v:BreakJoints()
1022
                    end
1023
                    --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
1024
                    local bv = Instance.new("BodyVelocity")
1025
                    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1026
                    bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
1027
                    bv.Parent = body[part]
1028
                    Debris:AddItem(bv,0.2)
1029
                end
1030
            end
1031
        end
1032
        if v.ClassName == "Part" then
1033
            if v.Anchored == false and (v.Position - position).Magnitude < range then
1034
                --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
1035
                v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
1036
            end
1037
        end
1038
    end
1039
end
1040
 
1041
--//=================================\\
1042
--||    ATTACK FUNCTIONS AND STUFF
1043
--\\=================================//
1044
1045
local TOBANISH = {}
1046
1047
function printbye(Name)
1048
	local MESSAGES = {"Tu, ne ipsis, ","Esses contumeliam, ","Te potest ignorare mandatum meum, ","Iam mortuus est, "}
1049
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1050
end
1051
	
1052
workspace.ChildAdded:connect(function(instance)
1053
    for BANISH = 1, #TOBANISH do
1054
		if TOBANISH[BANISH] ~= nil then
1055
			if instance.Name == TOBANISH[BANISH] then
1056
				coroutine.resume(coroutine.create(function()
1057
					printbye(instance.Name)
1058
					instance:ClearAllChildren()
1059
					Debris:AddItem(instance,0.0005)
1060
				end))
1061
			end
1062
		end
1063
	end
1064
end)
1065
1066
function Banish(Foe)
1067
	if Foe then
1068
		coroutine.resume(coroutine.create(function()
1069
			--if game.Players:FindFirstChild(Foe.Name) then
1070
				table.insert(TOBANISH,Foe.Name)
1071
				printbye(Foe.Name)
1072
			--end
1073
			Foe.Archivable = true
1074
			local CLONE = Foe:Clone()
1075
			Foe:Destroy()
1076
			CLONE.Parent = Effects
1077
			CLONE:BreakJoints()
1078
			local MATERIALS = {"Glass","Neon"}
1079
			for _, c in pairs(CLONE:GetDescendants()) do
1080
				if c:IsA("BasePart") then
1081
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1082
 						CreateSound(340722848, c, 10, 1, false)
1083
					end
1084
					c.Anchored = true
1085
					c.Transparency = c.Transparency + 0.2
1086
					c.Material = MATERIALS[MRANDOM(1,2)]
1087
					c.Color = C3(1,0,0)
1088
					if c.ClassName == "MeshPart" then
1089
						c.TextureID = ""
1090
					end
1091
					if c:FindFirstChildOfClass("SpecialMesh") then
1092
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1093
					end
1094
					if c:FindFirstChildOfClass("Decal") then
1095
						c:FindFirstChildOfClass("Decal"):remove()
1096
					end
1097
					c.Name = "Banished"
1098
					c.CanCollide = false
1099
				else
1100
					c:remove()
1101
				end
1102
			end
1103
			local A = false
1104
			for i = 1, 35 do
1105
				if A == false then
1106
					A = true
1107
				elseif A == true then
1108
					A = false
1109
				end
1110
				for _, c in pairs(CLONE:GetDescendants()) do
1111
					if c:IsA("BasePart") then
1112
						c.Anchored = true
1113
						c.Material = MATERIALS[MRANDOM(1,2)]
1114
						c.Transparency = c.Transparency + 0.8/35
1115
						if A == false then
1116
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1117
						elseif A == true then
1118
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1119
						end
1120
					end
1121
				end
1122
				Swait()
1123
			end
1124
			CLONE:remove()
1125
		end))
1126
	end
1127
end
1128
1129
function ApplyAoE(POSITION,RANGE,ISBANISH)
1130
	local CHILDREN = workspace:GetDescendants()
1131
	for index, CHILD in pairs(CHILDREN) do
1132
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1133
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1134
			if HUM then
1135
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1136
				if TORSO then
1137
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1138
						if ISBANISH == true then
1139
							Banish(CHILD)
1140
						else
1141
							if ISBANISH == "Gravity" then
1142
								HUM.PlatformStand = true
1143
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1144
									local grav = Instance.new("BodyPosition",TORSO)
1145
									grav.D = 15
1146
									grav.P = 20000
1147
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1148
									grav.position = TORSO.Position
1149
									grav.Name = "V3BanishForce"..Player.Name
1150
								else
1151
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1152
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1153
								end
1154
							else
1155
								HUM.PlatformStand = false
1156
							end
1157
						end
1158
					elseif ISBANISH == "Gravity" then
1159
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1160
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1161
							HUM.PlatformStand = false
1162
						end
1163
					end
1164
				end
1165
			end
1166
		end
1167
	end
1168
end
1169
1170
function SpawnTrail(FROM,TO,BIG)
1171
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
1172
	MakeForm(TRAIL,"Cyl")
1173
	local DIST = (FROM - TO).Magnitude
1174
	if BIG == true then
1175
		TRAIL.Size = VT(5,DIST,5)
1176
	else
1177
		TRAIL.Size = VT(5,DIST,5)
1178
	end
1179
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1180
	coroutine.resume(coroutine.create(function()
1181
		for i = 1, 5 do
1182
			Swait()
1183
			TRAIL.Transparency = TRAIL.Transparency + 0.1
1184
		end
1185
		TRAIL:remove()
1186
	end))
1187
end
1188
1189
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1190
	local DIRECTION = CF(StartPos,EndPos).lookVector
1191
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1192
end
1193
1194
local Decal = IT("Decal")
1195
function MagicRing()
1196
	local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
1197
	O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
1198
	local decal = Decal:Clone()
1199
	decal.Parent = O1
1200
	decal.Face = "Top"
1201
	decal.Texture = "http://www.roblox.com/asset/?id=917750924"
1202
	local decal2 = Decal:Clone()
1203
	decal2.Parent = O1
1204
	decal2.Face = "Bottom"
1205
	decal2.Texture = "http://www.roblox.com/asset/?id=917750924"
1206
	return O1
1207
end
1208
1209
local EyeSizes = {
1210
	NumberSequenceKeypoint.new(0, 1, 0),
1211
	NumberSequenceKeypoint.new(1, 0, 0)
1212
}
1213
local PE = Instance.new("ParticleEmitter")
1214
PE.LightEmission = 0.8
1215
PE.Color = ColorSequence.new(BRICKC("Gold").Color)
1216
PE.Size = NumberSequence.new(EyeSizes)
1217
PE.Lifetime = NumberRange.new(0.35, 0.35, 0.35)
1218
PE.Rotation = NumberRange.new(0, 360)
1219
PE.Transparency = NumberSequence.new(0.9)
1220
PE.Rate = 999
1221
PE.VelocitySpread = 10000
1222
PE.Acceleration = Vector3.new(0, 75, 0)
1223
PE.Drag = 5
1224
PE.Speed = NumberRange.new(6, 6)
1225
PE.Texture = "http://www.roblox.com/asset/?id=1351966707"
1226
PE.ZOffset = -1.5
1227
PE.Name = "OVERLORDAURA"
1228
1229
function particles(art)
1230
	PE:Clone().Parent = art
1231
end
1232
1233
function CheckIntangible(Hit)
1234
	local ProjectileNames = {
1235
		"Water",
1236
		"Arrow",
1237
		"Projectile",
1238
		"Effect",
1239
		"Rail",
1240
		"Lightning",
1241
		"Bullet"
1242
	}
1243
	if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
1244
		return true
1245
	end
1246
	return false
1247
end
1248
Debris = game:GetService("Debris")
1249
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
1250
	local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
1251
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
1252
	if RayHit and CheckIntangible(RayHit) then
1253
		if DelayIfHit then
1254
			wait()
1255
		end
1256
		RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
1257
	end
1258
	return RayHit, RayPos, RayNormal
1259
end
1260
BaseLightning = IT("Part")
1261
BaseLightning.Anchored = true
1262
BaseLightning.CanCollide = false
1263
BaseLightning.Material = "Neon"
1264
local LightningBolts = {}
1265
function Zap(Table)
1266
	local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
1267
	local Duration = Table.Duration or 2
1268
	local Offset = Table.Offset or 2
1269
	local Individualize = Table.Individualize or false
1270
	local MaxRange = Table.MaxRange or 200
1271
	local SegmentLength = Table.SegmentLength or 5
1272
	local Transparency = Table.Transparency or 0
1273
	local Ignore = Table.Ignore or {}
1274
	local SIZE = Table.SIZE or 0.3
1275
	if not (StartPos and TargetPos) or not Character then
1276
		return
1277
	end
1278
	local LightningModel = IT("Folder", Effects)
1279
	LightningModel.Name = "ZAPP"
1280
	for i, v in pairs({Character, LightningModel}) do
1281
		table.insert(Ignore, v)
1282
	end
1283
	local LastPos = StartPos
1284
	local Direction = CFrame.new(StartPos, TargetPos).lookVector
1285
	local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
1286
	local RayLength = (StartPos - RayPos).Magnitude
1287
	local Struck = false
1288
	local TotalSegments = math.ceil(RayLength / SegmentLength)
1289
	Direction = CFrame.new(StartPos, RayPos).lookVector
1290
	local LightningBolt = IT("Model", Effects)
1291
	LightningBolt.Name = "Lightning"
1292
	if not Individualize then
1293
		table.insert(LightningBolts, LightningBolt)
1294
	end
1295
	LastBolt = LightningBolt
1296
	Debris:AddItem(LightningBolt, Duration)
1297
	LightningBolt.Parent = LightningModel
1298
	for i = 1, TotalSegments do
1299
		if not Struck then
1300
			local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
1301
			local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
1302
			local SegmentVec = NewPos - LastPos
1303
			local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
1304
			local RayVec = LastPos - RayPos
1305
			local LightningPart = BaseLightning:Clone()
1306
			LightningPart.BrickColor = BrickColor.new(Color)
1307
			LightningPart.Transparency = Transparency
1308
			LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
1309
			LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
1310
			table.insert(Effects2, {
1311
				LightningPart,
1312
				"Disappear",
1313
				0.025,
1314
				1,
1315
				1,
1316
				1,
1317
				2
1318
			})
1319
			local CylinderMesh = IT("CylinderMesh", LightningPart)
1320
			local OrigCF = LightningPart.CFrame
1321
			LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
1322
			LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
1323
			LightningPart.Parent = LightningBolt
1324
			LastPos = NewPos
1325
		end
1326
	end
1327
	return {
1328
		RayHit = RayHit,
1329
		RayPos = RayPos,
1330
		RayNormal = RayNormal,
1331
		LightningModel = LightningModel
1332
	}
1333
end
1334
1335
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
1336
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1337
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
1338
	wave.CFrame = CFRAME
1339
	coroutine.resume(coroutine.create(function(PART)
1340
		for i = 1, WAIT do
1341
			Swait()
1342
			mesh.Scale = mesh.Scale + GROW
1343
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
1344
			if DOESROT == true then
1345
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1346
			end
1347
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1348
			if wave.Transparency > 0.99 then
1349
				wave:remove()
1350
			end
1351
		end
1352
	end))
1353
end
1354
1355
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
1356
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1357
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
1358
	wave.CFrame = CFRAME
1359
	coroutine.resume(coroutine.create(function(PART)
1360
		for i = 1, WAIT do
1361
			Swait()
1362
			mesh.Scale = mesh.Scale + GROW
1363
			if DOESROT == true then
1364
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1365
			end
1366
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1367
			if wave.Transparency > 0.99 then
1368
				wave:remove()
1369
			end
1370
		end
1371
	end))
1372
end
1373
1374
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
1375
	for _, c in pairs(PARENT:GetChildren()) do
1376
		if c.ClassName == "Model" then
1377
			if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
1378
				local HUMANOID = c:FindFirstChildOfClass("Humanoid")
1379
				local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
1380
				if DIST > (TORSO.Position - FROM).Magnitude then
1381
					table.insert(TABLE, c)
1382
				end
1383
				AddChildrenToTable(FROM, c, DIST, TABLE)
1384
			elseif c.ClassName == "Folder" then
1385
				AddChildrenToTable(FROM, c, DIST, TABLE)
1386
			end
1387
		end
1388
	end
1389
end
1390
1391
local ATTACKTAUNTS = {
1392
	"907329893",
1393
	"907329532",
1394
	"907333294",
1395
	"907332856"
1396
}
1397
local ULTTAUNTS = {
1398
	"907332997",
1399
	"907332670",
1400
	"907330103"
1401
}
1402
1403
function Lunar_Blast()
1404
    local HITBODIES = {}
1405
    local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0))
1406
    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)
1407
    CENTER.CFrame = CF(ECH)
1408
    local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25))
1409
    RAY.Color = C3(0.05,0.05,0.15)
1410
    MakeForm(RAY,"Cyl")
1411
    RAY.CFrame = CF(ECH)
1412
    for i = 1, 75 do
1413
        Swait()
1414
        RAY.Transparency = RAY.Transparency - 1/75
1415
        RAY.Size = RAY.Size - VT(25/75,0,25/75)
1416
        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))
1417
    end
1418
    killnearest(ECH,25,25)
1419
    MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
1420
    for i = 1, 25 do
1421
        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))
1422
    end
1423
    CreateSound("168586621", CENTER, 10, 0.8)
1424
    RAY:remove()
1425
    Debris:AddItem(CENTER,5)
1426
end
1427
 
1428
function Star_Cutter()
1429
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
1430
    if HITFLOOR ~= nil then
1431
        ATTACK = true
1432
        Rooted = true
1433
        local GYRO = IT("BodyGyro",RootPart)
1434
        GYRO.D = 100
1435
        GYRO.P = 2000
1436
        GYRO.MaxTorque = VT(0,4000000,0)
1437
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1438
        CreateSound("429459101", RightArm, 10, 0.8)
1439
        for i=0, 3.5, 0.1 / Animation_Speed do
1440
            Swait()
1441
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1442
            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))
1443
            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)
1444
            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)
1445
            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)
1446
            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)
1447
            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)
1448
            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)
1449
        end
1450
        GYRO:remove()
1451
        for i=0, 0.15, 0.1 / Animation_Speed do
1452
            Swait()
1453
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1454
            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))
1455
            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)
1456
            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)
1457
            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)
1458
            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)
1459
            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)
1460
            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)
1461
        end
1462
        local BOMBSPOTS = {}
1463
        for i = 1, 25 do
1464
            local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8))
1465
            SPOT.Color = SKILLTEXTCOLOR
1466
            SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
1467
            table.insert(BOMBSPOTS,SPOT)
1468
            MakeForm(SPOT,"Cyl")
1469
        end
1470
        for i=0, 0.2, 0.1 / Animation_Speed do
1471
            Swait()
1472
            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)
1473
            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)
1474
            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)
1475
            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)
1476
            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)
1477
            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)
1478
        end
1479
        ATTACK = false
1480
        Rooted = false
1481
        coroutine.resume(coroutine.create(function()
1482
            Swait(3)
1483
            for i = 1, #BOMBSPOTS do
1484
                if BOMBSPOTS[i] ~= nil then
1485
                    local E = BOMBSPOTS[i]
1486
                    coroutine.resume(coroutine.create(function()
1487
                        local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0))
1488
                        BLADE.Color = SKILLTEXTCOLOR
1489
                        CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
1490
                        CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
1491
                        BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
1492
                        for i = 1, 10 do
1493
                            Swait()
1494
                            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))
1495
                            killnearest(BLADE.Position,6,80)
1496
                            BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
1497
                            BLADE.Transparency = BLADE.Transparency - 0.1
1498
                        end
1499
                        Swait(45)
1500
                        for i = 1, 100 do
1501
                            Swait()
1502
                            BLADE.Transparency = BLADE.Transparency + 0.01
1503
                            E.Transparency = E.Transparency + 0.01
1504
                        end
1505
                        BLADE:remove()
1506
                        E:remove()
1507
                    end))
1508
                end
1509
            end
1510
        end))
1511
    end
1512
end
1513
 
1514
function Supernova()
1515
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
1516
    if HITFLOOR ~= nil then
1517
        local HITBODIES = {}
1518
        ATTACK = true
1519
        Rooted = true
1520
        local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
1521
        MakeForm(ABSOLUTE,"Ball")
1522
        CreateSound("429459101", ABSOLUTE, 10, 1)
1523
        for i=0, 4, 0.1 / Animation_Speed do
1524
            Swait()
1525
            ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
1526
            ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
1527
            ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
1528
            local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
1529
            MakeForm(CHARGE,"Ball")
1530
            CHARGE.Color = C3(1,1,1)
1531
            CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
1532
            FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
1533
            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)
1534
            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)
1535
            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)
1536
            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)
1537
            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)
1538
            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)
1539
        end
1540
        CreateSound("907330103", Head, 10, 1.2)
1541
        for i = 1, 75 do
1542
            Swait()
1543
            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)
1544
            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)
1545
            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)
1546
            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)
1547
            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)
1548
            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)
1549
        end
1550
        coroutine.resume(coroutine.create(function()
1551
            for i = 1, 13 do
1552
                for e = 1, 8 do
1553
                    Swait()
1554
                    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))
1555
                    CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
1556
                end
1557
                for i = 1, 5 do
1558
                    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)
1559
                    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))
1560
                end
1561
                CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
1562
                CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
1563
                CreateSound("168586621", ABSOLUTE, 4, 0.8)
1564
                CreateSound("201858144", ABSOLUTE, 10, 0.8)
1565
                killnearest(ABSOLUTE.Position,i*18,i)
1566
                ABSOLUTE.Size = ABSOLUTE.Size*0.9
1567
                MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
1568
                MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
1569
            end
1570
            ABSOLUTE.Transparency = 1
1571
            Debris:AddItem(ABSOLUTE,10)
1572
        end))
1573
        ATTACK = false
1574
        Rooted = false
1575
    end
1576
end
1577
 
1578
local Decal = IT("Decal")
1579
 
1580
function Astral_Hop()
1581
    ATTACK = true
1582
    Rooted = false
1583
    local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
1584
    O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
1585
    local decal = Decal:Clone()
1586
    decal.Parent = O1
1587
    decal.Face = "Top"
1588
    decal.Texture = "http://www.roblox.com/asset/?id=349165228"
1589
    local decal2 = Decal:Clone()
1590
    decal2.Parent = O1
1591
    decal2.Face = "Bottom"
1592
    decal2.Texture = "http://www.roblox.com/asset/?id=349165228"
1593
    local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
1594
    local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
1595
    O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
1596
    local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
1597
    ROOT.CFrame = CF(O2.Position,RootPart.Position)
1598
    local decal = Decal:Clone()
1599
    decal.Parent = O2
1600
    decal.Face = "Top"
1601
    decal.Texture = "http://www.roblox.com/asset/?id=349165228"
1602
    local decal2 = Decal:Clone()
1603
    decal2.Parent = O2
1604
    decal2.Face = "Bottom"
1605
    decal2.Texture = "http://www.roblox.com/asset/?id=349165228"
1606
    CreateSound("84005018", O1, 10, 0.7)
1607
    CreateSound("84005018", O2, 10, 0.7)
1608
    for i = 1, 75 do
1609
        Swait()
1610
        O1.Size = O1.Size + VT(0.1,0,0.1)
1611
        O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
1612
        O2.Size = O2.Size + VT(0.1,0,0.1)
1613
        O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
1614
        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)
1615
        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)
1616
        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)
1617
        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)
1618
        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)
1619
        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)
1620
    end
1621
    Rooted = true
1622
    UNANCHOR = false
1623
    RootPart.Anchored = true
1624
    VALUE1 = true
1625
    for i = 1, 15 do
1626
        Transparency(i/15)
1627
        Swait()
1628
        RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
1629
        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)
1630
        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)
1631
        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)
1632
        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)
1633
        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)
1634
        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)
1635
    end
1636
    RootPart.CFrame = ROOT.CFrame
1637
    ROOT:remove()
1638
    for i = 1, 15 do
1639
        Transparency(1-(i/15))
1640
        Swait()
1641
        RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
1642
        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)
1643
        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)
1644
        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)
1645
        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)
1646
        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)
1647
        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)
1648
    end
1649
    VALUE1 = false
1650
    coroutine.resume(coroutine.create(function()
1651
        for i = 1, 75 do
1652
            Swait()
1653
            O1.Size = O1.Size - VT(0.1,0,0.1)
1654
            O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
1655
            O2.Size = O2.Size - VT(0.1,0,0.1)
1656
            O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
1657
        end
1658
        O1:remove()
1659
        O2:remove()
1660
    end))
1661
    UNANCHOR = true
1662
    RootPart.Anchored = false
1663
    ATTACK = false
1664
    Rooted = false
1665
end
1666
1667
function WACKYEFFECT(Table)
1668
	local TYPE = (Table.EffectType or "Sphere")
1669
	local SIZE = (Table.Size or VT(1,1,1))
1670
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
1671
	local TRANSPARENCY = (Table.Transparency or 0)
1672
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1673
	local CFRAME = (Table.CFrame or Torso.CFrame)
1674
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1675
	local ROTATION1 = (Table.RotationX or 0)
1676
	local ROTATION2 = (Table.RotationY or 0)
1677
	local ROTATION3 = (Table.RotationZ or 0)
1678
	local MATERIAL = (Table.Material or "Neon")
1679
	local COLOR = (Table.Color or C3(1,1,1))
1680
	local TIME = (Table.Time or 45)
1681
	local SOUNDID = (Table.SoundID or nil)
1682
	local SOUNDPITCH = (Table.SoundPitch or nil)
1683
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1684
	coroutine.resume(coroutine.create(function()
1685
		local PLAYSSOUND = false
1686
		local SOUND = nil
1687
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1688
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1689
			PLAYSSOUND = true
1690
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1691
		end
1692
		EFFECT.Color = COLOR
1693
		local MSH = nil
1694
		if TYPE == "Sphere" then
1695
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1696
		elseif TYPE == "Block" or TYPE == "Box" then
1697
			MSH = IT("BlockMesh",EFFECT)
1698
			MSH.Scale = SIZE
1699
		elseif TYPE == "Wave" then
1700
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1701
		elseif TYPE == "Ring" then
1702
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1703
		elseif TYPE == "Slash" then
1704
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1705
		elseif TYPE == "Round Slash" then
1706
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1707
		elseif TYPE == "Swirl" then
1708
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1709
		elseif TYPE == "Skull" then
1710
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1711
		elseif TYPE == "Crystal" then
1712
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1713
		end
1714
		if MSH ~= nil then
1715
			local MOVESPEED = nil
1716
			if MOVEDIRECTION ~= nil then
1717
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1718
			end
1719
			local GROWTH = SIZE - ENDSIZE
1720
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1721
			if TYPE == "Block" then
1722
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1723
			else
1724
				EFFECT.CFrame = CFRAME
1725
			end
1726
			for LOOP = 1, TIME+1 do
1727
				Swait()
1728
				MSH.Scale = MSH.Scale - GROWTH/TIME
1729
				if TYPE == "Wave" then
1730
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1731
				end
1732
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1733
				if TYPE == "Block" then
1734
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1735
				else
1736
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1737
				end
1738
				if MOVEDIRECTION ~= nil then
1739
					local ORI = EFFECT.Orientation
1740
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1741
					EFFECT.Orientation = ORI
1742
				end
1743
			end
1744
			if PLAYSSOUND == false then
1745
				EFFECT:remove()
1746
			else
1747
				repeat wait(1) until SOUND.Playing == false
1748
				EFFECT:remove()
1749
			end
1750
		else
1751
			if PLAYSSOUND == false then
1752
				EFFECT:remove()
1753
			else
1754
				repeat Swait() until SOUND.Playing == false
1755
				EFFECT:remove()
1756
			end
1757
		end
1758
	end))
1759
end
1760
1761
function PhForm()
1762
	ATTACK = true
1763
	Rooted = true
1764
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1765
	if MODE == "Main" then
1766
		sick.SoundId = "rbxassetid://1418800825"
1767
		sick.Volume = 6
1768
		sick.Pitch = 1
1769
		sick.TimePosition = 1
1770
	for _, c in pairs(Character:GetChildren()) do
1771
		if c.ClassName == "Part" then
1772
			c.Material = "Neon"
1773
			if c:FindFirstChildOfClass("ParticleEmitter") then
1774
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1775
			end
1776
			if c == Head then
1777
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
1778
					M.Name = "Dominus"
1779
				if c:FindFirstChild("face") then
1780
					c.face:remove()
1781
				end
1782
			end
1783
		end
1784
	end
1785
	BodyColor = C3(1, 1, 1)
1786
	LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
1787
	ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549)
1788
		-- Animation --
1789
		coroutine.resume(coroutine.create(function()
1790
		end))
1791
		for i=0, 1.5, 0.1 / Animation_Speed do
1792
			Swait()
1793
            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)
1794
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1795
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1796
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1797
            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)
1798
            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)
1799
		end
1800
		MODE = "Phaedra"
1801
		SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
1802
		SKILLTEXTCOLOR2 = C3(1,1,1)
1803
		firesound.Volume = 6
1804
		Weapon2.Parent = RealPlayer.Character
1805
		for i=0, 1.5, 0.1 / Animation_Speed do
1806
			Swait()
1807
            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)
1808
1809
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1810
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1811
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1812
            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)
1813
            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)
1814
		end
1815
		Speed = 20
1816
		tecks2.Text = "Dominus Phaedra"
1817
	elseif MODE == "Phaedra" then
1818
		firesound.Volume = 0
1819
		Weapon2.Parent = nil
1820
		CreateSound(147722227, Torso, 4, 1.3, false)
1821
		sick.SoundId = "rbxassetid://195900687"
1822
		sick.Volume = 4
1823
		sick.Pitch = 1
1824
		sick.TimePosition = 20.7
1825
    for _, c in pairs(Character:GetChildren()) do
1826
        if c.ClassName == "Part" then
1827
            c.Material = "Neon"
1828
            if c:FindFirstChildOfClass("ParticleEmitter") then
1829
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
1830
            end
1831
            if c == Torso then
1832
                c.Color = C3(0,0,0)
1833
            elseif c == RightArm then
1834
                c.Color = C3(0.05,0.05,0.15)
1835
            elseif c == LeftArm then
1836
                c.Color = C3(0.05,0.05,0.15)
1837
            elseif c == RightLeg then
1838
                c.Color = C3(0,0,0.05)
1839
            elseif c == LeftLeg then
1840
                c.Color = C3(0,0,0.05)
1841
            elseif c == Head then
1842
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
1843
                    M.Name = "Dominus"
1844
                if c:FindFirstChild("face") then
1845
                    c.face:remove()
1846
1847
                end
1848
            end
1849
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1850
            c:remove()
1851
        end
1852
    end
1853
		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})
1854
		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})
1855
        Swait(15)
1856
		Speed = 16
1857
		MODE = "Main"
1858
		BodyColor = C3(0,0,0)
1859
		LegColor = C3(0,0,0.05)
1860
		ArmColor = C3(0.05,0.05,0.15)
1861
	end
1862
	ATTACK = false
1863
	Rooted = false
1864
end
1865
1866
function UpForm()
1867
	ATTACK = true
1868
	Rooted = true
1869
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1870
	if MODE == "Phaedra" then
1871
		
1872
		sick.SoundId = "rbxassetid://700037500"
1873
		sick.Volume = 10
1874
		sick.Pitch = 1
1875
		sick.TimePosition = 1
1876
	for _, c in pairs(Character:GetChildren()) do
1877
		if c.ClassName == "Part" then
1878
			c.Material = "Neon"
1879
			if c:FindFirstChildOfClass("ParticleEmitter") then
1880
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1881
			end
1882
			if c == Head then
1883
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
1884
					M.Name = "Dominus"
1885
				if c:FindFirstChild("face") then
1886
					c.face:remove()
1887
				end
1888
			end
1889
		end
1890
	end
1891
	BodyColor = C3(1, 1, 1)
1892
	LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
1893
	ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549)
1894
		-- Animation --
1895
		coroutine.resume(coroutine.create(function()
1896
		end))
1897
		for i=0, 1.5, 0.1 / Animation_Speed do
1898
			Swait()
1899
            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)
1900
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1901
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1902
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1903
            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)
1904
            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)
1905
		end
1906
		MODE = "Ultra Phaedra"
1907
		Humanoid.HipHeight = 4
1908
		SKILLTEXTCOLOR = C3(0.8, 0.6, 0.4)
1909
		SKILLTEXTCOLOR2 = C3(1,1,1)
1910
		firesound.Volume = 10
1911
		firesound.Parent = RealPlayer.Character
1912
		Weapon2.Parent = RealPlayer.Character
1913
		for i=0, 1.5, 0.1 / Animation_Speed do
1914
			Swait()
1915
            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)
1916
1917
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1918
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1919
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1920
            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)
1921
            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)
1922
		end
1923
		Speed = 20
1924
		tecks2.Text = "Ultima Dominus Phaedra"
1925
	elseif MODE == "Ultra Phaedra" then
1926
		firesound.Volume = 0
1927
		firesound.Parent = RootPart
1928
		Humanoid.HipHeight = 2
1929
		Weapon2.Parent = nil
1930
		CreateSound(147722227, Torso, 4, 1.3, false)
1931
		sick.SoundId = "rbxassetid://195900687"
1932
		sick.Volume = 4
1933
		sick.Pitch = 1
1934
		sick.TimePosition = 20.7
1935
    for _, c in pairs(Character:GetChildren()) do
1936
        if c.ClassName == "Part" then
1937
            c.Material = "Neon"
1938
            if c:FindFirstChildOfClass("ParticleEmitter") then
1939
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
1940
            end
1941
            if c == Torso then
1942
                c.Color = C3(0,0,0)
1943
            elseif c == RightArm then
1944
                c.Color = C3(0.05,0.05,0.15)
1945
            elseif c == LeftArm then
1946
                c.Color = C3(0.05,0.05,0.15)
1947
            elseif c == RightLeg then
1948
                c.Color = C3(0,0,0.05)
1949
            elseif c == LeftLeg then
1950
                c.Color = C3(0,0,0.05)
1951
            elseif c == Head then
1952
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
1953
                    M.Name = "Dominus"
1954
                if c:FindFirstChild("face") then
1955
                    c.face:remove()
1956
1957
                end
1958
            end
1959
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1960
            c:remove()
1961
        end
1962
    end
1963
		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})
1964
		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})
1965
        Swait(15)
1966
		Speed = 16
1967
		MODE = "Main"
1968
		BodyColor = C3(0,0,0)
1969
		LegColor = C3(0,0,0.05)
1970
		ArmColor = C3(0.05,0.05,0.15)
1971
	end
1972
	ATTACK = false
1973
	Rooted = false
1974
end
1975
1976
function TeForm()
1977
	ATTACK = true
1978
	Rooted = true
1979
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1980
	if MODE == "Main" then
1981
		sick.SoundId = "rbxassetid://926658175"
1982
		sick.Volume = 3
1983
		sick.Pitch = 1
1984
		sick.TimePosition = 1
1985
	for _, c in pairs(Character:GetChildren()) do
1986
		if c.ClassName == "Part" then
1987
			c.Material = "Neon"
1988
			if c:FindFirstChildOfClass("ParticleEmitter") then
1989
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1990
			end
1991
			if c == Head then
1992
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
1993
					M.Name = "Dominus"
1994
				if c:FindFirstChild("face") then
1995
					c.face:remove()
1996
				end
1997
			end
1998
		end
1999
	end
2000
	BodyColor = C3(0,0,0)
2001
	LegColor = C3(0,0,0)
2002
	ArmColor = C3(0.05,0.05,0.05)
2003
		SKILLTEXTCOLOR = C3(0.05,0.05,0.05)
2004
		SKILLTEXTCOLOR2 = C3(0,0,0)
2005
		-- Animation --
2006
		coroutine.resume(coroutine.create(function()
2007
		end))
2008
		CreateSound(363808674, Torso, 6, 1, false)
2009
		for i=0, 0.6, 0.1 / Animation_Speed do
2010
			Swait()
2011
            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)
2012
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2013
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2014
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2015
            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)
2016
            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)
2017
		end
2018
		for i=0, 0.6, 0.1 / Animation_Speed do
2019
			Swait()
2020
            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)
2021
2022
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2023
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2024
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2025
            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)
2026
            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)
2027
		end
2028
		MODE = "Tenebris"
2029
		tecks2.Text = "Dominus Tenebris"
2030
		SKILLTEXTCOLOR = C3(0.05,0,0)
2031
		SKILLTEXTCOLOR2 = C3(0,0,0)
2032
		Speed = 20
2033
	elseif MODE == "Tenebris" then
2034
		CreateSound(147722227, Torso, 4, 1.3, false)
2035
		sick.SoundId = "rbxassetid://195900687"
2036
		sick.Volume = 4
2037
		sick.Pitch = 1
2038
		sick.TimePosition = 20.7
2039
    for _, c in pairs(Character:GetChildren()) do
2040
        if c.ClassName == "Part" then
2041
            c.Material = "Neon"
2042
            if c:FindFirstChildOfClass("ParticleEmitter") then
2043
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2044
            end
2045
            if c == Torso then
2046
                c.Color = C3(0,0,0)
2047
            elseif c == RightArm then
2048
                c.Color = C3(0.05,0.05,0.15)
2049
            elseif c == LeftArm then
2050
                c.Color = C3(0.05,0.05,0.15)
2051
            elseif c == RightLeg then
2052
                c.Color = C3(0,0,0.05)
2053
            elseif c == LeftLeg then
2054
                c.Color = C3(0,0,0.05)
2055
            elseif c == Head then
2056
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2057
                    M.Name = "Dominus"
2058
                if c:FindFirstChild("face") then
2059
                    c.face:remove()
2060
2061
                end
2062
            end
2063
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2064
            c:remove()
2065
        end
2066
    end
2067
		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})
2068
		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})
2069
        Swait(15)
2070
		Speed = 16
2071
		MODE = "Main"
2072
		BodyColor = C3(0,0,0)
2073
		LegColor = C3(0,0,0.05)
2074
		ArmColor = C3(0.05,0.05,0.15)
2075
	end
2076
	ATTACK = false
2077
	Rooted = false
2078
end
2079
2080
function TemplateTrans()
2081
	ATTACK = true
2082
	Rooted = true
2083
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2084
	if MODE == "Main" then
2085
		sick.SoundId = "rbxassetid://926658175"
2086
		sick.Volume = 3
2087
		sick.Pitch = 1
2088
		sick.TimePosition = 1
2089
	for _, c in pairs(Character:GetChildren()) do
2090
		if c.ClassName == "Part" then
2091
			c.Material = "Neon"
2092
			if c:FindFirstChildOfClass("ParticleEmitter") then
2093
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2094
			end
2095
			if c == Head then
2096
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2097
					M.Name = "Dominus"
2098
				if c:FindFirstChild("face") then
2099
					c.face:remove()
2100
				end
2101
			end
2102
		end
2103
	end
2104
	BodyColor = C3(0,0,0)
2105
	LegColor = C3(0,0,0)
2106
	ArmColor = C3(0.05,0.05,0.05)
2107
		SKILLTEXTCOLOR = C3(0.05,0.05,0.05)
2108
		SKILLTEXTCOLOR2 = C3(0,0,0)
2109
		-- Animation --
2110
		coroutine.resume(coroutine.create(function()
2111
		end))
2112
		MODE = "Form"
2113
		tecks2.Text = "Dominus Form"
2114
		SKILLTEXTCOLOR = C3(0.05,0,0)
2115
		SKILLTEXTCOLOR2 = C3(0,0,0)
2116
		Speed = 20
2117
	elseif MODE == "Form" then
2118
		CreateSound(147722227, Torso, 4, 1.3, false)
2119
		sick.SoundId = "rbxassetid://195900687"
2120
		sick.Volume = 4
2121
		sick.Pitch = 1
2122
		sick.TimePosition = 20.7
2123
    for _, c in pairs(Character:GetChildren()) do
2124
        if c.ClassName == "Part" then
2125
            c.Material = "Neon"
2126
            if c:FindFirstChildOfClass("ParticleEmitter") then
2127
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2128
            end
2129
            if c == Torso then
2130
                c.Color = C3(0,0,0)
2131
            elseif c == RightArm then
2132
                c.Color = C3(0.05,0.05,0.15)
2133
            elseif c == LeftArm then
2134
                c.Color = C3(0.05,0.05,0.15)
2135
            elseif c == RightLeg then
2136
                c.Color = C3(0,0,0.05)
2137
            elseif c == LeftLeg then
2138
                c.Color = C3(0,0,0.05)
2139
            elseif c == Head then
2140
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2141
                    M.Name = "Dominus"
2142
                if c:FindFirstChild("face") then
2143
                    c.face:remove()
2144
2145
                end
2146
            end
2147
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2148
            c:remove()
2149
        end
2150
    end
2151
		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})
2152
		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})
2153
        Swait(15)
2154
		Speed = 16
2155
		MODE = "Main"
2156
		BodyColor = C3(0,0,0)
2157
		LegColor = C3(0,0,0.05)
2158
		ArmColor = C3(0.05,0.05,0.15)
2159
	end
2160
	ATTACK = false
2161
	Rooted = false
2162
end
2163
2164
function VeForm()
2165
	ATTACK = true
2166
	Rooted = true
2167
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2168
	if MODE == "Tenebris" then
2169
		sick.SoundId = "rbxassetid://968448494"
2170
		sick.Volume = 4
2171
		sick.Pitch = 1.15
2172
		sick.TimePosition = 1
2173
		SKILLTEXTCOLOR = C3(0.05,0.05,0.05)
2174
		SKILLTEXTCOLOR2 = C3(0,0,0)
2175
		-- Animation --
2176
		coroutine.resume(coroutine.create(function()
2177
		end))
2178
		for i=0, 0.6, 0.1 / Animation_Speed do
2179
			Swait()
2180
            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)
2181
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2182
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2183
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2184
            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)
2185
            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)
2186
		end
2187
	for _, c in pairs(Character:GetChildren()) do
2188
		if c.ClassName == "Part" then
2189
			c.Material = "Neon"
2190
			if c:FindFirstChildOfClass("ParticleEmitter") then
2191
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2192
			end
2193
			if c == Head then
2194
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "1578505955", "1578441237", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2195
					M.Name = "Dominus"
2196
				if c:FindFirstChild("face") then
2197
					c.face:remove()
2198
				end
2199
			end
2200
		end
2201
	end
2202
	BodyColor = C3(1,1,1)
2203
	LegColor = C3(0.5,0.5,0)
2204
	ArmColor = C3(0.75,0.75,0)
2205
		for i=0, 0.6, 0.1 / Animation_Speed do
2206
			Swait()
2207
            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)
2208
2209
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2210
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2211
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2212
            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)
2213
            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)
2214
		end
2215
		MODE = "Venari"
2216
		tecks2.Text = "Dominus Venari"
2217
		SKILLTEXTCOLOR = C3(5,5,0)
2218
		SKILLTEXTCOLOR2 = C3(0,0,0)
2219
		Speed = 20
2220
	elseif MODE == "Venari" then
2221
		CreateSound(147722227, Torso, 4, 1.3, false)
2222
		sick.SoundId = "rbxassetid://195900687"
2223
		sick.Volume = 4
2224
		sick.Pitch = 1
2225
		sick.TimePosition = 20.7
2226
    for _, c in pairs(Character:GetChildren()) do
2227
        if c.ClassName == "Part" then
2228
            c.Material = "Neon"
2229
            if c:FindFirstChildOfClass("ParticleEmitter") then
2230
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2231
            end
2232
            if c == Torso then
2233
                c.Color = C3(0,0,0)
2234
            elseif c == RightArm then
2235
                c.Color = C3(0.05,0.05,0.15)
2236
            elseif c == LeftArm then
2237
                c.Color = C3(0.05,0.05,0.15)
2238
            elseif c == RightLeg then
2239
                c.Color = C3(0,0,0.05)
2240
            elseif c == LeftLeg then
2241
                c.Color = C3(0,0,0.05)
2242
            elseif c == Head then
2243
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2244
                    M.Name = "Dominus"
2245
                if c:FindFirstChild("face") then
2246
                    c.face:remove()
2247
2248
                end
2249
            end
2250
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2251
            c:remove()
2252
        end
2253
    end
2254
		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})
2255
		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})
2256
        Swait(15)
2257
		Speed = 16
2258
		MODE = "Main"
2259
		BodyColor = C3(0,0,0)
2260
		LegColor = C3(0,0,0.05)
2261
		ArmColor = C3(0.05,0.05,0.15)
2262
	end
2263
	ATTACK = false
2264
	Rooted = false
2265
end
2266
2267
function InForm()
2268
	ATTACK = true
2269
	Rooted = true
2270
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2271
	if MODE == "Main" then
2272
		sick.SoundId = "rbxassetid://415891745"
2273
		sick.Volume = 4
2274
		sick.Pitch = 1
2275
		sick.TimePosition = 1
2276
		SKILLTEXTCOLOR = C3(0.05,0.05,0.05)
2277
		SKILLTEXTCOLOR2 = C3(0,0,0)
2278
		-- Animation --
2279
	for _, c in pairs(Character:GetChildren()) do
2280
		if c.ClassName == "Part" then
2281
			c.Material = "Neon"
2282
			if c:FindFirstChildOfClass("ParticleEmitter") then
2283
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2284
			end
2285
			if c == Head then
2286
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "", VT(1,1,1)*1.1, VT(0,0,0))
2287
					M.Name = "Dominus"
2288
					c.Material = "Neon"
2289
				if c:FindFirstChild("face") then
2290
					c.face:remove()
2291
				end
2292
			end
2293
		end
2294
	end
2295
	BodyColor = BrickColor.random().Color
2296
	LegColor = BrickColor.random().Color
2297
	ArmColor = BrickColor.random().Color
2298
	SKILLTEXTCOLOR = BrickColor.random().Color
2299
	SKILLTEXTCOLOR2 = BrickColor.random().Color
2300
		MODE = "Insaniam"
2301
		tecks2.Text = "Dominus Insaniam"
2302
		SKILLTEXTCOLOR = C3(5,5,0)
2303
		SKILLTEXTCOLOR2 = C3(0,0,0)
2304
		Speed = 14
2305
	elseif MODE == "Insaniam" then
2306
		CreateSound(147722227, Torso, 4, 1.3, false)
2307
		sick.SoundId = "rbxassetid://195900687"
2308
		sick.Volume = 4
2309
		sick.Pitch = 1
2310
		sick.TimePosition = 20.7
2311
    for _, c in pairs(Character:GetChildren()) do
2312
        if c.ClassName == "Part" then
2313
            c.Material = "Neon"
2314
            if c:FindFirstChildOfClass("ParticleEmitter") then
2315
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2316
            end
2317
            if c == Torso then
2318
                c.Color = C3(0,0,0)
2319
            elseif c == RightArm then
2320
                c.Color = C3(0.05,0.05,0.15)
2321
            elseif c == LeftArm then
2322
                c.Color = C3(0.05,0.05,0.15)
2323
            elseif c == RightLeg then
2324
                c.Color = C3(0,0,0.05)
2325
            elseif c == LeftLeg then
2326
                c.Color = C3(0,0,0.05)
2327
            elseif c == Head then
2328
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2329
                    M.Name = "Dominus"
2330
					c.Material = "Plastic"
2331
                if c:FindFirstChild("face") then
2332
                    c.face:remove()
2333
2334
                end
2335
            end
2336
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2337
            c:remove()
2338
        end
2339
    end
2340
		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})
2341
		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})
2342
        Swait(15)
2343
		Speed = 16
2344
		MODE = "Main"
2345
		BodyColor = C3(0,0,0)
2346
		LegColor = C3(0,0,0.05)
2347
		ArmColor = C3(0.05,0.05,0.15)
2348
	end
2349
	ATTACK = false
2350
	Rooted = false
2351
end
2352
2353
function PrForm()
2354
	ATTACK = true
2355
	Rooted = true
2356
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2357
	if MODE == "Main" then
2358
		sick.SoundId = "rbxassetid://859912308"
2359
		sick.Volume = 3
2360
		sick.Pitch = 1
2361
		sick.TimePosition = 1
2362
	for _, c in pairs(Character:GetChildren()) do
2363
		if c.ClassName == "Part" then
2364
			c.Material = "Neon"
2365
			if c:FindFirstChildOfClass("ParticleEmitter") then
2366
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2367
			end
2368
			if c == Head then
2369
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2370
					M.Name = "Dominus"
2371
				if c:FindFirstChild("face") then
2372
					c.face:remove()
2373
				end
2374
			end
2375
		end
2376
	end
2377
	BodyColor = C3(0,0,0)
2378
	LegColor = C3(0, 0.03, 0)
2379
	ArmColor = C3(0, 0.13, 0)
2380
		SKILLTEXTCOLOR = C3(0, 0.03, 0)
2381
		SKILLTEXTCOLOR2 = C3(0,0,0)
2382
		-- Animation --
2383
		coroutine.resume(coroutine.create(function()
2384
		end))
2385
		CreateSound(363808674, Torso, 6, 1, false)
2386
		MODE = "Praefectus"
2387
		tecks2.Text = "Dominus Praefectus"
2388
		Speed = 20
2389
	elseif MODE == "Praefectus" then
2390
		CreateSound(147722227, Torso, 4, 1.3, false)
2391
		sick.SoundId = "rbxassetid://195900687"
2392
		sick.Volume = 4
2393
		sick.Pitch = 1
2394
		sick.TimePosition = 20.7
2395
    for _, c in pairs(Character:GetChildren()) do
2396
        if c.ClassName == "Part" then
2397
            c.Material = "Neon"
2398
            if c:FindFirstChildOfClass("ParticleEmitter") then
2399
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2400
            end
2401
            if c == Torso then
2402
                c.Color = C3(0,0,0)
2403
            elseif c == RightArm then
2404
                c.Color = C3(0.05,0.05,0.15)
2405
            elseif c == LeftArm then
2406
                c.Color = C3(0.05,0.05,0.15)
2407
            elseif c == RightLeg then
2408
                c.Color = C3(0,0,0.05)
2409
            elseif c == LeftLeg then
2410
                c.Color = C3(0,0,0.05)
2411
            elseif c == Head then
2412
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2413
                    M.Name = "Dominus"
2414
                if c:FindFirstChild("face") then
2415
                    c.face:remove()
2416
2417
                end
2418
            end
2419
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2420
            c:remove()
2421
        end
2422
    end
2423
		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})
2424
		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})
2425
        Swait(15)
2426
		Speed = 16
2427
		MODE = "Main"
2428
		BodyColor = C3(0,0,0)
2429
		LegColor = C3(0,0,0.05)
2430
		ArmColor = C3(0.05,0.05,0.15)
2431
	end
2432
	ATTACK = false
2433
	Rooted = false
2434
end
2435
2436
function BaForm()
2437
	ATTACK = true
2438
	Rooted = true
2439
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2440
	if MODE == "Main" then
2441
		sick.SoundId = "rbxassetid://1392856912"
2442
		sick.Volume = 10
2443
		sick.Pitch = 0.97
2444
		sick.TimePosition = 1
2445
	for _, c in pairs(Character:GetChildren()) do
2446
		if c.ClassName == "Part" then
2447
			c.Material = "Neon"
2448
			if c:FindFirstChildOfClass("ParticleEmitter") then
2449
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2450
			end
2451
			if c == Head then
2452
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "65645429", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2453
					M.Name = "Dominus"
2454
				if c:FindFirstChild("face") then
2455
					c.face:remove()
2456
				end
2457
			end
2458
		end
2459
	end
2460
	BodyColor = C3(0,0,0)
2461
	LegColor = C3(0.05,0,0)
2462
	ArmColor = C3(0.15,0.05,0.05)
2463
		-- Animation --
2464
		coroutine.resume(coroutine.create(function()
2465
		end))
2466
		for i=0, 2, 0.1 / Animation_Speed do
2467
			Swait()
2468
			CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark red",VT(5,5,0))
2469
            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)
2470
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2471
 	 	    RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2472
			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)
2473
            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)
2474
            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)
2475
		end
2476
		Weapon.Parent = RealPlayer.Character
2477
		CreateSound(633627961, Character, 5, 1, false)
2478
		for i=0, 1, 0.1 / Animation_Speed do
2479
			Swait()
2480
            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)
2481
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2482
            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)
2483
			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)
2484
            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)
2485
            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)
2486
		end
2487
		MODE = "Fugatrix"
2488
		SKILLTEXTCOLOR = C3(0.05,0,0)
2489
		SKILLTEXTCOLOR2 = C3(0,0,0)
2490
		tecks2.Text = "Dominus Fugatrix"
2491
		Speed = 30
2492
	elseif MODE == "Fugatrix" then
2493
		Weapon.Parent = nil
2494
		CreateSound(147722227, Torso, 4, 1.3, false)
2495
		sick.SoundId = "rbxassetid://195900687"
2496
		sick.Volume = 4
2497
		sick.Pitch = 1
2498
		sick.TimePosition = 20.7
2499
    for _, c in pairs(Character:GetChildren()) do
2500
        if c.ClassName == "Part" then
2501
            c.Material = "Neon"
2502
            if c:FindFirstChildOfClass("ParticleEmitter") then
2503
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2504
            end
2505
            if c == Torso then
2506
                c.Color = C3(0,0,0)
2507
            elseif c == RightArm then
2508
                c.Color = C3(0.05,0.05,0.15)
2509
            elseif c == LeftArm then
2510
                c.Color = C3(0.05,0.05,0.15)
2511
            elseif c == RightLeg then
2512
                c.Color = C3(0,0,0.05)
2513
            elseif c == LeftLeg then
2514
                c.Color = C3(0,0,0.05)
2515
            elseif c == Head then
2516
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2517
                    M.Name = "Dominus"
2518
                if c:FindFirstChild("face") then
2519
                    c.face:remove()
2520
2521
                end
2522
            end
2523
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2524
            c:remove()
2525
        end
2526
    end
2527
		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})
2528
		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})
2529
        Swait(15)
2530
		Speed = 16
2531
		MODE = "Main"
2532
		BodyColor = C3(0,0,0)
2533
		LegColor = C3(0,0,0.05)
2534
		ArmColor = C3(0.05,0.05,0.15)
2535
	end
2536
	ATTACK = false
2537
	Rooted = false
2538
end
2539
2540
function DeathForm()
2541
	ATTACK = true
2542
	Rooted = true
2543
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2544
	if MODE == "Fugatrix" then
2545
		sick.SoundId = "rbxassetid://2650791818"
2546
		sick.Volume = 10
2547
		sick.Pitch = 0.97
2548
		sick.TimePosition = 0
2549
		-- Animation --
2550
		coroutine.resume(coroutine.create(function()
2551
		end))
2552
		for i=0, 2, 0.1 / Animation_Speed do
2553
			Swait()
2554
			CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0))
2555
            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)
2556
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2557
 	 	    RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2558
			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)
2559
            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)
2560
            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)
2561
		end
2562
		Weapon.Parent = nil
2563
		DeadEyes.Parent = RealPlayer.Character
2564
		CreateSound(145080998, Character, 5, 1, false)
2565
	for _, c in pairs(Character:GetChildren()) do
2566
		if c.ClassName == "Part" then
2567
			c.Material = "Neon"
2568
			if c:FindFirstChildOfClass("ParticleEmitter") then
2569
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2570
			end
2571
			if c == Head then
2572
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "32571089", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2573
					M.Name = "Dominus"
2574
				if c:FindFirstChild("face") then
2575
					c.face:remove()
2576
				end
2577
			end
2578
		end
2579
	end
2580
	BodyColor = C3(0.07,0,0)
2581
	LegColor = C3(0.1,0,0)
2582
	ArmColor = C3(1.017,0,0)
2583
		for i=0, 1, 0.1 / Animation_Speed do
2584
			Swait()
2585
            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)
2586
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2587
            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)
2588
			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)
2589
            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)
2590
            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)
2591
		end
2592
		MODE = "Mortem"
2593
		SKILLTEXTCOLOR = C3(0.1,0,0)
2594
		SKILLTEXTCOLOR2 = C3(0,0,0)
2595
		tecks2.Text = "Dominus Mortem"
2596
		Speed = 30
2597
	elseif MODE == "Mortem" then
2598
		DeadEyes.Parent = nil
2599
		CreateSound(147722227, Torso, 4, 1.3, false)
2600
		sick.SoundId = "rbxassetid://195900687"
2601
		sick.Volume = 4
2602
		sick.Pitch = 1
2603
		sick.TimePosition = 20.7
2604
    for _, c in pairs(Character:GetChildren()) do
2605
        if c.ClassName == "Part" then
2606
            c.Material = "Neon"
2607
            if c:FindFirstChildOfClass("ParticleEmitter") then
2608
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2609
            end
2610
            if c == Torso then
2611
                c.Color = C3(0,0,0)
2612
            elseif c == RightArm then
2613
                c.Color = C3(0.05,0.05,0.15)
2614
            elseif c == LeftArm then
2615
                c.Color = C3(0.05,0.05,0.15)
2616
            elseif c == RightLeg then
2617
                c.Color = C3(0,0,0.05)
2618
            elseif c == LeftLeg then
2619
                c.Color = C3(0,0,0.05)
2620
            elseif c == Head then
2621
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2622
                    M.Name = "Dominus"
2623
                if c:FindFirstChild("face") then
2624
                    c.face:remove()
2625
2626
                end
2627
            end
2628
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2629
            c:remove()
2630
        end
2631
    end
2632
		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})
2633
		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})
2634
        Swait(15)
2635
		Speed = 16
2636
		MODE = "Main"
2637
		BodyColor = C3(0,0,0)
2638
		LegColor = C3(0,0,0.05)
2639
		ArmColor = C3(0.05,0.05,0.15)
2640
	end
2641
	ATTACK = false
2642
	Rooted = false
2643
end
2644
2645
function CreateParticles(art,text,accel,drag,lifetime,type,isenabledbydefault,locked)
2646
	local particle = nil
2647
	coroutine.resume(coroutine.create(function(PART)
2648
		particle = PE:Clone()
2649
		Swait()
2650
		particle.Rate = 999
2651
		particle.Parent = art
2652
		particle.Acceleration = accel
2653
		if type == "Fire" then
2654
			local EyeSizes={
2655
				NumberSequenceKeypoint.new(0,0.5,0.3),
2656
				NumberSequenceKeypoint.new(1,0.2,0.2)
2657
			}
2658
			particle.Size = NumberSequence.new(EyeSizes)
2659
		elseif type == "Smoke" then
2660
			local EyeSizes={
2661
				NumberSequenceKeypoint.new(0,0.5,0),
2662
				NumberSequenceKeypoint.new(1,5,0.5)
2663
			}
2664
			particle.Size = NumberSequence.new(EyeSizes)
2665
		elseif type == "Solid" then
2666
			local EyeSizes={
2667
				NumberSequenceKeypoint.new(0,0.5,0),
2668
				NumberSequenceKeypoint.new(1,0.5,0)
2669
			}
2670
			particle.Size = NumberSequence.new(EyeSizes)
2671
		end
2672
		particle.Lifetime=NumberRange.new(lifetime)
2673
		particle.Drag = drag
2674
		if locked == true then
2675
			particle.LockedToPart = true
2676
		end
2677
		particle.Texture = "http://www.roblox.com/asset/?id="..text
2678
		particle.Enabled = isenabledbydefault
2679
	end))
2680
return particle
2681
end
2682
2683
local MAGICPARTICLE = "296874871"
2684
2685
local Plate = IT("Part",LMAO)
2686
Plate.Size = VT(1,0.1,1)
2687
Plate.Transparency = 1
2688
Plate.CanCollide = false
2689
Plate.CFrame = RightArm.CFrame * CF(0,-1.1,0)
2690
CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true)
2691
weldBetween(RightArm,Plate)
2692
Plate.Parent = nil
2693
2694
local Plate = IT("Part",LMAO)
2695
Plate.Size = VT(1,0.1,1)
2696
Plate.Transparency = 1
2697
Plate.CanCollide = false
2698
Plate.CFrame = LeftArm.CFrame * CF(0,-1.1,0)
2699
CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true)
2700
weldBetween(LeftArm,Plate)
2701
Plate.Parent = nil
2702
2703
function FinalForm()
2704
	ATTACK = true
2705
	Rooted = true
2706
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2707
	if MODE == "Main" then
2708
		sick.SoundId = "rbxassetid://576172702"
2709
		sick.Volume = 10
2710
		sick.Pitch = 0.97
2711
		sick.TimePosition = 0
2712
		-- Animation --
2713
		coroutine.resume(coroutine.create(function()
2714
		end))
2715
		for i=0, 2, 50 / Animation_Speed do
2716
			Swait()
2717
			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))
2718
			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))
2719
			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)
2720
			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)
2721
			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)
2722
			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)
2723
			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)
2724
			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)
2725
		end
2726
	for _, c in pairs(Character:GetChildren()) do
2727
		if c.ClassName == "Part" then
2728
			c.Material = "Neon"
2729
			if c:FindFirstChildOfClass("ParticleEmitter") then
2730
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2731
			end
2732
			if c == Head then
2733
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "53837867", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2734
					M.Name = "Dominus"
2735
				if c:FindFirstChild("face") then
2736
					c.face:remove()
2737
				end
2738
			end
2739
		end
2740
	end
2741
	LMAO.Parent = RealPlayer.Character
2742
	BodyColor = C3(0.025,0.025,0.1)
2743
	LegColor = BRICKC("Storm blue").Color
2744
	ArmColor = C3(0.5, 0.5, 1)
2745
		for i = 1, 25 do
2746
			Swait()
2747
			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))
2748
			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))
2749
			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)
2750
			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)
2751
			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)
2752
			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)
2753
			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)
2754
			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)
2755
		end
2756
		MODE = "Maris"
2757
		SKILLTEXTCOLOR = C3(0,0,1)
2758
		SKILLTEXTCOLOR2 = C3(0,0,0)
2759
		tecks2.Text = "Dominus Maris"
2760
		Speed = 80
2761
	elseif MODE == "Maris" then
2762
	LMAO.Parent = nil
2763
		CreateSound(147722227, Torso, 4, 1.3, false)
2764
		sick.SoundId = "rbxassetid://195900687"
2765
		sick.Volume = 4
2766
		sick.Pitch = 1
2767
		sick.TimePosition = 20.7
2768
    for _, c in pairs(Character:GetChildren()) do
2769
        if c.ClassName == "Part" then
2770
            c.Material = "Neon"
2771
            if c:FindFirstChildOfClass("ParticleEmitter") then
2772
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2773
            end
2774
            if c == Torso then
2775
                c.Color = C3(0,0,0)
2776
            elseif c == RightArm then
2777
                c.Color = C3(0.05,0.05,0.15)
2778
            elseif c == LeftArm then
2779
                c.Color = C3(0.05,0.05,0.15)
2780
            elseif c == RightLeg then
2781
                c.Color = C3(0,0,0.05)
2782
            elseif c == LeftLeg then
2783
                c.Color = C3(0,0,0.05)
2784
            elseif c == Head then
2785
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2786
                    M.Name = "Dominus"
2787
                if c:FindFirstChild("face") then
2788
                    c.face:remove()
2789
2790
                end
2791
            end
2792
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2793
            c:remove()
2794
        end
2795
    end
2796
		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})
2797
		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})
2798
        Swait(15)
2799
		Speed = 16
2800
		MODE = "Main"
2801
		BodyColor = C3(0,0,0)
2802
		LegColor = C3(0,0,0.05)
2803
		ArmColor = C3(0.05,0.05,0.15)
2804
	end
2805
	ATTACK = false
2806
	Rooted = false
2807
end
2808
2809
function DeForm()
2810
	ATTACK = true
2811
	Rooted = true
2812
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2813
	if MODE == "Praefectus" then
2814
		sick.SoundId = "rbxassetid://1633982099"
2815
		sick.Volume = 10
2816
		sick.Pitch = 0.97
2817
		sick.TimePosition = 1
2818
	for _, c in pairs(Character:GetChildren()) do
2819
		if c.ClassName == "Part" then
2820
			c.Material = "Neon"
2821
			if c:FindFirstChildOfClass("ParticleEmitter") then
2822
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2823
			end
2824
			if c == Head then
2825
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "1486164425", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
2826
					M.Name = "Dominus"
2827
				if c:FindFirstChild("face") then
2828
					c.face:remove()
2829
				end
2830
			end
2831
		end
2832
	end
2833
	BodyColor = C3(0,0,0)
2834
	LegColor = C3(0.03, 0, 0)
2835
	ArmColor = C3(0.13, 0, 0)
2836
		-- Animation --
2837
		coroutine.resume(coroutine.create(function()
2838
		end))
2839
		CreateSound(1238240145, Torso, 6, 1, false)
2840
		for i=0, 0.6, 0.1 / Animation_Speed do
2841
			Swait()
2842
            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)
2843
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2844
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2845
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2846
            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)
2847
            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)
2848
		end
2849
		for i=0, 0.6, 0.1 / Animation_Speed do
2850
			Swait()
2851
            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)
2852
2853
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2854
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2855
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2856
            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)
2857
            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)
2858
		end
2859
		MODE = "Demonum"
2860
		tecks2.Text = "Dominus Daemonium"
2861
		SKILLTEXTCOLOR = C3(0.03, 0, 0)
2862
		SKILLTEXTCOLOR2 = C3(0,0,0)
2863
		Speed = 30
2864
	elseif MODE == "Demonum" then
2865
		CreateSound(147722227, Torso, 4, 1.3, false)
2866
		sick.SoundId = "rbxassetid://195900687"
2867
		sick.Volume = 4
2868
		sick.Pitch = 1
2869
		sick.TimePosition = 20.7
2870
    for _, c in pairs(Character:GetChildren()) do
2871
        if c.ClassName == "Part" then
2872
            c.Material = "Neon"
2873
            if c:FindFirstChildOfClass("ParticleEmitter") then
2874
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2875
            end
2876
            if c == Torso then
2877
                c.Color = C3(0,0,0)
2878
            elseif c == RightArm then
2879
                c.Color = C3(0.05,0.05,0.15)
2880
            elseif c == LeftArm then
2881
                c.Color = C3(0.05,0.05,0.15)
2882
            elseif c == RightLeg then
2883
                c.Color = C3(0,0,0.05)
2884
            elseif c == LeftLeg then
2885
                c.Color = C3(0,0,0.05)
2886
            elseif c == Head then
2887
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
2888
                    M.Name = "Dominus"
2889
                if c:FindFirstChild("face") then
2890
                    c.face:remove()
2891
2892
                end
2893
            end
2894
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2895
            c:remove()
2896
        end
2897
    end
2898
		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})
2899
		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})
2900
        Swait(15)
2901
		Speed = 16
2902
		MODE = "Main"
2903
		BodyColor = C3(0,0,0)
2904
		LegColor = C3(0,0,0.05)
2905
		ArmColor = C3(0.05,0.05,0.15)
2906
	end
2907
	ATTACK = false
2908
	Rooted = false
2909
end
2910
2911
function Ignem_Aeternum()
2912
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
2913
	if HITFLOOR ~= nil then
2914
		do
2915
			local POWER = LEVEL
2916
			ATTACK = true
2917
			Rooted = true
2918
			local CENTER = MagicRing()
2919
			CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
2920
			CreateSound("424777055", CENTER, 10, 1)
2921
			local RAIN = {}
2922
			for i = 1, 55 do
2923
				Swait()
2924
				CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3
2925
				CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
2926
				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)
2927
				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)
2928
				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)
2929
				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)
2930
				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)
2931
				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)
2932
			end
2933
			local MAXDIST = 30
2934
			local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector
2935
			local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character)
2936
			local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character)
2937
			local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
2938
			MakeForm(ORB, "Ball")
2939
			CreateSound("201858045", ORB, 10, 0.5)
2940
			for i = 0, 1, 0.1 / Animation_Speed do
2941
				Swait()
2942
				ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0)
2943
				ORB.Transparency = 0
2944
				ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7
2945
				local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
2946
				local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude
2947
				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)
2948
				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)
2949
				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)
2950
				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)
2951
				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)
2952
				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)
2953
			end
2954
			coroutine.resume(coroutine.create(function()
2955
				ORB.CFrame = CF(ORB.Position, HITPOS3)
2956
				local IMPACT = false
2957
				for i = 1, 400 do
2958
					Swait()
2959
					ORB.CFrame = ORB.CFrame * CF(0, 0, -1)
2960
					local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character)
2961
					if HIT ~= nil then
2962
						IMPACT = true
2963
						break
2964
					end
2965
				end
2966
				if IMPACT == true then
2967
					ORB.Transparency = 1
2968
					local FRONT = ORB.CFrame * CF(0, 0, -1).p
2969
					ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z))
2970
					for i = 1, 35 do
2971
						ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5)
2972
						MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35)
2973
						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))
2974
						killnearest(ORB.Position, ORB.Size.X * 2, 500)
2975
						Swait()
2976
					end
2977
				else
2978
					ORB:remove()
2979
				end
2980
			end))
2981
			ATTACK = false
2982
			Rooted = false
2983
			coroutine.resume(coroutine.create(function()
2984
				for i = 1, 55 do
2985
					Swait()
2986
					CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
2987
					CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
2988
				end
2989
				CENTER:remove()
2990
			end))
2991
		end
2992
	end
2993
end
2994
2995
function Dead_Cutter()
2996
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
2997
    if HITFLOOR ~= nil then
2998
        ATTACK = true
2999
        Rooted = true
3000
		local RAIN = {}
3001
        local GYRO = IT("BodyGyro",RootPart)
3002
        GYRO.D = 100
3003
        GYRO.P = 2000
3004
        GYRO.MaxTorque = VT(0,4000000,0)
3005
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3006
        CreateSound("429459101", RightArm, 10, 0.8)
3007
        for i=0, 3.5, 0.1 / Animation_Speed do
3008
            Swait()
3009
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3010
            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))
3011
            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)
3012
            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)
3013
            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)
3014
            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)
3015
            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)
3016
            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)
3017
        end
3018
        GYRO:remove()
3019
        for i=0, 0.15, 0.1 / Animation_Speed do
3020
            Swait()
3021
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3022
            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))
3023
            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)
3024
            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)
3025
            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)
3026
            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)
3027
            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)
3028
            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)
3029
        end
3030
        local BOMBSPOTS = {}
3031
        for i = 1, 60 do
3032
            local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(30,1,30))
3033
            SPOT.Color = SKILLTEXTCOLOR
3034
            SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
3035
            table.insert(BOMBSPOTS,SPOT)
3036
            MakeForm(SPOT,"Cyl")
3037
		Swait()
3038
		for i = 1, 3 do
3039
		coroutine.resume(coroutine.create(function()
3040
			local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Raindrop", VT(2 / 2, 2 / 2, 2 * 5))
3041
			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)))
3042
			table.insert(RAIN, DROP)
3043
			MakeForm(DROP, "Ball")
3044
			local IMPACT = false
3045
			for i = 1, 80 do
3046
				Swait()
3047
				DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
3048
				local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
3049
				if HIT ~= nil then
3050
					IMPACT = true
3051
					break
3052
				end
3053
			end
3054
			table.remove(RAIN, 1)
3055
			if IMPACT == true then
3056
				DROP.Transparency = 1
3057
				MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Really red").Color, VT(2, 2, 2) / 2)
3058
				killnearest(DROP.Position, 2 * 5, 500)
3059
				Debris:AddItem(DROP, 5)
3060
			else
3061
				DROP:remove()
3062
			end
3063
		end))
3064
		end
3065
        end
3066
        for i=0, 0.2, 0.1 / Animation_Speed do
3067
            Swait()
3068
            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)
3069
            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)
3070
            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)
3071
            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)
3072
            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)
3073
            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)
3074
        end
3075
        ATTACK = false
3076
        Rooted = false
3077
        coroutine.resume(coroutine.create(function()
3078
            Swait(3)
3079
            for i = 1, #BOMBSPOTS do
3080
                if BOMBSPOTS[i] ~= nil then
3081
                    local E = BOMBSPOTS[i]
3082
                    coroutine.resume(coroutine.create(function()
3083
                        for i = 1, 10 do
3084
                            Swait()
3085
                        end
3086
                        Swait(45)
3087
                        for i = 1, 100 do
3088
                            Swait()
3089
                        end
3090
                        E:remove()
3091
                    end))
3092
                end
3093
            end
3094
        end))
3095
    end
3096
end
3097
 
3098
3099
function Ultimate_B()
3100
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
3101
	if HITFLOOR ~= nil then
3102
		do
3103
			local POWER = 3
3104
			ATTACK = true
3105
			Rooted = true
3106
			local CENTER = MagicRing()
3107
			CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
3108
			CreateSound("424777055", CENTER, 10, 1)
3109
			local RAIN = {}
3110
			for i = 1, 55 do
3111
				Swait()
3112
				CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3
3113
				CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3114
				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)
3115
				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)
3116
				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)
3117
				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)
3118
				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)
3119
				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)
3120
			end
3121
			local MAXDIST = 30
3122
			local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector
3123
			local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character)
3124
			local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character)
3125
			local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
3126
			MakeForm(ORB, "Ball")
3127
			CreateSound("201858045", ORB, 10, 0.5)
3128
			for i = 0, 1, 0.1 / Animation_Speed do
3129
				Swait()
3130
				ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0)
3131
				ORB.Transparency = 0
3132
				ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7
3133
				local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
3134
				local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude
3135
				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)
3136
				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)
3137
				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)
3138
				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)
3139
				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)
3140
				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)
3141
			end
3142
			coroutine.resume(coroutine.create(function()
3143
				ORB.CFrame = CF(ORB.Position, HITPOS3)
3144
				local IMPACT = false
3145
				for i = 1, 400 do
3146
					Swait()
3147
					ORB.CFrame = ORB.CFrame * CF(0, 0, -1)
3148
					local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character)
3149
					if HIT ~= nil then
3150
						IMPACT = true
3151
						break
3152
					end
3153
				end
3154
				if IMPACT == true then
3155
					ORB.Transparency = 1
3156
					local FRONT = ORB.CFrame * CF(0, 0, -1).p
3157
					ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z))
3158
					for i = 1, 35 do
3159
						ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5)
3160
						MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35)
3161
						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))
3162
						killnearest(ORB.Position, ORB.Size.X * 2, 500)
3163
						Swait()
3164
					end
3165
				else
3166
					ORB:remove()
3167
				end
3168
			end))
3169
	for i = 1, 70 do
3170
		Swait()
3171
		coroutine.resume(coroutine.create(function()
3172
			local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5))
3173
			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)))
3174
			table.insert(RAIN, DROP)
3175
			particles(DROP)
3176
			MakeForm(DROP, "Ball")
3177
			local IMPACT = false
3178
			for i = 1, 80 do
3179
				Swait()
3180
				DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
3181
				local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
3182
				if HIT ~= nil then
3183
					IMPACT = true
3184
					break
3185
				end
3186
			end
3187
			table.remove(RAIN, 1)
3188
			if IMPACT == true then
3189
				DROP.Transparency = 1
3190
				DROP.OVERLORDAURA.Enabled = false
3191
				MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2)
3192
				killnearest(DROP.Position, POWER * 5, 500)
3193
				Debris:AddItem(DROP, 5)
3194
			else
3195
				DROP:remove()
3196
			end
3197
		end))
3198
	end
3199
			ATTACK = false
3200
			Rooted = false
3201
			coroutine.resume(coroutine.create(function()
3202
				for i = 1, 55 do
3203
					Swait()
3204
					CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
3205
					CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3206
				end
3207
				CENTER:remove()
3208
			end))
3209
		end
3210
	end
3211
end
3212
3213
function Dolor_Pluvia()
3214
	local POWER = LEVEL
3215
	local CENTER = MagicRing()
3216
	CENTER.CFrame = CF(Mouse.Hit.p)
3217
	CreateSound("424777055", CENTER, 10, 1)
3218
	local RAIN = {}
3219
	for i = 1, 45 do
3220
		Swait()
3221
		CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
3222
		CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3223
	end
3224
	for i = 1, 35 do
3225
		Swait()
3226
		coroutine.resume(coroutine.create(function()
3227
			local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5))
3228
			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)))
3229
			table.insert(RAIN, DROP)
3230
			particles(DROP)
3231
			MakeForm(DROP, "Ball")
3232
			local IMPACT = false
3233
			for i = 1, 80 do
3234
				Swait()
3235
				DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
3236
				local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
3237
				if HIT ~= nil then
3238
					IMPACT = true
3239
					break
3240
				end
3241
			end
3242
			table.remove(RAIN, 1)
3243
			if IMPACT == true then
3244
				DROP.Transparency = 1
3245
				DROP.OVERLORDAURA.Enabled = false
3246
				MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2)
3247
				killnearest(DROP.Position, POWER * 5, 500)
3248
				Debris:AddItem(DROP, 5)
3249
			else
3250
				DROP:remove()
3251
			end
3252
		end))
3253
	end
3254
	repeat
3255
		Swait()
3256
	until #RAIN == 0
3257
	for i = 1, 45 do
3258
		Swait()
3259
		CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
3260
		CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3261
	end
3262
	CENTER:remove()
3263
end
3264
3265
function Ultimate_Z()
3266
	local POWER = 5
3267
	local CENTER = MagicRing()
3268
	CENTER.CFrame = CF(Mouse.Hit.p)
3269
	CreateSound("424777055", CENTER, 10, 1)
3270
	local RAIN = {}
3271
	for i = 1, 45 do
3272
		Swait()
3273
		CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
3274
		CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3275
	end
3276
	for i = 1, 100 do
3277
		Swait()
3278
		coroutine.resume(coroutine.create(function()
3279
			local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5))
3280
			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)))
3281
			table.insert(RAIN, DROP)
3282
			particles(DROP)
3283
			MakeForm(DROP, "Ball")
3284
			local IMPACT = false
3285
			for i = 1, 80 do
3286
				Swait()
3287
				DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
3288
				local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
3289
				if HIT ~= nil then
3290
					IMPACT = true
3291
					break
3292
				end
3293
			end
3294
			table.remove(RAIN, 1)
3295
			if IMPACT == true then
3296
				DROP.Transparency = 1
3297
				DROP.OVERLORDAURA.Enabled = false
3298
				MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2)
3299
				killnearest(DROP.Position, POWER * 5, 500)
3300
				Debris:AddItem(DROP, 5)
3301
			else
3302
				DROP:remove()
3303
			end
3304
		end))
3305
	end
3306
	repeat
3307
		Swait()
3308
	until #RAIN == 0
3309
	for i = 1, 45 do
3310
		Swait()
3311
		CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
3312
		CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3313
	end
3314
	CENTER:remove()
3315
end
3316
3317
function Ultima_Consummatio()
3318
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character)
3319
	if HITFLOOR ~= nil then
3320
		do
3321
			local POWER = LEVEL
3322
			ATTACK = true
3323
			Rooted = true
3324
			if POWER <= 6 then
3325
				do
3326
					local CENTER = MagicRing()
3327
					CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
3328
					CreateSound("424777055", CENTER, 10, 1)
3329
					local RAIN = {}
3330
					for i = 1, 65 do
3331
						Swait()
3332
						CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
3333
						CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3334
						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)
3335
						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)
3336
						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)
3337
						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)
3338
						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)
3339
						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)
3340
					end
3341
					local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
3342
					MakeForm(ORB, "Ball")
3343
					CreateSound("201858045", ORB, 10, 0.5)
3344
					for i = 0, 5, 0.1 / Animation_Speed do
3345
						Swait()
3346
						ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0)
3347
						ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10
3348
						ORB.Transparency = 0
3349
						local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
3350
						local RANGE = (POS - ORB.Position).Magnitude
3351
						local ZAPTABLE = Zap({
3352
							StartPosition = POS,
3353
							TargetPosition = ORB.Position,
3354
							Character = workspace,
3355
							Color = "Gold",
3356
							Individual = true,
3357
							MaxRange = RANGE,
3358
							SegmentLength = POWER * 2,
3359
							Offset = 1
3360
						})
3361
						Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
3362
						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)
3363
						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)
3364
						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)
3365
						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)
3366
						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)
3367
						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)
3368
					end
3369
					coroutine.resume(coroutine.create(function()
3370
						if POWER <= 3 then
3371
							local AIMPOS = Mouse.Hit.p
3372
							local O1 = MagicRing()
3373
							local O2 = MagicRing()
3374
							local O3 = MagicRing()
3375
							O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
3376
							O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
3377
							O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
3378
							for i = 1, 25 do
3379
								Swait()
3380
								O1.Size = O1.Size + VT(POWER, 0, POWER)
3381
								O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
3382
								O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
3383
							end
3384
							local DIST = (ORB.Position - AIMPOS).Magnitude
3385
							for i = 1, 75 do
3386
								Swait(3)
3387
								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)
3388
								killnearest(ORB.Position, ORB.Size.X, 200)
3389
								local ZAPTABLE = Zap({
3390
									SIZE = POWER * 2,
3391
									StartPosition = ORB.Position,
3392
									TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2,
3393
									Character = Character,
3394
									Color = "Gold",
3395
									Individual = true,
3396
									MaxRange = POWER * 400,
3397
									SegmentLength = DIST / 25,
3398
									Offset = 3 + DIST / 350
3399
								})
3400
								Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
3401
								MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15)
3402
								killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
3403
								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))
3404
							end
3405
							local SIZE = ORB.Size
3406
							for i = 1, 25 do
3407
								Swait()
3408
								ORB.Size = ORB.Size - SIZE / 25
3409
								O1.Size = O1.Size - VT(POWER, 0, POWER)
3410
								O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
3411
								O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
3412
							end
3413
							ORB:remove()
3414
							O1:remove()
3415
							O2:remove()
3416
							O3:remove()
3417
						elseif POWER > 3 then
3418
							local O1 = MagicRing()
3419
							local O2 = MagicRing()
3420
							local O3 = MagicRing()
3421
							O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
3422
							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)
3423
							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)
3424
							for i = 1, 25 do
3425
								Swait()
3426
								O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
3427
								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)
3428
								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)
3429
								O1.Size = O1.Size + VT(POWER, 0, POWER)
3430
								O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
3431
								O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
3432
							end
3433
							for i = 1, 75 do
3434
								for i = 1, 5 do
3435
									Swait()
3436
									O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
3437
									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)
3438
									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)
3439
								end
3440
								killnearest(ORB.Position, ORB.Size.X, 200)
3441
								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)
3442
								local DIST = (ORB.Position - Mouse.Hit.p).Magnitude
3443
								local ZAPTABLE = Zap({
3444
									SIZE = POWER,
3445
									StartPosition = ORB.Position,
3446
									TargetPosition = Mouse.Hit.p,
3447
									Character = Character,
3448
									Color = "Gold",
3449
									Individual = true,
3450
									MaxRange = POWER * 400,
3451
									SegmentLength = DIST / 25,
3452
									Offset = 3 + DIST / 350
3453
								})
3454
								Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
3455
								MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15)
3456
								killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
3457
								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))
3458
							end
3459
							local SIZE = ORB.Size
3460
							for i = 1, 25 do
3461
								Swait()
3462
								ORB.Size = ORB.Size - SIZE / 25
3463
								O1.Size = O1.Size - VT(POWER, 0, POWER)
3464
								O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
3465
								O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
3466
							end
3467
							ORB:remove()
3468
							O1:remove()
3469
							O2:remove()
3470
							O3:remove()
3471
						end
3472
						coroutine.resume(coroutine.create(function()
3473
							for i = 1, 65 do
3474
								Swait()
3475
								CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
3476
								CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3477
							end
3478
							CENTER:remove()
3479
						end))
3480
					end))
3481
				end
3482
			elseif POWER > 6 then
3483
				do
3484
					local FINISHED = false
3485
					local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "YIN", VT(25, 25, 25))
3486
					local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "YAN", VT(65, 25, 65))
3487
					coroutine.resume(coroutine.create(function()
3488
						local LOOP = 0
3489
						repeat
3490
							YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200)
3491
							YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200)
3492
							LOOP = LOOP + 5
3493
							MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Gold").Color, VT(-1, -0.001, -1) * 2)
3494
							MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(1, 1, 1), VT(-1, -0.001, -1) * 2)
3495
							Swait()
3496
						until FINISHED == true
3497
						YIN:remove()
3498
						YAN:remove()
3499
					end))
3500
					CreateSound("438666077", Effects, 10, 1)
3501
					for i = 0, 1, 0.1 / Animation_Speed do
3502
						Swait()
3503
						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)
3504
						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)
3505
						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)
3506
						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)
3507
						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)
3508
						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)
3509
					end
3510
					local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "ORB", VT(6, 6, 6))
3511
					MakeForm(ORB, "Ball")
3512
					ORB.CFrame = CF(HITPOS + VT(0, 150, 0))
3513
					for i = 0, 8, 0.1 / Animation_Speed do
3514
						Swait()
3515
						if MRANDOM(1, 8) == 1 then
3516
							local RANGE1 = (ORB.Position - YIN.Position).Magnitude
3517
							local RANGE2 = (ORB.Position - YAN.Position).Magnitude
3518
							local ZAPTABLE1 = Zap({
3519
								SIZE = POWER / 3,
3520
								StartPosition = YIN.Position,
3521
								TargetPosition = ORB.Position,
3522
								Character = workspace,
3523
								Color = "Pearl",
3524
								Individual = true,
3525
								MaxRange = RANGE1,
3526
								SegmentLength = 25,
3527
								Offset = 6
3528
							})
3529
							local ZAPTABLE2 = Zap({
3530
								SIZE = POWER / 3,
3531
								StartPosition = YAN.Position,
3532
								TargetPosition = ORB.Position,
3533
								Character = workspace,
3534
								Color = "Gold",
3535
								Individual = true,
3536
								MaxRange = RANGE1,
3537
								SegmentLength = 25,
3538
								Offset = 6
3539
							})
3540
							Debris:AddItem(ZAPTABLE1.LightningModel, 0.1)
3541
							Debris:AddItem(ZAPTABLE2.LightningModel, 0.1)
3542
						end
3543
						ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15
3544
						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)
3545
						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)
3546
						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)
3547
						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)
3548
						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)
3549
						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)
3550
					end
3551
					FINISHED = true
3552
					coroutine.resume(coroutine.create(function()
3553
						for i = 1, 6 do
3554
							for e = 1, 10 do
3555
								Swait()
3556
								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))
3557
								ORB.Size = ORB.Size * 0.97
3558
								killnearest(ORB.Position, ORB.Size.X * 3, 200)
3559
								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))
3560
							end
3561
							local POS = ORB.Position
3562
							for i = 1, 5 do
3563
								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)
3564
							end
3565
							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))
3566
							for e = 1, 10 do
3567
								Swait()
3568
								if MRANDOM(1, 5) == 1 then
3569
									local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p
3570
									local ZAPTABLE = Zap({
3571
										SIZE = POWER,
3572
										StartPosition = ORB.Position,
3573
										TargetPosition = POS,
3574
										Character = workspace,
3575
										Color = "Gold",
3576
										Individual = true,
3577
										MaxRange = POWER * 75,
3578
										SegmentLength = POWER * 5,
3579
										Offset = 3
3580
									})
3581
									Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
3582
								end
3583
								ORB.Size = ORB.Size * 1.05
3584
								killnearest(ORB.Position, ORB.Size.X * 3, 200)
3585
								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))
3586
							end
3587
						end
3588
						local POS = ORB.Position
3589
						for e = 1, 10 do
3590
							Swait()
3591
							ORB.Transparency = ORB.Transparency + 0.1
3592
						end
3593
						ORB:remove()
3594
						killnearest(POS, POWER * 35, 200)
3595
						for i = 1, 5 do
3596
							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)
3597
						end
3598
						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))
3599
					end))
3600
				end
3601
			end
3602
			ATTACK = false
3603
			Rooted = false
3604
		end
3605
	end
3606
end
3607
3608
function Hop()
3609
	ATTACK = true
3610
	Rooted = false
3611
	local O1 = MagicRing()
3612
	local O2 = MagicRing()
3613
	local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
3614
	O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
3615
	O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
3616
	local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
3617
	ROOT.CFrame = CF(O2.Position, RootPart.Position)
3618
	CreateSound("814168787", O1, 10, 0.7)
3619
	CreateSound("814168787", O2, 10, 0.7)
3620
	for i = 1, 75 do
3621
		Swait()
3622
		O1.Size = O1.Size + VT(0.15, 0, 0.15)
3623
		O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
3624
		O2.Size = O2.Size + VT(0.15, 0, 0.15)
3625
		O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3626
		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)
3627
		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)
3628
		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)
3629
		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)
3630
		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)
3631
		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)
3632
	end
3633
	Rooted = true
3634
	UNANCHOR = false
3635
	RootPart.Anchored = true
3636
	VALUE1 = true
3637
	for i = 1, 15 do
3638
		Transparency(i / 15)
3639
		Swait()
3640
		RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
3641
		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)
3642
		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)
3643
		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)
3644
		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)
3645
		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)
3646
		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)
3647
	end
3648
	RootPart.CFrame = ROOT.CFrame
3649
	ROOT:remove()
3650
	for i = 1, 15 do
3651
		Transparency(1 - i / 15)
3652
		Swait()
3653
		RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
3654
		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)
3655
		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)
3656
		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)
3657
		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)
3658
		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)
3659
		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)
3660
	end
3661
	VALUE1 = false
3662
	coroutine.resume(coroutine.create(function()
3663
		for i = 1, 75 do
3664
			Swait()
3665
			O1.Size = O1.Size - VT(0.15, 0, 0.15)
3666
			O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3667
			O2.Size = O2.Size - VT(0.15, 0, 0.15)
3668
			O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3669
		end
3670
		O1:remove()
3671
		O2:remove()
3672
	end))
3673
	UNANCHOR = true
3674
	RootPart.Anchored = false
3675
	ATTACK = false
3676
	Rooted = false
3677
end
3678
3679
local ATANIM = IT("Animation")
3680
ATANIM.Name = "Attack Animation"
3681
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
3682
3683
function SummonHop()
3684
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
3685
	if HITFLOOR ~= nil then
3686
	ATTACK = true
3687
	Rooted = false
3688
	local O1 = MagicRing()
3689
	local O2 = MagicRing()
3690
	local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
3691
	O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
3692
	O2.CFrame = CF(Mouse.Hit.p)
3693
	local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
3694
	ROOT.CFrame = CF(O2.Position, RootPart.Position)
3695
	CreateSound("814168787", O1, 10, 0.7)
3696
	CreateSound("814168787", O2, 10, 0.7)
3697
	for i = 1, 75 do
3698
		Swait()
3699
		O1.Size = O1.Size + VT(0.15, 0, 0.15)
3700
		O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
3701
		O2.Size = O2.Size + VT(0.15, 0, 0.15)
3702
		O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3703
		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)
3704
		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)
3705
		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)
3706
		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)
3707
		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)
3708
		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)
3709
	end
3710
	Rooted = true
3711
	UNANCHOR = false
3712
	RootPart.Anchored = true
3713
	VALUE1 = true
3714
			local RANDOMEFFECT = MRANDOM(1,1)
3715
			if RANDOMEFFECT == 1 then
3716
				for i = 1, 10 do
3717
					wait(0.15)
3718
					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})
3719
					coroutine.resume(coroutine.create(function()
3720
						local MINION = CLONE:Clone()
3721
						MINION.Parent = Effects
3722
						MINION.Name = "Shadow"
3723
						MINION.HumanoidRootPart.CFrame = O2.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
3724
						MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
3725
						for _, c in pairs(MINION:GetChildren()) do
3726
							if c.ClassName == "Part" then
3727
								c.Material = "Neon"
3728
								c.Color = C3(0,0,0)
3729
								c.Transparency = 0.25
3730
								if c.Name == "Head" then
3731
									c:ClearAllChildren()
3732
									local MSH = IT("BlockMesh",c)
3733
									MSH.Scale = VT(0.5,1,1)
3734
								end
3735
							end
3736
						end
3737
						local TORSO = MINION.Torso
3738
						local HUMAN = MINION.Humanoid
3739
						HUMAN.WalkSpeed = 20
3740
						HUMAN.MaxHealth = math.huge
3741
						HUMAN.Health = math.huge
3742
						HUMAN.DisplayDistanceType = "None"
3743
						HUMAN.Died:connect(function()
3744
							MINION:remove()
3745
							--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
3746
						end)
3747
						wait(1)
3748
						local findNearestTorso = function(POS)
3749
							local list = game.Workspace:GetDescendants()
3750
							local torso = nil
3751
							local dist = 500
3752
							local temp = nil
3753
							local human = nil
3754
							local temp2 = nil
3755
							for x = 1, #list do
3756
								temp2 = list[x]
3757
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
3758
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
3759
									human = temp2:findFirstChildOfClass("Humanoid")
3760
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
3761
										if (temp.Position - POS).magnitude < dist then
3762
											torso = temp
3763
											dist = (temp.Position - POS).magnitude
3764
										end
3765
									end
3766
								end
3767
							end
3768
							return torso, dist
3769
						end
3770
						for i = 1, 20 do
3771
							if HUMAN.Health == 0 then
3772
								break
3773
							end
3774
							wait(0.3)
3775
							local target,dist= findNearestTorso(TORSO.Position)
3776
							if target then
3777
								HUMAN:MoveTo(target.Position)
3778
								if dist < 25 then
3779
									CreateSound(348663022, TORSO, 10, 1, true)
3780
									wait(2)
3781
									local ANIM = HUMAN:LoadAnimation(ATANIM)
3782
									ANIM:Play()
3783
									--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
3784
									killnearest(TORSO.Position,10,85)
3785
									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})
3786
									for i = 1, 5 do
3787
										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})
3788
									end
3789
									break
3790
								end
3791
							end
3792
						end
3793
						MINION:remove()
3794
					end))
3795
				end
3796
				end
3797
	VALUE1 = false
3798
	coroutine.resume(coroutine.create(function()
3799
		for i = 1, 75 do
3800
			Swait()
3801
			O1.Size = O1.Size - VT(0.15, 0, 0.15)
3802
			O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3803
			O2.Size = O2.Size - VT(0.15, 0, 0.15)
3804
			O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3805
		end
3806
		O1:remove()
3807
		O2:remove()
3808
	end))
3809
	UNANCHOR = true
3810
	RootPart.Anchored = false
3811
	ATTACK = false
3812
	Rooted = false
3813
end
3814
end
3815
3816
function Dark_Cutter()
3817
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
3818
    if HITFLOOR ~= nil then
3819
        ATTACK = true
3820
        Rooted = true
3821
        local GYRO = IT("BodyGyro",RootPart)
3822
        GYRO.D = 100
3823
        GYRO.P = 2000
3824
        GYRO.MaxTorque = VT(0,4000000,0)
3825
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3826
        CreateSound("429459101", RightArm, 10, 0.8)
3827
        for i=0, 3.5, 0.1 / Animation_Speed do
3828
            Swait()
3829
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3830
            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))
3831
            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)
3832
            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)
3833
            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)
3834
            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)
3835
            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)
3836
            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)
3837
        end
3838
        GYRO:remove()
3839
        for i=0, 0.15, 0.1 / Animation_Speed do
3840
            Swait()
3841
            GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3842
            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))
3843
            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)
3844
            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)
3845
            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)
3846
            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)
3847
            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)
3848
            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)
3849
        end
3850
        local BOMBSPOTS = {}
3851
        for i = 1, 100 do
3852
            local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Blade", VT(16,1,16))
3853
            SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
3854
            table.insert(BOMBSPOTS,SPOT)
3855
            MakeForm(SPOT,"Cyl")
3856
        end
3857
        for i=0, 0.2, 0.1 / Animation_Speed do
3858
            Swait()
3859
            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)
3860
            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)
3861
            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)
3862
            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)
3863
            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)
3864
            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)
3865
        end
3866
        ATTACK = false
3867
        Rooted = false
3868
        coroutine.resume(coroutine.create(function()
3869
            Swait(3)
3870
            for i = 1, #BOMBSPOTS do
3871
                if BOMBSPOTS[i] ~= nil then
3872
                    local E = BOMBSPOTS[i]
3873
                    coroutine.resume(coroutine.create(function()
3874
                        local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Blade", VT(0,0,0))
3875
                        CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(1.2,2,0.8)*3, VT(0,0,0))
3876
                        CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
3877
                        BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
3878
                        for i = 1, 10 do
3879
                            Swait()
3880
                           killnearest(BLADE.Position,12,160)
3881
                            BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
3882
                            BLADE.Transparency = BLADE.Transparency - 0.1
3883
                        end
3884
                        Swait(45)
3885
                        for i = 1, 100 do
3886
                            Swait()
3887
                            BLADE.Transparency = BLADE.Transparency + 0.01
3888
                            E.Transparency = E.Transparency + 0.01
3889
                        end
3890
                        BLADE:remove()
3891
                        E:remove()
3892
                    end))
3893
                end
3894
            end
3895
        end))
3896
    end
3897
end
3898
3899
function SupernovaThrow()
3900
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
3901
    if HITFLOOR ~= nil then
3902
        local HITBODIES = {}
3903
        ATTACK = true
3904
        Rooted = true
3905
        local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Star", VT(0,0,0))
3906
        MakeForm(ABSOLUTE,"Ball")
3907
        CreateSound("429459101", ABSOLUTE, 10, 1)
3908
        for i=0, 4, 0.1 / Animation_Speed do
3909
            Swait()
3910
            ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
3911
            ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
3912
            ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
3913
            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)
3914
            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)
3915
            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)
3916
            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)
3917
            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)
3918
            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)
3919
        end
3920
        CreateSound("907330103", Head, 10, 1.2)
3921
        for i = 1, 75 do
3922
            Swait()
3923
            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)
3924
            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)
3925
            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)
3926
            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)
3927
            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)
3928
            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)
3929
        end
3930
        coroutine.resume(coroutine.create(function()
3931
		ABSOLUTE.CFrame = CF(ABSOLUTE.Position, Mouse.Hit.p)
3932
		for i = 1, 500 do
3933
			Swait()
3934
			ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -2)
3935
			local HITFLOOR, HITPOS = Raycast(ABSOLUTE.Position, ABSOLUTE.CFrame.lookVector, 2.2, Character)
3936
			if HITFLOOR ~= nil then
3937
				break
3938
			end
3939
		end
3940
            for i = 1, 13 do
3941
                for e = 1, 8 do
3942
                    Swait()
3943
                    CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
3944
                end
3945
                for i = 1, 5 do
3946
                    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)
3947
                    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))
3948
                end
3949
                CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
3950
                CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.05),VT(i,i*2,i))
3951
                CreateSound("168586621", ABSOLUTE, 4, 0.8)
3952
                CreateSound("201858144", ABSOLUTE, 10, 0.8)
3953
                killnearest(ABSOLUTE.Position,i*18,i)
3954
                ABSOLUTE.Size = ABSOLUTE.Size*0.9
3955
                MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
3956
                MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.05),VT(i,i,i))
3957
            end
3958
            ABSOLUTE.Transparency = 1
3959
            Debris:AddItem(ABSOLUTE,10)
3960
        end))
3961
        ATTACK = false
3962
        Rooted = false
3963
    end
3964
end
3965
3966
function Dark_Blast()
3967
    local HITBODIES = {}
3968
    local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0))
3969
    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)
3970
    CENTER.CFrame = CF(ECH)
3971
    local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25))
3972
    RAY.Color = C3(0.05,0.05,0.05)
3973
    MakeForm(RAY,"Cyl")
3974
    RAY.CFrame = CF(ECH)
3975
    for i = 1, 75 do
3976
        Swait()
3977
        RAY.Transparency = RAY.Transparency - 1/75
3978
        RAY.Size = RAY.Size - VT(25/75,0,25/75)
3979
    end
3980
    killnearest(ECH,50,25)
3981
    MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.05),VT(2,2,2))
3982
    for i = 1, 50 do
3983
    end
3984
    CreateSound("1222405264", CENTER, 10, 0.8)
3985
    RAY:remove()
3986
    Debris:AddItem(CENTER,5)
3987
end
3988
3989
function Banisher_Bullet()
3990
	ATTACK = true
3991
	Rooted = false
3992
	for i=0, 0.4, 0.1 / Animation_Speed do
3993
		Swait()
3994
		turnto(Mouse.Hit.p)
3995
            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)
3996
            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)
3997
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3998
			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)
3999
            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)
4000
            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)
4001
	end
4002
	repeat
4003
		for i=0, 0.2, 0.1 / Animation_Speed do
4004
			Swait()
4005
			turnto(Mouse.Hit.p)
4006
            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)
4007
            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)
4008
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4009
			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)
4010
            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)
4011
            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)
4012
		end
4013
		local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
4014
		SpawnTrail(Hole2.Position,POS)
4015
		if HIT ~= nil then
4016
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
4017
				Banish(HIT.Parent)
4018
			end
4019
		end
4020
		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})
4021
		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})
4022
		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})
4023
		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})
4024
		for i=0, 0.3, 0.1 / Animation_Speed do
4025
			Swait()
4026
            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)
4027
            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)
4028
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4029
			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)
4030
            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)
4031
            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)
4032
		end
4033
	until KEYHOLD == false
4034
	ATTACK = false
4035
	Rooted = false
4036
end
4037
4038
function Dead_Bullet()
4039
	ATTACK = true
4040
	Rooted = false
4041
	for i=0, 0.1, 0.1 / Animation_Speed do
4042
		Swait()
4043
		turnto(Mouse.Hit.p)
4044
            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)
4045
            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)
4046
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4047
			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)
4048
            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)
4049
            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)
4050
	end
4051
	repeat
4052
		for i=0, 0.1, 0.1 / Animation_Speed do
4053
			Swait()
4054
			turnto(Mouse.Hit.p)
4055
            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)
4056
            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)
4057
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4058
			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)
4059
            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)
4060
            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)
4061
		end
4062
		local HIT,POS = CastProperRay(RightHole.Position, Mouse.Hit.p, 1000, Character)
4063
		SpawnTrail(RightHole.Position,POS)
4064
		if HIT ~= nil then
4065
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
4066
				Banish(HIT.Parent)
4067
			end
4068
		end
4069
		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})
4070
		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})
4071
		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})
4072
		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})
4073
		for i=0, 0.1, 0.1 / Animation_Speed do
4074
			Swait()
4075
            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)
4076
            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)
4077
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4078
			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)
4079
            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)
4080
            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)
4081
		end
4082
	until KEYHOLD == false
4083
	ATTACK = false
4084
	Rooted = false
4085
end
4086
4087
function Ruler2()
4088
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
4089
	if HITFLOOR ~= nil then
4090
		do
4091
			local HITBODIES = {}
4092
			ATTACK = true
4093
			Rooted = true
4094
			local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Dark red", "SuperNova", VT(0, 0, 0))
4095
			MakeForm(ABSOLUTE, "Ball")
4096
			CreateSound("814168787", ABSOLUTE, 10, 0.3)
4097
			for i = 0, 4, 0.1 / Animation_Speed do
4098
				Swait()
4099
				ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
4100
				ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
4101
				ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
4102
				local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
4103
				MakeForm(CHARGE, "Ball")
4104
				CHARGE.Color = C3(0, 0, 0)
4105
				CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
4106
				FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
4107
				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)
4108
				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)
4109
				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)
4110
				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)
4111
				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)
4112
				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)
4113
			end
4114
			CreateSound("907333406", Head, 10, 1)
4115
			for i = 0, 2, 0.1 / Animation_Speed do
4116
				Swait()
4117
				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)
4118
				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)
4119
				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)
4120
				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)
4121
				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)
4122
				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)
4123
			end
4124
				local PITS = {}
4125
				CreateSound("178452217", ABSOLUTE, 10, 0.7)
4126
				for i = 1, 6 do
4127
					for i = 1, 10 do
4128
						Swait()
4129
						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))
4130
						ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4131
					end
4132
					for i = 1, 10 do
4133
						Swait()
4134
						ABSOLUTE.Size = ABSOLUTE.Size * 1.12
4135
					end
4136
				end
4137
				CreateSound("215395388", ABSOLUTE, 10, 0.6)
4138
				CreateSound("215395388", ABSOLUTE, 10, 0.65)
4139
				CreateSound("215395388", ABSOLUTE, 10, 0.7)
4140
				for i = 1, 75 do
4141
					Swait()
4142
					local ICICLE = IT("CornerWedgePart", Effects)
4143
					ICICLE.Locked = true
4144
					ICICLE.CanCollide = false
4145
					ICICLE.Anchored = true
4146
					ICICLE.Color = C3(0, 0, 0)
4147
					ICICLE.Material = "Neon"
4148
					ICICLE.Size = VT(i / 3, i * 2, i / 3)
4149
					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)))
4150
					table.insert(PITS, ICICLE)
4151
					killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
4152
					ABSOLUTE.Size = ABSOLUTE.Size * 1.03
4153
					killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100)
4154
					for i = 1, 3 do
4155
						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))
4156
					end
4157
					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))
4158
				end
4159
				ABSOLUTE.Transparency = 0
4160
				for i = 1, 10 do
4161
					Swait()
4162
					ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4163
					ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
4164
				end
4165
				Debris:AddItem(ABSOLUTE, 5)
4166
				Swait(50)
4167
				for i = 1, 10 do
4168
					Swait()
4169
					for e = 1, #PITS do
4170
						if PITS[e] ~= nil then
4171
							local E = PITS[e]
4172
							E.Transparency = E.Transparency + 0.1
4173
						end
4174
					end
4175
				end
4176
				for e = 1, #PITS do
4177
					if PITS[e] ~= nil then
4178
						local E = PITS[e]
4179
						E:remove()
4180
					end
4181
				end
4182
			ATTACK = false
4183
			Rooted = false
4184
		end
4185
	end
4186
end
4187
4188
function Ultima_ConsummatioB()
4189
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character)
4190
	if HITFLOOR ~= nil then
4191
		do
4192
			local POWER = 20
4193
			ATTACK = true
4194
			Rooted = true
4195
			if POWER <= 6 then
4196
				do
4197
					local CENTER = MagicRing()
4198
					CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
4199
					CreateSound("424777055", CENTER, 10, 1)
4200
					local RAIN = {}
4201
					for i = 1, 65 do
4202
						Swait()
4203
						CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
4204
						CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
4205
						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)
4206
						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)
4207
						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)
4208
						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)
4209
						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)
4210
						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)
4211
					end
4212
					local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ORB", VT(4, 4, 4))
4213
					MakeForm(ORB, "Ball")
4214
					CreateSound("201858045", ORB, 10, 0.5)
4215
					for i = 0, 5, 0.1 / Animation_Speed do
4216
						Swait()
4217
						ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0)
4218
						ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10
4219
						ORB.Transparency = 0
4220
						local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
4221
						local RANGE = (POS - ORB.Position).Magnitude
4222
						local ZAPTABLE = Zap({
4223
							StartPosition = POS,
4224
							TargetPosition = ORB.Position,
4225
							Character = workspace,
4226
							Color = "Really red",
4227
							Individual = true,
4228
							MaxRange = RANGE,
4229
							SegmentLength = POWER * 2,
4230
							Offset = 1
4231
						})
4232
						Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
4233
						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)
4234
						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)
4235
						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)
4236
						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)
4237
						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)
4238
						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)
4239
					end
4240
					coroutine.resume(coroutine.create(function()
4241
						if POWER <= 3 then
4242
							local AIMPOS = Mouse.Hit.p
4243
							local O1 = MagicRing()
4244
							local O2 = MagicRing()
4245
							local O3 = MagicRing()
4246
							O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
4247
							O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
4248
							O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
4249
							for i = 1, 25 do
4250
								Swait()
4251
								O1.Size = O1.Size + VT(POWER, 0, POWER)
4252
								O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
4253
								O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
4254
							end
4255
							local DIST = (ORB.Position - AIMPOS).Magnitude
4256
							for i = 1, 75 do
4257
								Swait(3)
4258
								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)
4259
								killnearest(ORB.Position, ORB.Size.X, 200)
4260
								local ZAPTABLE = Zap({
4261
									SIZE = POWER * 2,
4262
									StartPosition = ORB.Position,
4263
									TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2,
4264
									Character = Character,
4265
									Color = "Really red",
4266
									Individual = true,
4267
									MaxRange = POWER * 400,
4268
									SegmentLength = DIST / 25,
4269
									Offset = 3 + DIST / 350
4270
								})
4271
								Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
4272
								MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really red").Color, ORB.Size / 15)
4273
								killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
4274
								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))
4275
							end
4276
							local SIZE = ORB.Size
4277
							for i = 1, 25 do
4278
								Swait()
4279
								ORB.Size = ORB.Size - SIZE / 25
4280
								O1.Size = O1.Size - VT(POWER, 0, POWER)
4281
								O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
4282
								O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
4283
							end
4284
							ORB:remove()
4285
							O1:remove()
4286
							O2:remove()
4287
							O3:remove()
4288
						elseif POWER > 3 or POWER == 3 then
4289
							local O1 = MagicRing()
4290
							local O2 = MagicRing()
4291
							local O3 = MagicRing()
4292
							O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
4293
							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)
4294
							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)
4295
							for i = 1, 25 do
4296
								Swait()
4297
								O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
4298
								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)
4299
								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)
4300
								O1.Size = O1.Size + VT(POWER, 0, POWER)
4301
								O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
4302
								O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
4303
							end
4304
							for i = 1, 75 do
4305
								for i = 1, 5 do
4306
									Swait()
4307
									O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
4308
									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)
4309
									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)
4310
								end
4311
								killnearest(ORB.Position, ORB.Size.X, 200)
4312
								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)
4313
								local DIST = (ORB.Position - Mouse.Hit.p).Magnitude
4314
								local ZAPTABLE = Zap({
4315
									SIZE = POWER,
4316
									StartPosition = ORB.Position,
4317
									TargetPosition = Mouse.Hit.p,
4318
									Character = Character,
4319
									Color = "Really red",
4320
									Individual = true,
4321
									MaxRange = POWER * 400,
4322
									SegmentLength = DIST / 25,
4323
									Offset = 3 + DIST / 350
4324
								})
4325
								Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
4326
								MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really red").Color, ORB.Size / 15)
4327
								killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
4328
								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))
4329
							end
4330
							local SIZE = ORB.Size
4331
							for i = 1, 25 do
4332
								Swait()
4333
								ORB.Size = ORB.Size - SIZE / 25
4334
								O1.Size = O1.Size - VT(POWER, 0, POWER)
4335
								O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
4336
								O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
4337
							end
4338
							ORB:remove()
4339
							O1:remove()
4340
							O2:remove()
4341
							O3:remove()
4342
						end
4343
						coroutine.resume(coroutine.create(function()
4344
							for i = 1, 65 do
4345
								Swait()
4346
								CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
4347
								CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
4348
							end
4349
							CENTER:remove()
4350
						end))
4351
					end))
4352
				end
4353
			elseif POWER > 6 then
4354
				do
4355
					local FINISHED = false
4356
					local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "YIN", VT(25, 25, 25))
4357
					local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "YAN", VT(65, 25, 65))
4358
					coroutine.resume(coroutine.create(function()
4359
						local LOOP = 0
4360
						repeat
4361
							YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200)
4362
							YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200)
4363
							LOOP = LOOP + 5
4364
							MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Really red").Color, VT(-1, -0.001, -1) * 2)
4365
							MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(0, 0, 0), VT(-1, -0.001, -1) * 2)
4366
							Swait()
4367
						until FINISHED == true
4368
						YIN:remove()
4369
						YAN:remove()
4370
					end))
4371
					CreateSound("438666077", Effects, 10, 1)
4372
					for i = 0, 1, 0.1 / Animation_Speed do
4373
						Swait()
4374
						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)
4375
						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)
4376
						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)
4377
						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)
4378
						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)
4379
						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)
4380
					end
4381
					local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "ORB", VT(6, 6, 6))
4382
					MakeForm(ORB, "Ball")
4383
					ORB.CFrame = CF(HITPOS + VT(0, 150, 0))
4384
					for i = 0, 8, 0.1 / Animation_Speed do
4385
						Swait()
4386
						if MRANDOM(1, 8) == 1 then
4387
							local RANGE1 = (ORB.Position - YIN.Position).Magnitude
4388
							local RANGE2 = (ORB.Position - YAN.Position).Magnitude
4389
							local ZAPTABLE1 = Zap({
4390
								SIZE = POWER / 3,
4391
								StartPosition = YIN.Position,
4392
								TargetPosition = ORB.Position,
4393
								Character = workspace,
4394
								Color = "Pearl",
4395
								Individual = true,
4396
								MaxRange = RANGE1,
4397
								SegmentLength = 25,
4398
								Offset = 6
4399
							})
4400
							local ZAPTABLE2 = Zap({
4401
								SIZE = POWER / 3,
4402
								StartPosition = YAN.Position,
4403
								TargetPosition = ORB.Position,
4404
								Character = workspace,
4405
								Color = "Really red",
4406
								Individual = true,
4407
								MaxRange = RANGE1,
4408
								SegmentLength = 25,
4409
								Offset = 6
4410
							})
4411
							Debris:AddItem(ZAPTABLE1.LightningModel, 0.1)
4412
							Debris:AddItem(ZAPTABLE2.LightningModel, 0.1)
4413
						end
4414
						ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15
4415
						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)
4416
						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)
4417
						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)
4418
						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)
4419
						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)
4420
						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)
4421
					end
4422
					FINISHED = true
4423
					coroutine.resume(coroutine.create(function()
4424
						for i = 1, 6 do
4425
							for e = 1, 10 do
4426
								Swait()
4427
								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))
4428
								ORB.Size = ORB.Size * 0.97
4429
								killnearest(ORB.Position, ORB.Size.X * 3, 200)
4430
								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))
4431
							end
4432
							local POS = ORB.Position
4433
							for i = 1, 5 do
4434
								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)
4435
							end
4436
							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))
4437
							for e = 1, 10 do
4438
								Swait()
4439
								if MRANDOM(1, 5) == 1 then
4440
									local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p
4441
									local ZAPTABLE = Zap({
4442
										SIZE = POWER,
4443
										StartPosition = ORB.Position,
4444
										TargetPosition = POS,
4445
										Character = workspace,
4446
										Color = "Really red",
4447
										Individual = true,
4448
										MaxRange = POWER * 75,
4449
										SegmentLength = POWER * 5,
4450
										Offset = 3
4451
									})
4452
									Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
4453
								end
4454
								ORB.Size = ORB.Size * 1.05
4455
								killnearest(ORB.Position, ORB.Size.X * 3, 200)
4456
								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))
4457
							end
4458
						end
4459
						local POS = ORB.Position
4460
						for e = 1, 10 do
4461
							Swait()
4462
							ORB.Transparency = ORB.Transparency + 0.1
4463
						end
4464
						ORB:remove()
4465
						killnearest(POS, POWER * 35, 200)
4466
						for i = 1, 5 do
4467
							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)
4468
						end
4469
						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))
4470
					end))
4471
				end
4472
			end
4473
			ATTACK = false
4474
			Rooted = false
4475
			local POWER = 1
4476
		end
4477
	end
4478
end
4479
4480
function Banish_Hop()
4481
    ATTACK = true
4482
    Rooted = false
4483
    local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
4484
    O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
4485
    local decal = Decal:Clone()
4486
    decal.Parent = O1
4487
    decal.Face = "Top"
4488
    decal.Texture = "http://www.roblox.com/asset/?id=106410100"
4489
    local decal2 = Decal:Clone()
4490
    decal2.Parent = O1
4491
    decal2.Face = "Bottom"
4492
    decal2.Texture = "http://www.roblox.com/asset/?id=106410100"
4493
    local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
4494
    local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
4495
    O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
4496
    local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
4497
    ROOT.CFrame = CF(O2.Position,RootPart.Position)
4498
    local decal = Decal:Clone()
4499
    decal.Parent = O2
4500
    decal.Face = "Top"
4501
    decal.Texture = "http://www.roblox.com/asset/?id=106410100"
4502
    local decal2 = Decal:Clone()
4503
    decal2.Parent = O2
4504
    decal2.Face = "Bottom"
4505
    decal2.Texture = "http://www.roblox.com/asset/?id=106410100"
4506
    CreateSound("84005018", O1, 10, 0.7)
4507
    CreateSound("84005018", O2, 10, 0.7)
4508
    for i = 1, 75 do
4509
        Swait()
4510
        O1.Size = O1.Size + VT(0.1,0,0.1)
4511
        O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
4512
        O2.Size = O2.Size + VT(0.1,0,0.1)
4513
        O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
4514
        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)
4515
        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)
4516
        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)
4517
			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)
4518
        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)
4519
        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)
4520
    end
4521
    Rooted = true
4522
    UNANCHOR = false
4523
    RootPart.Anchored = true
4524
    VALUE1 = true
4525
    for i = 1, 15 do
4526
        Transparency(i/15)
4527
        Swait()
4528
        RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
4529
        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)
4530
        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)
4531
        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)
4532
			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)
4533
        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)
4534
        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)
4535
    end
4536
    RootPart.CFrame = ROOT.CFrame
4537
    ROOT:remove()
4538
    for i = 1, 15 do
4539
        Transparency(1-(i/15))
4540
        Swait()
4541
        RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
4542
        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)
4543
        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)
4544
        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)
4545
			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)
4546
        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)
4547
        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)
4548
    end
4549
    VALUE1 = false
4550
    coroutine.resume(coroutine.create(function()
4551
        for i = 1, 75 do
4552
            Swait()
4553
            O1.Size = O1.Size - VT(0.1,0,0.1)
4554
            O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
4555
            O2.Size = O2.Size - VT(0.1,0,0.1)
4556
            O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
4557
        end
4558
        O1:remove()
4559
        O2:remove()
4560
    end))
4561
    UNANCHOR = true
4562
    RootPart.Anchored = false
4563
    ATTACK = false
4564
    Rooted = false
4565
end
4566
4567
function Governor_Bomb()
4568
	local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "CenterPart", VT(0, 0, 0))
4569
	local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(25, 25, 25))
4570
	RAY.Color = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549)
4571
	MakeForm(RAY, "Ball")
4572
	local ECH = Mouse.Hit.p
4573
	CENTER.CFrame = CF(Mouse.Hit.p)
4574
	RAY.CFrame = CENTER.CFrame
4575
	CreateSound("814168787", CENTER, 10, 0.6)
4576
	for i = 1, 80 do
4577
		Swait()
4578
		RAY.Size = RAY.Size * 0.98
4579
		RAY.Transparency = RAY.Transparency - 0.016666666666666666
4580
	end
4581
	killnearest(ECH, 25, 250)
4582
	MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(2, 2, 2))
4583
	MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2))
4584
	CreateSound("314970790", CENTER, 10, 1)
4585
	Debris:AddItem(CENTER, 5)
4586
	RAY:remove()
4587
end
4588
function Governor_Bomb2()
4589
	local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "CenterPart", VT(0, 0, 0))
4590
	local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(25, 25, 25))
4591
	RAY.Color = C3(0.96078431372549, 0.019803921568627451, 0.0196078431372549)
4592
	MakeForm(RAY, "Ball")
4593
	local ECH = Mouse.Hit.p
4594
	CENTER.CFrame = CF(Mouse.Hit.p)
4595
	RAY.CFrame = CENTER.CFrame
4596
	CreateSound("814168787", CENTER, 10, 0.6)
4597
	for i = 1, 80 do
4598
		Swait()
4599
		RAY.Size = RAY.Size * 0.98
4600
		RAY.Transparency = RAY.Transparency - 0.016666666666666666
4601
	end
4602
	killnearest(ECH, 25, 250)
4603
	MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(0.96078431372549, 0.019803921568627451, 0.0196078431372549), VT(2, 2, 2))
4604
	MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2))
4605
	CreateSound("314970790", CENTER, 10, 1)
4606
	Debris:AddItem(CENTER, 5)
4607
	RAY:remove()
4608
end
4609
function Governor_Bomb3()
4610
	local ABSOLUTE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116), "CenterPart", VT(50, 50, 50))
4611
	local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), "Laser01", VT(75, 75, 75))
4612
	RAY.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
4613
	MakeForm(RAY, "Ball")
4614
	local ECH = Mouse.Hit.p
4615
	ABSOLUTE.CFrame = CF(Mouse.Hit.p)
4616
	local HITFLOOR, HITPOS, NORMAL = Raycast(ABSOLUTE.Position, CF(ABSOLUTE.Position, ABSOLUTE.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
4617
	RAY.CFrame = ABSOLUTE.CFrame
4618
	CreateSound("814168787", ABSOLUTE, 10, 0.6)
4619
	for i = 1, 80 do
4620
		Swait()
4621
		RAY.Size = RAY.Size * 0.98
4622
		RAY.Transparency = RAY.Transparency - 0.016666666666666666
4623
	end
4624
			coroutine.resume(coroutine.create(function()
4625
				local PITS = {}
4626
				CreateSound("178452217", ABSOLUTE, 10, 0.7)
4627
				for i = 1, 6 do
4628
					for i = 1, 10 do
4629
						Swait()
4630
						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))
4631
						ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4632
					end
4633
					for i = 1, 10 do
4634
						Swait()
4635
						ABSOLUTE.Size = ABSOLUTE.Size * 1.12
4636
					end
4637
				end
4638
				CreateSound("215395388", ABSOLUTE, 10, 0.6)
4639
				CreateSound("215395388", ABSOLUTE, 10, 0.65)
4640
				CreateSound("215395388", ABSOLUTE, 10, 0.7)
4641
				for i = 1, 75 do
4642
					Swait()
4643
					local ICICLE = IT("CornerWedgePart", Effects)
4644
					ICICLE.Locked = true
4645
					ICICLE.CanCollide = false
4646
					ICICLE.Anchored = true
4647
					ICICLE.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
4648
					ICICLE.Material = "Neon"
4649
					ICICLE.Size = VT(i / 3, i * 2, i / 3)
4650
					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)))
4651
					table.insert(PITS, ICICLE)
4652
					killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
4653
					ABSOLUTE.Size = ABSOLUTE.Size * 1.03
4654
					killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100)
4655
					for i = 1, 3 do
4656
						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))
4657
					end
4658
				end
4659
				ABSOLUTE.Transparency = 0
4660
				for i = 1, 10 do
4661
					Swait()
4662
					ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4663
					ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
4664
				end
4665
				Debris:AddItem(ABSOLUTE, 5)
4666
				Swait(50)
4667
				for i = 1, 10 do
4668
					Swait()
4669
					for e = 1, #PITS do
4670
						if PITS[e] ~= nil then
4671
							local E = PITS[e]
4672
							E.Transparency = E.Transparency + 0.1
4673
						end
4674
					end
4675
				end
4676
				for e = 1, #PITS do
4677
					if PITS[e] ~= nil then
4678
						local E = PITS[e]
4679
						E:remove()
4680
					end
4681
				end
4682
			end))
4683
	MagicSphere(VT(1, 1, 1), 55, CF(ECH), C3(1, 1, 1), VT(2, 2, 2))
4684
	MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(1, 1, 1), VT(2, 2, 2))
4685
	CreateSound("314970790", ABSOLUTE, 10, 1)
4686
	Debris:AddItem(ABSOLUTE, 5)
4687
	RAY:remove()
4688
end
4689
function Command_Rush()
4690
	ATTACK = true
4691
	Rooted = false
4692
	for i = 0, 1, 0.1 / Animation_Speed do
4693
		Swait()
4694
		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)
4695
		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)
4696
		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)
4697
		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)
4698
		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)
4699
		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)
4700
	end
4701
	Rooted = true
4702
	local GYRO = IT("BodyGyro", RootPart)
4703
	GYRO.D = 100
4704
	GYRO.P = 2000
4705
	GYRO.MaxTorque = VT(0, 4000000, 0)
4706
	GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4707
	for i = 1, 15 do
4708
		for i = 1, 15 do
4709
			Swait()
4710
			GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4711
			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)
4712
			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)
4713
			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)
4714
			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)
4715
			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)
4716
			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)
4717
		end
4718
		coroutine.resume(coroutine.create(function()
4719
			local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0))
4720
			CreateSound("814168787", EYE, 10, 1)
4721
			EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
4722
			local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "82326541", "82327419", VT(0, 0, 0), VT(0, 0, 0))
4723
			MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1))
4724
			local ATTACKI = false
4725
			local TORS
4726
			for i = 1, 10 do
4727
				Swait()
4728
				M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
4729
				EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
4730
			end
4731
			for i = 1, 100 do
4732
				Swait()
4733
				for _, c in pairs(workspace:GetChildren()) do
4734
					if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
4735
						local HUMANOID = c:FindFirstChildOfClass("Humanoid")
4736
						if 0 < HUMANOID.Health then
4737
							local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
4738
							if (TORSO.Position - EYE.Position).Magnitude < 35 then
4739
								ATTACKI = true
4740
								TORS = TORSO
4741
							end
4742
						end
4743
					end
4744
				end
4745
				if ATTACKI == true then
4746
					break
4747
				end
4748
				EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
4749
			end
4750
			if ATTACKI == false then
4751
				for i = 1, 10 do
4752
					Swait()
4753
					M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
4754
					EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
4755
				end
4756
			else
4757
				if TORS ~= nil then
4758
					CreateSound("215395388", EYE, 10, 2)
4759
					local DIST = (TORS.Position - EYE.Position).Magnitude
4760
					MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1))
4761
					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))
4762
					MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549), VT(1, 1, 1))
4763
					EYE.CFrame = CF(EYE.Position, TORS.Position)
4764
					TORS.Parent:BreakJoints()
4765
					Swait(35)
4766
				end
4767
				for i = 1, 10 do
4768
					Swait()
4769
					M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
4770
				end
4771
			end
4772
			EYE:remove()
4773
		end))
4774
	end
4775
	GYRO:remove()
4776
	ATTACK = false
4777
	Rooted = false
4778
end
4779
function Ruler()
4780
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
4781
	if HITFLOOR ~= nil then
4782
		do
4783
			local HITBODIES = {}
4784
			ATTACK = true
4785
			Rooted = true
4786
			local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
4787
			ABSOLUTE.Color = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549)
4788
			MakeForm(ABSOLUTE, "Ball")
4789
			CreateSound("814168787", ABSOLUTE, 10, 0.3)
4790
			for i = 0, 4, 0.1 / Animation_Speed do
4791
				Swait()
4792
				ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
4793
				ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
4794
				ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
4795
				local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
4796
				MakeForm(CHARGE, "Ball")
4797
				CHARGE.Color = C3(0, 0, 0)
4798
				CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
4799
				FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
4800
				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)
4801
				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)
4802
				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)
4803
				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)
4804
				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)
4805
				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)
4806
			end
4807
			CreateSound("907333406", Head, 10, 1)
4808
			for i = 0, 2, 0.1 / Animation_Speed do
4809
				Swait()
4810
				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)
4811
				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)
4812
				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)
4813
				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)
4814
				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)
4815
				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)
4816
			end
4817
			coroutine.resume(coroutine.create(function()
4818
				local PITS = {}
4819
				CreateSound("178452217", ABSOLUTE, 10, 0.7)
4820
				for i = 1, 6 do
4821
					for i = 1, 10 do
4822
						Swait()
4823
						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))
4824
						ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4825
					end
4826
					for i = 1, 10 do
4827
						Swait()
4828
						ABSOLUTE.Size = ABSOLUTE.Size * 1.12
4829
					end
4830
				end
4831
				CreateSound("215395388", ABSOLUTE, 10, 0.6)
4832
				CreateSound("215395388", ABSOLUTE, 10, 0.65)
4833
				CreateSound("215395388", ABSOLUTE, 10, 0.7)
4834
				for i = 1, 75 do
4835
					Swait()
4836
					local ICICLE = IT("CornerWedgePart", Effects)
4837
					ICICLE.Locked = true
4838
					ICICLE.CanCollide = false
4839
					ICICLE.Anchored = true
4840
					ICICLE.Color = C3(0, 0, 0)
4841
					ICICLE.Material = "Neon"
4842
					ICICLE.Size = VT(i / 3, i * 2, i / 3)
4843
					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)))
4844
					table.insert(PITS, ICICLE)
4845
					killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
4846
					ABSOLUTE.Size = ABSOLUTE.Size * 1.03
4847
					killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100)
4848
					for i = 1, 3 do
4849
						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))
4850
					end
4851
					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))
4852
				end
4853
				ABSOLUTE.Transparency = 0
4854
				for i = 1, 10 do
4855
					Swait()
4856
					ABSOLUTE.Size = ABSOLUTE.Size * 0.9
4857
					ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
4858
				end
4859
				Debris:AddItem(ABSOLUTE, 5)
4860
				Swait(50)
4861
				for i = 1, 10 do
4862
					Swait()
4863
					for e = 1, #PITS do
4864
						if PITS[e] ~= nil then
4865
							local E = PITS[e]
4866
							E.Transparency = E.Transparency + 0.1
4867
						end
4868
					end
4869
				end
4870
				for e = 1, #PITS do
4871
					if PITS[e] ~= nil then
4872
						local E = PITS[e]
4873
						E:remove()
4874
					end
4875
				end
4876
			end))
4877
			ATTACK = false
4878
			Rooted = false
4879
		end
4880
	end
4881
end
4882
local Decal = IT("Decal")
4883
function Monarch_Hop()
4884
	ATTACK = true
4885
	Rooted = false
4886
	local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
4887
	O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
4888
	local decal = Decal:Clone()
4889
	decal.Parent = O1
4890
	decal.Face = "Top"
4891
	decal.Texture = "http://www.roblox.com/asset/?id=332014171"
4892
	local decal2 = Decal:Clone()
4893
	decal2.Parent = O1
4894
	decal2.Face = "Bottom"
4895
	decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
4896
	local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
4897
	local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
4898
	O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
4899
	local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
4900
	ROOT.CFrame = CF(O2.Position, RootPart.Position)
4901
	local decal = Decal:Clone()
4902
	decal.Parent = O2
4903
	decal.Face = "Top"
4904
	decal.Texture = "http://www.roblox.com/asset/?id=332014171"
4905
	local decal2 = Decal:Clone()
4906
	decal2.Parent = O2
4907
	decal2.Face = "Bottom"
4908
	decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
4909
	CreateSound("84005018", O1, 10, 0.7)
4910
	CreateSound("84005018", O2, 10, 0.7)
4911
	for i = 1, 75 do
4912
		Swait()
4913
		O1.Size = O1.Size + VT(0.1, 0, 0.1)
4914
		O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
4915
		O2.Size = O2.Size + VT(0.1, 0, 0.1)
4916
		O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
4917
		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)
4918
		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)
4919
		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)
4920
		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)
4921
		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)
4922
		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)
4923
	end
4924
	Rooted = true
4925
	UNANCHOR = false
4926
	RootPart.Anchored = true
4927
	VALUE1 = true
4928
	for i = 1, 15 do
4929
		Transparency(i / 15)
4930
		Swait()
4931
		RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
4932
		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)
4933
		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)
4934
		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)
4935
		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)
4936
		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)
4937
		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)
4938
	end
4939
	RootPart.CFrame = ROOT.CFrame
4940
	ROOT:remove()
4941
	for i = 1, 15 do
4942
		Transparency(1 - i / 15)
4943
		Swait()
4944
		RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
4945
		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)
4946
		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)
4947
		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)
4948
		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)
4949
		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)
4950
		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)
4951
	end
4952
	VALUE1 = false
4953
	coroutine.resume(coroutine.create(function()
4954
		for i = 1, 75 do
4955
			Swait()
4956
			O1.Size = O1.Size - VT(0.1, 0, 0.1)
4957
			O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
4958
			O2.Size = O2.Size - VT(0.1, 0, 0.1)
4959
			O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
4960
		end
4961
		O1:remove()
4962
		O2:remove()
4963
	end))
4964
	UNANCHOR = true
4965
	RootPart.Anchored = false
4966
	ATTACK = false
4967
	Rooted = false
4968
end
4969
4970
function R15Ragdoll(character,KeepArms)
4971
	character:BreakJoints()
4972
	coroutine.resume(coroutine.create(function()
4973
		recurse(character, function(_,v)
4974
			if v:IsA("Attachment") then
4975
				v.Axis = Vector3.new(0, 1, 0)
4976
				v.SecondaryAxis = Vector3.new(0, 0, 1)
4977
				v.Rotation = Vector3.new(0, 0, 0)
4978
			end
4979
		end)
4980
		for _,child in next,character:GetChildren() do
4981
			if child:IsA("Accoutrement") then
4982
				for _,part in next,child:GetChildren() do
4983
					if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
4984
						local attachment1 = part:FindFirstChildOfClass("Attachment")
4985
						local attachment0 = getAttachment0(character,attachment1.Name)
4986
						if attachment0 and attachment1 then
4987
							local constraint = Instance.new("HingeConstraint")
4988
							constraint.Attachment0 = attachment0
4989
							constraint.Attachment1 = attachment1
4990
							constraint.LimitsEnabled = true
4991
							constraint.UpperAngle = 0
4992
							constraint.LowerAngle = 0
4993
							constraint.Parent = RealPlayer.character
4994
						end
4995
						ArtificialHitbox(part)
4996
					elseif part.Name == "HumanoidRootPart" then
4997
						part:remove()
4998
					end
4999
				end
5000
			end
5001
		end
5002
		
5003
		ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
5004
			{"LimitsEnabled",true};
5005
			{"UpperAngle",5};
5006
		})
5007
		if character:FindFirstChild("Head") then
5008
			ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
5009
				{"LimitsEnabled",true};
5010
				{"UpperAngle",15};
5011
			})
5012
		end
5013
		
5014
		local handProperties = {
5015
			{"LimitsEnabled", true};
5016
			{"UpperAngle",0};
5017
			{"LowerAngle",0};
5018
		}
5019
		ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
5020
		ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
5021
		
5022
		local shinProperties = {
5023
			{"LimitsEnabled", true};
5024
			{"UpperAngle", 0};
5025
			{"LowerAngle", -75};
5026
		}
5027
		ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
5028
		ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
5029
		
5030
		local footProperties = {
5031
			{"LimitsEnabled", true};
5032
			{"UpperAngle", 15};
5033
			{"LowerAngle", -45};
5034
		}
5035
		ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
5036
		ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
5037
		if KeepArms == true then
5038
			ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
5039
			ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
5040
			ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
5041
			ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
5042
		end
5043
		ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
5044
		ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
5045
		Debris:AddItem(character,5)
5046
	end))
5047
end
5048
5049
function Ragdoll(Character2,CharTorso,KeepArms)
5050
	coroutine.resume(coroutine.create(function()
5051
		Character2:BreakJoints()
5052
		local hum = Character2:findFirstChild("Humanoid")
5053
		hum:remove()
5054
		local function Scan(ch)
5055
			local e
5056
			for e = 1,#ch do
5057
				Scan(ch[e]:GetChildren())
5058
				if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
5059
					ch[e]:remove()
5060
				end
5061
			end
5062
		end
5063
		local NEWHUM = IT("Humanoid")
5064
		NEWHUM.Name = "Corpse"
5065
		NEWHUM.Health = 0
5066
		NEWHUM.MaxHealth = 0
5067
		NEWHUM.PlatformStand = true
5068
		NEWHUM.Parent = RealPlayer.Character2
5069
		NEWHUM.DisplayDistanceType = "None"
5070
	
5071
		local ch = Character2:GetChildren()
5072
		local i
5073
		for i = 1,#ch do
5074
			if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
5075
				ch[i]:remove()
5076
			end
5077
		end
5078
	
5079
		local Torso2 = Character2.Torso
5080
		local movevector = Vector3.new()
5081
	
5082
		if Torso2 then
5083
			movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
5084
			local Head = Character2:FindFirstChild("Head")
5085
			if Head then
5086
				local Neck = Instance.new("Weld")
5087
				Neck.Name = "Neck"
5088
				Neck.Part0 = Torso2
5089
				Neck.Part1 = Head
5090
				Neck.C0 = CFrame.new(0, 1.5, 0)
5091
				Neck.C1 = CFrame.new()
5092
				Neck.Parent = Torso2
5093
	
5094
			end
5095
			local Limb = Character2:FindFirstChild("Right Arm")
5096
			if Limb and KeepArms == true then
5097
	
5098
				Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
5099
				local Joint = Instance.new("Glue")
5100
				Joint.Name = "RightShoulder"
5101
				Joint.Part0 = Torso2
5102
				Joint.Part1 = Limb
5103
				Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
5104
				Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
5105
				Joint.Parent = Torso2
5106
	
5107
				local B = Instance.new("Part")
5108
				B.TopSurface = 0
5109
				B.BottomSurface = 0
5110
				B.formFactor = "Symmetric"
5111
				B.Size = Vector3.new(1, 1, 1)
5112
				B.Transparency = 1
5113
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
5114
				B.Parent = RealPlayer.Character2
5115
				local W = Instance.new("Weld")
5116
				W.Part0 = Limb
5117
				W.Part1 = B
5118
				W.C0 = CFrame.new(0, -0.5, 0)
5119
				W.Parent = Limb
5120
	
5121
			end
5122
			local Limb = Character2:FindFirstChild("Left Arm")
5123
			if Limb and KeepArms == true then
5124
	
5125
				Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
5126
				local Joint = Instance.new("Glue")
5127
				Joint.Name = "LeftShoulder"
5128
				Joint.Part0 = Torso2
5129
				Joint.Part1 = Limb
5130
				Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
5131
				Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
5132
				Joint.Parent = Torso2
5133
	
5134
				local B = Instance.new("Part")
5135
				B.TopSurface = 0
5136
				B.BottomSurface = 0
5137
				B.formFactor = "Symmetric"
5138
				B.Size = Vector3.new(1, 1, 1)
5139
				B.Transparency = 1
5140
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
5141
				B.Parent = RealPlayer.Character2
5142
				local W = Instance.new("Weld")
5143
				W.Part0 = Limb
5144
				W.Part1 = B
5145
				W.C0 = CFrame.new(0, -0.5, 0)
5146
				W.Parent = Limb
5147
	
5148
			end
5149
			local Limb = Character2:FindFirstChild("Right Leg")
5150
			if Limb then
5151
	
5152
				Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
5153
				local Joint = Instance.new("Glue")
5154
				Joint.Name = "RightHip"
5155
				Joint.Part0 = Torso2
5156
				Joint.Part1 = Limb
5157
				Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
5158
				Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
5159
				Joint.Parent = Torso2
5160
	
5161
				local B = Instance.new("Part")
5162
				B.TopSurface = 0
5163
				B.BottomSurface = 0
5164
				B.formFactor = "Symmetric"
5165
				B.Size = Vector3.new(1, 1, 1)
5166
				B.Transparency = 1
5167
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
5168
				B.Parent = RealPlayer.Character2
5169
				local W = Instance.new("Weld")
5170
				W.Part0 = Limb
5171
				W.Part1 = B
5172
				W.C0 = CFrame.new(0, -0.5, 0)
5173
				W.Parent = Limb
5174
	
5175
			end
5176
			local Limb = Character2:FindFirstChild("Left Leg")
5177
			if Limb then
5178
	
5179
				Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
5180
				local Joint = Instance.new("Glue")
5181
				Joint.Name = "LeftHip"
5182
				Joint.Part0 = Torso2
5183
				Joint.Part1 = Limb
5184
				Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
5185
				Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
5186
				Joint.Parent = Torso2
5187
	
5188
				local B = Instance.new("Part")
5189
				B.TopSurface = 0
5190
				B.BottomSurface = 0
5191
				B.formFactor = "Symmetric"
5192
				B.Size = Vector3.new(1, 1, 1)
5193
				B.Transparency = 1
5194
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
5195
				B.Parent = RealPlayer.Character2
5196
				local W = Instance.new("Weld")
5197
				W.Part0 = Limb
5198
				W.Part1 = B
5199
				W.C0 = CFrame.new(0, -0.5, 0)
5200
				W.Parent = Limb
5201
	
5202
			end
5203
			--[
5204
			local Bar = Instance.new("Part")
5205
			Bar.TopSurface = 0
5206
			Bar.BottomSurface = 0
5207
			Bar.formFactor = "Symmetric"
5208
			Bar.Size = Vector3.new(1, 1, 1)
5209
			Bar.Transparency = 1
5210
			Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
5211
			Bar.Parent = RealPlayer.Character2
5212
			local Weld = Instance.new("Weld")
5213
			Weld.Part0 = Torso2
5214
			Weld.Part1 = Bar
5215
			Weld.C0 = CFrame.new(0, 0.5, 0)
5216
			Weld.Parent = Torso2
5217
			--]]
5218
		end
5219
		Character2.Parent = workspace
5220
		Debris:AddItem(Character2,5)
5221
	
5222
		return Character2,Torso2
5223
	end))
5224
end
5225
5226
function Roar()
5227
	ATTACK = true
5228
	Rooted = true
5229
	local VIOLENCE = 1
5230
	if VIOLENCE <= 10 then
5231
	MagicSphere(VT(0,0,0),15,Torso.CFrame,"Lime green",VT(2,2,2))
5232
		for i=0, 1, 0.1 / Animation_Speed do
5233
			Swait()
5234
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5235
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5236
			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)
5237
			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)
5238
			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)
5239
			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)
5240
		end
5241
		local TAUNT = CreateSound(VOCALS_ENRAGES[MRANDOM(1,#VOCALS_ENRAGES)], Torso, 10, 1, false)
5242
		repeat Swait() until TAUNT.TimeLength > 0
5243
		repeat
5244
			Swait()
5245
			ApplyAoE(Torso.Position,15,0,0,200,false)
5246
			local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
5247
			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})
5248
			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})
5249
			TAUNT.Parent = Torso
5250
		Swait()
5251
		TAUNT.Parent = Torso
5252
		local CHILDREN = workspace:GetDescendants()
5253
		for index, CHILD in pairs(CHILDREN) do
5254
			if CHILD.ClassName == "Model" and CHILD ~= Character then
5255
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
5256
				if HUM then
5257
					local TORSO = CHILD:FindFirstChild("Torso")
5258
					if TORSO then
5259
						if (TORSO.Position - Torso.Position).Magnitude <= 25 then
5260
							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})
5261
							TORSO:remove()
5262
							if CHILD:FindFirstChild("Torso") then
5263
								Ragdoll(CHILD,Torso,true)
5264
							elseif CHILD:FindFirstChild("UpperTorso") then
5265
								R15Ragdoll(CHILD,true)
5266
							end
5267
						end
5268
					end
5269
				end
5270
			end
5271
		end
5272
			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)
5273
            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)
5274
			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)
5275
			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)
5276
			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)
5277
			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)
5278
		until TAUNT.TimePosition > TAUNT.TimeLength - 2
5279
	end
5280
	MagicSphere(VT(0,0,0),15,Torso.CFrame,"Lime green",VT(2,2,2))
5281
	ATTACK = false
5282
	Rooted = false
5283
end
5284
5285
function Blizzard()
5286
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
5287
	if HITFLOOR ~= nil then
5288
		ATTACK = true
5289
		Rooted = true
5290
		local GYRO = IT("BodyGyro", RootPart)
5291
		GYRO.D = 100
5292
		GYRO.P = 2000
5293
		GYRO.MaxTorque = VT(0, 4000000, 0)
5294
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
5295
		for i = 0, 3.5, 0.1 / Animation_Speed do
5296
			Swait()
5297
			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)
5298
			GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
5299
			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)
5300
			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)
5301
			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)
5302
			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)
5303
			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)
5304
			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)
5305
		end
5306
		CreateSound("160772554", RightArm, 10, 0.7)
5307
		for i = 0, 0.15, 0.1 / Animation_Speed do
5308
			Swait()
5309
			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)
5310
			GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
5311
			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)
5312
			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)
5313
			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)
5314
			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)
5315
			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)
5316
			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)
5317
		end
5318
		coroutine.resume(coroutine.create(function()
5319
			local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0))
5320
			CENTER.CFrame = RootPart.CFrame
5321
			for i = 1, 200 do
5322
				Swait()
5323
				CENTER.CFrame = CENTER.CFrame * CF(0, 0, -0.7)
5324
				for i = 1, 2 do
5325
					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)
5326
				end
5327
				killnearest(CENTER.Position, 25, 10)
5328
			end
5329
			CENTER:remove()
5330
		end))
5331
		for i = 0, 1, 0.1 / Animation_Speed do
5332
			Swait()
5333
			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)
5334
			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)
5335
			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)
5336
			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)
5337
			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)
5338
			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)
5339
		end
5340
		Rooted = true
5341
		GYRO:remove()
5342
		ATTACK = false
5343
		Rooted = false
5344
	end
5345
end
5346
5347
local INTRO = false
5348
local INSTANT = false
5349
5350
function Intro()
5351
	ATTACK = true
5352
	Rooted = true
5353
	MODE = "intro"
5354
	tecks2.Text = "Dominus Switcher V2"
5355
coroutine.resume(coroutine.create(function()
5356
	    wait(6)
5357
	BodyColor = C3(0,0,0)
5358
	LegColor = C3(0.03, 0, 0)
5359
	ArmColor = C3(0.13, 0, 0)
5360
	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})
5361
	
5362
		CreateSound(147722227, Torso, 4, 1.3, false)
5363
local eff = Instance.new("ParticleEmitter",Torso)
5364
eff.Texture = "rbxassetid://2273224484"
5365
eff.LightEmission = 1
5366
eff.Color = ColorSequence.new(BrickColor.random().Color)
5367
eff.Rate = 500000
5368
eff.Lifetime = NumberRange.new(1,3)
5369
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)})
5370
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)})
5371
eff.Speed = NumberRange.new(50,500)
5372
eff.Drag = 5
5373
eff.Rotation = NumberRange.new(-500,500)
5374
eff.VelocitySpread = 9000
5375
eff.RotSpeed = NumberRange.new(-50,50)
5376
	for _, c in pairs(Character:GetChildren()) do
5377
	
5378
			if c == Head then
5379
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "195696364", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
5380
					M.Name = "Dominus"
5381
				if c:FindFirstChild("face") then
5382
					c.face:remove()
5383
				end
5384
			end
5385
		end
5386
	
5387
        Swait(15)
5388
		CreateSound(1187613212, Torso, 4, 1.3, false)
5389
5390
	BodyColor = C3(1,3,2)
5391
	LegColor = C3(0.01, 0.03, 0.02)
5392
	ArmColor = C3(0.12, 0.13, 0.17)
5393
	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})
5394
	
5395
	for _, c in pairs(Character:GetChildren()) do
5396
		if c.ClassName == "Part" then
5397
			c.Material = "Neon"
5398
			if c:FindFirstChildOfClass("ParticleEmitter") then
5399
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
5400
			end
5401
			if c == Head then
5402
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
5403
					M.Name = "Dominus"
5404
				if c:FindFirstChild("face") then
5405
					c.face:remove()
5406
				end
5407
			end
5408
		end
5409
	end
5410
        Swait(15)
5411
		CreateSound(147722227, Torso, 4, 0.9, false)
5412
5413
	BodyColor = C3(1, 1, 1)
5414
	LegColor = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
5415
	ArmColor = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549)	
5416
	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})
5417
	
5418
	for _, c in pairs(Character:GetChildren()) do
5419
		if c.ClassName == "Part" then
5420
			c.Material = "Neon"
5421
			if c:FindFirstChildOfClass("ParticleEmitter") then
5422
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
5423
			end
5424
			if c == Head then
5425
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", 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
				end
5430
			end
5431
		end
5432
	end
5433
        Swait(60)
5434
		CreateSound(147722227, Torso, 4, 1, false)
5435
5436
	BodyColor = C3(0,0,0)
5437
	LegColor = C3(0.05,0,0)
5438
	ArmColor = C3(0.15,0.05,0.05)
5439
	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})
5440
	
5441
	for _, c in pairs(Character:GetChildren()) do
5442
		if c.ClassName == "Part" then
5443
			c.Material = "Neon"
5444
			if c:FindFirstChildOfClass("ParticleEmitter") then
5445
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
5446
			end
5447
			if c == Head then
5448
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "65645429", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
5449
					M.Name = "Dominus"
5450
				if c:FindFirstChild("face") then
5451
					c.face:remove()
5452
				end
5453
			end
5454
		end
5455
	end
5456
        Swait(15)
5457
		CreateSound(147722227, Torso, 4, 1.3, false)
5458
5459
	BodyColor = C3(0,0,0)
5460
	LegColor = C3(0,0,0)
5461
	ArmColor = C3(0.05,0.05,0.05)
5462
	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})
5463
	
5464
	for _, c in pairs(Character:GetChildren()) do
5465
		if c.ClassName == "Part" then
5466
			c.Material = "Neon"
5467
			if c:FindFirstChildOfClass("ParticleEmitter") then
5468
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
5469
			end
5470
			if c == Head then
5471
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "142151506", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
5472
					M.Name = "Dominus"
5473
				if c:FindFirstChild("face") then
5474
					c.face:remove()
5475
				end
5476
			end
5477
		end
5478
	end
5479
        Swait(15)
5480
		CreateSound(147722227, Torso, 4, 1.3, false)
5481
5482
    for _, c in pairs(Character:GetChildren()) do
5483
        if c.ClassName == "Part" then
5484
            c.Material = "Neon"
5485
            if c:FindFirstChildOfClass("ParticleEmitter") then
5486
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
5487
            end
5488
            if c == Torso then
5489
                c.Color = C3(0,0,0)
5490
            elseif c == RightArm then
5491
                c.Color = C3(0.05,0.05,0.15)
5492
            elseif c == LeftArm then
5493
                c.Color = C3(0.05,0.05,0.15)
5494
            elseif c == RightLeg then
5495
                c.Color = C3(0,0,0.05)
5496
            elseif c == LeftLeg then
5497
                c.Color = C3(0,0,0.05)
5498
            elseif c == Head then
5499
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
5500
                    M.Name = "Dominus"
5501
                if c:FindFirstChild("face") then
5502
                    c.face:remove()
5503
5504
                end
5505
            end
5506
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
5507
            c:remove()
5508
        end
5509
    end
5510
5511
	
5512
	eff.Enabled = false
5513
    for _, c in pairs(Character:GetChildren()) do
5514
            if c == Head then
5515
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
5516
                    M.Name = "Dominus"
5517
			end
5518
		end
5519
end))
5520
Swait(15)
5521
local BodyColor = C3(0,0,0)
5522
local LegColor = C3(0,0,0.05)
5523
local ArmColor = C3(0.05,0.05,0.15)
5524
    for _, c in pairs(Character:GetChildren()) do
5525
        if c.ClassName == "Part" then
5526
            c.Material = "Neon"
5527
            if c:FindFirstChildOfClass("ParticleEmitter") then
5528
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
5529
            end
5530
            if c == Torso then
5531
                c.Color = C3(0,0,0)
5532
            elseif c == RightArm then
5533
                c.Color = C3(0.05,0.05,0.15)
5534
            elseif c == LeftArm then
5535
                c.Color = C3(0.05,0.05,0.15)
5536
            elseif c == RightLeg then
5537
                c.Color = C3(0,0,0.05)
5538
            elseif c == LeftLeg then
5539
                c.Color = C3(0,0,0.05)
5540
            elseif c == Head then
5541
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
5542
                    M.Name = "Dominus"
5543
                if c:FindFirstChild("face") then
5544
                    c.face:remove()
5545
5546
                end
5547
            end
5548
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
5549
            c:remove()
5550
        end
5551
    end
5552
	repeat 
5553
		Swait() 
5554
		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)
5555
			
5556
			 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)
5557
			
5558
			  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)
5559
            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)
5560
			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)
5561
            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)
5562
5563
	until sick.TimePosition > 6
5564
	repeat 
5565
		Swait() 
5566
		
5567
	
5568
		 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)
5569
            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)
5570
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5571
			
5572
		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)
5573
		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)
5574
	
5575
5576
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)
5577
			
5578
	
5579
	until sick.TimePosition > 9
5580
BodyColor = C3(0,0,0)
5581
LegColor = C3(0,0,0.05)
5582
ArmColor = C3(0.05,0.05,0.15)
5583
    for _, c in pairs(Character:GetChildren()) do
5584
        if c.ClassName == "Part" then
5585
            c.Material = "Neon"
5586
            if c:FindFirstChildOfClass("ParticleEmitter") then
5587
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
5588
            end
5589
            if c == Torso then
5590
                c.Color = C3(0,0,0)
5591
            elseif c == RightArm then
5592
                c.Color = C3(0.05,0.05,0.15)
5593
            elseif c == LeftArm then
5594
                c.Color = C3(0.05,0.05,0.15)
5595
            elseif c == RightLeg then
5596
                c.Color = C3(0,0,0.05)
5597
            elseif c == LeftLeg then
5598
                c.Color = C3(0,0,0.05)
5599
            elseif c == Head then
5600
	                local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
5601
                    M.Name = "Dominus"
5602
                if c:FindFirstChild("face") then
5603
                    c.face:remove()
5604
5605
                end
5606
            end
5607
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
5608
            c:remove()
5609
        end
5610
    end
5611
	ATTACK = false
5612
	Rooted = false
5613
	MODE = "Main"
5614
	end
5615
5616
local DAMAGEMULTIPLIER = 1
5617
5618
function ApplyDamage(Humanoid,Damage)
5619
	Damage = Damage * DAMAGEMULTIPLIER
5620
	if Humanoid.Health ~= 0 then
5621
		Humanoid.Health = Humanoid.Health - Damage
5622
	end
5623
end
5624
5625
function Shatter(Part)
5626
	if Part.Transparency < 1 then
5627
		local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0))
5628
		Debris:AddItem(SOUNDPART,5)
5629
		CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
5630
		local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
5631
		local SIZESET = SIZE/4
5632
		local XOffset = Part.Size.X*1.5/SIZESET
5633
		local YOffset = Part.Size.Y*1.5/SIZESET
5634
		local ZOffset = Part.Size.Z*1.5/SIZESET
5635
		for x = 1, math.ceil(XOffset) do
5636
			for y = 1, math.ceil(YOffset) do
5637
				for z = 1, math.ceil(ZOffset) do
5638
					local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
5639
					SHARD.CanCollide = true
5640
					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))
5641
					SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
5642
					Debris:AddItem(SHARD,MRANDOM(10,25)/10)
5643
					for _, c in pairs(Part:GetChildren()) do
5644
						if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
5645
							c:Clone().Parent = SHARD
5646
						end
5647
					end
5648
				end
5649
			end
5650
		end
5651
	end
5652
	Part:remove()
5653
end
5654
5655
5656
function Kill(Victim,Fire)
5657
	coroutine.resume(coroutine.create(function()
5658
		local NIL = script.TotalNil:Clone()
5659
		NIL.Parent = Victim
5660
		NIL.Disabled = false
5661
		if Fire ~= true then
5662
			Victim:BreakJoints()
5663
			for _, c in pairs(Victim:GetChildren()) do
5664
				if c:IsA("BasePart") then
5665
					c.Anchored = true
5666
				end
5667
			end
5668
			for _, c in pairs(Victim:GetChildren()) do
5669
				if c:IsA("BasePart") then
5670
					Shatter(c)
5671
				end
5672
			end
5673
		else
5674
			Victim:BreakJoints()
5675
			local FIRES = {}
5676
			for _, e in pairs(Victim:GetDescendants()) do
5677
				if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
5678
					e.Transparency = 1
5679
					e:ClearAllChildren()
5680
					local FIRE = script.HellFire:Clone()
5681
					FIRE.Parent = e
5682
					FIRE.Enabled = true
5683
					table.insert(FIRES,FIRE)
5684
				elseif e.ClassName == "Decal" then
5685
					e:remove()
5686
				end	
5687
			end
5688
			for i = 1, 50 do
5689
				Victim:BreakJoints()
5690
				wait()
5691
			end
5692
			for i = 1, #FIRES do
5693
				FIRES[i].Enabled = false
5694
			end
5695
			wait(1.1)
5696
			Victim:remove()
5697
		end
5698
	end))
5699
end
5700
5701
function ApplyDeathAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION)
5702
	local CHILDREN = workspace:GetDescendants()
5703
	for index, CHILD in pairs(CHILDREN) do
5704
		if CHILD.ClassName == "Model" and CHILD ~= Character then
5705
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
5706
			if HUM then
5707
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
5708
				if TORSO then
5709
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
5710
						if INSTAKILL == true then
5711
							CHILD:BreakJoints()
5712
							if OPTION ~= nil then
5713
								Kill(CHILD,OPTION)
5714
							end
5715
						else
5716
							local DMG = MRANDOM(MINDMG,MAXDMG)
5717
							ApplyDamage(HUM,DMG)
5718
						end
5719
						if FLING ~= 0 then
5720
							for _, c in pairs(CHILD:GetChildren()) do
5721
								if c:IsA("BasePart") then
5722
									local bv = Instance.new("BodyVelocity") 
5723
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5724
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
5725
									bv.Parent = c
5726
									Debris:AddItem(bv,0.05)
5727
								end
5728
							end
5729
						end
5730
					end
5731
				end
5732
			end
5733
		end
5734
	end
5735
end
5736
5737
function FingerMagic()
5738
	ATTACK = true
5739
	Rooted = false
5740
	for i=0, 0.1, 0.1 / Animation_Speed do
5741
		Swait()
5742
		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)
5743
		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)
5744
		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)
5745
		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)
5746
	end
5747
	for i=0, 1, 0.1 / Animation_Speed do
5748
		Swait()
5749
		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)
5750
		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)
5751
		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)
5752
		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)
5753
	end
5754
	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})
5755
	for i = 1, 5 do
5756
		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})
5757
	end
5758
	CreateSound(217767125, LeftArm, 10, 1, false)
5759
	coroutine.resume(coroutine.create(function()
5760
		local EXPLODED = false
5761
		for i = 1, 3 do
5762
			coroutine.resume(coroutine.create(function()
5763
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
5764
				if HITFLOOR then
5765
					local CFRAME = CF(HITPOS) * ANGLES(RAD(0), RAD((360/3)*i), RAD(0))
5766
					for i = 1, 35 do
5767
						wait()
5768
						for _, c in pairs(workspace:GetChildren()) do
5769
							if EXPLODED == false and c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
5770
								local HUM = c:FindFirstChildOfClass("Humanoid")
5771
								local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
5772
								if TORSO and HUM.Health > 0 then
5773
									if (TORSO.Position - CFRAME.p).Magnitude < 10 then
5774
										EXPLODED = true
5775
										coroutine.resume(coroutine.create(function()
5776
											for i = 1, 15 do
5777
												ApplyDeathAoE(CFRAME*CF(0,10,0).p,30+(i*4),0,0,-35,false)
5778
												wait(0.2)
5779
												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})
5780
												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})
5781
												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})
5782
											end
5783
											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})
5784
											wait(1)
5785
											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})
5786
											local PART = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
5787
											PART.CFrame = CFRAME*CF(0,10,0)
5788
											Debris:AddItem(PART,10)
5789
											local PARTICLES = script.Explode:Clone()
5790
											PARTICLES.Parent = PART
5791
											PARTICLES:Emit(500)
5792
											ApplyDeathAoE(CFRAME*CF(0,10,0).p,45*2,0,0,350,true)
5793
											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})
5794
											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})
5795
											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})
5796
										end))
5797
									end
5798
								end
5799
							end
5800
						end
5801
						if EXPLODED == true then
5802
							break
5803
						end
5804
						CFRAME = CFRAME * ANGLES(RAD(0), RAD(10), RAD(0)) * CF(0,0,-3)
5805
						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})
5806
						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})
5807
					end
5808
				end
5809
			end))
5810
		end
5811
	end))
5812
	for i=0, 1, 0.1 / Animation_Speed do
5813
		Swait()
5814
		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)
5815
		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)
5816
		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)
5817
		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)
5818
	end
5819
	ATTACK = false
5820
	Rooted = false
5821
end
5822
5823
function EMOTE()
5824
	ATTACK = true
5825
	Rooted = false
5826
	local LOOP = 0
5827
	for i=0, 0.1, 0.1 / Animation_Speed do
5828
		Swait()
5829
		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)
5830
		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)
5831
		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)
5832
		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)
5833
	end
5834
	for i=0, 3, 0.1 / Animation_Speed do
5835
		Swait()
5836
		LOOP = LOOP + 1
5837
		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)
5838
		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)
5839
		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)
5840
		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)
5841
	end
5842
	for i=0, 0.1, 0.1 / Animation_Speed do
5843
		Swait()
5844
		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)
5845
		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)
5846
		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)
5847
		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)
5848
	end
5849
	ATTACK = false
5850
	Rooted = false
5851
end
5852
5853
function Roar()
5854
	ATTACK = true
5855
	Rooted = true
5856
	local ROAR = CreateSound("199978176", Head, 10, 1)
5857
	Swait()
5858
	repeat
5859
		Swait()
5860
		ROAR.Parent = Head
5861
		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)
5862
		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)
5863
		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)
5864
		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)
5865
		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)
5866
		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)
5867
	until ROAR.Playing == false
5868
	ATTACK = false
5869
	Rooted = false
5870
end
5871
5872
function Minutes()
5873
	ATTACK = true
5874
	Rooted = false
5875
	CreateSound(159882644, Character, 10, 1, false)
5876
	for i=0, 3.5, 0.1 / Animation_Speed do
5877
		Swait()
5878
			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)
5879
			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)
5880
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
5881
			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)
5882
			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)
5883
			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)
5884
	end
5885
	ATTACK = false
5886
	Rooted = false
5887
end
5888
5889
function TenebrisTAUNT1()
5890
	ATTACK = true
5891
	Rooted = false
5892
	CreateSound(865772398, Torso, 6, 1, false)
5893
	for i=0, 0.1, 0.1 / Animation_Speed do
5894
		Swait()
5895
			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)
5896
			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)
5897
			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)
5898
			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)
5899
			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)
5900
			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)
5901
	end
5902
	for i=0, 1, 0.1 / Animation_Speed do
5903
		Swait()
5904
			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)
5905
			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)
5906
			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)
5907
			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)
5908
			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)
5909
			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)
5910
	end
5911
	for i=0, 1, 0.1 / Animation_Speed do
5912
		Swait()
5913
			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)
5914
			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)
5915
			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)
5916
			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)
5917
			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)
5918
			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)
5919
	end
5920
	ATTACK = false
5921
	Rooted = false
5922
end
5923
5924
function Roar2()
5925
	ATTACK = true
5926
	Rooted = true
5927
	local ROAR = CreateSound("528589078", Head, 10, 1)
5928
	Swait()
5929
	repeat
5930
		Swait()
5931
		ROAR.Parent = Head
5932
		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)
5933
		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)
5934
		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)
5935
		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)
5936
		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)
5937
		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)
5938
	until ROAR.Playing == false
5939
	ATTACK = false
5940
	Rooted = false
5941
end
5942
5943
--//=================================\\
5944
--||      ASSIGN THINGS TO KEYS
5945
--\\=================================//
5946
 
5947
function MouseDown(Mouse)
5948
    if ATTACK == false then
5949
    end
5950
end
5951
 
5952
function MouseUp(Mouse)
5953
HOLD = false
5954
end
5955
5956
local FLIGHT = false
5957
5958
function KeyDown(Key)
5959
    KEYHOLD = true
5960
	if Key == "z" and ATTACK == false then
5961
		if MODE == "Main" then
5962
		Lunar_Blast()
5963
		elseif MODE == "Phaedra" then
5964
		Dolor_Pluvia()
5965
		elseif MODE == "Tenebris" then
5966
		Dark_Blast()
5967
		elseif MODE == "Fugatrix" then
5968
		Banisher_Bullet()
5969
		elseif MODE == "Praefectus" then
5970
		Governor_Bomb()
5971
		elseif MODE == "Demonum" then
5972
		Governor_Bomb2()
5973
		elseif MODE == "Mortem" then
5974
		Dead_Bullet()
5975
		elseif MODE == "Ultra Phaedra" then
5976
		Ultimate_Z()
5977
	end
5978
end
5979
5980
	if Key == "t" and ATTACK == false then
5981
		if MODE == "Main" then
5982
		CreateSound("907330011", Head, 10, 1.2)
5983
		elseif MODE == "Phaedra" then
5984
		Roar()
5985
		elseif MODE == "Tenebris" then
5986
		TenebrisTAUNT1()
5987
		elseif MODE == "Maris" then
5988
		Minutes()
5989
		elseif MODE == "Fugatrix" then
5990
		CreateSound(221057812,Torso,10,1,false)
5991
		elseif MODE == "Praefectus" then
5992
		ATTACK = true
5993
		CreateSound(363808674, Torso, 6, 1, false)
5994
		for i=0, 0.6, 0.1 / Animation_Speed do
5995
			Swait()
5996
            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)
5997
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
5998
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5999
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
6000
            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)
6001
            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)
6002
		end
6003
		for i=0, 0.6, 0.1 / Animation_Speed do
6004
			Swait()
6005
            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)
6006
6007
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
6008
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6009
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
6010
            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)
6011
            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)
6012
		end
6013
		ATTACK = false
6014
		elseif MODE == "Demonum" then
6015
		Roar2()
6016
		elseif MODE == "Mortem" then
6017
		EMOTE()
6018
		elseif MODE == "Ultra Phaedra" then
6019
		Roar()
6020
	end
6021
end
6022
6023
if Key == "space" then 
6024
Humanoid.Jump = true
6025
end
6026
6027
	if Key == "zero" and ATTACK == false then
6028
		PhForm()
6029
	end
6030
6031
	if Key == "semicolon" and ATTACK == false then
6032
		FinalForm()
6033
	end
6034
6035
	if Key == "m" and ATTACK == false and MODE == "Phaedra" then
6036
		UpForm()
6037
	end
6038
6039
	if Key == "zero" and ATTACK == false and MODE == "Ultra Phaedra" then
6040
		UpForm()
6041
	end
6042
6043
	if Key == "m" and ATTACK == false and MODE == "Praefectus" then
6044
		DeForm()
6045
	end
6046
6047
	if Key == "three" and ATTACK == false and MODE == "Demonum" then
6048
		DeForm()
6049
	end
6050
6051
	if Key == "three" and ATTACK == false then
6052
		PrForm()
6053
	end
6054
6055
	if Key == "m" and ATTACK == false and MODE == "Tenebris" then
6056
		VeForm()
6057
	end
6058
6059
	if Key == "one" and ATTACK == false and MODE == "Venari" then
6060
		VeForm()
6061
	end
6062
6063
	if Key == "four" and ATTACK == false then
6064
		InForm()
6065
	end
6066
6067
	if Key == "x" and ATTACK == false and MODE == "Phaedra" then
6068
		LEVEL = 3
6069
		Ultima_Consummatio()
6070
		LEVEL = 1
6071
	end
6072
6073
	if Key == "m" and ATTACK == false and MODE == "Fugatrix" then
6074
		DeathForm()
6075
	end
6076
6077
	if Key == "two" and ATTACK == false and MODE == "Mortem" then
6078
		DeathForm()
6079
	end
6080
6081
	if Key == "two" and ATTACK == false then
6082
		BaForm()
6083
	end
6084
6085
	if Key == "one" and ATTACK == false then
6086
		TeForm()
6087
	end
6088
6089
	if Key == "b" and ATTACK == false then
6090
		if MODE == "Main" then
6091
        	Star_Cutter()
6092
		elseif MODE == "Phaedra" then 
6093
			Ignem_Aeternum()
6094
		elseif MODE == "Tenebris" then
6095
			Dark_Cutter()
6096
		elseif MODE == "Fugatrix" then
6097
		    Ruler2()
6098
		elseif MODE == "Praefectus" then
6099
			Command_Rush()
6100
		elseif MODE == "Demonum" then
6101
			Blizzard()
6102
		elseif MODE == "Ultra Phaedra" then
6103
			Ultimate_B()
6104
		elseif MODE == "Mortem" then
6105
			Dead_Cutter()
6106
		end
6107
	end
6108
6109
	if Key == "c" and ATTACK == false then
6110
		if MODE == "Main" then
6111
		Supernova()
6112
		elseif MODE == "Phaedra" then
6113
		Ultima_Consummatio()
6114
		elseif MODE == "Tenebris" then
6115
		SupernovaThrow()
6116
		elseif MODE == "Fugatrix" then
6117
		Ultima_ConsummatioB()
6118
		elseif MODE == "Praefectus" then
6119
		Ruler()
6120
		elseif MODE == "Demonum" then
6121
		SupernovaThrow()
6122
		elseif MODE == "Ultra Phaedra" then
6123
		Governor_Bomb3()
6124
		elseif MODE == "Mortem" then
6125
		FingerMagic()
6126
		end
6127
	end
6128
6129
	if Key == "q" and ATTACK == false then
6130
		if MODE == "Main" then
6131
		Astral_Hop()
6132
		elseif MODE == "Phaedra" then
6133
		Hop()
6134
		elseif MODE == "Tenebris" then
6135
		Astral_Hop()
6136
		elseif MODE == "Venari" then
6137
		SummonHop()
6138
		elseif MODE == "Fugatrix" then
6139
		Banish_Hop()
6140
		elseif MODE == "Praefectus" then
6141
		Monarch_Hop()
6142
		elseif MODE == "Demonum" then
6143
		Banish_Hop()
6144
		elseif MODE == "Mortem" then
6145
		Banish_Hop()
6146
		elseif MODE == "Ultra Phaedra" then
6147
		Hop()
6148
		end
6149
	end
6150
end
6151
 
6152
function KeyUp(Key)
6153
    KEYHOLD = false
6154
end
6155
 
6156
    Mouse.Button1Down:connect(function(NEWKEY)
6157
        MouseDown(NEWKEY)
6158
    end)
6159
    Mouse.Button1Up:connect(function(NEWKEY)
6160
        MouseUp(NEWKEY)
6161
    end)
6162
    Mouse.KeyDown:connect(function(NEWKEY)
6163
        KeyDown(NEWKEY)
6164
    end)
6165
    Mouse.KeyUp:connect(function(NEWKEY)
6166
        KeyUp(NEWKEY)
6167
    end)
6168
 
6169
--//=================================\\
6170
--\\=================================//
6171
 
6172
 
6173
function unanchor()
6174
    if UNANCHOR == true then
6175
        g = Character:GetChildren()
6176
        for i = 1, #g do
6177
            if g[i].ClassName == "Part" then
6178
                g[i].Anchored = false
6179
            end
6180
        end
6181
	g = Weapon:GetChildren()
6182
	for i = 1, #g do
6183
		if g[i].ClassName == "Part" then
6184
			g[i].Anchored = false
6185
		end
6186
	end
6187
    end
6188
end
6189
 
6190
 
6191
--//=================================\\
6192
--||    WRAP THE WHOLE SCRIPT UP
6193
--\\=================================//
6194
6195
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
6196
local type = type
6197
local rotenable = rotatingop
6198
local rng = Instance.new("Part", Character)
6199
        rng.Anchored = true
6200
        rng.BrickColor = color
6201
        rng.CanCollide = false
6202
        rng.FormFactor = 3
6203
        rng.Name = "Ring"
6204
        rng.Material = "Neon"
6205
        rng.Size = Vector3.new(1, 1, 1)
6206
        rng.Transparency = 0
6207
if typeoftrans == "In" then
6208
rng.Transparency = 1
6209
end
6210
        rng.TopSurface = 0
6211
        rng.BottomSurface = 0
6212
        rng.CFrame = pos
6213
        local rngm = Instance.new("SpecialMesh", rng)
6214
        rngm.MeshType = "FileMesh"
6215
if typeofshape == "Normal" then
6216
rngm.MeshId = "rbxassetid://662586858"
6217
elseif typeofshape == "Round" then
6218
rngm.MeshId = "rbxassetid://662585058"
6219
end
6220
rngm.Scale = scale
6221
local scaler2 = 1/10
6222
if type == "Add" then
6223
scaler2 = 1*value/10
6224
elseif type == "Divide" then
6225
scaler2 = 1/value/10
6226
end
6227
local randomrot = math.random(1,2)
6228
coroutine.resume(coroutine.create(function()
6229
for i = 0,10/bonuspeed,0.1 do
6230
Swait()
6231
if type == "Add" then
6232
scaler2 = scaler2 - 0.01*value/bonuspeed/10
6233
elseif type == "Divide" then
6234
scaler2 = scaler2 - 0.01/value*bonuspeed/10
6235
end
6236
if rotenable == true then
6237
if randomrot == 1 then
6238
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
6239
elseif randomrot == 2 then
6240
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
6241
end
6242
end
6243
if typeoftrans == "Out" then
6244
rng.Transparency = rng.Transparency + 0.01*bonuspeed
6245
elseif typeoftrans == "In" then
6246
rng.Transparency = rng.Transparency - 0.01*bonuspeed
6247
end
6248
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
6249
end
6250
rng:Destroy()
6251
end))
6252
end
6253
6254
Humanoid.Changed:connect(function(Jump)
6255
    if Jump == "Jump" and (Disable_Jump == true) then
6256
        Humanoid.Jump = false
6257
    end
6258
end)
6259
 
6260
Humanoid.HipHeight = 2
6261
Head:ClearAllChildren()
6262
6263
Speed = 35
6264
 
6265
local BODY = {}
6266
for _, c in pairs(Character:GetDescendants()) do
6267
	if c:IsA("BasePart") and c.Name ~= "Handle" then
6268
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
6269
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
6270
		end
6271
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
6272
	elseif c:IsA("JointInstance") then
6273
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
6274
	end
6275
end
6276
for e = 1, #BODY do
6277
	if BODY[e] ~= nil then
6278
		local STUFF = BODY[e]
6279
		local PART = STUFF[1]
6280
		local PARENT = STUFF[2]
6281
		local MATERIAL = STUFF[3]
6282
		local COLOR = STUFF[4]
6283
		local TRANSPARENCY = STUFF[5]
6284
		if PART.ClassName == "Part" and PART ~= RootPart then
6285
			PART.Transparency = TRANSPARENCY
6286
		end
6287
		PART.AncestryChanged:Connect(function()
6288
			PART.Parent = PARENT
6289
		end)
6290
	end
6291
end
6292
function refit2()
6293
    Character.Parent = workspace
6294
    for e = 1, #BODY do
6295
        if BODY[e] ~= nil then
6296
            local STUFF = BODY[e]
6297
            local PART = STUFF[1]
6298
            local PARENT = STUFF[2]
6299
6300
            local TRANSPARENCY = STUFF[5]
6301
            if PART:IsA("BasePart") and PART ~= RootPart then
6302
6303
                PART.Transparency = TRANSPARENCY
6304
            end
6305
            if PART.Parent ~= PARENT then
6306
                Humanoid:remove()
6307
                PART.Parent = PARENT
6308
                Humanoid = IT("Humanoid",Character)
6309
6310
            end
6311
        end
6312
    end
6313
end
6314
6315
local EXTRATRANS = 0
6316
6317
function refit3()
6318
	Character.Parent = workspace
6319
	for e = 1, #BODY do
6320
		if BODY[e] ~= nil then
6321
			local STUFF = BODY[e]
6322
			local PART = STUFF[1]
6323
			local PARENT = STUFF[2]
6324
			local MATERIAL = STUFF[3]
6325
			local COLOR = STUFF[4]
6326
			local TRANSPARENCY = STUFF[5]
6327
			if PART:IsA("BasePart") and PART ~= RootPart then
6328
				PART.Transparency = TRANSPARENCY+EXTRATRANS
6329
			end
6330
			if PART.Parent ~= PARENT then
6331
				Humanoid:remove()
6332
				PART.Parent = PARENT
6333
				Humanoid = IT("Humanoid",Character)
6334
			end
6335
		end
6336
	end
6337
end
6338
6339
Humanoid.Died:connect(function()
6340
	refit3()
6341
	refit2()
6342
end)
6343
6344
6345
 
6346
local FOUNDFORGOTTEN = false
6347
6348
    for _, c in pairs(Character:GetChildren()) do
6349
            if c == Head then
6350
                    local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
6351
                    M.Name = "Dominus"
6352
			end
6353
		end
6354
6355
function CreateParta(parent,transparency,reflectance,material,brickcolor)
6356
local p = Instance.new("Part")
6357
p.TopSurface = 0
6358
p.BottomSurface = 0
6359
p.Parent = parent
6360
p.Size = Vector3.new(0.1,0.1,0.1)
6361
p.Transparency = transparency
6362
p.Reflectance = reflectance
6363
p.CanCollide = false
6364
p.Locked = true
6365
p.BrickColor = brickcolor
6366
p.Material = material
6367
return p
6368
end
6369
6370
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
6371
local weld = Instance.new("Weld")
6372
weld.Parent = parent
6373
weld.Part0 = part0
6374
weld.Part1 = part1
6375
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
6376
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
6377
return weld
6378
end
6379
6380
local m = Instance.new("Model",Character)
6381
6382
local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
6383
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))
6384
6385
local effar = Instance.new("ParticleEmitter",cen)
6386
effar.Texture = "rbxassetid://2344870656"
6387
effar.LightEmission = 1
6388
effar.Color = ColorSequence.new(Color3.new(1,0,0))
6389
effar.Rate = 50
6390
effar.Enabled = false
6391
effar.EmissionDirection = "Front"
6392
effar.Lifetime = NumberRange.new(1)
6393
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)})
6394
effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
6395
effar.Speed = NumberRange.new(80,90)
6396
effar.Acceleration = Vector3.new(0,10,0)
6397
effar.Drag = 5
6398
effar.Rotation = NumberRange.new(-500,500)
6399
effar.SpreadAngle = Vector2.new(0,900)
6400
effar.RotSpeed = NumberRange.new(-500,500)
6401
6402
while true do
6403
    Swait()
6404
    ANIMATE.Parent = nil
6405
    Humanoid.HipHeight = 2
6406
    SINE = SINE + CHANGE
6407
    local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
6408
    local TORSOVERTICALVELOCITY = RootPart.Velocity.y
6409
    local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
6410
    local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
6411
    if ATTACK == false then
6412
        if TORSOVELOCITY < 1 and MODE == "Main" then
6413
            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)
6414
            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)
6415
            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)
6416
            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)
6417
            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)
6418
            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)
6419
        elseif TORSOVELOCITY > 1 and MODE == "Main" then
6420
            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)
6421
            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)
6422
            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)
6423
            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)
6424
            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)
6425
            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)
6426
        elseif TORSOVELOCITY < 1 and MODE == "Demonum" then
6427
		SKILLTEXTCOLOR = C3(1, 0, 0)
6428
		SKILLTEXTCOLOR2 = C3(0,0,0)
6429
		local snap = math.random(1,2)
6430
		if snap == 1 then
6431
			SKILLTEXTCOLOR = C3(0,0,0)
6432
			SKILLTEXTCOLOR2 = C3(1,0,0)
6433
		end
6434
            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)
6435
            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)
6436
			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)
6437
			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)
6438
            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)
6439
            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)
6440
        elseif TORSOVELOCITY > 1 and MODE == "Demonum" then
6441
		SKILLTEXTCOLOR = C3(1, 0, 0)
6442
		SKILLTEXTCOLOR2 = C3(0,0,0)
6443
		local snap = math.random(1,2)
6444
		if snap == 1 then
6445
			SKILLTEXTCOLOR = C3(0,0,0)
6446
			SKILLTEXTCOLOR2 = C3(1,0,0)
6447
		end
6448
            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)
6449
            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)
6450
			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)
6451
			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)
6452
            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)
6453
            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)
6454
        elseif TORSOVELOCITY < 1 and MODE == "Phaedra" then
6455
		SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
6456
		SKILLTEXTCOLOR2 = C3(1,1,1)
6457
		local snap = math.random(1,2)
6458
		if snap == 1 then
6459
			SKILLTEXTCOLOR = C3(1,1,1)
6460
			SKILLTEXTCOLOR2 = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
6461
		end
6462
			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)
6463
			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)
6464
			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)
6465
			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)
6466
			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)
6467
			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)
6468
        elseif TORSOVELOCITY > 1 and MODE == "Phaedra" then
6469
		SKILLTEXTCOLOR = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
6470
		SKILLTEXTCOLOR2 = C3(1,1,1)
6471
		local snap = math.random(1,2)
6472
		if snap == 1 then
6473
			SKILLTEXTCOLOR2 = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
6474
			SKILLTEXTCOLOR = C3(1,1,1)
6475
		end
6476
			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)
6477
			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)
6478
			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)
6479
			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)
6480
			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)
6481
			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)
6482
        elseif TORSOVELOCITY < 1 and MODE == "Tenebris" then
6483
			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)
6484
			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)
6485
            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)
6486
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
6487
			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)
6488
			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)
6489
        elseif TORSOVELOCITY > 1 and MODE == "Tenebris" then
6490
			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)
6491
			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)
6492
            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)
6493
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
6494
			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)
6495
			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)
6496
        elseif TORSOVELOCITY < 1 and MODE == "Fugatrix" then
6497
            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)
6498
            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)
6499
            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)
6500
			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)
6501
            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)
6502
            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)
6503
        elseif TORSOVELOCITY > 1 and MODE == "Fugatrix" then
6504
            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)
6505
            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)
6506
            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)
6507
			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)
6508
            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)
6509
            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)
6510
        elseif TORSOVELOCITY < 1 and MODE == "Praefectus" then
6511
            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)
6512
            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)
6513
			if MRANDOM(1,7) == 1 then
6514
				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)
6515
			end
6516
			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)
6517
            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)
6518
            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)
6519
            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)
6520
        elseif TORSOVELOCITY > 1 and MODE == "Praefectus" then
6521
            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)
6522
            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)
6523
			if MRANDOM(1,7) == 1 then
6524
				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)
6525
			end
6526
            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)
6527
            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)
6528
            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)
6529
            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)
6530
        elseif TORSOVELOCITY < 1 and MODE == "Venari" then
6531
            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)
6532
            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)
6533
			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)
6534
            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)
6535
            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)
6536
            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)
6537
        elseif TORSOVELOCITY > 1 and MODE == "Venari" then
6538
            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)
6539
            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)
6540
			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)
6541
            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)
6542
            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)
6543
            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)
6544
        elseif TORSOVELOCITY < 1 and MODE == "Ultra Phaedra" then
6545
			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)
6546
			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)
6547
			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)
6548
			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)
6549
			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)
6550
			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)
6551
        elseif TORSOVELOCITY > 1 and MODE == "Ultra Phaedra" then
6552
			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)
6553
			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)
6554
			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)
6555
			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)
6556
			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)
6557
			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)
6558
		elseif TORSOVELOCITY < 1 and MODE == "Mortem" then
6559
			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)
6560
			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)
6561
			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)
6562
			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)
6563
			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)
6564
			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)
6565
		elseif TORSOVELOCITY > 1 and MODE == "Mortem" then
6566
			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)
6567
			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)
6568
			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)
6569
			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)
6570
			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)
6571
			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)
6572
		elseif TORSOVELOCITY < 1 and MODE == "Maris" then
6573
			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)
6574
			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)
6575
			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)
6576
			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)
6577
			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)
6578
			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)
6579
			elseif TORSOVELOCITY > 1 and MODE == "Maris" then
6580
			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)
6581
			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)
6582
			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)
6583
			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)
6584
			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)
6585
			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)
6586
		elseif TORSOVELOCITY < 1 and MODE == "Insaniam" then
6587
			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)
6588
            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)
6589
			if MRANDOM(1,2) == 1 then
6590
				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)
6591
			end
6592
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
6593
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
6594
            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)
6595
            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)
6596
			elseif TORSOVELOCITY > 1 and MODE == "Insaniam" then
6597
            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)
6598
            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)
6599
			if MRANDOM(1,2) == 1 then
6600
				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)
6601
			end
6602
            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)
6603
            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)
6604
            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)
6605
            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)
6606
      end
6607
	end
6608
6609
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
6610
local type = type
6611
local rng = Instance.new("Part", Character)
6612
        rng.Anchored = true
6613
if ModeOfGlitch ~= 9 then
6614
        rng.BrickColor = color
6615
elseif ModeOfGlitch == 9 then
6616
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
6617
end
6618
        rng.CanCollide = false
6619
        rng.FormFactor = 3
6620
        rng.Name = "Ring"
6621
        rng.Material = "Neon"
6622
        rng.Size = Vector3.new(1, 1, 1)
6623
        rng.Transparency = 0
6624
        rng.TopSurface = 0
6625
        rng.BottomSurface = 0
6626
        rng.CFrame = pos
6627
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
6628
        local rngm = Instance.new("SpecialMesh", rng)
6629
        rngm.MeshType = "Sphere"
6630
rngm.Scale = VT(x1,y1,z1)
6631
if rainbowmode == true then
6632
rng.Color = Color3.new(r/255,g/255,b/255)
6633
end
6634
if ModeOfGlitch == 9 then
6635
coroutine.resume(coroutine.create(function()
6636
while true do
6637
Swait()
6638
if rng.Parent ~= nil then
6639
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
6640
else
6641
break
6642
end
6643
end
6644
end))
6645
end
6646
local scaler2 = 1
6647
local speeder = FastSpeed
6648
if type == "Add" then
6649
scaler2 = 1*value
6650
elseif type == "Divide" then
6651
scaler2 = 1/value
6652
end
6653
coroutine.resume(coroutine.create(function()
6654
for i = 0,10/bonuspeed,0.1 do
6655
Swait()
6656
if rainbowmode == true then
6657
rng.Color = Color3.new(r/255,g/255,b/255)
6658
end
6659
if type == "Add" then
6660
scaler2 = scaler2 - 0.01*value/bonuspeed
6661
elseif type == "Divide" then
6662
scaler2 = scaler2 - 0.01/value*bonuspeed
6663
end
6664
if chaosmode == true then
6665
rng.BrickColor = BrickColor.random()
6666
end
6667
speeder = speeder - 0.01*FastSpeed*bonuspeed
6668
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
6669
rng.Transparency = rng.Transparency + 0.01*bonuspeed
6670
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
6671
end
6672
rng:Destroy()
6673
end))
6674
end
6675
6676
if MODE == "Maris"  then
6677
if HITFLOOR ~= nil then
6678
    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)
6679
   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})
6680
end
6681
end
6682
	if MODE == "Ultra Phaedra" then
6683
	if HITFLOOR ~= nil then
6684
	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))
6685
	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))
6686
	ApplyAoE(RootPart.Position, 10, 2, 5, 0, true)
6687
	end
6688
	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))
6689
        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))
6690
    end
6691
    unanchor()
6692
    Humanoid.MaxHealth = "inf"
6693
    Humanoid.Health = "inf"
6694
    if Rooted == false then
6695
        Disable_Jump = false
6696
        Humanoid.WalkSpeed = Speed
6697
    elseif Rooted == true then
6698
        Disable_Jump = true
6699
        Humanoid.WalkSpeed = 0
6700
    end
6701
if MODE == "Main" then
6702
tecks2.Text = "Dominus Astra"
6703
SKILLTEXTCOLOR = C3(0.05,0.05,0.15)
6704
SKILLTEXTCOLOR2 = C3(0,0,0)
6705
local BodyColor = C3(0,0,0)
6706
local LegColor = C3(0,0,0.05)
6707
local ArmColor = C3(0.05,0.05,0.15)
6708
end
6709
    for _, c in pairs(Character:GetChildren()) do
6710
        if c.ClassName == "Part" then
6711
            c.Material = "Neon"
6712
			for _, q in pairs(c:GetChildren()) do
6713
				if q.ClassName == "ParticleEmitter" and MODE ~= "Phaedra" and MODE ~= "Ultra Phaedra" and MODE ~= "Maris" then
6714
					q:remove()
6715
				elseif q.ClassName == "Fire" then
6716
					q:remove()
6717
				end
6718
			end
6719
			if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil and MODE == "Phaedra" then
6720
				particles(c)
6721
			end
6722
			if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil and MODE == "Ultra Phaedra" then
6723
				particles(c)
6724
			end
6725
            if c == Torso then
6726
                c.Color = BodyColor
6727
            elseif c == RightArm then
6728
                c.Color = ArmColor
6729
            elseif c == LeftArm then
6730
                c.Color = ArmColor
6731
            elseif c == RightLeg then
6732
                c.Color = LegColor
6733
            elseif c == LeftLeg then
6734
                c.Color = LegColor
6735
            elseif c == Head then
6736
                if c:FindFirstChild("face") then
6737
                    c.face:remove()
6738
                end
6739
            end
6740
        elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory"  then
6741
            c:remove()
6742
        end
6743
    end
6744
    if MODE == "Phaedra" or MODE == "Ultra Phaedra" then
6745
	weldBetween(EYE, Head)
6746
	weldBetween(EYE2, Head)
6747
end
6748
    sick.Parent = RealPlayer.Character
6749
	refit3()
6750
	refit2()
6751
	tecks2.TextColor3 = SKILLTEXTCOLOR
6752
	tecks2.TextStrokeColor3 = SKILLTEXTCOLOR2
6753
    script.Parent = WEAPONGUI
6754
    Character.Parent = workspace
6755
    Humanoid.PlatformStand = false
6756
    Humanoid.Name = "Dominus"
6757
    for _, c in pairs(game.Players:GetChildren()) do
6758
        if c.Character ~= nil then
6759
            if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
6760
                c.Character:BreakJoints()
6761
            end
6762
        end
6763
    end
6764
    FOUNDFORGOTTEN = false
6765
    Humanoid.DisplayDistanceType = "None"
6766
    for _, c in pairs(workspace:GetChildren()) do
6767
        if c.ClassName == "Model" then
6768
            for _, q in pairs(c:GetChildren()) do
6769
                if q.Name == ("Forgotten Dominus") then
6770
                    FOUNDFORGOTTEN = true
6771
                end
6772
            end
6773
        end
6774
    end
6775
    if FOUNDFORGOTTEN == true then
6776
        sick:Stop()
6777
    else
6778
        sick.Playing = true
6779
    end
6780
if INTRO == false and INSTANT == false then
6781
        INTRO = true
6782
        coroutine.resume(coroutine.create(function()
6783
            sick:Play()
6784
            sick:Resume()
6785
            Intro()
6786
        end))
6787
    end
6788
    if INSTANT == true then
6789
        if TRANSFORMED == false then
6790
            sick.TimePosition = 20.7
6791
            sick:Play()
6792
            sick:Resume()
6793
        end
6794
        TRANSFORMED = true
6795
    end
6796
if MODE == "Insaniam" then
6797
for i, v in pairs(Character:GetChildren()) do
6798
if v:IsA("Part") then
6799
v.BrickColor = BrickColor.random()
6800
end
6801
end
6802
	BodyColor = BrickColor.random().Color
6803
	LegColor = BrickColor.random().Color
6804
	ArmColor = BrickColor.random().Color
6805
	SKILLTEXTCOLOR = BrickColor.random().Color
6806
	SKILLTEXTCOLOR2 = BrickColor.random().Color
6807
end
6808
for _, c in pairs(Character:GetDescendants()) do
6809
		if c.ClassName == "Part" and c.Name == "Eye" then
6810
			c.Color = C3(1,0,0)
6811
			c.Material = "Neon"
6812
		end
6813
end
6814
6815
    if VALUE1 == false and MODE == "Main" then
6816
        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))
6817
    end
6818
end
6819
 
6820
6821
--//=================================\\
6822
--\\=================================//
6823
 
6824
 
6825
 
6826
 
6827
 
6828
--//====================================================\\--
6829
--||                     END OF SCRIPT
6830
--\\====================================================//--