View difference between Paste ID: wcyKePHZ and MQwzNhm3
SHOW: | | - or go back to the newest paste.
1-
if (accountExpired)
1+
-- Synapse Decompiler
2-
{
2+
-- Purchase Here: https://brack4712.xyz/synapse/purchase/
3-
   // do something
3+
4-
}
4+
wait(0.2)
5-
{
5+
Player = game.Players.LocalPlayer
6-
   // do something else
6+
PlayerGui = Player.PlayerGui
7
Cam = workspace.CurrentCamera
8-
	
8+
Backpack = Player.Backpack
9-
for (i=0; i<end; ++i);
9+
Character = Player.Character
10-
{
10+
Humanoid = Character.Humanoid
11-
  //code
11+
Mouse = Player:GetMouse()
12
RootPart = Character.HumanoidRootPart
13-
	
13+
Torso = Character.Torso
14-
for ( int i=0;i < numrecords; i++ )
14+
Head = Character.Head
15-
{
15+
RightArm = Character["Right Arm"]
16-
    // a dozen lines of database code that used i
16+
LeftArm = Character["Left Arm"]
17-
    i=0;
17+
RightLeg = Character["Right Leg"]
18
LeftLeg = Character["Left Leg"]
19-
	
19+
RootJoint = RootPart.RootJoint
20-
#include <stdio.h>;
20+
Neck = Torso.Neck
21-
21+
RightShoulder = Torso["Right Shoulder"]
22-
int main() {
22+
LeftShoulder = Torso["Left Shoulder"]
23-
  printf("hello world");
23+
RightHip = Torso["Right Hip"]
24-
  return 0;
24+
LeftHip = Torso["Left Hip"]
25-
}
25+
local sick = Instance.new("Sound", Character)
26
sick.SoundId = "rbxassetid://1390506855"
27
sick.Looped = true
28
sick.Pitch = 1
29
sick.Volume = 1.5
30
sick:Play()
31
IT = Instance.new
32
CF = CFrame.new
33
VT = Vector3.new
34
RAD = math.rad
35
C3 = Color3.new
36
UD2 = UDim2.new
37
BRICKC = BrickColor.new
38
ANGLES = CFrame.Angles
39
EULER = CFrame.fromEulerAnglesXYZ
40
COS = math.cos
41
ACOS = math.acos
42
SIN = math.sin
43
ASIN = math.asin
44
ABS = math.abs
45
MRANDOM = math.random
46
FLOOR = math.floor
47
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
48
	local NEWMESH = IT(MESH)
49
	if MESH == "SpecialMesh" then
50
		NEWMESH.MeshType = MESHTYPE
51
		if MESHID ~= "nil" and MESHID ~= "" then
52
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
53
		end
54
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
55
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
56
		end
57
	end
58
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
59
	NEWMESH.Scale = SCALE
60
	NEWMESH.Parent = PARENT
61
	return NEWMESH
62
end
63
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
64
	local NEWPART = IT("Part")
65
	NEWPART.formFactor = FORMFACTOR
66
	NEWPART.Reflectance = REFLECTANCE
67
	NEWPART.Transparency = TRANSPARENCY
68
	NEWPART.CanCollide = false
69
	NEWPART.Locked = true
70
	NEWPART.Anchored = true
71
	if ANCHOR == false then
72
		NEWPART.Anchored = false
73
	end
74
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
75
	NEWPART.Name = NAME
76
	NEWPART.Size = SIZE
77
	NEWPART.Position = Torso.Position
78
	NEWPART.Material = MATERIAL
79
	NEWPART:BreakJoints()
80
	NEWPART.Parent = PARENT
81
	return NEWPART
82
end
83
Player_Size = 1
84
Animation_Speed = 3
85
Frame_Speed = 0.016666666666666666
86
local Speed = 16
87
local Effects2 = {}
88
local weldBetween = function(a, b)
89
	local weldd = Instance.new("ManualWeld")
90
	weldd.Part0 = a
91
	weldd.Part1 = b
92
	weldd.C0 = CFrame.new()
93
	weldd.C1 = b.CFrame:inverse() * a.CFrame
94
	weldd.Parent = a
95
	return weldd
96
end
97
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
98
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
99
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
100
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
101
local CHANGEDEFENSE = 0
102
local CHANGEDAMAGE = 0
103
local CHANGEMOVEMENT = 0
104
local ANIM = "Idle"
105
local ATTACK = false
106
local EQUIPPED = false
107
local HOLD = false
108
local COMBO = 1
109
local Rooted = false
110
local SINE = 0
111
local KEYHOLD = false
112
local CHANGE = 2 / Animation_Speed
113
local WALKINGANIM = false
114
local WALK = 0
115
local VALUE1 = false
116
local VALUE2 = false
117
local ROBLOXIDLEANIMATION = IT("Animation")
118
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
119
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
120
local WEAPONGUI = IT("ScreenGui", PlayerGui)
121
WEAPONGUI.Name = "Weapon GUI"
122
local Effects = IT("Folder", Character)
123
Effects.Name = "Effects"
124
local ANIMATOR = Humanoid.Animator
125
local ANIMATE = Character.Animate
126
local HITPLAYERSOUNDS = {
127
	"263032172",
128
	"263032182",
129
	"263032200",
130
	"263032221",
131
	"263032252",
132
	"263033191"
133
}
134
local HITARMORSOUNDS = {
135
	"199149321",
136
	"199149338",
137
	"199149367",
138
	"199149409",
139
	"199149452"
140
}
141
local HITWEAPONSOUNDS = {
142
	"199148971",
143
	"199149025",
144
	"199149072",
145
	"199149109",
146
	"199149119"
147
}
148
local HITBLOCKSOUNDS = {"199148933", "199148947"}
149
local UNANCHOR = true
150
local LEVEL = 1
151
local Volume = 1.5
152
local SONG1 = "rbxassetid://1390506855"
153
local SONG2 = "rbxassetid://1418800825"
154
local CREATION = false
155
local TRANSFORMING = false
156
local CREATIONPOSE = "Idle"
157
local SKILLTEXTCOLOR = BRICKC("Gold").Color
158
ArtificialHB = Instance.new("BindableEvent", script)
159
ArtificialHB.Name = "ArtificialHB"
160
script:WaitForChild("ArtificialHB")
161
frame = Frame_Speed
162
tf = 0
163
allowframeloss = false
164
tossremainder = false
165
lastframe = tick()
166
script.ArtificialHB:Fire()
167
game:GetService("RunService").Heartbeat:connect(function(s, p)
168
	tf = tf + s
169
	if tf >= frame then
170
		if allowframeloss then
171
			script.ArtificialHB:Fire()
172
			lastframe = tick()
173
		else
174
			for i = 1, math.floor(tf / frame) do
175
				script.ArtificialHB:Fire()
176
			end
177
			lastframe = tick()
178
		end
179
		if tossremainder then
180
			tf = 0
181
		else
182
			tf = tf - frame * math.floor(tf / frame)
183
		end
184
	end
185
end)
186
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
187
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
188
end
189
function PositiveAngle(NUMBER)
190
	if NUMBER >= 0 then
191
		NUMBER = 0
192
	end
193
	return NUMBER
194
end
195
function NegativeAngle(NUMBER)
196
	if NUMBER <= 0 then
197
		NUMBER = 0
198
	end
199
	return NUMBER
200
end
201
function Swait(NUMBER)
202
	if NUMBER == 0 or NUMBER == nil then
203
		ArtificialHB.Event:wait()
204
	else
205
		for i = 1, NUMBER do
206
			ArtificialHB.Event:wait()
207
		end
208
	end
209
end
210
function QuaternionFromCFrame(cf)
211
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
212
	local trace = m00 + m11 + m22
213
	if trace > 0 then
214
		local s = math.sqrt(1 + trace)
215
		local recip = 0.5 / s
216
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
217
	else
218
		local i = 0
219
		if m00 < m11 then
220
			i = 1
221
		end
222
		if m22 > (i == 0 and m00 or m11) then
223
			i = 2
224
		end
225
		if i == 0 then
226
			local s = math.sqrt(m00 - m11 - m22 + 1)
227
			local recip = 0.5 / s
228
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
229
		elseif i == 1 then
230
			local s = math.sqrt(m11 - m22 - m00 + 1)
231
			local recip = 0.5 / s
232
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
233
		elseif i == 2 then
234
			local s = math.sqrt(m22 - m00 - m11 + 1)
235
			local recip = 0.5 / s
236
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
237
		end
238
	end
239
end
240
function QuaternionToCFrame(px, py, pz, x, y, z, w)
241
	local xs, ys, zs = x + x, y + y, z + z
242
	local wx, wy, wz = w * xs, w * ys, w * zs
243
	local xx = x * xs
244
	local xy = x * ys
245
	local xz = x * zs
246
	local yy = y * ys
247
	local yz = y * zs
248
	local zz = z * zs
249
	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))
250
end
251
function QuaternionSlerp(a, b, t)
252
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
253
	local startInterp, finishInterp
254
	if cosTheta >= 1.0E-4 then
255
		if 1 - cosTheta > 1.0E-4 then
256
			local theta = ACOS(cosTheta)
257
			local invSinTheta = 1 / SIN(theta)
258
			startInterp = SIN((1 - t) * theta) * invSinTheta
259
			finishInterp = SIN(t * theta) * invSinTheta
260
		else
261
			startInterp = 1 - t
262
			finishInterp = t
263
		end
264
	elseif 1 + cosTheta > 1.0E-4 then
265
		local theta = ACOS(-cosTheta)
266
		local invSinTheta = 1 / SIN(theta)
267
		startInterp = SIN((t - 1) * theta) * invSinTheta
268
		finishInterp = SIN(t * theta) * invSinTheta
269
	else
270
		startInterp = t - 1
271
		finishInterp = t
272
	end
273
	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
274
end
275
function Clerp(a, b, t)
276
	local qa = {
277
		QuaternionFromCFrame(a)
278
	}
279
	local qb = {
280
		QuaternionFromCFrame(b)
281
	}
282
	local ax, ay, az = a.x, a.y, a.z
283
	local bx, by, bz = b.x, b.y, b.z
284
	local _t = 1 - t
285
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
286
end
287
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
288
	local frame = IT("Frame")
289
	frame.BackgroundTransparency = TRANSPARENCY
290
	frame.BorderSizePixel = BORDERSIZEPIXEL
291
	frame.Position = POSITION
292
	frame.Size = SIZE
293
	frame.BackgroundColor3 = COLOR
294
	frame.BorderColor3 = BORDERCOLOR
295
	frame.Name = NAME
296
	frame.Parent = PARENT
297
	return frame
298
end
299
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
300
	local label = IT("TextLabel")
301
	label.BackgroundTransparency = 1
302
	label.Size = UD2(1, 0, 1, 0)
303
	label.Position = UD2(0, 0, 0, 0)
304
	label.TextColor3 = TEXTCOLOR
305
	label.TextStrokeTransparency = STROKETRANSPARENCY
306
	label.TextTransparency = TRANSPARENCY
307
	label.FontSize = TEXTFONTSIZE
308
	label.Font = TEXTFONT
309
	label.BorderSizePixel = BORDERSIZEPIXEL
310
	label.TextScaled = false
311
	label.Text = TEXT
312
	label.Name = NAME
313
	label.Parent = PARENT
314
	return label
315
end
316
function NoOutlines(PART)
317
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
318
end
319
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
320
	local NEWWELD = IT(TYPE)
321
	NEWWELD.Part0 = PART0
322
	NEWWELD.Part1 = PART1
323
	NEWWELD.C0 = C0
324
	NEWWELD.C1 = C1
325
	NEWWELD.Parent = PARENT
326
	return NEWWELD
327
end
328
local S = IT("Sound")
329
function CreateSound(ID, PARENT, VOLUME, PITCH)
330
	local NEWSOUND
331
	coroutine.resume(coroutine.create(function()
332
		NEWSOUND = S:Clone()
333
		NEWSOUND.Parent = PARENT
334
		NEWSOUND.Volume = VOLUME
335
		NEWSOUND.Pitch = PITCH
336
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
337
		Swait()
338
		NEWSOUND:play()
339
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
340
	end))
341
	return NEWSOUND
342
end
343
function CFrameFromTopBack(at, top, back)
344
	local right = top:Cross(back)
345
	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)
