View difference between Paste ID: hq5uWd7R and Qq3wcrGk
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2-
--||			   CREATED BY SHACKLUSTER
2+
--||EDITED BY BEASTENGAMER3       CREATED BY SHACKLUSTER||
3
--\\====================================================//--
4
5
6
7
wait(0.2)
8
9
10
11
Player = game:GetService("Players").LocalPlayer
12
PlayerGui = Player.PlayerGui
13
Cam = workspace.CurrentCamera
14
Backpack = Player.Backpack
15
Character = Player.Character
16
Humanoid = Character.Humanoid
17
Mouse = Player:GetMouse()
18
RootPart = Character["HumanoidRootPart"]
19
Torso = Character["Torso"]
20
Head = Character["Head"]
21
RightArm = Character["Right Arm"]
22
LeftArm = Character["Left Arm"]
23
RightLeg = Character["Right Leg"]
24
LeftLeg = Character["Left Leg"]
25
RootJoint = RootPart["RootJoint"]
26
Neck = Torso["Neck"]
27
RightShoulder = Torso["Right Shoulder"]
28
LeftShoulder = Torso["Left Shoulder"]
29
RightHip = Torso["Right Hip"]
30
LeftHip = Torso["Left Hip"]
31
local sick = Instance.new("Sound",Character)
32
sick.SoundId = "rbxassetid://242950390"
33
sick.Looped = true
34
sick.Pitch = 1
35
sick.Volume = 4
36
sick:Play()
37
Humanoid.DisplayDistanceType = "None"
38
39
local naeeym2 = Instance.new("BillboardGui",Character)
40
naeeym2.AlwaysOnTop = true
41
naeeym2.Size = UDim2.new(5,35,2,35)
42
naeeym2.StudsOffset = Vector3.new(0,3,0)
43
naeeym2.Adornee = Character.Head
44
naeeym2.Name = "Name"
45
naeeym2.PlayerToHideFrom = Player
46
local tecks2 = Instance.new("TextLabel",naeeym2)
47
tecks2.BackgroundTransparency = 1
48
tecks2.TextScaled = true
49
tecks2.BorderSizePixel = 0
50-
tecks2.Text = "Abyss"
50+
tecks2.Text = "Edited Ultimate"
51
tecks2.Font = "Garamond"
52
tecks2.TextSize = 30
53
tecks2.TextStrokeTransparency = 0
54
tecks2.TextColor3 = BrickColor.new("Really black").Color
55
tecks2.TextStrokeColor3 = BrickColor.new("Really black").Color
56
tecks2.Size = UDim2.new(1,0,0.5,0)
57
tecks2.Parent = naeeym2
58
59
IT = Instance.new
60
CF = CFrame.new
61
VT = Vector3.new
62
RAD = math.rad
63
C3 = Color3.new
64
UD2 = UDim2.new
65
BRICKC = BrickColor.new
66
ANGLES = CFrame.Angles
67
EULER = CFrame.fromEulerAnglesXYZ
68
COS = math.cos
69
ACOS = math.acos
70
SIN = math.sin
71
ASIN = math.asin
72
ABS = math.abs
73
MRANDOM = math.random
74
FLOOR = math.floor
75
76
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
77
	local NEWMESH = IT(MESH)
78
	if MESH == "SpecialMesh" then
79
		NEWMESH.MeshType = MESHTYPE
80
		if MESHID ~= "nil" and MESHID ~= "" then
81
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
82
		end
83
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
84
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
85
		end
86
	end
87
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
88
	NEWMESH.Scale = SCALE
89
	NEWMESH.Parent = PARENT
90
	return NEWMESH
91
end
92
93
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
94
	local NEWPART = IT("Part")
95
	NEWPART.formFactor = FORMFACTOR
96
	NEWPART.Reflectance = REFLECTANCE
97
	NEWPART.Transparency = TRANSPARENCY
98
	NEWPART.CanCollide = false
99
	NEWPART.Locked = true
100
	NEWPART.Anchored = true
101
	if ANCHOR == false then
102
		NEWPART.Anchored = false
103
	end
104
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
105
	NEWPART.Name = NAME
106
	NEWPART.Size = SIZE
107
	NEWPART.Position = Torso.Position
108
	NEWPART.Material = MATERIAL
109
	NEWPART:BreakJoints()
110
	NEWPART.Parent = PARENT
111
	return NEWPART
112
end
113
114
--//=================================\\
115
--||		  CUSTOMIZATION
116
--\\=================================//
117
118
Player_Size = 1 --Size of the player.
119
Animation_Speed = 2
120
Frame_Speed = 1 / 30 -- (1 / 30) OR (1 / 60)
121
122-
local Speed = 16
122+
local Speed = 25
123
local Effects2 = {}
124
125
--//=================================\\
126
--|| 	  END OF CUSTOMIZATION
127
--\\=================================//
128
129
	local function weldBetween(a, b)
130
	    local weldd = Instance.new("ManualWeld")
131
	    weldd.Part0 = a
132
	    weldd.Part1 = b
133
	    weldd.C0 = CFrame.new()
134
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
135
	    weldd.Parent = a
136
	    return weldd
137
	end
138
139
--//=================================\\
140
--|| 	      USEFUL VALUES
141
--\\=================================//
142
143
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
144
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
145
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
146
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
147
local CHANGEDEFENSE = 0
148
local CHANGEDAMAGE = 0
149
local CHANGEMOVEMENT = 0
150
local ANIM = "Idle"
151
local ATTACK = false
152
local EQUIPPED = false
153
local HOLD = false
154
local COMBO = 1
155
local Rooted = false
156
local SINE = 0
157
local KEYHOLD = false
158
local CHANGE = 2 / Animation_Speed
159
local WALKINGANIM = false
160
local WALK = 0
161
local VALUE1 = false
162
local VALUE2 = false
163
local POWERLEVEL = 1
164
local DEATH = false
165
local ROBLOXIDLEANIMATION = IT("Animation")
166
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
167
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
168
--ROBLOXIDLEANIMATION.Parent = Humanoid
169
local WEAPONGUI = IT("ScreenGui", PlayerGui)
170
WEAPONGUI.Name = "Weapon GUI"
171
local Weapon = IT("Model")
172
Weapon.Name = "Adds"
173
local Effects = IT("Folder", Weapon)
174
Effects.Name = "Effects"
175
local ANIMATOR = Humanoid.Animator
176
local ANIMATE = Character.Animate
177
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
178
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
179
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
180
local HITBLOCKSOUNDS = {"199148933", "199148947"}
181
local UNANCHOR = true
182
local LIMITBROKEN = false
183
local HITFLOOR, HITPOS = nil
184
local FLIGHT = false
185
186
local SKILLTEXTCOLOR = BRICKC("Dark blue").Color
187
188
--//=================================\\
189
--\\=================================//
190
191
192
--//=================================\\
193
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
194
--\\=================================//
195
196
ArtificialHB = Instance.new("BindableEvent", script)
197
ArtificialHB.Name = "ArtificialHB"
198
199
script:WaitForChild("ArtificialHB")
200
201
frame = Frame_Speed
202
tf = 0
203
allowframeloss = false
204
tossremainder = false
205
lastframe = tick()
206
script.ArtificialHB:Fire()
207
208
game:GetService("RunService").Heartbeat:connect(function(s, p)
209
	tf = tf + s
210
	if tf >= frame then
211
		if allowframeloss then
212
			script.ArtificialHB:Fire()
213
			lastframe = tick()
214
		else
215
			for i = 1, math.floor(tf / frame) do
216
				script.ArtificialHB:Fire()
217
			end
218
		lastframe = tick()
219
		end
220
		if tossremainder then
221
			tf = 0
222
		else
223
			tf = tf - frame * math.floor(tf / frame)
224
		end
225
	end
226
end)
227
228
--//=================================\\
229
--\\=================================//
230
231
232
233
234
235
--//=================================\\
236
--|| 	      SOME FUNCTIONS
237
--\\=================================//
238
239
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
240
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
241
end
242
243
function PositiveAngle(NUMBER)
244
	if NUMBER >= 0 then
245
		NUMBER = 0
246
	end
247
	return NUMBER
248
end
249
250
function NegativeAngle(NUMBER)
251
	if NUMBER <= 0 then
252
		NUMBER = 0
253
	end
254
	return NUMBER
255
end
256
257
function Swait(NUMBER)
258
	if NUMBER == 0 or NUMBER == nil then
259
		ArtificialHB.Event:wait()
260
	else
261
		for i = 1, NUMBER do
262
			ArtificialHB.Event:wait()
263
		end
264
	end
265
end
266
267
function QuaternionFromCFrame(cf)
268
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
269
	local trace = m00 + m11 + m22
270
	if trace > 0 then 
271
		local s = math.sqrt(1 + trace)
272
		local recip = 0.5 / s
