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