346
end
347
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
348
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
349
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
350
	wave.CFrame = CFRAME
351
	coroutine.resume(coroutine.create(function(PART)
352
		for i = 1, WAIT do
353
			Swait()
354
			mesh.Scale = mesh.Scale + GROW
355
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
356
			if DOESROT == true then
357
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
358
			end
359
			wave.Transparency = wave.Transparency + 0.5 / WAIT
360
			if wave.Transparency > 0.99 then
361
				wave:remove()
362
			end
363
		end
364
	end))
365
end
366
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
367
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
368
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
369
	wave.CFrame = CFRAME
370
	coroutine.resume(coroutine.create(function(PART)
371
		for i = 1, WAIT do
372
			Swait()
373
			mesh.Scale = mesh.Scale + GROW
374
			if DOESROT == true then
375
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
376
			end
377
			wave.Transparency = wave.Transparency + 0.5 / WAIT
378
			if wave.Transparency > 0.99 then
379
				wave:remove()
380
			end
381
		end
382
	end))
383
end
384
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
385
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
386
	wave.Color = COLOR
387
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
388
	wave.CFrame = CFRAME
389
	coroutine.resume(coroutine.create(function(PART)
390
		for i = 1, WAIT do
391
			Swait()
392
			mesh.Scale = mesh.Scale + GROW
393
			wave.Transparency = wave.Transparency + 1 / WAIT
394
			if wave.Transparency > 0.99 then
395
				wave:remove()
396
			end
397
		end
398
	end))
399
end
400
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
401
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
402
	local mesh
403
	if KIND == "Base" then
404
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
405
	elseif KIND == "Thin" then
406
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
407
	elseif KIND == "Round" then
408
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
409
	end
410
	wave.CFrame = CFRAME
411
	coroutine.resume(coroutine.create(function(PART)
412
		for i = 1, WAIT do
413
			Swait()
414
			mesh.Scale = mesh.Scale + GROW / 10
415
			wave.Transparency = wave.Transparency + 0.5 / WAIT
416
			if wave.Transparency > 0.99 then
417
				wave:remove()
418
			end
419
		end
420
	end))