273
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
274
	else
275
		local i = 0
276
		if m11 > m00 then
277
			i = 1
278
		end
279
		if m22 > (i == 0 and m00 or m11) then
280
			i = 2
281
		end
282
		if i == 0 then
283
			local s = math.sqrt(m00 - m11 - m22 + 1)
284
			local recip = 0.5 / s
285
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
286
		elseif i == 1 then
287
			local s = math.sqrt(m11 - m22 - m00 + 1)
288
			local recip = 0.5 / s
289
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
290
		elseif i == 2 then
291
			local s = math.sqrt(m22 - m00 - m11 + 1)
292
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
293
		end
294
	end
295
end
296
 
297
function QuaternionToCFrame(px, py, pz, x, y, z, w)
298
	local xs, ys, zs = x + x, y + y, z + z
299
	local wx, wy, wz = w * xs, w * ys, w * zs
300
	local xx = x * xs
301
	local xy = x * ys
302
	local xz = x * zs
303
	local yy = y * ys
304
	local yz = y * zs
305
	local zz = z * zs
306
	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))
307
end
308
 
309
function QuaternionSlerp(a, b, t)
310
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
311
	local startInterp, finishInterp;
312
	if cosTheta >= 0.0001 then
313
		if (1 - cosTheta) > 0.0001 then
314
			local theta = ACOS(cosTheta)
315
			local invSinTheta = 1 / SIN(theta)
316
			startInterp = SIN((1 - t) * theta) * invSinTheta
317
			finishInterp = SIN(t * theta) * invSinTheta
318
		else
319
			startInterp = 1 - t
320
			finishInterp = t
321
		end
322
	else
323
		if (1 + cosTheta) > 0.0001 then
324
			local theta = ACOS(-cosTheta)
325
			local invSinTheta = 1 / SIN(theta)
326
			startInterp = SIN((t - 1) * theta) * invSinTheta
327
			finishInterp = SIN(t * theta) * invSinTheta
328
		else
329
			startInterp = t - 1
330
			finishInterp = t
331
		end
332
	end
333
	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
334
end
335
336
function Clerp(a, b, t)
337
	local qa = {QuaternionFromCFrame(a)}
338
	local qb = {QuaternionFromCFrame(b)}
339
	local ax, ay, az = a.x, a.y, a.z
340
	local bx, by, bz = b.x, b.y, b.z
341
	local _t = 1 - t
342
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
343
end
344
345
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
346
	local frame = IT("Frame")
347
	frame.BackgroundTransparency = TRANSPARENCY
348
	frame.BorderSizePixel = BORDERSIZEPIXEL
349
	frame.Position = POSITION
350
	frame.Size = SIZE
351
	frame.BackgroundColor3 = COLOR
352
	frame.BorderColor3 = BORDERCOLOR
353
	frame.Name = NAME
354
	frame.Parent = PARENT
355
	return frame
356
end
357
358
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
359
	local label = IT("TextLabel")
360
	label.BackgroundTransparency = 1
361
	label.Size = UD2(1, 0, 1, 0)
362
	label.Position = UD2(0, 0, 0, 0)
363
	label.TextColor3 = TEXTCOLOR
364
	label.TextStrokeTransparency = STROKETRANSPARENCY
365
	label.TextTransparency = TRANSPARENCY
366
	label.FontSize = TEXTFONTSIZE
367
	label.Font = TEXTFONT
368
	label.BorderSizePixel = BORDERSIZEPIXEL
369
	label.TextScaled = false
370
	label.Text = TEXT
371
	label.Name = NAME
372
	label.Parent = PARENT
373
	return label
374
end
375
376
function NoOutlines(PART)
377
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
378
end
379
380
381
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
382
	local NEWWELD = IT(TYPE)
383
	NEWWELD.Part0 = PART0
384
	NEWWELD.Part1 = PART1
385
	NEWWELD.C0 = C0
386
	NEWWELD.C1 = C1
387
	NEWWELD.Parent = PARENT
388
	return NEWWELD
389
end
390
391
local SOUND = IT("Sound")
392
393
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
394
	local NEWSOUND = nil
395
	coroutine.resume(coroutine.create(function()
396
		NEWSOUND = SOUND:Clone()
397
		NEWSOUND.Parent = PARENT
398
		NEWSOUND.Volume = VOLUME
399
		NEWSOUND.Pitch = PITCH
400
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
401
		--Swait()
402
		NEWSOUND:play()
403
		if DOESLOOP == false then
404
			repeat Swait() until NEWSOUND.Playing == false
405
			NEWSOUND:remove()
406
		elseif DOESLOOP == true then
407
			NEWSOUND.Looped = true
408
		end
409
	end))
410
	return NEWSOUND
411
end
412
413
function CFrameFromTopBack(at, top, back)
414
	local right = top:Cross(back)
415
	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)
416
end
417
418
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
419
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
420
	local mesh = IT("SpecialMesh",wave)
421
	mesh.MeshType = "FileMesh"
422
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
423
	mesh.Scale = SIZE
424
	mesh.Offset = VT(0,0,-SIZE.X/8)
425
	wave.CFrame = CFRAME
426
	coroutine.resume(coroutine.create(function(PART)
427
		for i = 1, WAIT do
428
			Swait()
429
			mesh.Scale = mesh.Scale + GROW
430
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
431
			if DOESROT == true then
432
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
433
			end
434
			wave.Transparency = wave.Transparency + (0.5/WAIT)
435
			if wave.Transparency > 0.99 then
436
				wave:remove()
437
			end
438
		end
439
	end))
440
end
441
442
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
443
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
444
	local mesh = IT("SpecialMesh",wave)
445
	mesh.MeshType = "FileMesh"
446
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
447
	mesh.Scale = SIZE
448
	mesh.Offset = VT(0,0,0)
449
	wave.CFrame = CFRAME
450
	coroutine.resume(coroutine.create(function(PART)
451
		for i = 1, WAIT do
452
			Swait()
453
			mesh.Scale = mesh.Scale + GROW
454
			if DOESROT == true then
455
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
456
			end
457
			wave.Transparency = wave.Transparency + (0.5/WAIT)
458
			if wave.Transparency > 0.99 then
459
				wave:remove()
460
			end
461
		end
462
	end))
463
end
464
465
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
466
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
467
	local mesh = IT("SpecialMesh",wave)
468
	mesh.MeshType = "Sphere"
469
	mesh.Scale = SIZE
470
	mesh.Offset = VT(0,0,0)
471
	wave.CFrame = CFRAME
472
	coroutine.resume(coroutine.create(function(PART)
473
		for i = 1, WAIT do
474
			Swait()
475
			mesh.Scale = mesh.Scale + GROW
476
			wave.Transparency = wave.Transparency + (1/WAIT)
477
			if wave.Transparency > 0.99 then
478
				wave:remove()
479
			end
480
		end
481
	end))
482
end
483
484
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
485
	if FLOOR ~= nil then
486
		coroutine.resume(coroutine.create(function()
487
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Dark blue", "DebreeCenter", VT(0,0,0))
488
			PART.CFrame = CF(POSITION)
489
			for i = 1, 45 do
490
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Dark blue", "DebreePart", BLOCKSIZE)
491
				RingPiece.Material = FLOOR.Material
492
				RingPiece.Color = FLOOR.Color
493
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
494
				Debris:AddItem(RingPiece,SWAIT)
495
			end
496
			PART:remove()
497
		end))
498
	end
499
end
500
501
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
502
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
503
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
504
	wave.CFrame = CFRAME
505
	coroutine.resume(coroutine.create(function(PART)
506
		for i = 1, WAIT do
507
			Swait()
508
			mesh.Scale = mesh.Scale * GROW
509
			wave.Transparency = wave.Transparency + (0.5/WAIT)
510
			if wave.Transparency > 0.99 then
511
				wave:remove()
512
			end
513
		end
514
	end))
515
end
516
517
function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
518
	if FLOOR ~= nil then
519
		for i = 1, AMOUNT do
520
			local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
521
			DEBREE.Material = FLOOR.Material
522
			DEBREE.Color = FLOOR.Color
523
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
524
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
525
			coroutine.resume(coroutine.create(function()
526
				Swait(15)
527
				DEBREE.Parent = workspace
528
				DEBREE.CanCollide = true
529
				Debris:AddItem(DEBREE,SWAIT)
530
			end))
531
		end
532
	end
533
end
534
535
function MakeForm(PART,TYPE)
536
	if TYPE == "Cyl" then
537
		local MSH = IT("CylinderMesh",PART)
538
	elseif TYPE == "Ball" then
539
		local MSH = IT("SpecialMesh",PART)
540
		MSH.MeshType = "Sphere"
541
	elseif TYPE == "Wedge" then
542
		local MSH = IT("SpecialMesh",PART)
543
		MSH.MeshType = "Wedge"
544
	end
