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