421
end
422
function MakeForm(PART, TYPE)
423
	if TYPE == "Cyl" then
424
		local MSH = IT("CylinderMesh", PART)
425
	elseif TYPE == "Ball" then
426
		local MSH = IT("SpecialMesh", PART)
427
		MSH.MeshType = "Sphere"
428
	elseif TYPE == "Wedge" then
429
		local MSH = IT("SpecialMesh", PART)
430
		MSH.MeshType = "Wedge"
431
	end
432
end
433
function CheckTableForString(Table, String)
434
	for i, v in pairs(Table) do
435
		if string.find(string.lower(String), string.lower(v)) then
436
			return true
437
		end
438
	end
439
	return false
440
end
441
function CheckIntangible(Hit)
442
	local ProjectileNames = {
443
		"Water",
444
		"Arrow",
445
		"Projectile",
446
		"Effect",
447
		"Rail",
448
		"Lightning",
449
		"Bullet"
450
	}
451
	if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
452
		return true
453
	end
454
	return false
455
end
456
Debris = game:GetService("Debris")
457
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
458
	local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
459
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
460
	if RayHit and CheckIntangible(RayHit) then
461
		if DelayIfHit then
462
			wait()
463
		end
464
		RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
465
	end
466
	return RayHit, RayPos, RayNormal
467
end
468
BaseLightning = IT("Part")
469
BaseLightning.Anchored = true
470
BaseLightning.CanCollide = false
471
BaseLightning.Material = "Neon"
472
local LightningBolts = {}
473
function Zap(Table)
474
	local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
475
	local Duration = Table.Duration or 2
476
	local Offset = Table.Offset or 2
477
	local Individualize = Table.Individualize or false
478
	local MaxRange = Table.MaxRange or 200
479
	local SegmentLength = Table.SegmentLength or 5
480
	local Transparency = Table.Transparency or 0
481
	local Ignore = Table.Ignore or {}
482
	local SIZE = Table.SIZE or 0.3
483
	if not (StartPos and TargetPos) or not Character then
484
		return
485
	end
486
	local LightningModel = IT("Folder", Effects)
487
	LightningModel.Name = "ZAPP"
488
	for i, v in pairs({Character, LightningModel}) do
489
		table.insert(Ignore, v)
490
	end
491
	local LastPos = StartPos
492
	local Direction = CFrame.new(StartPos, TargetPos).lookVector
493
	local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
494
	local RayLength = (StartPos - RayPos).Magnitude
495
	local Struck = false
496
	local TotalSegments = math.ceil(RayLength / SegmentLength)
497
	Direction = CFrame.new(StartPos, RayPos).lookVector
498
	local LightningBolt = IT("Model", Effects)
499
	LightningBolt.Name = "Lightning"
500
	if not Individualize then
501
		table.insert(LightningBolts, LightningBolt)
502
	end
503
	LastBolt = LightningBolt
504
	Debris:AddItem(LightningBolt, Duration)
505
	LightningBolt.Parent = LightningModel
506
	for i = 1, TotalSegments do
507
		if not Struck then
508
			local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
509
			local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
510
			local SegmentVec = NewPos - LastPos
511
			local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
512
			local RayVec = LastPos - RayPos
513
			local LightningPart = BaseLightning:Clone()
514
			LightningPart.BrickColor = BrickColor.new(Color)
515
			LightningPart.Transparency = Transparency
516
			LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
517
			LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
518
			table.insert(Effects2, {
519
				LightningPart,
520
				"Disappear",
521
				0.025,
522
				1,
523
				1,
524
				1,
525
				2
526
			})
527
			local CylinderMesh = IT("CylinderMesh", LightningPart)
528
			local OrigCF = LightningPart.CFrame
529
			LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
530
			LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
531
			LightningPart.Parent = LightningBolt
532
			LastPos = NewPos
533
		end
534
	end
535
	return {
536
		RayHit = RayHit,
537
		RayPos = RayPos,
538
		RayNormal = RayNormal,
539
		LightningModel = LightningModel
540
	}
541
end
542
local EyeSizes = {
543
	NumberSequenceKeypoint.new(0, 1, 0),
544
	NumberSequenceKeypoint.new(1, 0, 0)
545
}
546
local PE = Instance.new("ParticleEmitter")
547
PE.LightEmission = 0.8
548
PE.Color = ColorSequence.new(BRICKC("Gold").Color)
549
PE.Size = NumberSequence.new(EyeSizes)
550
PE.Lifetime = NumberRange.new(0.35, 0.35, 0.35)
551
PE.Rotation = NumberRange.new(0, 360)
552
PE.Transparency = NumberSequence.new(0.9)
553
PE.Rate = 999
554
PE.VelocitySpread = 10000
555
PE.Acceleration = Vector3.new(0, 75, 0)
556
PE.Drag = 5
557
PE.Speed = NumberRange.new(6, 6)
558
PE.Texture = "http://www.roblox.com/asset/?id=1351966707"
559
PE.ZOffset = -1.5
560
PE.Name = "OVERLORDAURA"
561
function particles(art)
562
	PE:Clone().Parent = art
563
end
564
function turnto(position)
565
	RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
566
end
567
function WACKYEFFECT(Table)
568
	local TYPE = Table.EffectType or "Sphere"
569
	local SIZE = Table.Size or VT(1, 1, 1)
570
	local ENDSIZE = Table.Size2 or VT(0, 0, 0)
571
	local TRANSPARENCY = Table.Transparency or 0
572
	local ENDTRANSPARENCY = Table.Transparency2 or 1
573
	local CFRAME = Table.CFrame or Torso.CFrame
574
	local MOVEDIRECTION = Table.MoveToPos or nil
575
	local ROTATION1 = Table.RotationX or 0
576
	local ROTATION2 = Table.RotationY or 0
577
	local ROTATION3 = Table.RotationZ or 0
578
	local MATERIAL = Table.Material or "Neon"
579
	local COLOR = Table.Color or C3(1, 1, 1)
580
	local TIME = Table.Time or 45
581
	local SOUNDID = Table.SoundID or nil
582
	local SOUNDPITCH = Table.SoundPitch or nil
583
	local SOUNDVOLUME = Table.SoundVolume or nil
584
	coroutine.resume(coroutine.create(function()
585
		local PLAYSSOUND = false
586
		local SOUND
587
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
588
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
589
			PLAYSSOUND = true
590
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
591
		end
592
		EFFECT.Color = COLOR
593
		local MSH
594
		if TYPE == "Sphere" then
595
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
596
		elseif TYPE == "Block" then
597
			MSH = IT("BlockMesh", EFFECT)
598
			MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
599
		elseif TYPE == "Box" then
600
			MSH = IT("BlockMesh", EFFECT)
601
			MSH.Scale = SIZE
602
		elseif TYPE == "Wave" then
603
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
604
		elseif TYPE == "Ring" then
605
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
606
		elseif TYPE == "Slash" then
607
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
608
		elseif TYPE == "Round Slash" then
609
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
610
		elseif TYPE == "Swirl" then
611
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
612
		elseif TYPE == "Skull" then
613
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
614
		elseif TYPE == "Crystal" then
615
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
616
		end
617
		if MSH ~= nil then
618
			local MOVESPEED
619
			if MOVEDIRECTION ~= nil then
620
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
621
			end
622
			local GROWTH = SIZE - ENDSIZE
623
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
624
			if TYPE == "Block" then
625
				EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
626
			else
627
				EFFECT.CFrame = CFRAME
628
			end
629
			for LOOP = 1, TIME do
630
				Swait()
631
				MSH.Scale = MSH.Scale - GROWTH / TIME
632
				if TYPE == "Wave" then
633
					MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
634
				end
635
				EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
636
				if TYPE == "Block" then
637
					EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
638
				else
639
					EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
640
				end
641
				if MOVEDIRECTION ~= nil then
642
					local ORI = EFFECT.Orientation
643
					EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
644
					EFFECT.Orientation = ORI
645
				end
646
			end
647
			if PLAYSSOUND == false then
648
				EFFECT:remove()
649
			else
650
				repeat
651
					Swait()
652
				until SOUND.Playing == false
653
				EFFECT:remove()
654
			end
655
		elseif PLAYSSOUND == false then
656
			EFFECT:remove()
657
		else
658
			repeat
659
				Swait()
660
			until SOUND.Playing == false
661
			EFFECT:remove()
662
		end
663
	end))