545
end
546
547
function CheckTableForString(Table, String)
548
	for i, v in pairs(Table) do
549
		if string.find(string.lower(String), string.lower(v)) then
550
			return true
551
		end
552
	end
553
	return false
554
end
555
556
function CheckIntangible(Hit)
557
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
558
	if Hit and Hit.Parent then
559
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
560
			return true
561
		end
562
	end
563
	return false
564
end
565
566
Debris = game:GetService("Debris")
567
568
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
569
	local Direction = CFrame.new(StartPos, Vec).lookVector
570
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
571
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
572
	if RayHit and CheckIntangible(RayHit) then
573
		if DelayIfHit then
574
			wait()
575
		end
576
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
577
	end
578
	return RayHit, RayPos, RayNormal
579
end
580
581
function turnto(position)
582
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
583
end
584
585
--//=================================\\
586
--||	     WEAPON CREATION
587
--\\=================================//
588
589
function particles(art)
590
local EyeSizes={
591
	NumberSequenceKeypoint.new(0,1,0),
592
	NumberSequenceKeypoint.new(1,1,0)
593
}
594
local EyeTrans={
595
	NumberSequenceKeypoint.new(0,0.8,0),
596
	NumberSequenceKeypoint.new(1,1,0)
597
}
598
local PE=Instance.new("ParticleEmitter",art)
599
PE.LightEmission=.8
600
PE.Color = ColorSequence.new(BRICKC("Dark blue").Color)
601
PE.Size=NumberSequence.new(EyeSizes)
602
PE.Transparency=NumberSequence.new(EyeTrans)
603
PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
604
PE.Rotation=NumberRange.new(0,360)
605
PE.Rate=999
606
PE.VelocitySpread = 10000
607
PE.Acceleration = Vector3.new(0,75,0)
608
PE.Drag = 5
609
PE.Speed = NumberRange.new(0,0,0)
610
PE.Texture="http://www.roblox.com/asset/?id=341277531"
611
PE.ZOffset = -1.5
612
PE.Name = "PE"
613
end
614
615
Weapon.Parent = Character
616
617
Humanoid.Died:connect(function()
618
	ATTACK = true
619
	DEATH = true
620
end)
621
622
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
623
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
624
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
625
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
626
local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
627
local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
628
629
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
630
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rival Smash", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2")
631
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chunk chuck", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 3")
632
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Boost", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4")
633
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] X-Event", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 5")
634
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "Power level: ["..POWERLEVEL.."]", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 6")
635
636
--//=================================\\
637
--||			DAMAGING
638
--\\=================================//
639
640
function killnearest(position,range,maxstrength)
641
	for i,v in ipairs(workspace:GetChildren()) do
642
	if v.ClassName == "Model" then
643
		local body = v:GetChildren()
644
			for part = 1, #body do
645
				if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
646
					if(body[part].Position - position).Magnitude < range then
647
						if v.ClassName == "Model" then
648
							v:BreakJoints()
649
						end
650
						--table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
651
						body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
652
					end
653
				end
654
			end
655
		end
656
	end
657
end
658
659
--//=================================\\
660
--||	ATTACK FUNCTIONS AND STUFF
661
--\\=================================//
662
663
Humanoid.HealthChanged:connect(function()
664
	if DEATH == false then
665
		if Humanoid.Health ~= "inf" then
666
			Humanoid.Health = "inf"
667
			CreateSound("907330011", Torso, 10, 1)
668
		end
669
		if Humanoid.MaxHealth ~= "inf" then
670
			Humanoid.MaxHealth = "inf"
671
		end
672
	end
673
end)
674
675
function VanishPlayer()
676
	tecks2.TextTransparency = 1
677
	tecks2.TextStrokeTransparency = 1
678
	for _, c in pairs(Character:GetChildren()) do
679
		if c.ClassName == "Part" then
680
			c.Transparency = 1
681
			if c:FindFirstChildOfClass("Decal") then
682
				c:FindFirstChildOfClass("Decal").Transparency = 1
683
			end
684
			if c:FindFirstChildOfClass("ParticleEmitter") then
685
				c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
686
			end
687
		elseif c.ClassName == "Accessory" then
688
			c.Handle.Transparency = 1
689
			if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
690
				c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
691
			end
692
		end
693
	end
694
end
695
696
function Reappear()
697
	tecks2.TextTransparency = 0
698
	tecks2.TextStrokeTransparency = 0
699
	for _, c in pairs(Character:GetChildren()) do
700
		if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
701
			c.Transparency = 0
702
			if c:FindFirstChildOfClass("Decal") then
703
				c:FindFirstChildOfClass("Decal").Transparency = 0
704
			end
705
			if c:FindFirstChildOfClass("ParticleEmitter") then
706
				c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
707
			end
708
		elseif c.ClassName == "Accessory" then
709
			c.Handle.Transparency = 0
710
			if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
711
				c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
712
			end
713
		end
714
	end
715
end
716
717
function Warp()
718
	ATTACK = true
719
	Rooted = true
720
	for i = 1, 50 do
721
		Swait()
722
		CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Institutional white",VT(i/3,i/3,0))
723
		CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Institutional white",VT(i/3,i/3,0))
724
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
725
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
726
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
727
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
728
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
729
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
730
	end
731
	if VALUE2 == false then
732
		VALUE2 = true
733
	elseif VALUE2 == true then
734
		VALUE2 = false
735
	end
736
	ATTACK = false
737
	Rooted = false
738
end
739
740
function RivalingOverthrower()
741
	if HITFLOOR ~= nil then
742
		if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
743
			local HITBODY = Mouse.Target.Parent
744
			local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
745
			local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
746
			if TORS ~= nil and HUMAN ~= nil then
747
				ATTACK = true
748
				Rooted = true
749
				TORS.Anchored = true
750
				RootPart.CFrame = TORS.CFrame * CF(0,0,4)
751
				HITFLOOR, HITPOS = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 4 * TORS.Size.Y/2, HITBODY)
752
				local FLOOR = HITFLOOR
753
				local POS = HITPOS
754
				print(FLOOR)
755
				UNANCHOR = false
756
				RootPart.Anchored = true
757
				CreateSound("1295446488", Torso, 10, 1)
758
				for i=0, 1, 0.1 / Animation_Speed do
759
					Swait()
760
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
761
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
762
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
763
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
764
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
765
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
766
				end
767
				local TAUNTS = {"907329532","907333294","907329893"}
768
				CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Torso, 10, 1)
769
				for i=0, 1, 0.1 / Animation_Speed do
770
					Swait()
771
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
772
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed)
773
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
774
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
775
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
776
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
777
				end
778
				RootPart.CFrame = TORS.CFrame * CF(0,0,2)
779
				CreateSound("260411131", TORS, 10, 1)
780
				TORS.Anchored = false
781
				local WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-1,-0.5) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
782
				for i=0, 1, 0.1 / Animation_Speed do
783
					Swait()
784
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / Animation_Speed)
785
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
786
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
787
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
788
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
789
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
790
				end
791
				for i=0, 2, 0.1 / Animation_Speed do
792
					Swait()
793
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
794
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
795
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
796
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
797
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
798
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
799
				end
800
				for i = 1, 15 do
801
					CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,-3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(i/5,i/5,0))
802
				end
803
				WELD:remove()
804
				local grav = Instance.new("BodyPosition",TORS)
805
				grav.P = 20000
806
				grav.D = 100
807
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
808
				grav.position = TORS.Position + VT(0,50,0)
809
				grav.Name = "GravityForce"
810
				for i=0, 1, 0.1 / Animation_Speed do
811
					Swait()
812
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
813
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
814
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
815
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
816
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
817
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
818
				end
819
				for i=0, 2, 0.1 / Animation_Speed do
820
					Swait()
821
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
822
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
823
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
824
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
825
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
826
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
827
				end
828
				CreateSound("1295446488", Torso, 10, 1)
829
				CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Dark blue",VT(1,0.1,1))
830
				RootPart.CFrame = CF(TORS.Position)*CF(0,0,5)
831
				for i=0, 2, 0.1 / Animation_Speed do
832
					Swait()
833
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
834
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
835
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
836
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed)
837
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
838
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
839
				end
840
				VanishPlayer()
841
				for i = 1, 50+(25*POWERLEVEL) do
842
					Swait()
843
					CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
844
					CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1)
845
					local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
846
					MagicSphere(VT(0,0,0),15,CFRAME,"Dark blue",VT(0.1,0.1,POWERLEVEL*5))
847
					MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Dark blue",VT(0.1,0.1,POWERLEVEL*5))
848
				end
849
				RootPart.CFrame = CF(TORS.Position)*CF(0,15,1)
850
				Reappear()
851
				for i=0, 2, 0.1 / Animation_Speed do
852
					Swait()
853
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 / Animation_Speed)
854
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
855
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
856
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
857
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
858
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
859
				end