664
end
665
Head:ClearAllChildren()
666
local BODY = {}
667
local naeeym2 = Instance.new("BillboardGui", Character)
668
naeeym2.AlwaysOnTop = true
669
naeeym2.Size = UDim2.new(15, 35, 5, 15)
670
naeeym2.StudsOffset = Vector3.new(0, 3, 0)
671
naeeym2.Adornee = Character.Head
672
naeeym2.Name = "Name"
673
naeeym2.PlayerToHideFrom = Player
674
local tecks2 = Instance.new("TextLabel", naeeym2)
675
tecks2.BackgroundTransparency = 1
676
tecks2.TextScaled = true
677
tecks2.BorderSizePixel = 0
678
tecks2.Text = "Dominus PHAEDRA"
679
tecks2.Font = "Fantasy"
680
tecks2.TextSize = 30
681
tecks2.TextStrokeTransparency = 0
682
tecks2.TextColor3 = SKILLTEXTCOLOR
683
tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
684
tecks2.Size = UDim2.new(1, 0, 0.5, 0)
685
tecks2.Parent = naeeym2
686
function Transparency(TRANS)
687
	tecks2.TextTransparency = TRANS
688
	tecks2.TextStrokeTransparency = TRANS
689
	for _, c in pairs(Character:GetChildren()) do
690
		if c.ClassName == "Part" and c ~= RootPart then
691
			c.Transparency = TRANS
692
			if c:FindFirstChildOfClass("Decal") then
693
				c:FindFirstChildOfClass("Decal").Transparency = TRANS
694
			end
695
			if c:FindFirstChild("OVERLORDAURA") then
696
				c.OVERLORDAURA.Transparency = NumberSequence.new(0.9 + TRANS / 10)
697
			end
698
			if c:FindFirstChild("Eyeball") then
699
				c.Eyeball.Transparency = TRANS
700
			end
701
			if c:FindFirstChild("Eyeball1") then
702
				c.Eyeball1.Transparency = TRANS
703
			end
704
		elseif c.ClassName == "Accessory" then
705
			c.Handle.Transparency = TRANS
706
		elseif c.ClassName == "Model" then
707
			for _, q in pairs(c:GetChildren()) do
708
				if q.ClassName == "Part" then
709
					q.Transparency = TRANS
710
					if q:FindFirstChildOfClass("Decal") then
711
						q:FindFirstChildOfClass("Decal").Transparency = TRANS
712
					end
713
				end
714
			end
715
		end
716
	end
717
end
718
local EYE = CreatePart(3, Head, "Neon", 0, 0, "Gold", "Eyeball", VT(0.1, 0.4, 0.1), false)
719
MakeForm(EYE, "Ball")
720
EYE.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72)
721
local EW = weldBetween(Head, EYE)
722
local EYE2 = CreatePart(3, Head, "Neon", 0, 0, "Gold", "Eyeball1", VT(0.4, 0.1, 0.1), false)
723
MakeForm(EYE2, "Ball")
724
EYE2.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72)
725
local EW2 = weldBetween(Head, EYE2)
726
for _, c in pairs(Character:GetChildren()) do
727
	if c.ClassName == "Part" then
728
		table.insert(BODY, {c, Character})
729
		for _, q in pairs(c:GetChildren()) do
730
			if q ~= nil then
731
				table.insert(BODY, {q, c})
732
			end
733
		end
734
	end
735
end
736
function refit()
737
	Character.Parent = workspace
738
	for e = 1, #BODY do
739
		if BODY[e] ~= nil then
740
			local STUFF = BODY[e]
741
			local PART = STUFF[1]
742
			local PARENT = STUFF[2]
743
			PART.Parent = PARENT
744
		end
745
	end
746
end
747
Humanoid.HealthChanged:connect(function()
748
	local OLDHUM = Humanoid
749
	refit()
750
	OLDHUM:remove()
751
	Humanoid = IT("Humanoid", Character)
752
	Humanoid.MaxHealth = "inf"
753
	Humanoid.Health = "inf"
754
	Humanoid.PlatformStand = false
755
	Humanoid.HipHeight = 2.5
756
	Humanoid.WalkSpeed = Speed
757
end)
758
Humanoid.Died:connect(function()
759
	local OLDHUM = Humanoid
760
	refit()
761
	OLDHUM:remove()
762
	Humanoid = IT("Humanoid", Character)
763
	Humanoid.MaxHealth = "inf"
764
	Humanoid.Health = "inf"
765
	Humanoid.PlatformStand = false
766
	Humanoid.HipHeight = 2.5
767
	Humanoid.WalkSpeed = Speed
768
end)
769
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
770
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
771
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.03, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
772
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Dolor Pluvia", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
773
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ignem Aeternum", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
774
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Ultima Consummatio", SKILLTEXTCOLOR, 12, "Fantasy", 0, 2, 0, "Text 3")
775
local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.13, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Warp Frame")
776
local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Magia portam", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text Warp")
777
local SKILLFFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Warp Frame")
778
local SKILLFTEXT = CreateLabel(SKILLFFRAME, "[C] Imperium Delere", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text Warp")
779
function killnearest(position, range, maxstrength)
780
	for i, v in ipairs(workspace:GetChildren()) do
781
		do
782
			local body = v:GetChildren()
783
			for part = 1, #body do
784
				if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
785
					if v.ClassName == "Model" then
786
						v:BreakJoints()
787
					end
788
					local bv = Instance.new("BodyVelocity")
789
					bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
790
					bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
791
					bv.Parent = body[part]
792
					Debris:AddItem(bv, 0.2)
793
					body[part].Parent = Effects
794
					body[part].Material = "Neon"
795
					body[part].BrickColor = BRICKC("Gold")
796
					coroutine.resume(coroutine.create(function()
797
						wait(5)
798
						if body[part].Parent == Effects then
799
							body[part]:remove()
800
						end
801
					end))
802
				end
803
			end
804
			if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
805
				v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
806
			end
807
		end
808
	end
809
end
810
local Decal = IT("Decal")
811
function MagicRing()
812
	local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
813
	O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
814
	local decal = Decal:Clone()
815
	decal.Parent = O1
816
	decal.Face = "Top"
817
	decal.Texture = "http://www.roblox.com/asset/?id=917750924"
818
	local decal2 = Decal:Clone()
819
	decal2.Parent = O1
820
	decal2.Face = "Bottom"
821
	decal2.Texture = "http://www.roblox.com/asset/?id=917750924"
822
	return O1
823
end
824
function Dolor_Pluvia()
825
	local POWER = LEVEL
826
	local CENTER = MagicRing()
827
	CENTER.CFrame = CF(Mouse.Hit.p)
828
	CreateSound("424777055", CENTER, 10, 1)
829
	local RAIN = {}
830
	for i = 1, 45 do
831
		Swait()
832
		CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
833
		CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
834
	end
835
	for i = 1, 35 do
836
		Swait()
837
		coroutine.resume(coroutine.create(function()
838
			local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5))
839
			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)))
840
			table.insert(RAIN, DROP)
841
			particles(DROP)
842
			MakeForm(DROP, "Ball")
843
			local IMPACT = false
844
			for i = 1, 80 do
845
				Swait()
846
				DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
847
				local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
848
				if HIT ~= nil then
849
					IMPACT = true
850
					break
851
				end
852
			end
853
			table.remove(RAIN, 1)
854
			if IMPACT == true then
855
				DROP.Transparency = 1
856
				DROP.OVERLORDAURA.Enabled = false
857
				MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2)
858
				killnearest(DROP.Position, POWER * 5, 500)
859
				Debris:AddItem(DROP, 5)
860
			else
861
				DROP:remove()
862
			end
863
		end))
864
	end
865
	repeat
866
		Swait()
867
	until #RAIN == 0
868
	for i = 1, 45 do
869
		Swait()
870
		CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
871
		CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
872
	end
873
	CENTER:remove()
874
end
875
function Ignem_Aeternum()
876
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
877
	if HITFLOOR ~= nil then
878
		do
879
			local POWER = LEVEL
880
			ATTACK = true
881
			Rooted = true
882
			local CENTER = MagicRing()
883
			CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
884
			CreateSound("424777055", CENTER, 10, 1)
885
			local RAIN = {}
886
			for i = 1, 55 do
887
				Swait()
888
				CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3
889
				CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
890
				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)
891
				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)
892
				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)
893
				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)
894
				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)
895
				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)
896
			end
897
			local MAXDIST = 15
898
			local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector
899
			local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character)
900
			local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character)
901
			local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
902
			MakeForm(ORB, "Ball")
903
			CreateSound("201858045", ORB, 10, 0.5)
904
			for i = 0, 1, 0.1 / Animation_Speed do
905
				Swait()
906
				ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0)
907
				ORB.Transparency = 0
908
				ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7
909
				local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
910
				local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude
911
				local ZAPTABLE = Zap({
912
					StartPosition = POS,
913
					TargetPosition = ORB.Position,
914
					Character = workspace,
915
					Color = "Gold",
916
					Individual = true,
917
					MaxRange = RANGE,
918
					SegmentLength = POWER * 2,
919
					Offset = 1
920
				})
921
				Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
922
				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)
923
				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)
924
				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)
925
				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)
926
				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)
927
				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)
928
			end
929
			coroutine.resume(coroutine.create(function()
930
				ORB.CFrame = CF(ORB.Position, HITPOS3)
931
				local IMPACT = false
932
				for i = 1, 400 do
933
					Swait()
934
					ORB.CFrame = ORB.CFrame * CF(0, 0, -1)
935
					local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character)
936
					if HIT ~= nil then
937
						IMPACT = true
938
						break
939
					end
940
				end
941
				if IMPACT == true then
942
					ORB.Transparency = 1
943
					local FRONT = ORB.CFrame * CF(0, 0, -1).p
944
					ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z))
945
					for i = 1, 35 do
946
						if MRANDOM(1, 5) == 1 then
947
							local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 15).p
948
							local ZAPTABLE = Zap({
949
								SIZE = POWER,
950
								StartPosition = ORB.Position,
951
								TargetPosition = POS,
952
								Character = workspace,
953
								Color = "Gold",
954
								Individual = true,
955
								MaxRange = POWER * 35,
956
								SegmentLength = POWER * 5,
957
								Offset = 3
958
							})
959
							Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
960
						end
961
						ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5)
962
						MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35)
963
						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))
964
						killnearest(ORB.Position, ORB.Size.X * 2, 500)
965
						Swait()
966
					end
967
				else
968
					ORB:remove()
969
				end
970
			end))
971
			ATTACK = false
972
			Rooted = false
973
			coroutine.resume(coroutine.create(function()
974
				for i = 1, 55 do
975
					Swait()
976
					CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
977
					CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
978
				end
979
				CENTER:remove()
980
			end))
981
		end
982
	end
983
end
984
function Imperium_Delere()
985
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
986
	if HITFLOOR ~= nil then
987
		do
988
			local POWER = LEVEL
989
			ATTACK = true
990
			Rooted = true
991
			local CENTER = MagicRing()
992
			CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
993
			CreateSound("424777055", CENTER, 10, 1)
994
			local RAIN = {}
995
			for i = 1, 55 do
996
				Swait()
997
				CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
998
				CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
999
				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)
1000
				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)
1001
				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)
1002
				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)
1003
				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)
1004
				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)
1005
			end
1006
			local VISUAL = CreatePart(3, Effects, "Neon", 0, 0.99, "Gold", "Vibrations", VT(45, 45, 45) * POWER)
1007
			MakeForm(VISUAL, "Ball")
1008
			VISUAL.CFrame = CF(HITPOS)
1009
			for i = 1, 20 do
1010
				Swait()
1011
				VISUAL.Size = VISUAL.Size - VT(POWER, POWER, POWER) / 10
1012
				VISUAL.Transparency = VISUAL.Transparency - 0.01
1013
				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)
1014
				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)
1015
				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)
1016
				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)
1017
				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)
1018
				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)
1019
			end
1020
			coroutine.resume(coroutine.create(function()
1021
				for i = 1, 10 do
1022
					Swait()
1023
					CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) * 15
1024
					for _, c in pairs(workspace:GetChildren()) do
1025
						if c.ClassName == "Model" then
1026
							if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
1027
								local HUMANOID = c:FindFirstChildOfClass("Humanoid")
1028
								local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
1029
								if (TORSO.Position - VISUAL.Position).Magnitude < VISUAL.Size.X / 1.6 then
1030
									for _, q in pairs(c:GetChildren()) do
1031
										if q.ClassName == "LocalScript" and q.Name ~= "Animate" then
1032
											q:remove()
1033
										end
1034
									end
1035
								end
1036
							elseif c.ClassName == "LocalScript" then
1037
								c:remove()
1038
							end
1039
						end
1040
					end
1041
					VISUAL.Size = VISUAL.Size + VT(POWER, POWER, POWER) * 12
1042
					VISUAL.Transparency = VISUAL.Transparency + 0.01
1043
				end
1044
				VISUAL:remove()
1045
				for i = 1, 40 do
1046
					Swait()
1047
					CENTER.Size = CENTER.Size * 0.9
1048
				end
1049
				CENTER:remove()
1050
			end))
1051
			ATTACK = false
1052
			Rooted = false
1053
		end
1054
	end
1055
end
1056
function Ultima_Consummatio()
1057
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character)
1058
	if HITFLOOR ~= nil then