860
				for i = 1, 15 do
861
					CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(i/5,i/5,0))
862
				end
863
				RootPart.CFrame = CF(TORS.Position)*CF(0,5,1)
864
				grav.Position = POS
865
				CreateDebreeRing(FLOOR,POS,6*POWERLEVEL,VT(6,6,6)*POWERLEVEL,10)
866
				CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,10,50*POWERLEVEL)
867
				CreateSound("289842971", TORS, 3, 1)
868
				MagicSphere(VT(0,0,0),35,CF(POS),"Dark blue",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2))
869
				MagicSphere(VT(0.1,0.1,0.1),35,CF(POS),"Institutional white",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2))
870
				killnearest(POS,POWERLEVEL*10,5)
871
				if POWERLEVEL > 3 then
872
					MagicSphere(VT(0.1,500,0.1),15,CF(POS),"Dark blue",VT(POWERLEVEL,0,POWERLEVEL))
873
				end
874
				CreateWave(VT(0,0,0),15,CF(POS),true,2,"Dark blue",VT(POWERLEVEL*2,0.1,POWERLEVEL*2))
875
				for i=0, 1, 0.1 / Animation_Speed do
876
					Swait()
877
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed)
878
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
879
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
880
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(20)) * LEFTSHOULDERC0, 3 / Animation_Speed)
881
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
882
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
883
				end
884
				HITBODY:BreakJoints()
885
				grav:remove()
886
				ATTACK = false
887
				Rooted = false
888
				UNANCHOR = true
889
				RootPart.Anchored = false
890
				if POWERLEVEL > 1 then
891
					POWERLEVEL = POWERLEVEL - 1
892
				end
893
			end
894
		end
895
	end
896
end
897
898
function ChunkChuck()
899
	if HITFLOOR ~= nil then
900
		ATTACK = true
901
		Rooted = true
902
		CreateSound("305685800", Head, 10, 1)
903
		for i=0, 1, 0.1 / Animation_Speed do
904
			Swait()
905
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
906
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
907
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
908
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
909
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
910
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
911
		end
912
		for i=0, 1, 0.1 / Animation_Speed do
913
			Swait()
914
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.75, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
915
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
916
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
917
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
918
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 2 / Animation_Speed)
919
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-65)), 2 / Animation_Speed)
920
		end
921
		CreateDebreeRing(HITFLOOR,HITPOS,3*POWERLEVEL,VT(2,2,2)*POWERLEVEL,3)
922
		CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2)*POWERLEVEL,3,50*POWERLEVEL)
923
		local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(5,5,5)*POWERLEVEL/1.5)
924
		CHUNK.Color = HITFLOOR.Color
925
		CHUNK.Material = HITFLOOR.Material
926
		CHUNK.CFrame = Torso.CFrame*CF(0,0,-3*POWERLEVEL)
927
		CreateSound("260411131", CHUNK, 10, 1)
928
		CreateSound("289842971", Torso, 3, 1)	
929
		repeat
930
			Swait()
931
			CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0)
932
			turnto(Mouse.Hit.p)
933
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
934
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
935
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
936
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
937
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
938
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
939
		until HOLD == true
940
		for i=0, 1, 0.1 / Animation_Speed do
941
			Swait()
942
			CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0)
943
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
944
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
945
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
946
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
947
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
948
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
949
		end
950
		CHUNK.CanCollide = true
951
		CHUNK.Anchored = false
952
		CHUNK.CFrame = RootPart.CFrame*CF(0,0,-1*POWERLEVEL)
953
		for i = 1, 25 do
954
			CreateRing(VT(0,0,0),false,0,15,RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(0),RAD(0),RAD(0)),"Institutional white",VT((POWERLEVEL/3)/i,(POWERLEVEL/3)/i,0))
955
		end
956
		local bv = Instance.new("BodyVelocity") 
957
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
958
		bv.velocity = RootPart.CFrame.lookVector*400
959
		bv.Parent = CHUNK
960
		local HIT = CHUNK.Touched:Connect(function(hit)
961
			if hit.Parent ~= workspace and hit.Parent ~= Character and hit.Parent.ClassName == "Model" then
962
				hit.Parent:BreakJoints()
963
			end
964
		end)
965
		CreateSound("138079201", CHUNK, 10, 1)
966
		Debris:AddItem(CHUNK,5)
967
		for i=0, 1, 0.1 / Animation_Speed do
968
			Swait()
969
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
970
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
971
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
972
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
973
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
974
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
975
		end
976
		ATTACK = false
977
		Rooted = false
978
		if POWERLEVEL > 1 then
979
			POWERLEVEL = POWERLEVEL - 1
980
		end
981
	end
982
end
983
984
function Boost()
985
	ATTACK = true
986
	Rooted = true
987
	CreateSound("466493476", Torso, 10, MRANDOM(7, 12) / 10)
988
	for i = 1, 50 do
989
		Swait()
990
		CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Dark blue",VT(i/5,i/5,0))
991
		CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Dark blue",VT(i/5,i/5,0))
992
		CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(i/3,i/3,0))
993
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
994
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
995
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
996
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
997
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
998
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
999
	end
1000
	POWERLEVEL = POWERLEVEL + 1
1001
	ATTACK = false
1002
	Rooted = false
1003
end
1004
1005
function XEvent()
1006
	if HITFLOOR ~= nil then
1007
		VALUE2 = false
1008
		CreateSound("907332670", Effects, 10, 1)
1009
		local POS = HITPOS
1010
		local FLOOR = HITFLOOR
1011
		local STARTPOS = RootPart.CFrame
1012
		ATTACK = true
1013
		Rooted = true
1014
		for i=0, 2, 0.1 / Animation_Speed do
1015
			Swait()
1016
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1017
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1018
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1019
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1020
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1021
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1022
		end
1023
		UNANCHOR = false
1024
		RootPart.Anchored = true
1025
		CreateSound("1295446488", Effects, 10, 1)
1026
		RootPart.CFrame = RootPart.CFrame*CF(0,100+(150*POWERLEVEL),0)
1027
		for i=0, 1, 0.1 / Animation_Speed do
1028
			Swait()
1029
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
1030
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
1031
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1032
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1033
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
1034
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
1035
		end
1036
		CreateSound("289315275", Effects, 10, 1)
1037
		for i=0, 5, 0.1 / Animation_Speed do
1038
			Swait()
1039
			CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*CF(0,5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/1.2,POWERLEVEL/1.2,0))
1040
			CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*CF(0,5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL,POWERLEVEL,0))
1041
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
1042
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
1043
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1044
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1045
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
1046
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
1047
		end
1048
		CreateSound("260411131", Effects, 3, 1)
1049
		for i=0, 1, 0.1 / Animation_Speed do
1050
			Swait()
1051
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/5,POWERLEVEL/5,0))
1052
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
1053
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1054
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
1055
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1056
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1057
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
1058
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
1059
		end
1060
		for i=0, 0.3, 0.1 / Animation_Speed do
1061
			Swait()
1062
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/5,POWERLEVEL/5,0))
1063
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
1064
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1065
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
1066
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1067
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1068
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
1069
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
1070
		end
1071
		for i=0, 0.3, 0.1 / Animation_Speed do
1072
			Swait()
1073
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
1074
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
1075
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(45)), 2 / Animation_Speed)
1076
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
1077
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1078
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1079
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
1080
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
1081
		end
1082
		local BURNMARKS = {}
1083
		local DEATHRAY1 = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "RAY", VT(0,0,0))
1084
		MakeForm(DEATHRAY1,"Cyl")
1085
		local DEATHRAY2 = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "RAY", VT(0,0,0))
1086
		MakeForm(DEATHRAY2,"Cyl")
1087
		local loopsound = CreateSound("487214658", Effects, 4, 1, true)
1088
		local AMOUNT = POWERLEVEL * 25
1089
		for i = 1, POWERLEVEL * 50 do
1090
			Swait()
1091
			MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Institutional white",VT(0,0,0))
1092
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
1093
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
1094
			local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2)
1095
			MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT))
1096
			table.insert(BURNMARKS,MARK)
1097
			MakeForm(MARK,"Cyl")
1098
			CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/5,POWERLEVEL/5,0))
1099
			CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
1100
			local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude
1101
			DEATHRAY1.Size          = Vector3.new(POWERLEVEL, distance, POWERLEVEL)
1102
			DEATHRAY1.CFrame        = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1103
			DEATHRAY2.Size          = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1)
1104
			DEATHRAY2.CFrame        = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1105
			AMOUNT = AMOUNT - 1
1106
		end
1107
		local AMOUNT = POWERLEVEL * 25
1108
		for i = 1, POWERLEVEL * 50 do
1109
			Swait()
1110
			MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Institutional white",VT(0,0,0))
1111
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
1112
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
1113
			local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2)
1114
			MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT))
1115
			table.insert(BURNMARKS,MARK)
1116
			MakeForm(MARK,"Cyl")
1117
			CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/5,POWERLEVEL/5,0))
1118
			CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
1119
			local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude
1120
			DEATHRAY1.Size          = Vector3.new(POWERLEVEL, distance, POWERLEVEL)
1121
			DEATHRAY1.CFrame        = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,-AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1122
			DEATHRAY2.Size          = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1)
1123
			DEATHRAY2.CFrame        = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,-AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1124
			AMOUNT = AMOUNT - 1
1125
		end
1126
		DEATHRAY1:remove()
1127
		DEATHRAY2:remove()
1128
		loopsound:remove()
1129
		for i=0, 1, 0.1 / Animation_Speed do
1130
			Swait()
1131
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1132
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1133
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1134
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1135
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1136
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1137
		end
1138
		RootPart.CFrame = STARTPOS
1139
		for i=0, 0.1, 0.1 / Animation_Speed do
1140
			Swait()
1141
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
1142
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1143
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1144
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1145
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 2 / Animation_Speed)
1146
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
1147
		end
1148
		for i = 1, 10+(5*POWERLEVEL) do
1149
			Swait()
1150
			CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL*5,POWERLEVEL*5,0))
1151
			CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL*15,POWERLEVEL*15,0))
1152
		end
1153
		local SOUND = CreateSound("314970772", Effects, 10, 1)
1154
		CreateSound("414517163", Effects, 10, 1)
1155
		IT("EchoSoundEffect",SOUND)
1156
		MagicSphere(VT(0,0,0),35,CF(POS),"Institutional white",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL))
1157
		CreateDebreeRing(FLOOR,POS,25*POWERLEVEL,VT(25,25,25)*POWERLEVEL,3)
1158
		CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,3,25*POWERLEVEL)
1159
		for i = 1, 25 do
1160
			Swait()
1161
			MagicSphere(VT(0,0,0),15,CF(POS),"Really black",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL))
1162
			CreateRing(VT(0,0,0.1),false,0,45,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(POWERLEVEL*2,POWERLEVEL*2,0))
1163
			killnearest(POS,POWERLEVEL*100,500)
1164
			CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(POWERLEVEL*15,POWERLEVEL*15,0))
1165
			CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(POWERLEVEL*25,POWERLEVEL*25,0))
1166
		end
1167
		for i = 1, 50 do
1168
			Swait()
1169
			for e=1,#BURNMARKS do
1170
				if BURNMARKS[e]~=nil then
1171
					local Thing=BURNMARKS[e]
1172
					if Thing~=nil then
1173
						local Part=Thing
1174
						Part.Transparency = Part.Transparency + (1/50)
1175
					end
1176
				end
1177
			end
1178
		end
1179
		for e=1,#BURNMARKS do
1180
			if BURNMARKS[e]~=nil then
1181
				local Thing=BURNMARKS[e]
1182
				if Thing~=nil then
1183
					local Part=Thing
1184
					Part:remove()
1185
				end
1186
			end
1187
		end
1188
		ATTACK = false
1189
		Rooted = false
1190
		UNANCHOR = true
1191
		RootPart.Anchored = false
1192
		POWERLEVEL = 1
1193
	end
1194
end
1195
1196
function Taunt()
1197
	ATTACK = true
1198
	Rooted = true
1199
	CreateSound("907330011", Head, 10, 1.1)
1200
	for i=0, 1, 0.1 / Animation_Speed do
1201
		Swait()
1202
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1203
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
1204
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1205
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1206
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1207
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1208
	end
1209
	for i=0, 2, 0.1 / Animation_Speed do
1210
		Swait()
1211
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1212
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
1213
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1214
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1215
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1216
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1217
	end
1218
	ATTACK = false
1219
	Rooted = false
1220
end
1221
1222
function BreakLimit()
1223
	ATTACK = true
1224
	Rooted = false
1225
	UNANCHOR = false
1226
	RootPart.Anchored = true
1227
	for i=0, 5, 0.1 / Animation_Speed do
1228
		Swait()
1229
		RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
1230
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1231
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
1232
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1233
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1234
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
1235
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
1236
	end
1237
	CreateSound("1368598393", Effects, 10, 1)
1238
	for i=0, 2, 0.1 / Animation_Speed do
1239
		Swait()
1240
		local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
1241
		MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5))
1242
		MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5))
1243
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1244
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
1245
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1246
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1247
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1248
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1249
	end
1250
	CreateSound("1368583274", Effects, 10, 1)
1251
	for i=0, 6, 0.1 / Animation_Speed do
1252
		Swait()
1253
		CreateRing(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(-1,0,0))
1254
		CreateRing(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(-1,0,0)*3)
1255
		local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
1256
		MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,55))
1257
		MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(2,2,2))
1258
		MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,55))
1259
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1260
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
1261
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1262
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1263
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1264
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1265
	end
1266
	CreateSound("907329532", Effects, 10, 1.1)
1267
	Swait(175)
1268
	CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(7,7,0))
1269
	CreateSound("1368605755", Effects, 10, 1)
1270
	CreateSound("1368637781", Effects, 10, 1)
1271
	MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really black",VT(5,5,5))
1272
	LIMITBROKEN = true
1273
	for i=0, 1, 0.1 / Animation_Speed do
1274
		Swait()
1275
		CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(4,4,0))
1276
		CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(5,5,0))
1277
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1278
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
1279
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1280
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1281
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
1282
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
1283
	end
1284
	UNANCHOR = true
1285
	RootPart.Anchored = false
1286
	ATTACK = false
1287
	Rooted = false
1288
end
1289
1290
-- LIMIT BROKEN
1291
1292
function RivalingOverthrower2()
1293
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1294
		local HITBODY = Mouse.Target.Parent
1295
		local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
1296
		local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1297
		if TORS ~= nil and HUMAN ~= nil then
1298
			ATTACK = true
1299
			Rooted = false
1300
			VanishPlayer()
1301
			TORS.Anchored = true
1302
			RootPart.CFrame = TORS.CFrame*CF(0,5,0)
1303
			CreateSound("260411131", RootPart, 3, 1)
1304
			for i = 1, 75 do
1305
				Swait()
1306
				CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
1307
				CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1)
1308
				local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
1309
				MagicSphere(VT(0,0,0),15,CFRAME,"Dark blue",VT(0.1,0.1,POWERLEVEL*5))
1310
				MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Dark blue",VT(0.1,0.1,POWERLEVEL*5))
1311
				TORS.CFrame = TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
1312
			end
1313
			RootPart.CFrame = CF(TORS.Position)*CF(MRANDOM(-45,45),45,MRANDOM(-45,45))
1314
			Reappear()
1315
			CreateSound("1368583274", RightArm, 10, 1)
1316
			local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Neon", VT(0,0,0))
1317
			MakeForm(ORB,"Ball")
1318
			ORB.Color = C3(0,0,0)
1319
			ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
1320
			for i=0, 4, 0.1 / Animation_Speed do
1321
				Swait()
1322
				ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
1323
				ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
1324
				CreateRing(VT(25,25,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(-1,-1,0))
1325
				RootPart.CFrame = CF(RootPart.Position,TORS.Position)
1326
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
1327
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
1328
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1329
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1330
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1331
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1332
			end
1333
			for i = 1, 5 do
1334
				Swait()
1335
				RootPart.CFrame = CF(RootPart.Position,TORS.Position)
1336
				ORB.Size = ORB.Size * 0.8
1337
			end
1338
			local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Neon", VT(0,25,0))
1339
			MakeForm(BEAM,"Ball")
1340
			local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Neon", VT(0,1000,0))
1341
			MakeForm(BEAM2,"Cyl")
1342
			BEAM.CFrame = ORB.CFrame * CF(0,0,10)
1343
			ORB.Color = BRICKC("Institutional white").Color
1344
			for i = 1, 5 do
1345
				Swait()
1346
				CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(2,2,0))
1347
				BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
1348
				BEAM.Size = BEAM.Size + VT(2,0,2)
1349
				BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
1350
				BEAM2.Size = BEAM2.Size + VT(2,0,2)
1351
				RootPart.CFrame = CF(RootPart.Position,TORS.Position)
1352
				ORB.Size = ORB.Size * 1.3
1353
			end
1354
			CreateSound("1368605755", Effects, 10, 1)
1355
			HITBODY:BreakJoints()
1356
			TORS.Anchored = false
1357
			local POS = TORS.Position
1358
			for i = 1, 25 do
1359
				CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(POWERLEVEL/3,POWERLEVEL/3,0))
1360
				CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(POWERLEVEL/4,POWERLEVEL/4,0))
1361
			end
1362
			for i=0, 2, 0.1 / Animation_Speed do
1363
				Swait()
1364
				killnearest(POS,15,700)