1059
		do
1060
			local POWER = LEVEL
1061
			ATTACK = true
1062
			Rooted = true
1063
			if POWER <= 6 then
1064
				do
1065
					local CENTER = MagicRing()
1066
					CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
1067
					CreateSound("424777055", CENTER, 10, 1)
1068
					local RAIN = {}
1069
					for i = 1, 65 do
1070
						Swait()
1071
						CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
1072
						CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
1073
						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)
1074
						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)
1075
						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)
1076
						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)
1077
						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)
1078
						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)
1079
					end
1080
					local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
1081
					MakeForm(ORB, "Ball")
1082
					CreateSound("201858045", ORB, 10, 0.5)
1083
					for i = 0, 5, 0.1 / Animation_Speed do
1084
						Swait()
1085
						ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0)
1086
						ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10
1087
						ORB.Transparency = 0
1088
						local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
1089
						local RANGE = (POS - ORB.Position).Magnitude
1090
						local ZAPTABLE = Zap({
1091
							StartPosition = POS,
1092
							TargetPosition = ORB.Position,
1093
							Character = workspace,
1094
							Color = "Gold",
1095
							Individual = true,
1096
							MaxRange = RANGE,
1097
							SegmentLength = POWER * 2,
1098
							Offset = 1
1099
						})
1100
						Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
1101
						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)
1102
						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)
1103
						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)
1104
						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)
1105
						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)
1106
						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)
1107
					end
1108
					coroutine.resume(coroutine.create(function()
1109
						if POWER <= 3 then
1110
							local AIMPOS = Mouse.Hit.p
1111
							local O1 = MagicRing()
1112
							local O2 = MagicRing()
1113
							local O3 = MagicRing()
1114
							O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
1115
							O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
1116
							O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
1117
							for i = 1, 25 do
1118
								Swait()
1119
								O1.Size = O1.Size + VT(POWER, 0, POWER)
1120
								O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
1121
								O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
1122
							end
1123
							local DIST = (ORB.Position - AIMPOS).Magnitude
1124
							for i = 1, 75 do
1125
								Swait(3)
1126
								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)
1127
								killnearest(ORB.Position, ORB.Size.X, 200)
1128
								local ZAPTABLE = Zap({
1129
									SIZE = POWER * 2,
1130
									StartPosition = ORB.Position,
1131
									TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2,
1132
									Character = Character,
1133
									Color = "Gold",
1134
									Individual = true,
1135
									MaxRange = POWER * 400,
1136
									SegmentLength = DIST / 25,
1137
									Offset = 3 + DIST / 350
1138
								})
1139
								Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
1140
								MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15)
1141
								killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
1142
								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))
1143
							end
1144
							local SIZE = ORB.Size
1145
							for i = 1, 25 do
1146
								Swait()
1147
								ORB.Size = ORB.Size - SIZE / 25
1148
								O1.Size = O1.Size - VT(POWER, 0, POWER)
1149
								O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
1150
								O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
1151
							end
1152
							ORB:remove()
1153
							O1:remove()
1154
							O2:remove()
1155
							O3:remove()
1156
						elseif POWER > 3 then
1157
							local O1 = MagicRing()
1158
							local O2 = MagicRing()
1159
							local O3 = MagicRing()
1160
							O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
1161
							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)
1162
							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)
1163
							for i = 1, 25 do
1164
								Swait()
1165
								O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
1166
								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)
1167
								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)
1168
								O1.Size = O1.Size + VT(POWER, 0, POWER)
1169
								O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
1170
								O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
1171
							end
1172
							for i = 1, 75 do
1173
								for i = 1, 5 do
1174
									Swait()
1175
									O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
1176
									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)
1177
									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)
1178
								end
1179
								killnearest(ORB.Position, ORB.Size.X, 200)
1180
								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)
1181
								local DIST = (ORB.Position - Mouse.Hit.p).Magnitude
1182
								local ZAPTABLE = Zap({
1183
									SIZE = POWER,
1184
									StartPosition = ORB.Position,
1185
									TargetPosition = Mouse.Hit.p,
1186
									Character = Character,
1187
									Color = "Gold",
1188
									Individual = true,
1189
									MaxRange = POWER * 400,
1190
									SegmentLength = DIST / 25,
1191
									Offset = 3 + DIST / 350
1192
								})
1193
								Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
1194
								MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15)
1195
								killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
1196
								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))
1197
							end
1198
							local SIZE = ORB.Size
1199
							for i = 1, 25 do
1200
								Swait()
1201
								ORB.Size = ORB.Size - SIZE / 25
1202
								O1.Size = O1.Size - VT(POWER, 0, POWER)
1203
								O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
1204
								O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
1205
							end
1206
							ORB:remove()
1207
							O1:remove()
1208
							O2:remove()
1209
							O3:remove()
1210
						end
1211
						coroutine.resume(coroutine.create(function()
1212
							for i = 1, 65 do
1213
								Swait()
1214
								CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
1215
								CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
1216
							end
1217
							CENTER:remove()
1218
						end))
1219
					end))
1220
				end
1221
			elseif POWER > 6 then
1222
				do
1223
					local FINISHED = false
1224
					local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "YIN", VT(25, 25, 25))
1225
					local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "YAN", VT(65, 25, 65))
1226
					coroutine.resume(coroutine.create(function()
1227
						local LOOP = 0
1228
						repeat
1229
							YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200)
1230
							YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200)
1231
							LOOP = LOOP + 5
1232
							MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Gold").Color, VT(-1, -0.001, -1) * 2)
1233
							MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(1, 1, 1), VT(-1, -0.001, -1) * 2)
1234
							Swait()
1235
						until FINISHED == true
1236
						YIN:remove()
1237
						YAN:remove()
1238
					end))
1239
					CreateSound("438666077", Effects, 10, 1)
1240
					for i = 0, 1, 0.1 / Animation_Speed do
1241
						Swait()
1242
						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)
1243
						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)
1244
						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)
1245
						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)
1246
						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)
1247
						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)
1248
					end
1249
					local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "ORB", VT(6, 6, 6))
1250
					MakeForm(ORB, "Ball")
1251
					ORB.CFrame = CF(HITPOS + VT(0, 150, 0))
1252
					for i = 0, 8, 0.1 / Animation_Speed do
1253
						Swait()
1254
						if MRANDOM(1, 8) == 1 then
1255
							local RANGE1 = (ORB.Position - YIN.Position).Magnitude
1256
							local RANGE2 = (ORB.Position - YAN.Position).Magnitude
1257
							local ZAPTABLE1 = Zap({
1258
								SIZE = POWER / 3,
1259
								StartPosition = YIN.Position,
1260
								TargetPosition = ORB.Position,
1261
								Character = workspace,
1262
								Color = "Pearl",
1263
								Individual = true,
1264
								MaxRange = RANGE1,
1265
								SegmentLength = 25,
1266
								Offset = 6
1267
							})
1268
							local ZAPTABLE2 = Zap({
1269
								SIZE = POWER / 3,
1270
								StartPosition = YAN.Position,
1271
								TargetPosition = ORB.Position,
1272
								Character = workspace,
1273
								Color = "Gold",
1274
								Individual = true,
1275
								MaxRange = RANGE1,
1276
								SegmentLength = 25,
1277
								Offset = 6
1278
							})