1365
				CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(2,2,0))
1366
				BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
1367
				BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
1368
				ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
1369
				RootPart.CFrame = CF(RootPart.Position,POS)
1370
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
1371
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
1372
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1373
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1374
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1375
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1376
			end
1377
			for i = 1, 5 do
1378
				Swait()
1379
				BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
1380
				BEAM.Size = BEAM.Size - VT(2,0,2)
1381
				BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
1382
				BEAM2.Size = BEAM2.Size - VT(2,0,2)
1383
				RootPart.CFrame = CF(RootPart.Position,TORS.Position)
1384
				ORB.Size = ORB.Size * 0.8
1385
			end
1386
			turnto(POS)
1387
			ORB:remove()
1388
			BEAM:remove()
1389
			BEAM2:remove()
1390
			ATTACK = false
1391
			Rooted = false
1392
		end
1393
	end
1394
end
1395
1396
function ChunkChuck2()
1397
	if HITFLOOR ~= nil then
1398
		ATTACK = true
1399
		Rooted = false
1400
		for i=0, 1, 0.1 / Animation_Speed do
1401
			Swait()
1402
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
1403
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
1404
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1405
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1406
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
1407
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
1408
		end
1409
		local DIST = (RootPart.Position - HITPOS).Magnitude
1410
		RootPart.CFrame = RootPart.CFrame * CF(0,-(DIST-3),0)
1411
		for i=0, 0.1, 0.1 / Animation_Speed do
1412
			Swait()
1413
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed)
1414
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
1415
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1416
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1417
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1418
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1419
		end
1420
		CreateDebreeRing(HITFLOOR,HITPOS,15,VT(15,15,15))
1421
		CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2),3,150)
1422
		local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(25,25,25))
1423
		CHUNK.Color = HITFLOOR.Color
1424
		CHUNK.Material = HITFLOOR.Material
1425
		CHUNK.CFrame = RootPart.CFrame*CF(0,-25,-0.5)
1426
		CreateSound("260411131", CHUNK, 10, 1)
1427
		CreateSound("289842971", Torso, 3, 1)	
1428
		for i=0, 1, 0.1 / Animation_Speed do
1429
			Swait()
1430
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed)
1431
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
1432
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1433
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1434
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1435
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1436
		end
1437
		RootPart.CFrame = RootPart.CFrame * CF(0,(DIST-3),0)
1438
		CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0)
1439
		repeat
1440
			Swait()
1441
			RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1442
			CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0)
1443
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
1444
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
1445
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1446
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1447
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
1448
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
1449
		until HOLD == true
1450
		for i=0, 1, 0.1 / Animation_Speed do
1451
			Swait()
1452
			CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0)
1453
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 2 / Animation_Speed)
1454
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
1455
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1456
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1457
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
1458
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
1459
		end
1460
		coroutine.resume(coroutine.create(function()
1461
			local COLLISION = false
1462
			CHUNK.CFrame = RootPart.CFrame
1463
			for i = 1, 300 do
1464
				CHUNK.CFrame = CHUNK.CFrame * CF(0,0,-5)
1465
				killnearest(CHUNK.Position,CHUNK.Size.Z/1.8,15)
1466
				local TRAIL = CHUNK:Clone()
1467
				TRAIL.CanCollide = false
1468
				TRAIL.Transparency = 0.9
1469
				TRAIL.Parent = Effects
1470
				TRAIL.CFrame = CHUNK.CFrame
1471
				coroutine.resume(coroutine.create(function()
1472
					for i = 1, 10 do
1473
						Swait()
1474
						TRAIL.Transparency = TRAIL.Transparency + (0.1/10)
1475
					end
1476
					TRAIL:remove()
1477
				end))
1478
				local HIT = Raycast(CHUNK.Position, CHUNK.CFrame.lookVector, CHUNK.Size.Z/2, Character)
1479
				if HIT ~= nil then
1480
					COLLISION = true
1481
					break
1482
				end
1483
			end
1484
			CHUNK:remove()
1485
			if COLLISION == true then
1486
				CreateFlyingDebree(CHUNK,CF(CHUNK.Position),25,VT(10,10,10),3,MRANDOM(150,250))
1487
				killnearest(CHUNK.Position,CHUNK.Size.Z,45)
1488
			end
1489
		end))
1490
		turnto(CHUNK.Position)
1491
		for i=0, 1, 0.1 / Animation_Speed do
1492
			Swait()
1493
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
1494
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
1495
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1496
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1497
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
1498
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
1499
		end
1500
		ATTACK = false
1501
		Rooted = false
1502
	end
1503
end
1504
1505
function XEvent2()
1506
	local FLOOR,HITPOS = Raycast(RootPart.Position, CF(RootPart.Position,RootPart.Position+VT(0,-1,0)).lookVector, 100000, Character)
1507
	if FLOOR then
1508
		local BURNMARKS = {}
1509
		local POS = HITPOS
1510
		ATTACK = true
1511
		Rooted = false
1512
		local AMOUNT = 200
1513
		for i=0, 3, 0.1 / Animation_Speed do
1514
			Swait()
1515
			RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))*CF(0,0,2)
1516
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1517
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
1518
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1519
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1520
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1521
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1522
		end
1523
		CreateSound("1368583274", Effects, 10, 0.5)
1524
		local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Neon", VT(0,0,0))
1525
		MakeForm(ORB,"Ball")
1526
		ORB.Color = C3(0,0,0)
1527
		ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
1528
		for i=0, 12, 0.1 / Animation_Speed do
1529
			Swait()
1530
			ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
1531
			ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
1532
			CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(-10,-10,0))
1533
			CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(-10,-10,0))
1534
			RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))
1535
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
1536
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
1537
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1538
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1539
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1540
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1541
		end
1542
		for i = 1, 50 do
1543
			Swait()
1544
			ORB.Size = ORB.Size * 0.9
1545
			ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
1546
		end
1547
		local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Neon", VT(0,100,0))
1548
		MakeForm(BEAM,"Ball")
1549
		local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Neon", VT(0,1000,0))
1550
		MakeForm(BEAM2,"Cyl")
1551
		BEAM.CFrame = ORB.CFrame * CF(0,0,10)
1552
		ORB.Color = BRICKC("Institutional white").Color
1553
		CreateSound("1368598393", Effects, 10, 0.3)
1554
		CreateSound("1368605755", Effects, 10, 0.3)
1555
		CreateSound("1368637781", Effects, 10, 0.3)
1556
		for i = 1, 10 do
1557
			local COLOR = C3(0,0,0)
1558
			ORB.Size = VT(10,10,10)
1559
			ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
1560
			CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(10,10,0))
1561
			CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(20,20,0))
1562
			BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
1563
			BEAM.Size = BEAM.Size + VT(4,0,4)
1564
			BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
1565
			BEAM2.Size = BEAM2.Size + VT(4,0,4)
1566
			BEAM.Color = COLOR
1567
			ORB.Color = COLOR
1568
			BEAM2.Color = COLOR
1569
		end
1570
		for i = 1, 400 do
1571
			Swait()
1572
			local COLOR = C3(1,1,1)
1573
			BEAM.Color = COLOR
1574
			ORB.Color = COLOR
1575
			BEAM2.Color = COLOR
1576
			ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
1577
			BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
1578
			BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
1579
			RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))
1580
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/40,POWERLEVEL/40,0))
1581
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/30,POWERLEVEL/30,0))
1582
			local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(15,0,15)*2)
1583
			MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT))
1584
			table.insert(BURNMARKS,MARK)
1585
			MakeForm(MARK,"Cyl")
1586
			CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/50,POWERLEVEL/50,0))
1587
			CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/40,POWERLEVEL/40,0))
1588
			local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude
1589
			AMOUNT = AMOUNT - 1
1590
			--CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,AMOUNT)),1,VT(5,5,5),1,150)
1591
		end
1592
		local AMOUNT = 200
1593
		for i = 1, 400 do
1594
			Swait()
1595
			local COLOR = C3(1,1,1)
1596
			BEAM.Color = COLOR
1597
			ORB.Color = COLOR
1598
			BEAM2.Color = COLOR
1599
			ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
1600
			BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
1601
			BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
1602
			RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,-AMOUNT))
1603
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/40,POWERLEVEL/40,0))
1604
			CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/30,POWERLEVEL/30,0))
1605
			local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(15,0,15)*2)
1606
			MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT))
1607
			table.insert(BURNMARKS,MARK)
1608
			MakeForm(MARK,"Cyl")
1609
			CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/50,POWERLEVEL/50,0))
1610
			CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(POWERLEVEL/40,POWERLEVEL/40,0))
1611
			local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude
1612
			AMOUNT = AMOUNT - 1
1613
			--CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,-AMOUNT)),1,VT(5,5,5),1,150)
1614
		end
1615
		for i = 1, 40 do
1616
			Swait()
1617
			local COLOR = C3(0,0,0)
1618
			BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
1619
			BEAM.Size = BEAM.Size - VT(2,0,2)
1620
			BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
1621
			BEAM2.Size = BEAM2.Size - VT(2,0,2)
1622
			ORB.Size = ORB.Size * 0.9
1623
			BEAM.Color = COLOR
1624
			ORB.Color = COLOR
1625
			BEAM2.Color = COLOR
1626
		end
1627
		ORB:remove()
1628
		BEAM:remove()
1629
		BEAM2:remove()
1630
		CreateSound("1368583274", Effects, 10, 0.375)
1631
		local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Neon", VT(0,0,0))
1632
		MakeForm(ORB,"Ball")
1633
		ORB.Color = C3(0,0,0)
1634
		ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
1635
		for i=0, 18, 0.1 / Animation_Speed do
1636
			Swait()
1637
			ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
1638
			ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
1639
			CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(-10,-10,0))
1640
			CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(-10,-10,0))
1641
			RootPart.CFrame = CF(RootPart.Position,POS)
1642
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
1643
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
1644
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1645
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1646
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1647
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1648
		end
1649
		for i = 1, 50 do
1650
			Swait()
1651
			ORB.Size = ORB.Size * 0.9
1652
			ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
1653
		end
1654
		local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Neon", VT(0,100,0))
1655
		MakeForm(BEAM,"Ball")
1656
		local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Neon", VT(0,1000,0))
1657
		MakeForm(BEAM2,"Cyl")
1658
		BEAM.CFrame = ORB.CFrame * CF(0,0,10)
1659
		ORB.Color = BRICKC("Dark blue").Color
1660
		CreateSound("1368598393", Effects, 10, 1)
1661
		CreateSound("1368605755", Effects, 10, 1)
1662
		CreateSound("1368637781", Effects, 10, 1)
1663
		CreateSound("314970772", Effects, 10, 1)
1664
		for i = 1, 60 do
1665
			Swait()
1666
			MagicSphere(VT(0,0,0),25,CF(POS),"Dark blue",VT(15,15,15))
1667
			local COLOR = C3(0,0,0)
1668
			ORB.Size = VT(10,10,10)
1669
			ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
1670
			CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(10,10,0))
1671
			CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(20,20,0))
1672
			BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
1673
			BEAM.Size = BEAM.Size + VT(6,0,6)
1674
			BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
1675
			BEAM2.Size = BEAM2.Size + VT(6,0,6)
1676
			BEAM.Color = COLOR
1677
			ORB.Color = COLOR
1678
			BEAM2.Color = COLOR
1679
		end
1680
		for _, c in pairs(workspace:GetChildren()) do
1681
			if c ~= Character then
1682
				if c.ClassName == "Model" then
1683
					c:BreakJoints()
1684
					for _, g in pairs(c:GetChildren()) do
1685
						if g ~= Character then
1686
							if g.ClassName == "Part" then
1687
								g.Anchored = false
1688
								g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150))
1689
							end
1690
						end
1691
					end
1692
				elseif c.ClassName == "Folder" then
1693
					for _, g in pairs(c:GetChildren()) do
1694
						if g ~= Character then
1695
							if g.ClassName == "Part" then
1696
								g.Anchored = false
1697
								g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150))
1698
							end
1699
						end
1700
					end
1701
				elseif c.ClassName == "Part" then
1702
					c.Anchored = false
1703
					c.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150))
1704
				end
1705
			end
1706
		end
1707
		for e=1,#BURNMARKS do
1708
			if BURNMARKS[e]~=nil then
1709
				local Thing=BURNMARKS[e]
1710
				if Thing~=nil then
1711
					local Part=Thing
1712
					Part:remove()
1713
				end
1714
			end
1715
		end
1716
		ORB:remove()
1717
		BEAM:remove()
1718
		BEAM2:remove()
1719
		Swait(100)
1720
		for i = 1, 60 do
1721
			Swait()
1722
		end
1723
		ATTACK = false
1724
		Rooted = false
1725
	end
1726
end
1727
1728
--//=================================\\
1729
--||	  ASSIGN THINGS TO KEYS
1730
--\\=================================//
1731
1732
function MouseDown(Mouse)
1733
	HOLD = true
1734
	if ATTACK == false then
1735
	end
1736
end
1737
1738
function CastProperRay(StartPos, Vec, Length, Ignore)
1739
	local Direction = CFrame.new(StartPos, Vec).lookVector
1740
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1741
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
1742
	return RayHit, RayPos, RayNormal
1743
end
1744
1745
function MouseUp(Mouse)
1746
HOLD = false
1747
end
1748
1749
function KeyDown(Key)
1750
	KEYHOLD = true
1751
	if LIMITBROKEN == false then
1752
		if Key == "t" and ATTACK == false then
1753
			Taunt()
1754
		end
1755
	
1756
		if Key == "z" and ATTACK == false then
1757
			Warp()
1758
		end
1759
	
1760
		if Key == "b" and ATTACK == false then
1761
			RivalingOverthrower()
1762
		end
1763
	
1764
		if Key == "c" and ATTACK == false then
1765
			ChunkChuck()
1766
		end
1767
	
1768
		if Key == "v" and ATTACK == false then
1769
			if POWERLEVEL < 5 then
1770
				Boost()
1771
			end
1772
		end
1773
1774
		if Key == "q" and ATTACK == false then
1775
			BreakLimit()
1776
		end
1777
	
1778
		if Key == "x" and ATTACK == false then
1779
			XEvent()
1780
		end
1781
	else
1782
		if Key == "b" and ATTACK == false then
1783
			RivalingOverthrower2()
1784
		end
1785
1786
		if Key == "c" and ATTACK == false then
1787
			ChunkChuck2()
1788
		end
1789
1790
		if Key == "x" and ATTACK == false then
1791
			XEvent2()
1792
		end
1793
1794
		if Key == "q" and ATTACK == false then
1795
			LIMITBROKEN = false
1796
			POWERLEVEL = 1
1797
		end
1798
1799
		if Key == "w" and ATTACK == false then
1800
			FLIGHT = true
1801
			repeat
1802
				local RayHit, RayPos = CastProperRay(RootPart.Position, Mouse.Hit.p, 5, {workspace})
1803
				RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)	
1804
				Swait()	
1805
			until KEYHOLD == false
1806
			FLIGHT = false
1807
		end
1808
		if Key == "s" and ATTACK == false then
1809
			FLIGHT = true
1810
			repeat
1811
				local RayHit1, RayPos1 = CastProperRay(Mouse.Hit.p, RootPart.Position, 10000, {workspace})
1812
				local RayHit, RayPos = CastProperRay(RootPart.Position, RayPos1, 1, {workspace})
1813
				RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)	
1814
				Swait()	
1815
			until KEYHOLD == false
1816
			FLIGHT = false
1817
		end
1818
		if Key == "a" and ATTACK == false then
1819
			FLIGHT = true
1820
			repeat
1821
				local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(-1,0,0).p, 1, {workspace})
1822
				RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)	
1823
				Swait()	
1824
			until KEYHOLD == false
1825
			FLIGHT = false
1826
		end
1827
		if Key == "d" and ATTACK == false then
1828
			FLIGHT = true
1829
			repeat
1830
				local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(1,0,0).p, 1, {workspace})
1831
				RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)	
1832
				Swait()	
1833
			until KEYHOLD == false
1834
			FLIGHT = false
1835
		end
1836
	end
1837
end
1838
1839
function KeyUp(Key)
1840
	KEYHOLD = false
1841
end
1842
1843
	Mouse.Button1Down:connect(function(NEWKEY)
1844
		MouseDown(NEWKEY)
1845
	end)
1846
	Mouse.Button1Up:connect(function(NEWKEY)
1847
		MouseUp(NEWKEY)
1848
	end)
1849
	Mouse.KeyDown:connect(function(NEWKEY)
1850
		KeyDown(NEWKEY)
1851
	end)
1852
	Mouse.KeyUp:connect(function(NEWKEY)
1853
		KeyUp(NEWKEY)
1854
	end)
1855
1856
--//=================================\\
1857
--\\=================================//
1858
1859
1860
function unanchor()
1861
	if UNANCHOR == true then
1862
		g = Character:GetChildren()
1863
		for i = 1, #g do
1864
			if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
1865
				g[i].Anchored = false
1866
			end
1867
			if g[i].ClassName == "Accessory" then
1868
				g[i].Handle.Anchored = false
1869
			end
1870
		end
1871
		if LIMITBROKEN == false then
1872
			RootPart.Anchored = false
1873
		end
1874
	end