1279
							Debris:AddItem(ZAPTABLE1.LightningModel, 0.1)
1280
							Debris:AddItem(ZAPTABLE2.LightningModel, 0.1)
1281
						end
1282
						ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15
1283
						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)
1284
						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)
1285
						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)
1286
						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)
1287
						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)
1288
						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)
1289
					end
1290
					FINISHED = true
1291
					coroutine.resume(coroutine.create(function()
1292
						for i = 1, 6 do
1293
							for e = 1, 10 do
1294
								Swait()
1295
								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))
1296
								ORB.Size = ORB.Size * 0.97
1297
								killnearest(ORB.Position, ORB.Size.X * 3, 200)
1298
								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))
1299
							end
1300
							local POS = ORB.Position
1301
							for i = 1, 5 do
1302
								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)
1303
							end
1304
							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))
1305
							for e = 1, 10 do
1306
								Swait()
1307
								if MRANDOM(1, 5) == 1 then
1308
									local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p
1309
									local ZAPTABLE = Zap({
1310
										SIZE = POWER,
1311
										StartPosition = ORB.Position,
1312
										TargetPosition = POS,
1313
										Character = workspace,
1314
										Color = "Gold",
1315
										Individual = true,
1316
										MaxRange = POWER * 75,
1317
										SegmentLength = POWER * 5,
1318
										Offset = 3
1319
									})
1320
									Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
1321
								end
1322
								ORB.Size = ORB.Size * 1.05
1323
								killnearest(ORB.Position, ORB.Size.X * 3, 200)
1324
								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))
1325
							end
1326
						end
1327
						local POS = ORB.Position
1328
						for e = 1, 10 do
1329
							Swait()
1330
							ORB.Transparency = ORB.Transparency + 0.1
1331
						end
1332
						ORB:remove()
1333
						killnearest(POS, POWER * 35, 200)
1334
						for i = 1, 5 do
1335
							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)
1336
						end
1337
						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))
1338
					end))
1339
				end
1340
			end
1341
			ATTACK = false
1342
			Rooted = false
1343
		end
1344
	end
1345
end
1346
function Hop()
1347
	ATTACK = true
1348
	Rooted = false
1349
	local O1 = MagicRing()
1350
	local O2 = MagicRing()
1351
	local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
1352
	O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
1353
	O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
1354
	local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
1355
	ROOT.CFrame = CF(O2.Position, RootPart.Position)
1356
	CreateSound("814168787", O1, 10, 0.7)
1357
	CreateSound("814168787", O2, 10, 0.7)
1358
	for i = 1, 75 do
1359
		Swait()
1360
		O1.Size = O1.Size + VT(0.15, 0, 0.15)
1361
		O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
1362
		O2.Size = O2.Size + VT(0.15, 0, 0.15)
1363
		O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
1364
		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)
1365
		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)
1366
		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)
1367
		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)
1368
		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)
1369
		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)
1370
	end
1371
	Rooted = true
1372
	UNANCHOR = false
1373
	RootPart.Anchored = true
1374
	VALUE1 = true
1375
	for i = 1, 15 do
1376
		Transparency(i / 15)
1377
		Swait()
1378
		RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
1379
		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)
1380
		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)
1381
		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)
1382
		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)
1383
		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)
1384
		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)
1385
	end
1386
	RootPart.CFrame = ROOT.CFrame
1387
	ROOT:remove()
1388
	for i = 1, 15 do
1389
		Transparency(1 - i / 15)
1390
		Swait()
1391
		RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
1392
		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)
1393
		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)
1394
		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)
1395
		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)
1396
		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)
1397
		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)
1398
	end
1399
	VALUE1 = false
1400
	coroutine.resume(coroutine.create(function()
1401
		for i = 1, 75 do
1402
			Swait()
1403
			O1.Size = O1.Size - VT(0.15, 0, 0.15)
1404
			O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
1405
			O2.Size = O2.Size - VT(0.15, 0, 0.15)
1406
			O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
1407
		end
1408
		O1:remove()
1409
		O2:remove()
1410
	end))
1411
	UNANCHOR = true
1412
	RootPart.Anchored = false
1413
	ATTACK = false
1414
	Rooted = false
1415
end
1416
function Roar()
1417
	ATTACK = true
1418
	Rooted = true
1419
	local ROAR = CreateSound("199978176", Head, 10, 1)
1420
	Swait()
1421
	repeat
1422
		Swait()
1423
		ROAR.Parent = Head
1424
		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)
1425
		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)
1426
		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)
1427
		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)
1428
		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)
1429
		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)
1430
	until ROAR.Playing == false
1431
	ATTACK = false
1432
	Rooted = false
1433
end
1434
function Dimisit()
1435
	ATTACK = true
1436
	Rooted = false
1437
	local LIGHT = IT("ColorCorrectionEffect")
1438
	for LOOP = 1, 500 do
1439
		Swait()
1440
		local MATHMAX = 30 - math.ceil(LOOP / 10)
1441
		if MATHMAX <= 1 then
1442
			MATHMAX = 1
1443
		end
1444
		if MRANDOM(1, MATHMAX) == 1 then
1445
			WACKYEFFECT({
1446
				TIME = MRANDOM(45, 75),
1447
				EffectType = "Sphere",
1448
				Size = VT(0.2, 0.2, 0.2),
1449
				Size2 = VT(3, 3, 3),
1450
				Transparency = 0,
1451
				Transparency2 = 1,
1452
				CFrame = Head.CFrame * CF(0, 0, -0.5),
1453
				MoveToPos = Head.CFrame * CF(MRANDOM(-15, 15) / 2, MRANDOM(-15, 15) / 2, -25).p,
1454
				RotationX = 0,
1455
				RotationY = 0,
1456
				RotationZ = 0,
1457
				Material = "Neon",
1458
				Color = SKILLTEXTCOLOR,
1459
				SoundID = nil,
1460
				SoundPitch = nil,
1461
				SoundVolume = nil
1462
			})
1463
		end
1464
		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)
1465
		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)
1466
		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)
1467
		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)
1468
		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)
1469
		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)
1470
	end
1471
	LIGHT.Parent = game.Lighting
1472
	for LOOP = 1, 25 do
1473
		Swait()
1474
		LIGHT.Brightness = LIGHT.Brightness + 0.04
1475
		LIGHT.Parent = game.Lighting
1476
		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)
1477
		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)
1478
		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)
1479
		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)
1480
		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)
1481
		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)
1482
	end
1483
	for i = 1, 10 do
1484
		Swait()
1485
		Volume = Volume - 0.15
1486
	end
1487
	CREATION = true
1488
	Volume = 3
1489
	wait(2)
1490
	for LOOP = 1, 25 do
1491
		Swait()
1492
		LIGHT.Brightness = LIGHT.Brightness - 0.04
1493
		LIGHT.Parent = game.Lighting
1494
		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)
1495
		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)
1496
		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)
1497
		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)
1498
		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)
1499
		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)
1500
	end
1501
	LIGHT:remove()
1502
	coroutine.resume(coroutine.create(function()
1503
		repeat
1504
			Swait()
1505
		until CREATION == false
1506
	end))
1507
	ATTACK = false
1508
	Rooted = false
1509
end
1510
function AttackTemplate()
1511
	ATTACK = true
1512
	Rooted = false
1513
	for i = 0, 1, 0.1 / Animation_Speed do
1514
		Swait()
1515
		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)
1516
		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)
1517
		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)
1518
		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)
1519
		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)
1520
		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)
1521
	end
1522
	ATTACK = false
1523
	Rooted = false
1524
end
1525
function MouseDown(Mouse)
1526
	if ATTACK == false then
1527
	end
1528
end
1529
function MouseUp(Mouse)
1530
	HOLD = false
1531
end
1532
function KeyDown(Key)
1533
	KEYHOLD = true
1534
	if Key == "z" and ATTACK == false then
1535
		if CREATION == false then
1536
			Dolor_Pluvia()
1537
		elseif CREATION == true then
1538
		end
1539
	end
1540
	if Key == "b" and ATTACK == false then
1541
		if CREATION == false then
1542
			Ignem_Aeternum()()
1543
		elseif CREATION == true then
1544
		end
1545
	end
1546
	if Key == "c" and ATTACK == false then
1547
		if CREATION == false then
1548
			Imperium_Delere()()
1549
		elseif CREATION == true then
1550
		end
1551
	end
1552
	if Key == "q" and ATTACK == false then
1553
		if CREATION == false then
1554
			Hop()
1555
		elseif CREATION == true then
1556
		end
1557
	end
1558
	if Key == "x" and ATTACK == false then
1559
		if CREATION == false then
1560
			Ultima_Consummatio()()
1561
		elseif CREATION == true then
1562
		end
1563
	end
1564
	if Key == "t" and ATTACK == false then
1565
		Roar()
1566
	end
1567
	if Key == "1" and ATTACK == false then
1568
		LEVEL = 1
1569
	end
1570
	if Key == "2" and ATTACK == false then
1571
		LEVEL = 2
1572
	end
1573
	if Key == "3" and ATTACK == false then
1574
		LEVEL = 3
1575
	end
1576
	if Key == "4" and ATTACK == false then
1577
		LEVEL = 4
1578
	end
1579
	if Key == "5" and ATTACK == false then
1580
		LEVEL = 5
1581
	end
1582
	if Key == "6" and ATTACK == false then
1583
		LEVEL = 6
1584
	end
1585
	if Key == "7" and ATTACK == false then
1586
		LEVEL = 7
1587
	end
1588
	if Key == "8" and ATTACK == false then
1589
		LEVEL = 8
1590
	end
1591
	if Key == "9" and ATTACK == false then
1592
		LEVEL = 9
1593
	end
1594
	if Key == "]" and ATTACK == false then
1595
		if CREATION == false then
1596
			Dimisit()
1597
		elseif CREATION == true then
1598
		end
1599
	end
1600
end
1601
function KeyUp(Key)
1602
	KEYHOLD = false
1603
end
1604
Mouse.Button1Down:connect(function(NEWKEY)
1605
	MouseDown(NEWKEY)
1606
end)
1607
Mouse.Button1Up:connect(function(NEWKEY)
1608
	MouseUp(NEWKEY)
1609
end)
1610
Mouse.KeyDown:connect(function(NEWKEY)
1611
	KeyDown(NEWKEY)
1612
end)
1613
Mouse.KeyUp:connect(function(NEWKEY)
1614
	KeyUp(NEWKEY)
1615
end)
1616
function unanchor()
1617
	if UNANCHOR == true then
1618
		g = Character:GetChildren()
1619
		for i = 1, #g do
1620
			if g[i].ClassName == "Part" then
1621
				g[i].Anchored = false
1622
			end
1623
		end
1624
	end
1625
end
1626
Humanoid.Changed:connect(function(Jump)
1627
	if Jump == "Jump" and Disable_Jump == true then
1628
		Humanoid.Jump = false
1629
	end
1630
end)
1631
Humanoid.HipHeight = 2.5
1632
local FF = IT("ForceField", Character)
1633
FF.Visible = false
1634
Speed = 65
1635
local LIGHT = IT("PointLight", Torso)
1636
LIGHT.Range = 5
1637
LIGHT.Brightness = 100
1638
LIGHT.Color = C3(1, 1, 1)
1639
while true do
1640
	refit()
1641
	Swait()
1642
	script.Parent = WEAPONGUI
1643
	Character.Parent = workspace
1644
	ANIMATE.Parent = nil
1645
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1646
	IDLEANIMATION:Play()
1647
	SINE = SINE + CHANGE
1648
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1649
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1650
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1651
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
1652
	if ATTACK == false then
1653
		if TORSOVELOCITY < 1 then
1654
			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)
1655
			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)
1656
			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)
1657
			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)
1658
			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)
1659
			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)
1660
		elseif TORSOVELOCITY > 1 then
1661
			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)
1662
			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)
1663
			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)
1664
			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)
1665
			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)
1666
			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)
1667
		end
1668
	end
1669
	unanchor()
1670
	if Rooted == false then
1671
		Disable_Jump = false
1672
		Speed = 65
1673
	elseif Rooted == true then
1674
		Disable_Jump = true
1675
		Speed = 0
1676
	end
1677
	for _, c in pairs(Character:GetChildren()) do
1678
		if c.ClassName == "Part" then
1679
			c.Material = "Neon"
1680
			for _, q in pairs(c:GetChildren()) do
1681
				if q.ClassName == "ParticleEmitter" and q.Name ~= "OVERLORDAURA" then
1682
					q:remove()
1683
				elseif q.ClassName == "Fire" then
1684
					q:remove()
1685
				end
1686
			end
1687
			if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil then
1688
				particles(c)
1689
			end
1690
			if c == Torso then
1691
				c.Color = C3(1, 1, 1)
1692
			elseif c == RightArm then
1693
				c.Color = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549)
1694
			elseif c == LeftArm then
1695
				c.Color = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549)
1696
			elseif c == RightLeg then
1697
				c.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
1698
			elseif c == LeftLeg then
1699
				c.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
1700
			elseif c == Head then
1701
				if c:FindFirstChild("Dominus") == nil then
1702
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
1703
					M.Name = "Dominus"
1704
				end
1705
				if c:FindFirstChild("face") then
1706
					c.face:remove()
1707
				end
1708
			end
1709
		elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1710
			c:remove()
1711
		end
1712
	end
1713
	sick.Playing = true
1714
	sick.Pitch = 1
1715
	sick.Volume = Volume
1716
	FF.Parent = Character
1717
	sick.Parent = Character
1718
	Humanoid.PlatformStand = false
1719
	Humanoid.Name = "PHAEDRA"
1720
	Humanoid.DisplayDistanceType = "None"
1721
	for _, c in pairs(workspace:GetChildren()) do
1722
		if c.ClassName == "Model" and c ~= Character then
1723
			for _, q in pairs(c:GetChildren()) do
1724
				if q.ClassName == "Sound" then
1725
					q.Pitch = 0
1726
				end
1727
			end
1728
		end
1729
	end
1730
	refit()
1731
	if CREATION == false then
1732
		if sick.SoundId ~= SONG1 then
1733
			sick.SoundId = SONG1
1734
			sick:Play()
1735
		end
1736
	elseif CREATION == true and sick.SoundId ~= SONG2 then
1737
		sick.SoundId = SONG2
1738
		sick:Play()
1739
	end
1740
end