1875
end
1876
1877
1878
--//=================================\\
1879
--||	WRAP THE WHOLE SCRIPT UP
1880
--\\=================================//
1881
1882
Humanoid.Changed:connect(function(Jump)
1883
	if Jump == "Jump" and (Disable_Jump == true) then
1884
		Humanoid.Jump = false
1885
	end
1886
end)
1887
1888
Speed = 12
1889
Humanoid.JumpPower = 200
1890
1891
local FF = IT("ForceField",Character)
1892
FF.Visible = false
1893
1894
while true do
1895
	Swait()
1896
	ANIMATE.Parent = nil
1897
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1898
	IDLEANIMATION:Play()
1899
	SINE = SINE + CHANGE
1900
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1901
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1902
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1903
	if LIMITBROKEN == false then
1904
		HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
1905
		if HITFLOOR ~= nil then
1906
			if HITFLOOR.CanCollide == false then
1907
				HITFLOOR = nil
1908
			end
1909
		end
1910
		local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1911
		if ANIM == "Walk" and TORSOVELOCITY > 1 then
1912
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1913
			Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1914
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1915
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1916
		elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1917
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1918
			Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1919
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1920
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1921
		end
1922
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1923
			ANIM = "Jump"
1924
			if ATTACK == false then
1925
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1926
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
1927
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1928
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1929
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
1930
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
1931
		    end
1932
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1933
			ANIM = "Fall"
1934
			if ATTACK == false then
1935
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1936
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
1937
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1938
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1939
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
1940
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
1941
			end
1942
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1943
			if ANIM == "Fall" then
1944
				Rooted = true
1945
				CreateSound("289842971", Torso, 3, 1)
1946
				Humanoid.WalkSpeed = 0
1947
				CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50)
1948
				CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Dark blue",VT(1,0.1,1))
1949
				for i=0, 1, 0.1 / Animation_Speed do
1950
					Swait()
1951
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed)
1952
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1953
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1954
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1955
					RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1956
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
1957
				end
1958
				Rooted = false
1959
			end
1960
			ANIM = "Idle"
1961
			if ATTACK == false then
1962
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
1963
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
1964
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1965
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1966
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
1967
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-35 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
1968
			end
1969
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1970
			if ANIM == "Fall" then
1971
				Rooted = true
1972
				CreateSound("289842971", Torso, 3, 1)	
1973
				Humanoid.WalkSpeed = 0
1974
				CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50)
1975
				CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Dark blue",VT(1,0.1,1))
1976
				for i=0, 1, 0.1 / Animation_Speed do
1977
					Swait()
1978
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed)
1979
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1980
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1981
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1982
					RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1983
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
1984
				end
1985
				Rooted = false
1986
			end
1987
			ANIM = "Walk"
1988
			WALK = WALK + 1 / Animation_Speed
1989
			if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
1990
				WALK = 0
1991
				if WALKINGANIM == true then
1992
					WALKINGANIM = false
1993
				elseif WALKINGANIM == false then
1994
					WALKINGANIM = true
1995
				end
1996
			end
1997
			--RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1998
			--LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1999
			if ATTACK == false then
2000
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 2 / Animation_Speed)
2001
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(2 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0)), 2 / Animation_Speed)
2002
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2003
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2004
				RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2005
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2006
			end
2007
		end
2008
		if ATTACK == false and POWERLEVEL > 2 then
2009
			killnearest(Torso.Position,POWERLEVEL*2,15)
2010
		end
2011
		if sick.SoundId ~= "rbxassetid://1494452913" then
2012
			sick.SoundId = "rbxassetid://1494452913"
2013
			sick.Volume = 4
2014
			sick:Play()
2015
		end
2016
		sick.Pitch = (1-((POWERLEVEL-1))/15)
2017
		SKILL6TEXT.Text = "Power level: ["..POWERLEVEL.."]"
2018
	else
2019
		VALUE2 = false
2020
		if ATTACK == false and POWERLEVEL > 2 then
2021
			killnearest(Torso.Position,15,15)
2022
		end
2023
		local RANDOM = MRANDOM(1,4)
2024
		if MRANDOM(1,5) == 1 then
2025
			CreateRing(VT(15,15,0)*RANDOM,false,0,15,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(-1,-1,0)*RANDOM)
2026
		end
2027
		if MRANDOM(1,5) == 1 then
2028
			CreateRing(VT(15,15,0)*RANDOM,false,0,15,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Dark blue",VT(-1,-1,0)*RANDOM)
2029
		end
2030
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2031
		Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2032
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2033
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2034
		POWERLEVEL = 100
2035
		RootPart.Anchored = true
2036
		if FLIGHT == false then
2037
			ANIM = "Levitate"
2038
			if ATTACK == false then
2039
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2040
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
2041
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2042
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2043
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
2044
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
2045
			end
2046
		else
2047
			ANIM = "Fly"
2048
			if ATTACK == false then
2049
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
2050
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2 / Animation_Speed)
2051
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2052
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2053
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
2054
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
2055
			end
2056
		end
2057
		SKILL6TEXT.Text = "Power level: ["..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9).."]"
2058
		HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 75, Character)
2059
		if sick.SoundId ~= "rbxassetid://1494452913" then
2060
			sick.SoundId = "rbxassetid://1494452913"
2061
			sick.Volume = 5
2062
			sick:Play()
2063
			sick.Pitch = 2
2064
		end
2065
	end
2066
	unanchor()
2067
	Humanoid.MaxHealth = "inf"
2068
	Humanoid.Health = "inf"
2069
	if Rooted == false then
2070
		Disable_Jump = false
2071
		if ANIM == "Jump" or ANIM == "Fall" then
2072
			Humanoid.WalkSpeed = Speed*3
2073
		else
2074
			Humanoid.WalkSpeed = Speed
2075
		end
2076
	elseif Rooted == true then
2077
		Disable_Jump = true
2078
		Humanoid.WalkSpeed = 0
2079
	end
2080
	q = Character:GetChildren()
2081
	for u = 1, #q do
2082
		if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
2083
			if q[u].Handle:FindFirstChild("PE") == nil then
2084
				particles(q[u].Handle)
2085
			elseif q[u].Handle:FindFirstChild("PE") then
2086
				if LIMITBROKEN == false then
2087
					local EyeSizes={
2088
						NumberSequenceKeypoint.new(0,POWERLEVEL/2,0),
2089
						NumberSequenceKeypoint.new(1,0,0)
2090
					}
2091
					q[u].Handle.PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0)
2092
					q[u].Handle.PE.Speed = NumberRange.new(POWERLEVEL)
2093
					q[u].Handle.PE.Size=NumberSequence.new(EyeSizes)
2094
				else
2095
					local EyeSizes={
2096
						NumberSequenceKeypoint.new(0,4,0),
2097
						NumberSequenceKeypoint.new(1,0,0)
2098
					}
2099
					q[u].Handle.PE.Acceleration = Vector3.new(0,100,0)
2100
					q[u].Handle.PE.Speed = NumberRange.new(25)
2101
					q[u].Handle.PE.Size=NumberSequence.new(EyeSizes)
2102
				end
2103
			end
2104
		elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
2105
			if q[u]:FindFirstChild("PE") == nil then
2106
				particles(q[u])
2107
			elseif q[u]:FindFirstChild("PE") then
2108
				if LIMITBROKEN == false then
2109
					local EyeSizes={
2110
						NumberSequenceKeypoint.new(0,POWERLEVEL/2,0),
2111
						NumberSequenceKeypoint.new(1,0,0)
2112
					}
2113
					q[u].PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0)
2114
					q[u].PE.Speed = NumberRange.new(POWERLEVEL)
2115
					q[u].PE.Size=NumberSequence.new(EyeSizes)
2116
				else
2117
					local EyeSizes={
2118
						NumberSequenceKeypoint.new(0,4,0),
2119
						NumberSequenceKeypoint.new(1,0,0)
2120
					}
2121
					q[u].PE.Acceleration = Vector3.new(0,100,0)
2122
					q[u].PE.Speed = NumberRange.new(25)
2123
					q[u].PE.Size=NumberSequence.new(EyeSizes)
2124
				end
2125
			end
2126
		end
2127
	end
2128
	script.Parent = PlayerGui
2129
	if VALUE2 == false then
2130
		if HITFLOOR ~= nil then
2131
			CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Dark blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
2132
		end
2133
		Speed = 12
2134
		Character.Parent = workspace
2135
		Weapon.Parent = Character
2136
	elseif VALUE2 == true then
2137
		Speed = 45
2138
		Character.Parent = Cam
2139
		Weapon.Parent = workspace
2140
	end
2141
	Effects.Parent = Weapon
2142
	FF.Parent = Character
2143
	local MATHS = {"0","1"}
2144
	Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
2145
	Humanoid.PlatformStand = false
2146
	sick.Parent = Character
2147
end
2148
2149
--//=================================\\
2150
--\\=================================//
2151
2152
2153
2154
2155
2156
--//====================================================\\--
2157
--||			  		 END OF SCRIPT
2158
--\\====================================================//--