View difference between Paste ID: Buxbb4zU and 3Sa49GrU
SHOW: | | - or go back to the newest paste.
1
---------------
2
--Nahid pandora--
3
----------------------------------------------------------------
4
print([[
5
--made by 
6-
--Edited by ozzak1003--
6+
--Edited by micheal2358--
7
--YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A--
8
--Discord: ozzak1003ripagain#3275
9
--------------------------------
10
hello good sir
11
Don't leak pls
12
Enjoy ;)
13
--------------------------------
14
]])
15
wait(0.2)
16
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
17
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
18
do
19
	print("FE Compatibility code by Mokiros")
20
	script.Parent = Player.Character
21
22
	--RemoteEvent for communicating
23
	local Event = Instance.new("RemoteEvent")
24
	Event.Name = "UserInput_Event"
25
26
	--Fake event to make stuff like Mouse.KeyDown work
27
	local function fakeEvent()
28
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
29
		t.connect = t.Connect
30
		return t
31
	end
32
33
	--Creating fake input objects with fake variables
34
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
35
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
36
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
37
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
38
	end}
39
	--Merged 2 functions into one by checking amount of arguments
40
	CAS.UnbindAction = CAS.BindAction
41
42
	--This function will trigger the events that have been :Connect()'ed
43
	local function te(self,ev,...)
44
		local t = m[ev]
45
		if t and t._fakeEvent and t.Function then
46
			t.Function(...)
47
		end
48
	end
49
	m.TrigEvent = te
50
	UIS.TrigEvent = te
51
52
	Event.OnServerEvent:Connect(function(plr,io)
53
	    if plr~=Player then return end
54
		if io.isMouse then
55
			m.Target = io.Target
56
			m.Hit = io.Hit
57
		else
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			for _,t in pairs(CAS.Actions) do
63
				for _,k in pairs(t.Keys) do
64
					if k==io.KeyCode then
65
						t.Function(t.Name,io.UserInputState,io)
66
					end
67
				end
68
			end
69
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
70
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
71
	    end
72
	end)
73
	Event.Parent = NLS([==[
74
	local Player = game:GetService("Players").LocalPlayer
75
	local Event = script:WaitForChild("UserInput_Event")
76
77
	local UIS = game:GetService("UserInputService")
78
	local input = function(io,a)
79
		if a then return end
80
		--Since InputObject is a client-side instance, we create and pass table instead
81
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
82
	end
83
	UIS.InputBegan:Connect(input)
84
	UIS.InputEnded:Connect(input)
85
86
	local Mouse = Player:GetMouse()
87
	local h,t
88
	--Give the server mouse data 30 times every second, but only if the values changed
89
	--If player is not moving their mouse, client won't fire events
90
	while wait(1/30) do
91
		if h~=Mouse.Hit or t~=Mouse.Target then
92
			h,t=Mouse.Hit,Mouse.Target
93
			Event:FireServer({isMouse=true,Target=t,Hit=h})
94
		end
95
	end]==],Player.Character)
96
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
97
end
98
Player = owner
99
PlayerGui = Player.PlayerGui
100
Cam = workspace.CurrentCamera
101
Backpack = Player.Backpack
102
Character = Player.Character
103
Humanoid = Character.Humanoid
104
RootPart = Character["HumanoidRootPart"]
105
Torso = Character["Torso"]
106
Head = Character["Head"]
107
RightArm = Character["Right Arm"]
108
LeftArm = Character["Left Arm"]
109
RightLeg = Character["Right Leg"]
110
LeftLeg = Character["Left Leg"]
111
RootJoint = RootPart["RootJoint"]
112
Neck = Torso["Neck"]
113
RightShoulder = Torso["Right Shoulder"]
114
LeftShoulder = Torso["Left Shoulder"]
115
RightHip = Torso["Right Hip"]
116
LeftHip = Torso["Left Hip"]
117
Character.Archivable = true
118
Player:ClearCharacterAppearance()
119
120
IT = Instance.new
121
CF = CFrame.new
122
VT = Vector3.new
123
RAD = math.rad
124
C3 = Color3.new
125
UD2 = UDim2.new
126
BRICKC = BrickColor.new
127
ANGLES = CFrame.Angles
128
EULER = CFrame.fromEulerAnglesXYZ
129
COS = math.cos
130
ACOS = math.acos
131
SIN = math.sin
132
ASIN = math.asin
133
ABS = math.abs
134
MRANDOM = math.random
135
FLOOR = math.floor
136
137
--//=================================\\
138
--|| 	      USEFUL VALUES
139
--\\=================================//
140
141
Animation_Speed = 3
142
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
143
local Speed = 20
144
local SIZE = 1
145
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
146
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
147
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
148
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
149
local DAMAGEMULTIPLIER = 1
150
local ANIM = "Idle"
151
local ATTACK = false
152
local EQUIPPED = false
153
local HOLD = false
154
local COMBO = 1
155
local Rooted = false
156
local SINE = 0
157
local KEYHOLD = false
158
local CHANGE = 2 / Animation_Speed
159
local WALKINGANIM = false
160
local VALUE1 = false
161
local VALUE2 = false
162
local ROBLOXIDLEANIMATION = IT("Animation")
163
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
164
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
165
local ATANIM = IT("Animation")
166
ATANIM.Name = "Attack Animation"
167
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
168
--ROBLOXIDLEANIMATION.Parent = Humanoid
169
local WEAPONGUI = IT("ScreenGui", PlayerGui)
170
WEAPONGUI.Name = "Weapon GUI"
171
local Weapon = IT("Model")
172
Weapon.Name = "Adds"
173
local Effects = IT("Folder", Weapon)
174
Effects.Name = "Effects"
175
local ANIMATOR = Humanoid.Animator
176
local ANIMATE = Character.Animate
177
local UNANCHOR = true
178
local CLOCKLOOP = 0
179-
local SONG = 1382488262
179+
local SONG = 1117396305
180-
local CLOCKTARGET = nil
180+
181-
local CLOCKSPEED = 1
181+
182
CLONE.Parent = nil
183
Character.Archivable = false
184
local sick = Instance.new("Sound",Torso)
185
local PLAYSONG = true
186
local MODE = "Main"
187
local BOLTSOUNDS = {168586621,168586586,178452241}
188
189
--//=================================\\
190
--\\=================================//
191
192
193
--//=================================\\
194
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
195
--\\=================================//
196
197
ArtificialHB = Instance.new("BindableEvent", script)
198
ArtificialHB.Name = "ArtificialHB"
199
200
script:WaitForChild("ArtificialHB")
201
202
frame = Frame_Speed
203
tf = 0
204
allowframeloss = false
205
tossremainder = false
206
lastframe = tick()
207
script.ArtificialHB:Fire()
208
209
game:GetService("RunService").Heartbeat:connect(function(s, p)
210
	tf = tf + s
211
	if tf >= frame then
212
		if allowframeloss then
213
			script.ArtificialHB:Fire()
214
			lastframe = tick()
215
		else
216
			for i = 1, math.floor(tf / frame) do
217
				script.ArtificialHB:Fire()
218
			end
219
		lastframe = tick()
220
		end
221
		if tossremainder then
222
			tf = 0
223
		else
224
			tf = tf - frame * math.floor(tf / frame)
225
		end
226
	end
227
end)
228
229
--//=================================\\
230
--\\=================================//
231
232
--//=================================\\
233
--|| 	      SOME FUNCTIONS
234
--\\=================================//
235
236
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
237
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
238
end
239
240
function PositiveAngle(NUMBER)
241
	if NUMBER >= 0 then
242
		NUMBER = 0
243
	end
244
	return NUMBER
245
end
246
247
function NegativeAngle(NUMBER)
248
	if NUMBER <= 0 then
249
		NUMBER = 0
250
	end
251
	return NUMBER
252
end
253
254
function Swait(NUMBER)
255
	if NUMBER == 0 or NUMBER == nil then
256
		ArtificialHB.Event:wait()
257
	else
258
		for i = 1, NUMBER do
259
			ArtificialHB.Event:wait()
260
		end
261
	end
262
end
263
264
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
265
	local NEWMESH = IT(MESH)
266
	if MESH == "SpecialMesh" then
267
		NEWMESH.MeshType = MESHTYPE
268
		if MESHID ~= "nil" and MESHID ~= "" then
269
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
270
		end
271
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
272
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
273
		end
274
	end
275
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
276
	NEWMESH.Scale = SCALE
277
	NEWMESH.Parent = PARENT
278
	return NEWMESH
279
end
280
281
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
282
	local NEWPART = IT("Part")
283
	NEWPART.formFactor = FORMFACTOR
284
	NEWPART.Reflectance = REFLECTANCE
285
	NEWPART.Transparency = TRANSPARENCY
286
	NEWPART.CanCollide = false
287
	NEWPART.Locked = true
288
	NEWPART.Anchored = true
289
	if ANCHOR == false then
290
		NEWPART.Anchored = false
291
	end
292
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
293
	NEWPART.Name = NAME
294
	NEWPART.Size = SIZE
295
	NEWPART.Position = Torso.Position
296
	NEWPART.Material = MATERIAL
297
	NEWPART:BreakJoints()
298
	NEWPART.Parent = PARENT
299
	return NEWPART
300
end
301
302
	local function weldBetween(a, b)
303
	    local weldd = Instance.new("ManualWeld")
304
	    weldd.Part0 = a
305
	    weldd.Part1 = b
306
	    weldd.C0 = CFrame.new()
307
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
308
	    weldd.Parent = a
309
	    return weldd
310
	end
311
312
313
function QuaternionFromCFrame(cf)
314
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
315
	local trace = m00 + m11 + m22
316
	if trace > 0 then 
317
		local s = math.sqrt(1 + trace)
318
		local recip = 0.5 / s
319
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
320
	else
321
		local i = 0
322
		if m11 > m00 then
323
			i = 1
324
		end
325
		if m22 > (i == 0 and m00 or m11) then
326
			i = 2
327
		end
328
		if i == 0 then
329
			local s = math.sqrt(m00 - m11 - m22 + 1)
330
			local recip = 0.5 / s
331
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
332
		elseif i == 1 then
333
			local s = math.sqrt(m11 - m22 - m00 + 1)
334
			local recip = 0.5 / s
335
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
336
		elseif i == 2 then
337
			local s = math.sqrt(m22 - m00 - m11 + 1)
338
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
339
		end
340
	end
341
end
342
 
343
function QuaternionToCFrame(px, py, pz, x, y, z, w)
344
	local xs, ys, zs = x + x, y + y, z + z
345
	local wx, wy, wz = w * xs, w * ys, w * zs
346
	local xx = x * xs
347
	local xy = x * ys
348
	local xz = x * zs
349
	local yy = y * ys
350
	local yz = y * zs
351
	local zz = z * zs
352
	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))
353
end
354
 
355
function QuaternionSlerp(a, b, t)
356
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
357
	local startInterp, finishInterp;
358
	if cosTheta >= 0.0001 then
359
		if (1 - cosTheta) > 0.0001 then
360
			local theta = ACOS(cosTheta)
361
			local invSinTheta = 1 / SIN(theta)
362
			startInterp = SIN((1 - t) * theta) * invSinTheta
363
			finishInterp = SIN(t * theta) * invSinTheta
364
		else
365
			startInterp = 1 - t
366
			finishInterp = t
367
		end
368
	else
369
		if (1 + cosTheta) > 0.0001 then
370
			local theta = ACOS(-cosTheta)
371
			local invSinTheta = 1 / SIN(theta)
372
			startInterp = SIN((t - 1) * theta) * invSinTheta
373
			finishInterp = SIN(t * theta) * invSinTheta
374
		else
375
			startInterp = t - 1
376
			finishInterp = t
377
		end
378
	end
379
	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
380
end
381
382
function Clerp(a, b, t)
383
	local qa = {QuaternionFromCFrame(a)}
384
	local qb = {QuaternionFromCFrame(b)}
385
	local ax, ay, az = a.x, a.y, a.z
386
	local bx, by, bz = b.x, b.y, b.z
387
	local _t = 1 - t
388
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
389
end
390
391
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
392
	local frame = IT("Frame")
393
	frame.BackgroundTransparency = TRANSPARENCY
394
	frame.BorderSizePixel = BORDERSIZEPIXEL
395
	frame.Position = POSITION
396
	frame.Size = SIZE
397
	frame.BackgroundColor3 = COLOR
398
	frame.BorderColor3 = BORDERCOLOR
399
	frame.Name = NAME
400
	frame.Parent = PARENT
401
	return frame
402
end
403
404
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
405
	local label = IT("TextLabel")
406
	label.BackgroundTransparency = 1
407
	label.Size = UD2(1, 0, 1, 0)
408
	label.Position = UD2(0, 0, 0, 0)
409
	label.TextColor3 = TEXTCOLOR
410
	label.TextStrokeTransparency = STROKETRANSPARENCY
411
	label.TextTransparency = TRANSPARENCY
412
	label.FontSize = TEXTFONTSIZE
413
	label.Font = TEXTFONT
414
	label.BorderSizePixel = BORDERSIZEPIXEL
415
	label.TextScaled = false
416
	label.Text = TEXT
417
	label.Name = NAME
418
	label.Parent = PARENT
419
	return label
420
end
421
422
function NoOutlines(PART)
423
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
424
end
425
426
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
427
	local NEWWELD = IT(TYPE)
428
	NEWWELD.Part0 = PART0
429
	NEWWELD.Part1 = PART1
430
	NEWWELD.C0 = C0
431
	NEWWELD.C1 = C1
432
	NEWWELD.Parent = PARENT
433
	return NEWWELD
434
end
435
436
local S = IT("Sound")
437
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
438
	local NEWSOUND = nil
439
	coroutine.resume(coroutine.create(function()
440
		NEWSOUND = S:Clone()
441
		NEWSOUND.Parent = PARENT
442
		NEWSOUND.Volume = VOLUME
443
		NEWSOUND.Pitch = PITCH
444
		NEWSOUND.SoundId = "rbxassetid://"..ID
445
		NEWSOUND:play()
446
		if DOESLOOP == true then
447
			NEWSOUND.Looped = true
448
		else
449
			repeat wait(1) until NEWSOUND.Playing == false
450
			NEWSOUND:remove()
451
		end
452
	end))
453
	return NEWSOUND
454
end
455
456
function CFrameFromTopBack(at, top, back)
457
	local right = top:Cross(back)
458
	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)
459
end
460
461
function R_RANDOM(CFRAME,DIST)
462
	return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
463
end
464
465
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
466
function WACKYEFFECT(Table)
467
	local TYPE = (Table.EffectType or "Sphere")
468
	local SIZE = (Table.Size or VT(1,1,1))
469
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
470
	local TRANSPARENCY = (Table.Transparency or 0)
471
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
472
	local CFRAME = (Table.CFrame or Torso.CFrame)
473
	local MOVEDIRECTION = (Table.MoveToPos or nil)
474
	local ROTATION1 = (Table.RotationX or 0)
475
	local ROTATION2 = (Table.RotationY or 0)
476
	local ROTATION3 = (Table.RotationZ or 0)
477
	local MATERIAL = (Table.Material or "Neon")
478
	local COLOR = (Table.Color or C3(1,1,1))
479
	local TIME = (Table.Time or 45)
480
	local SOUNDID = (Table.SoundID or nil)
481
	local SOUNDPITCH = (Table.SoundPitch or nil)
482
	local SOUNDVOLUME = (Table.SoundVolume or nil)
483
	local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
484
	local BOOMERANG = (Table.Boomerang or 0)
485
	local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
486
	coroutine.resume(coroutine.create(function()
487
		local PLAYSSOUND = false
488
		local SOUND = nil
489
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
490
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
491
			PLAYSSOUND = true
492
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
493
		end
494
		EFFECT.Color = COLOR
495
		local MSH = nil
496
		if TYPE == "Sphere" then
497
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
498
		elseif TYPE == "Block" or TYPE == "Box" then
499
			MSH = IT("BlockMesh",EFFECT)
500
			MSH.Scale = SIZE
501
		elseif TYPE == "Wave" then
502
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
503
		elseif TYPE == "Ring" then
504
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
505
		elseif TYPE == "Slash" then
506
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
507
		elseif TYPE == "Round Slash" then
508
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
509
		elseif TYPE == "Swirl" then
510
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
511
		elseif TYPE == "Skull" then
512
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
513
		elseif TYPE == "Crystal" then
514
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
515
		end
516
		if MSH ~= nil then
517
			local BOOMR1 = 1+BOOMERANG/50
518
			local BOOMR2 = 1+SIZEBOOMERANG/50
519
			local MOVESPEED = nil
520
			if MOVEDIRECTION ~= nil then
521
				if USEBOOMERANGMATH == true then
522
					MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
523
				else
524
					MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
525
				end
526
			end
527
			local GROWTH = nil
528
			if USEBOOMERANGMATH == true then
529
				GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
530
			else
531
				GROWTH = (SIZE - ENDSIZE)
532
			end
533
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
534
			if TYPE == "Block" then
535
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
536
			else
537
				EFFECT.CFrame = CFRAME
538
			end
539
			if USEBOOMERANGMATH == true then
540
				for LOOP = 1, TIME+1 do
541
					Swait()
542
					MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
543
					if TYPE == "Wave" then
544
						MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
545
					end
546
					EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
547
					if TYPE == "Block" then
548
						EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
549
					else
550
						EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
551
					end
552
					if MOVEDIRECTION ~= nil then
553
						local ORI = EFFECT.Orientation
554
						EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
555
						EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
556
					end
557
				end
558
			else
559
				for LOOP = 1, TIME+1 do
560
					Swait()
561
					MSH.Scale = MSH.Scale - GROWTH/TIME
562
					if TYPE == "Wave" then
563
						MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
564
					end
565
					EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
566
					if TYPE == "Block" then
567
						EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
568
					else
569
						EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
570
					end
571
					if MOVEDIRECTION ~= nil then
572
						local ORI = EFFECT.Orientation
573
						EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
574
						EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
575
					end
576
				end
577
			end
578
			EFFECT.Transparency = 1
579
			if PLAYSSOUND == false then
580
				EFFECT:remove()
581
			else
582
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
583
				EFFECT:remove()
584
			end
585
		else
586
			if PLAYSSOUND == false then
587
				EFFECT:remove()
588
			else
589
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
590
				EFFECT:remove()
591
			end
592
		end
593
	end))
594
end
595
596
function MakeForm(PART,TYPE)
597
	if TYPE == "Cyl" then
598
		local MSH = IT("CylinderMesh",PART)
599
	elseif TYPE == "Ball" then
600
		local MSH = IT("SpecialMesh",PART)
601
		MSH.MeshType = "Sphere"
602
	elseif TYPE == "Wedge" then
603
		local MSH = IT("SpecialMesh",PART)
604
		MSH.MeshType = "Wedge"
605
	end
606
end
607
608
Debris = game:GetService("Debris")
609
610
function CastProperRay(StartPos, EndPos, Distance, Ignore)
611
	local DIRECTION = CF(StartPos,EndPos).lookVector
612
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
613
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
614
end
615
616
local DECAL = IT("Decal")
617
function MagicRing()
618
	local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
619
	local MESH = IT("BlockMesh",RING)
620
	local BOTTOMTEXTURE = DECAL:Clone()
621
	BOTTOMTEXTURE.Parent = RING
622
	BOTTOMTEXTURE.Face = "Bottom"
623
	BOTTOMTEXTURE.Name = "BottomTexture"
624
	local TOPTEXTURE = DECAL:Clone()
625
	TOPTEXTURE.Parent = RING
626
	TOPTEXTURE.Face = "Top"
627
	TOPTEXTURE.Name = "TopTexture"
628
	BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
629
	TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
630
	BOTTOMTEXTURE.Color3 = C3(0,0,0)
631
	TOPTEXTURE.Color3 = C3(0,0,0)
632
	return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
633
end
634
635
function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
636
	coroutine.resume(coroutine.create(function()
637
		local FADE = IT("Model",Effects)
638
		if PARENT ~= nil then
639
			FADE.Parent = PARENT
640
		end
641
		FADE.Name = "FadingEffect"
642
		for _, c in pairs(Character:GetChildren()) do
643
			if c.ClassName == "Part" then
644
				c.CanCollide = false
645
				local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
646
				FADER.CFrame = c.CFrame
647
				FADER.Color = COLOR
648
				if FADER.Name == "Head" then
649
					Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
650
				elseif FADER.Name == "HumanoidRootPart" then
651
					FADE.PrimaryPart = FADER
652
					FADER.Transparency = 1
653
				end
654
			end
655
		end
656
		local TRANS = 0.25/TIMER
657
		local DIST = nil
658
		if MOVEDIRECTION ~= nil then
659
			DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
660
		end
661
		for i = 1, TIMER do
662
			Swait()
663
			for _, c in pairs(FADE:GetChildren()) do
664
				if c.ClassName == "Part" then
665
					c.Transparency = c.Transparency + TRANS
666
				end
667
			end
668
			if MOVEDIRECTION ~= nil then
669
				local ORI = FADE.PrimaryPart.Orientation
670
				FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
671
			end
672
		end
673
		FADE:remove()
674
	end))
675
end
676
677
--
678
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
679
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
680
end
681
682
function PositiveAngle(NUMBER)
683
	if NUMBER >= 0 then
684
		NUMBER = 0
685
	end
686
	return NUMBER
687
end
688
689
function NegativeAngle(NUMBER)
690
	if NUMBER <= 0 then
691
		NUMBER = 0
692
	end
693
	return NUMBER
694
end
695
696
function Swait(NUMBER)
697
	if NUMBER == 0 or NUMBER == nil then
698
		ArtificialHB.Event:wait()
699
	else
700
		for i = 1, NUMBER do
701
			ArtificialHB.Event:wait()
702
		end
703
	end
704
end
705
706
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
707
	local NEWMESH = IT(MESH)
708
	if MESH == "SpecialMesh" then
709
		NEWMESH.MeshType = MESHTYPE
710
		if MESHID ~= "nil" and MESHID ~= "" then
711
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
712
		end
713
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
714
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
715
		end
716
	end
717
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
718
	NEWMESH.Scale = SCALE
719
	NEWMESH.Parent = PARENT
720
	return NEWMESH
721
end
722
723
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
724
	local NEWPART = IT("Part")
725
	NEWPART.formFactor = FORMFACTOR
726
	NEWPART.Reflectance = REFLECTANCE
727
	NEWPART.Transparency = TRANSPARENCY
728
	NEWPART.CanCollide = false
729
	NEWPART.Locked = true
730
	NEWPART.Anchored = true
731
	if ANCHOR == false then
732
		NEWPART.Anchored = false
733
	end
734
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
735
	NEWPART.Name = NAME
736
	NEWPART.Size = SIZE
737
	NEWPART.Position = Torso.Position
738
	NEWPART.Material = MATERIAL
739
	NEWPART:BreakJoints()
740
	NEWPART.Parent = PARENT
741
	return NEWPART
742
end
743
744
	local function weldBetween(a, b)
745
	    local weldd = Instance.new("ManualWeld")
746
	    weldd.Part0 = a
747
	    weldd.Part1 = b
748
	    weldd.C0 = CFrame.new()
749
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
750
	    weldd.Parent = a
751
	    return weldd
752
	end
753
754
755
function QuaternionFromCFrame(cf)
756
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
757
	local trace = m00 + m11 + m22
758
	if trace > 0 then 
759
		local s = math.sqrt(1 + trace)
760
		local recip = 0.5 / s
761
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
762
	else
763
		local i = 0
764
		if m11 > m00 then
765
			i = 1
766
		end
767
		if m22 > (i == 0 and m00 or m11) then
768
			i = 2
769
		end
770
		if i == 0 then
771
			local s = math.sqrt(m00 - m11 - m22 + 1)
772
			local recip = 0.5 / s
773
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
774
		elseif i == 1 then
775
			local s = math.sqrt(m11 - m22 - m00 + 1)
776
			local recip = 0.5 / s
777
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
778
		elseif i == 2 then
779
			local s = math.sqrt(m22 - m00 - m11 + 1)
780
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
781
		end
782
	end
783
end
784
 
785
function QuaternionToCFrame(px, py, pz, x, y, z, w)
786
	local xs, ys, zs = x + x, y + y, z + z
787
	local wx, wy, wz = w * xs, w * ys, w * zs
788
	local xx = x * xs
789
	local xy = x * ys
790
	local xz = x * zs
791
	local yy = y * ys
792
	local yz = y * zs
793
	local zz = z * zs
794
	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))
795
end
796
 
797
function QuaternionSlerp(a, b, t)
798
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
799
	local startInterp, finishInterp;
800
	if cosTheta >= 0.0001 then
801
		if (1 - cosTheta) > 0.0001 then
802
			local theta = ACOS(cosTheta)
803
			local invSinTheta = 1 / SIN(theta)
804
			startInterp = SIN((1 - t) * theta) * invSinTheta
805
			finishInterp = SIN(t * theta) * invSinTheta
806
		else
807
			startInterp = 1 - t
808
			finishInterp = t
809
		end
810
	else
811
		if (1 + cosTheta) > 0.0001 then
812
			local theta = ACOS(-cosTheta)
813
			local invSinTheta = 1 / SIN(theta)
814
			startInterp = SIN((t - 1) * theta) * invSinTheta
815
			finishInterp = SIN(t * theta) * invSinTheta
816
		else
817
			startInterp = t - 1
818
			finishInterp = t
819
		end
820
	end
821
	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
822
end
823
824
function Clerp(a, b, t)
825
	local qa = {QuaternionFromCFrame(a)}
826
	local qb = {QuaternionFromCFrame(b)}
827
	local ax, ay, az = a.x, a.y, a.z
828
	local bx, by, bz = b.x, b.y, b.z
829
	local _t = 1 - t
830
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
831
end
832
833
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
834
	local frame = IT("Frame")
835
	frame.BackgroundTransparency = TRANSPARENCY
836
	frame.BorderSizePixel = BORDERSIZEPIXEL
837
	frame.Position = POSITION
838
	frame.Size = SIZE
839
	frame.BackgroundColor3 = COLOR
840
	frame.BorderColor3 = BORDERCOLOR
841
	frame.Name = NAME
842
	frame.Parent = PARENT
843
	return frame
844
end
845
846
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
847
	local label = IT("TextLabel")
848
	label.BackgroundTransparency = 1
849
	label.Size = UD2(1, 0, 1, 0)
850
	label.Position = UD2(0, 0, 0, 0)
851
	label.TextColor3 = TEXTCOLOR
852
	label.TextStrokeTransparency = STROKETRANSPARENCY
853
	label.TextTransparency = TRANSPARENCY
854
	label.FontSize = TEXTFONTSIZE
855
	label.Font = TEXTFONT
856
	label.BorderSizePixel = BORDERSIZEPIXEL
857
	label.TextStrokeColor3 = C3(0,0,0)
858
	label.TextScaled = false
859
	label.Text = TEXT
860
	label.Name = NAME
861
	label.Parent = PARENT
862
	return label
863
end
864
865
function NoOutlines(PART)
866
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
867
end
868
869
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
870
	local NEWWELD = IT(TYPE)
871
	NEWWELD.Part0 = PART0
872
	NEWWELD.Part1 = PART1
873
	NEWWELD.C0 = C0
874
	NEWWELD.C1 = C1
875
	NEWWELD.Parent = PARENT
876
	return NEWWELD
877
end
878
879
local S = IT("Sound")
880
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
881
	local NEWSOUND = nil
882
	coroutine.resume(coroutine.create(function()
883
		NEWSOUND = S:Clone()
884
		NEWSOUND.Parent = PARENT
885
		NEWSOUND.Volume = VOLUME
886
		NEWSOUND.Pitch = PITCH
887
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
888
		NEWSOUND:play()
889
		if DOESLOOP == true then
890
			NEWSOUND.Looped = true
891
		else
892
			repeat wait(1) until NEWSOUND.Playing == false
893
			NEWSOUND:remove()
894
		end
895
	end))
896
	return NEWSOUND
897
end
898
899
function CFrameFromTopBack(at, top, back)
900
	local right = top:Cross(back)
901
	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)
902
end
903
904
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
905
function WACKYEFFECT(Table)
906
	local TYPE = (Table.EffectType or "Sphere")
907
	local SIZE = (Table.Size or VT(1,1,1))
908
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
909
	local TRANSPARENCY = (Table.Transparency or 0)
910
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
911
	local CFRAME = (Table.CFrame or Torso.CFrame)
912
	local MOVEDIRECTION = (Table.MoveToPos or nil)
913
	local ROTATION1 = (Table.RotationX or 0)
914
	local ROTATION2 = (Table.RotationY or 0)
915
	local ROTATION3 = (Table.RotationZ or 0)
916
	local MATERIAL = (Table.Material or "Neon")
917
	local COLOR = (Table.Color or C3(0,0,0))
918
	local TIME = (Table.Time or 45)
919
	local SOUNDID = (Table.SoundID or nil)
920
	local SOUNDPITCH = (Table.SoundPitch or nil)
921
	local SOUNDVOLUME = (Table.SoundVolume or nil)
922
	coroutine.resume(coroutine.create(function()
923
		local PLAYSSOUND = false
924
		local SOUND = nil
925
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
926
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
927
			PLAYSSOUND = true
928
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
929
		end
930
		EFFECT.Color = COLOR
931
		local MSH = nil
932
		if TYPE == "Sphere" then
933
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
934
		elseif TYPE == "Block" then
935
			MSH = IT("BlockMesh",EFFECT)
936
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
937
		elseif TYPE == "Wave" then
938
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
939
		elseif TYPE == "Ring" then
940
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
941
		elseif TYPE == "Slash" then
942
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
943
		elseif TYPE == "Round Slash" then
944
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
945
		elseif TYPE == "Swirl" then
946
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
947
		elseif TYPE == "Skull" then
948
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
949
		elseif TYPE == "Crystal" then
950
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
951
		end
952
		if MSH ~= nil then
953
			local MOVESPEED = nil
954
			if MOVEDIRECTION ~= nil then
955
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
956
			end
957
			local GROWTH = SIZE - ENDSIZE
958
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
959
			if TYPE == "Block" then
960
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
961
			else
962
				EFFECT.CFrame = CFRAME
963
			end
964
			for LOOP = 1, TIME+1 do
965
				Swait()
966
				MSH.Scale = MSH.Scale - GROWTH/TIME
967
				if TYPE == "Wave" then
968
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
969
				end
970
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
971
				if TYPE == "Block" then
972
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
973
				else
974
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
975
				end
976
				if MOVEDIRECTION ~= nil then
977
					local ORI = EFFECT.Orientation
978
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
979
					EFFECT.Orientation = ORI
980
				end
981
			end
982
			if PLAYSSOUND == false then
983
				EFFECT:remove()
984
			else
985
				repeat Swait() until SOUND.Playing == false
986
				EFFECT:remove()
987
			end
988
		else
989
			if PLAYSSOUND == false then
990
				EFFECT:remove()
991
			else
992
				repeat Swait() until SOUND.Playing == false
993
				EFFECT:remove()
994
			end
995
		end
996
	end))
997
end
998
999
function MakeForm(PART,TYPE)
1000
	if TYPE == "Cyl" then
1001
		local MSH = IT("CylinderMesh",PART)
1002
	elseif TYPE == "Ball" then
1003
		local MSH = IT("SpecialMesh",PART)
1004
		MSH.MeshType = "Sphere"
1005
	elseif TYPE == "Wedge" then
1006
		local MSH = IT("SpecialMesh",PART)
1007
		MSH.MeshType = "Wedge"
1008
	end
1009
end
1010
1011
Debris = game:GetService("Debris")
1012
1013
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1014
	local DIRECTION = CF(StartPos,EndPos).lookVector
1015
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1016
end
1017
1018
function turnto(position)
1019
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1020
end
1021
1022
--//=================================\\
1023
--||	     WEAPON CREATION
1024
--\\=================================//
1025
Humanoid.Parent = nil
1026
RootPart.Size = RootPart.Size*SIZE
1027
Torso.Size = Torso.Size*SIZE
1028
RightArm.Size = RightArm.Size*SIZE
1029
RightLeg.Size = RightLeg.Size*SIZE
1030
LeftArm.Size = LeftArm.Size*SIZE
1031
LeftLeg.Size = LeftLeg.Size*SIZE
1032
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
1033
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
1034
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
1035
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
1036
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
1037
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
1038
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1039
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1040
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1041
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1042
Head.Size = Head.Size*SIZE
1043
RootJoint.Parent = RootPart
1044
Neck.Parent = Torso
1045
RightShoulder.Parent = Torso
1046
LeftShoulder.Parent = Torso
1047
RightHip.Parent = Torso
1048
LeftHip.Parent = Torso
1049
1050
Humanoid.DisplayDistanceType = "None"
1051
local naeeym2 = IT("BillboardGui",Character)
1052
naeeym2.AlwaysOnTop = true
1053
naeeym2.Size = UDim2.new(5,35,2,15)
1054
naeeym2.StudsOffset = Vector3.new(0,2,0)
1055
naeeym2.MaxDistance = 75
1056
naeeym2.Adornee = Character.Head
1057
naeeym2.Name = "Name"
1058
local tecks2 = IT("TextLabel",naeeym2)
1059
tecks2.BackgroundTransparency = 1
1060
tecks2.TextScaled = true
1061-
tecks2.Text = "Nahid pandora"
1061+
1062
tecks2.Text = "MICHEAL THE CUPHEAD BOSS"
1063
tecks2.Font = "Fantasy"
1064
tecks2.TextSize = 30
1065
tecks2.TextStrokeTransparency = 0
1066
tecks2.TextColor3 = C3(0,0,0)
1067
tecks2.TextStrokeColor3 = C3(255,255,255)
1068
tecks2.Size = UDim2.new(1,0,0.5,0)
1069
tecks2.Parent = naeeym2
1070
local top = Instance.new("Shirt")
1071
top.ShirtTemplate = "rbxassetid://676428254"
1072
top.Parent = Character
1073
top.Name = "Cloth"
1074
local bottom = Instance.new("Pants")
1075
bottom.PantsTemplate = "rbxassetid://676428351"
1076
bottom.Parent = Character
1077
bottom.Name = "Cloth"
1078
---------------------
1079
if Character:FindFirstChildOfClass("Accessory") then
1080
	Character:FindFirstChildOfClass("Accessory"):remove()
1081
elseif Character:FindFirstChildOfClass("Hat") then
1082
	Character:FindFirstChildOfClass("Hat"):remove()
1083
end
1084-
	Head.face.Texture = "rbxassetid://"
1084+
1085
	Head.face.Texture = "rbxassetid://404306534"
1086
end
1087-
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
1087+
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
1088-
PRT.Color = C3(255,255,255)
1088+
PRT.Color = C3(0,0,0)
1089-
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
1089+
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
1090-
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
1090+
CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
1091-
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
1091+
1092-
PRT.Color = C3(255,255,255)
1092+
1093-
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
1093+
for i = 1, 24 do
1094-
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
1094+
    local MATH = (1-(i/30))
1095
    if LASTPART == Head then
1096
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1097-
for i = 1, 20 do
1097+
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
1098-
	local MATH = (1-(i/25))
1098+
        LASTPART = Horn
1099-
	if LASTPART == Head then
1099+
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
1100-
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1100+
    else
1101-
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
1101+
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1102-
		LASTPART = Horn
1102+
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1103-
		Horn.Color = C3((i*3-3)/255,255,255)
1103+
        LASTPART = Horn
1104
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
1105-
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1105+
    end
1106-
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
1106+
1107-
		LASTPART = Horn
1107+
1108-
		Horn.Color = C3((i*3-3)/255,255,255)
1108+
for i = 1, 24 do
1109
    local MATH = (1-(i/30))
1110
    if LASTPART == Head then
1111
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1112-
for i = 1, 20 do
1112+
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
1113-
	local MATH = (1-(i/25))
1113+
        LASTPART = Horn
1114-
	if LASTPART == Head then
1114+
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
1115-
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1115+
    else
1116-
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
1116+
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1117-
		LASTPART = Horn
1117+
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1118-
		Horn.Color = C3((i*3-3)/255,255,255)
1118+
        LASTPART = Horn
1119
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
1120-
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1120+
    end
1121-
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
1121+
1122-
		LASTPART = Horn
1122+
1123-
		Horn.Color = C3((i*3-3)/255,255,255)
1123+
for i = 1, 8 do
1124
    local MATH = (1-(i/14))
1125
    if LASTPART == Head then
1126
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1127-
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.6,0.1,1)/2,false)
1127+
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
1128-
MakeForm(Eye,"Ball")
1128+
        LASTPART = Horn
1129-
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1129+
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
1130-
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.6,0.1,1)/2,false)
1130+
    else
1131-
MakeForm(Eye,"Ball")
1131+
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1132-
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1132+
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1133-
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.1,1,1)/2,false)
1133+
        LASTPART = Horn
1134-
MakeForm(Eye,"Ball")
1134+
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
1135-
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1135+
    end
1136-
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.1,1,1)/2,false)
1136+
1137-
MakeForm(Eye,"Ball")
1137+
1138-
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1138+
for i = 1, 8 do
1139
    local MATH = (1-(i/14))
1140
    if LASTPART == Head then
1141-
local A = IT("Attachment",Torso)
1141+
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1142-
A.Position = VT(1,1.3,0)
1142+
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
1143-
A.Orientation = VT(-0.098, -89.999, 0.227)
1143+
        LASTPART = Horn
1144-
local B = IT("Attachment",Torso)
1144+
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
1145-
B.Position = VT(-1.3,-0.6,0)
1145+
    else
1146-
B.Orientation = VT(-88.911, -68.808, 158.782)
1146+
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1147-
local ChainLink = IT("Beam",Torso)
1147+
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1148-
ChainLink.Texture = "rbxassetid://73042633" 
1148+
        LASTPART = Horn
1149-
ChainLink.Color = ColorSequence.new(C3(58,125,21))
1149+
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
1150-
ChainLink.TextureSpeed = 1
1150+
    end
1151-
ChainLink.FaceCamera = true
1151+
1152-
ChainLink.Width0 = 1
1152+
1153-
ChainLink.Width1 = 1
1153+
1154-
ChainLink.TextureLength = 3
1154+
function OhnoItsAShotgun()
1155-
ChainLink.Attachment0 = A
1155+
    local SHOOTgun = CreatePart(3, Effects, "Fabric", 0, 1, BRICKC("Black"), "OhNoItsAShotgun", VT(0.25, 0.5, 5), true)
1156-
ChainLink.Attachment1 = B
1156+
    CreateMesh("SpecialMesh", SHOOTgun, "FileMesh", "3835506", "", VT(0.9, 1.13, 1), VT(0,-0.3,0))
1157-
ChainLink.CurveSize0 = 1.6
1157+
    return SHOOTgun
1158-
ChainLink.CurveSize1 = 1.6
1158+
1159-
ChainLink.FaceCamera = true
1159+
1160-
ChainLink.Transparency = NumberSequence.new(0)
1160+
local GUN = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
1161-
local ChainLink = IT("Beam",Torso)
1161+
CreateMesh("SpecialMesh", GUN, "FileMesh", "623102664", "623102879", VT(0.01, 0.01, 0.01), VT(0,0,0))
1162-
ChainLink.Texture = "rbxassetid://73042633" 
1162+
local GUNWELD = CreateWeldOrSnapOrMotor("Weld", GUN, Torso, GUN, CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
1163-
ChainLink.Color = ColorSequence.new(C3(58,125,21))
1163+
local BATON = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Baton", VT(1, 0.8, 3),false)
1164-
ChainLink.TextureSpeed = 1
1164+
CreateMesh("SpecialMesh", BATON, "FileMesh", "11820238", "", VT(1,1,1), VT(0,0,0))
1165-
ChainLink.FaceCamera = true
1165+
local BATONWELD = CreateWeldOrSnapOrMotor("Weld", BATON, Torso, BATON, CF(1,-0.8,0.75) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1166-
ChainLink.Width0 = 1
1166+
local A = IT("Attachment",BATON)
1167-
ChainLink.Width1 = 1
1167+
local B = IT("Attachment",BATON)
1168-
ChainLink.TextureLength = 3
1168+
B.Position = VT(0,0,-0.4)
1169-
ChainLink.Attachment0 = B
1169+
A.Position = VT(0,0,1)
1170-
ChainLink.Attachment1 = A
1170+
local Trail = IT("Trail",BATON)
1171-
ChainLink.CurveSize0 = 1.6
1171+
Trail.Attachment0 = A
1172-
ChainLink.CurveSize1 = 1.6
1172+
Trail.Attachment1 = B
1173-
ChainLink.FaceCamera = true
1173+
Trail.Lifetime = 0.1
1174-
ChainLink.Transparency = NumberSequence.new(0)
1174+
Trail.Color = ColorSequence.new(C3(0,0,0))
1175-
local A = IT("Attachment",Torso)
1175+
Trail.Transparency = NumberSequence.new(0, 1)
1176-
A.Position = VT(1.3,-0.85,0)
1176+
Trail.Enabled = false
1177-
A.Orientation = VT(-0.098, -89.999, 0.227)
1177+
Trail.Texture = "http://www.roblox.com/asset/?id=1831500579"
1178-
local B = IT("Attachment",Torso)
1178+
1179-
B.Position = VT(-1,2,0)
1179+
1180-
B.Orientation = VT(-88.911, -68.808, 158.782)
1180+
-- Mask(Black) --
1181-
local ChainLink = IT("Beam",Torso)
1181+
local PRT = CreatePart(3, BlackMask, "Fabric", 0, 0, "Pearl", "Hat", VT(1,1,1),false)
1182-
ChainLink.Texture = "rbxassetid://73042633" 
1182+
PRT.Color = C3(0,0,0)
1183-
ChainLink.Color = ColorSequence.new(C3(58,125,21))
1183+
CreateWeldOrSnapOrMotor("Weld", BlackMask, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
1184-
ChainLink.TextureSpeed = 1
1184+
CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
1185-
ChainLink.FaceCamera = true
1185+
local PRT = CreatePart(3, BlackMask, "Fabric", 0, 0, "Pearl", "Detail", VT(1,1,1),false)
1186-
ChainLink.Width0 = 1
1186+
PRT.Color = C3(0,0,0)
1187-
ChainLink.Width1 = 1
1187+
CreateWeldOrSnapOrMotor("Weld", BlackMask, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1188-
ChainLink.TextureLength = 3
1188+
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
1189-
ChainLink.Attachment0 = A
1189+
1190-
ChainLink.Attachment1 = B
1190+
1191-
ChainLink.CurveSize0 = 1.3
1191+
1192-
ChainLink.CurveSize1 = 1.3
1192+
1193-
ChainLink.FaceCamera = true
1193+
1194-
ChainLink.Transparency = NumberSequence.new(0)
1194+
1195-
local ChainLink = IT("Beam",Torso)
1195+
1196-
ChainLink.Texture = "rbxassetid://73042633" 
1196+
1197-
ChainLink.Color = ColorSequence.new(C3(58,125,21))
1197+
1198-
ChainLink.TextureSpeed = 1
1198+
1199-
ChainLink.FaceCamera = true
1199+
1200-
ChainLink.Width0 = 1
1200+
1201-
ChainLink.Width1 = 1
1201+
1202-
ChainLink.TextureLength = 3
1202+
1203-
ChainLink.Attachment0 = B
1203+
1204-
ChainLink.Attachment1 = A
1204+
1205-
ChainLink.CurveSize0 = 1.3
1205+
1206-
ChainLink.CurveSize1 = 1.3
1206+
1207-
ChainLink.FaceCamera = true
1207+
1208-
ChainLink.Transparency = NumberSequence.new(0)
1208+
1209
			if c == Head then
1210
				if c:FindFirstChild("face") then
1211
					c.face:remove()
1212
				end
1213
			end
1214
		elseif c.ClassName == "Part" and c.Name == "Eye" then
1215
			c.Color = C3(255,0,0)
1216
			c.Material = "Neon"
1217
		elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
1218
			c:remove()
1219
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
1220
			c:remove()
1221
		end
1222
	end
1223
end
1224
local BODY = {}
1225
for _, c in pairs(Character:GetDescendants()) do
1226
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1227
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1228
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1229
		end
1230
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
1231
	elseif c:IsA("JointInstance") then
1232
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
1233
	end
1234
end
1235
function refit()
1236
	Character.Parent = workspace
1237
	for e = 1, #BODY do
1238
		if BODY[e] ~= nil then
1239
			local STUFF = BODY[e]
1240
			local PART = STUFF[1]
1241
			local PARENT = STUFF[2]
1242
			local MATERIAL = STUFF[3]
1243
			local COLOR = STUFF[4]
1244
			local TRANSPARENCY = STUFF[5]
1245
			--local SIZE = STUFF[6]
1246
			local NAME = STUFF[7]
1247
			if PART.ClassName == "Part" and PART ~= RootPart then
1248
				PART.Material = MATERIAL
1249
				PART.Transparency = TRANSPARENCY
1250
				PART.Name = NAME
1251
			end
1252
			if PART.Parent ~= PARENT then
1253
				Humanoid:remove()
1254
				PART.Parent = PARENT
1255
				Humanoid = IT("Humanoid",Character)
1256
			end
1257
		end
1258
	end
1259
end
1260
1261
local SKILLTEXTCOLOR = C3(255,255,255)
1262
local SKILLFONT = "Fantasy"
1263
local SKILLTEXTSIZE = 6
1264
1265
Humanoid.Died:connect(function()
1266
	refit()
1267
end)
1268
1269
--//=================================\\
1270
--||         RAGDOLL STUFF
1271
--\\=================================//
1272
 
1273
function recurse(root,callback,i)
1274
    i= i or 0
1275
    for _,v in pairs(root:GetChildren()) do
1276
        i = i + 1
1277
        callback(i,v)
1278
       
1279
        if #v:GetChildren() > 0 then
1280
            i = recurse(v,callback,i)
1281
        end
1282
    end
1283
   
1284
    return i
1285
end
1286
 
1287
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
1288
    attachmentName = attachmentName.."RigAttachment"
1289
    local constraint = Instance.new(className.."Constraint")
1290-
--||			DAMAGING
1290+
    constraint.Attachment0 = part0:FindFirstChild(attachmentName)
1291
    constraint.Attachment1 = part1:FindFirstChild(attachmentName)
1292
    constraint.Name = "RagdollConstraint"..part1.Name
1293
   
1294
    for _,propertyData in next,properties or {} do
1295
        constraint[propertyData[1]] = propertyData[2]
1296
    end
1297
   
1298
    constraint.Parent = character
1299
end
1300
 
1301
function getAttachment0(character, attachmentName)
1302
    for _,child in next,character:GetChildren() do
1303
        local attachment = child:FindFirstChild(attachmentName)
1304
        if attachment then
1305
            return attachment
1306
        end
1307
    end
1308
end
1309
 
1310
function ArtificialHitbox(Part)
1311
    local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
1312
    HITBOX.CanCollide = true
1313
    HITBOX.CFrame = Part.CFrame
1314
    weldBetween(Part,HITBOX)
1315
end
1316
 
1317
function R15Ragdoll(character,KeepArms)
1318
    character:BreakJoints()
1319
    coroutine.resume(coroutine.create(function()
1320
        recurse(character, function(_,v)
1321
            if v:IsA("Attachment") then
1322
                v.Axis = Vector3.new(0, 1, 0)
1323
                v.SecondaryAxis = Vector3.new(0, 0, 1)
1324
                v.Rotation = Vector3.new(0, 0, 0)
1325
            end
1326
        end)
1327
        for _,child in next,character:GetChildren() do
1328
            if child:IsA("Accoutrement") then
1329
                for _,part in next,child:GetChildren() do
1330
                    if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
1331
                        local attachment1 = part:FindFirstChildOfClass("Attachment")
1332
                        local attachment0 = getAttachment0(character,attachment1.Name)
1333
                        if attachment0 and attachment1 then
1334
                            local constraint = Instance.new("HingeConstraint")
1335
                            constraint.Attachment0 = attachment0
1336
                            constraint.Attachment1 = attachment1
1337
                            constraint.LimitsEnabled = true
1338
                            constraint.UpperAngle = 0
1339
                            constraint.LowerAngle = 0
1340
                            constraint.Parent = character
1341
                        end
1342
                        ArtificialHitbox(part)
1343
                    elseif part.Name == "HumanoidRootPart" then
1344
                        part:remove()
1345
                    end
1346
                end
1347
            end
1348
        end
1349
       
1350
        ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
1351
            {"LimitsEnabled",true};
1352
            {"UpperAngle",5};
1353
        })
1354
        if character:FindFirstChild("Head") then
1355
            ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
1356
                {"LimitsEnabled",true};
1357
                {"UpperAngle",15};
1358
            })
1359
        end
1360
       
1361
        local handProperties = {
1362
            {"LimitsEnabled", true};
1363
            {"UpperAngle",0};
1364
            {"LowerAngle",0};
1365
        }
1366
        ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
1367
        ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
1368
       
1369
        local shinProperties = {
1370
            {"LimitsEnabled", true};
1371
            {"UpperAngle", 0};
1372-
function Eon_Fire()
1372+
            {"LowerAngle", -75};
1373
        }
1374
        ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
1375-
	local GYRO = IT("BodyGyro", RootPart)
1375+
        ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
1376-
	GYRO.D = 15
1376+
       
1377
        local footProperties = {
1378-
	GYRO.MaxTorque = VT(0, 4000000, 0)
1378+
            {"LimitsEnabled", true};
1379-
	CreateSound("341301115", Head, 5, 1.1)
1379+
            {"UpperAngle", 15};
1380-
	CreateSound("93724183", Head, 6, 1)
1380+
            {"LowerAngle", -45};
1381-
	for i = 1, 200 do
1381+
        }
1382
        ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
1383-
		WACKYEFFECT({
1383+
        ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
1384-
			Time = MRANDOM(5, 15),
1384+
        if KeepArms == true then
1385-
			EffectType = "Round Slash",
1385+
            ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
1386-
			Size = VT(0, 0, 0),
1386+
            ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
1387-
			Size2 = VT(0.12, 0, 0.12),
1387+
            ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
1388-
			Transparency = 0.5,
1388+
            ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
1389-
			Transparency2 = 1,
1389+
        end
1390-
			CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
1390+
        ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
1391-
			MoveToPos = nil,
1391+
        ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
1392-
			RotationX = MRANDOM(-50, 50) / 50,
1392+
        Debris:AddItem(character,5)
1393-
			RotationY = MRANDOM(-50, 50) / 10,
1393+
    end))
1394-
			RotationZ = MRANDOM(-50, 50) / 50,
1394+
1395-
			Material = "Neon",
1395+
1396-
			Color = C3(1, 0, 0),
1396+
function Ragdoll(Character2,CharTorso,KeepArms)
1397-
			SoundID = nil,
1397+
    coroutine.resume(coroutine.create(function()
1398-
			SoundPitch = nil,
1398+
        Character2:BreakJoints()
1399-
			SoundVolume = nil
1399+
        local hum = Character2:findFirstChild("Humanoid")
1400-
		})
1400+
        hum:remove()
1401-
		WACKYEFFECT({
1401+
        local function Scan(ch)
1402-
			Time = MRANDOM(5, 15),
1402+
            local e
1403-
			EffectType = "Round Slash",
1403+
            for e = 1,#ch do
1404-
			Size = VT(0, 0, 0),
1404+
                Scan(ch[e]:GetChildren())
1405-
			Size2 = VT(0.1, 0, 0.1),
1405+
                if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
1406-
			Transparency = 0.5,
1406+
                    ch[e]:remove()
1407-
			Transparency2 = 1,
1407+
                end
1408-
			CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
1408+
            end
1409-
			MoveToPos = nil,
1409+
        end
1410-
			RotationX = MRANDOM(-50, 50) / 50,
1410+
        local NEWHUM = IT("Humanoid")
1411-
			RotationY = MRANDOM(-50, 50) / 10,
1411+
        NEWHUM.Name = "Corpse"
1412-
			RotationZ = MRANDOM(-50, 50) / 50,
1412+
        NEWHUM.Health = 0
1413-
			Material = "Neon",
1413+
        NEWHUM.MaxHealth = 0
1414-
			Color = C3(1, 0, 0),
1414+
        NEWHUM.PlatformStand = true
1415-
			SoundID = nil,
1415+
        NEWHUM.Parent = Character2
1416-
			SoundPitch = nil,
1416+
        NEWHUM.DisplayDistanceType = "None"
1417-
			SoundVolume = nil
1417+
   
1418-
		})
1418+
        local ch = Character2:GetChildren()
1419-
		WACKYEFFECT({
1419+
        local i
1420-
			Time = MRANDOM(5, 15),
1420+
        for i = 1,#ch do
1421-
			EffectType = "Round Slash",
1421+
            if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1422-
			Size = VT(0, 0, 0),
1422+
                ch[i]:remove()
1423-
			Size2 = VT(0.16, 0, 0.16),
1423+
            end
1424-
			Transparency = 0.5,
1424+
        end
1425-
			Transparency2 = 1,
1425+
   
1426-
			CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
1426+
        local Torso2 = Character2.Torso
1427-
			MoveToPos = nil,
1427+
        local movevector = Vector3.new()
1428-
			RotationX = MRANDOM(-50, 50) / 50,
1428+
   
1429-
			RotationY = MRANDOM(-50, 50) / 10,
1429+
        if Torso2 then
1430-
			RotationZ = MRANDOM(-50, 50) / 50,
1430+
            movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
1431-
			Material = "Neon",
1431+
            local Head = Character2:FindFirstChild("Head")
1432-
			Color = C3(1, 0, 0),
1432+
            if Head then
1433-
			SoundID = nil,
1433+
                local Neck = Instance.new("Weld")
1434-
			SoundPitch = nil,
1434+
                Neck.Name = "Neck"
1435-
			SoundVolume = nil
1435+
                Neck.Part0 = Torso2
1436-
		})
1436+
                Neck.Part1 = Head
1437-
		WACKYEFFECT({
1437+
                Neck.C0 = CFrame.new(0, 1.5, 0)
1438-
			Time = 5,
1438+
                Neck.C1 = CFrame.new()
1439-
			EffectType = "Sphere",
1439+
                Neck.Parent = Torso2
1440-
			Size = VT(i, i, i) / 150,
1440+
   
1441-
			Size2 = VT(0, 0, 0),
1441+
            end
1442-
			Transparency = 0.5,
1442+
            local Limb = Character2:FindFirstChild("Right Arm")
1443-
			Transparency2 = 1,
1443+
            if Limb and KeepArms == true then
1444-
			CFrame = Head.CFrame * CF(0, -0.25, -1),
1444+
   
1445-
			MoveToPos = nil,
1445+
                Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
1446-
			RotationX = 0,
1446+
                local Joint = Instance.new("Glue")
1447-
			RotationY = 0,
1447+
                Joint.Name = "RightShoulder"
1448-
			RotationZ = 0,
1448+
                Joint.Part0 = Torso2
1449-
			Material = "Neon",
1449+
                Joint.Part1 = Limb
1450-
			Color = C3(1, 0, 0),
1450+
                Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1451-
			SoundID = nil,
1451+
                Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1452-
			SoundPitch = nil,
1452+
                Joint.Parent = Torso2
1453-
			SoundVolume = nil
1453+
   
1454-
		})
1454+
                local B = Instance.new("Part")
1455-
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
1455+
                B.TopSurface = 0
1456-
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
1456+
                B.BottomSurface = 0
1457-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
1457+
                B.formFactor = "Symmetric"
1458-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
1458+
                B.Size = Vector3.new(1, 1, 1)
1459-
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
1459+
                B.Transparency = 1
1460-
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
1460+
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1461-
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
1461+
                B.Parent = Character2
1462
                local W = Instance.new("Weld")
1463
                W.Part0 = Limb
1464-
	for i = 0, 0.3, 0.1 / Animation_Speed do
1464+
                W.Part1 = B
1465
                W.C0 = CFrame.new(0, -0.5, 0)
1466-
		WACKYEFFECT({
1466+
                W.Parent = Limb
1467-
			Time = 25,
1467+
   
1468-
			EffectType = "Sphere",
1468+
            end
1469-
			Size = VT(200, 200, 200) / 150,
1469+
            local Limb = Character2:FindFirstChild("Left Arm")
1470-
			Size2 = VT(0, 0, 0),
1470+
            if Limb and KeepArms == true then
1471-
			Transparency = 0.5,
1471+
   
1472-
			Transparency2 = 1,
1472+
                Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
1473-
			CFrame = Head.CFrame * CF(0, -0.25, -1),
1473+
                local Joint = Instance.new("Glue")
1474-
			MoveToPos = nil,
1474+
                Joint.Name = "LeftShoulder"
1475-
			RotationX = 0,
1475+
                Joint.Part0 = Torso2
1476-
			RotationY = 0,
1476+
                Joint.Part1 = Limb
1477-
			RotationZ = 0,
1477+
                Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1478-
			Material = "Neon",
1478+
                Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1479-
			Color = C3(1, 0, 0),
1479+
                Joint.Parent = Torso2
1480-
			SoundID = nil,
1480+
   
1481-
			SoundPitch = nil,
1481+
                local B = Instance.new("Part")
1482-
			SoundVolume = nil
1482+
                B.TopSurface = 0
1483-
		})
1483+
                B.BottomSurface = 0
1484-
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1484+
                B.formFactor = "Symmetric"
1485-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1485+
                B.Size = Vector3.new(1, 1, 1)
1486-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1486+
                B.Transparency = 1
1487-
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1487+
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1488-
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1488+
                B.Parent = Character2
1489-
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1489+
                local W = Instance.new("Weld")
1490
                W.Part0 = Limb
1491
                W.Part1 = B
1492-
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really yellow", "DOOM", VT(1, 1, 1))
1492+
                W.C0 = CFrame.new(0, -0.5, 0)
1493-
		MakeForm(FIREBALL, "Ball")
1493+
                W.Parent = Limb
1494-
		local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
1494+
   
1495-
		FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
1495+
            end
1496-
		for i = 1, 500 do
1496+
            local Limb = Character2:FindFirstChild("Right Leg")
1497
            if Limb then
1498-
			FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
1498+
   
1499-
			local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
1499+
                Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
1500-
			if HITFLOOR ~= nil then
1500+
                local Joint = Instance.new("Glue")
1501
                Joint.Name = "RightHip"
1502
                Joint.Part0 = Torso2
1503
                Joint.Part1 = Limb
1504-
		CreateSound(325132788, Effects, 8, 1, false)
1504+
                Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1505-
		for i = 1, 120 do
1505+
                Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1506
                Joint.Parent = Torso2
1507-
			WACKYEFFECT({
1507+
   
1508-
				Time = 85,
1508+
                local B = Instance.new("Part")
1509-
				EffectType = "Sphere",
1509+
                B.TopSurface = 0
1510-
				Size = FIREBALL.Size,
1510+
                B.BottomSurface = 0
1511-
				Size2 = VT(0, 1000, 0),
1511+
                B.formFactor = "Symmetric"
1512-
				Transparency = 0.5,
1512+
                B.Size = Vector3.new(1, 1, 1)
1513-
				Transparency2 = 1,
1513+
                B.Transparency = 1
1514-
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1514+
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1515-
				MoveToPos = nil,
1515+
                B.Parent = Character2
1516-
				RotationX = MRANDOM(-50, 50) / 10,
1516+
                local W = Instance.new("Weld")
1517-
				RotationY = MRANDOM(-50, 50) / 10,
1517+
                W.Part0 = Limb
1518-
				RotationZ = MRANDOM(-50, 50) / 10,
1518+
                W.Part1 = B
1519-
				Material = "Neon",
1519+
                W.C0 = CFrame.new(0, -0.5, 0)
1520-
				Color = C3(1, 0, 0),
1520+
                W.Parent = Limb
1521-
				SoundID = nil,
1521+
   
1522-
				SoundPitch = nil,
1522+
            end
1523-
				SoundVolume = nil
1523+
            local Limb = Character2:FindFirstChild("Left Leg")
1524-
			})
1524+
            if Limb then
1525-
			FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
1525+
   
1526
                Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
1527-
		Swait(5)
1527+
                local Joint = Instance.new("Glue")
1528-
		ApplyAoE(FIREBALL.Position, 435, 65, 65, 600, false)
1528+
                Joint.Name = "LeftHip"
1529
                Joint.Part0 = Torso2
1530-
			WACKYEFFECT({
1530+
                Joint.Part1 = Limb
1531-
				Time = 85 + 5 * i,
1531+
                Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1532-
				EffectType = "Slash",
1532+
                Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1533-
				Size = VT(3, 0, 3),
1533+
                Joint.Parent = Torso2
1534-
				Size2 = VT(12, 0, 12),
1534+
   
1535-
				Transparency = 0.5,
1535+
                local B = Instance.new("Part")
1536-
				Transparency2 = 1,
1536+
                B.TopSurface = 0
1537-
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1537+
                B.BottomSurface = 0
1538-
				MoveToPos = nil,
1538+
                B.formFactor = "Symmetric"
1539-
				RotationX = MRANDOM(-50, 50) / 50,
1539+
                B.Size = Vector3.new(1, 1, 1)
1540-
				RotationY = MRANDOM(-50, 50) / 10,
1540+
                B.Transparency = 1
1541-
				RotationZ = MRANDOM(-50, 50) / 50,
1541+
                B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1542-
				Material = "Neon",
1542+
                B.Parent = Character2
1543-
				Color = C3(1, 1, 1),
1543+
                local W = Instance.new("Weld")
1544-
				SoundID = nil,
1544+
                W.Part0 = Limb
1545-
				SoundPitch = nil,
1545+
                W.Part1 = B
1546-
				SoundVolume = nil
1546+
                W.C0 = CFrame.new(0, -0.5, 0)
1547-
			})
1547+
                W.Parent = Limb
1548-
			WACKYEFFECT({
1548+
   
1549-
				Time = 185 + 5 * i,
1549+
            end
1550-
				EffectType = "Swirl",
1550+
            --[
1551-
				Size = VT(15, 15, 15),
1551+
            local Bar = Instance.new("Part")
1552-
				Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
1552+
            Bar.TopSurface = 0
1553-
				Transparency = 0.5,
1553+
            Bar.BottomSurface = 0
1554-
				Transparency2 = 1,
1554+
            Bar.formFactor = "Symmetric"
1555-
				CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
1555+
            Bar.Size = Vector3.new(1, 1, 1)
1556-
				MoveToPos = nil,
1556+
            Bar.Transparency = 1
1557-
				RotationX = MRANDOM(-50, 50) / 50,
1557+
            Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1558-
				RotationY = MRANDOM(-50, 50) / 10,
1558+
            Bar.Parent = Character2
1559-
				RotationZ = MRANDOM(-50, 50) / 50,
1559+
            local Weld = Instance.new("Weld")
1560-
				Material = "Neon",
1560+
            Weld.Part0 = Torso2
1561-
				Color = C3(1, 0.5, 0.5),
1561+
            Weld.Part1 = Bar
1562-
				SoundID = nil,
1562+
            Weld.C0 = CFrame.new(0, 0.5, 0)
1563-
				SoundPitch = nil,
1563+
            Weld.Parent = Torso2
1564-
				SoundVolume = nil
1564+
            --]]
1565-
			})
1565+
        end
1566-
			WACKYEFFECT({
1566+
        Character2.Parent = workspace
1567-
				Time = 285 + 5 * i,
1567+
        Debris:AddItem(Character2,5)
1568-
				EffectType = "Round Slash",
1568+
   
1569-
				Size = VT(3, 0, 3),
1569+
        return Character2,Torso2
1570-
				Size2 = VT(12, 0, 12),
1570+
    end))
1571-
				Transparency = 0.5,
1571+
1572-
				Transparency2 = 1,
1572+
1573-
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1573+
--||    MODE CHANGING
1574-
				MoveToPos = nil,
1574+
1575-
				RotationX = MRANDOM(-50, 50) / 50,
1575+
1576-
				RotationY = MRANDOM(-50, 50) / 10,
1576+
function Switch2()
1577-
				RotationZ = MRANDOM(-50, 50) / 50,
1577+
1578-
				Material = "Neon",
1578+
1579-
				Color = C3(1, 0, 0),
1579+
	if MODE == "Main" then
1580-
				SoundID = nil,
1580+
		for i=0, 0.3, 0.1 / Animation_Speed do
1581-
				SoundPitch = nil,
1581+
1582-
				SoundVolume = nil
1582+
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1583-
			})
1583+
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1584-
			WACKYEFFECT({
1584+
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1585-
				Time = 285 + 5 * i,
1585+
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1586-
				EffectType = "Sphere",
1586+
			RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1587-
				Size = VT(650, 650, 650),
1587+
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1588-
				Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
1588+
1589-
				Transparency = 0.5,
1589+
1590-
				Transparency2 = 1,
1590+
1591-
				CFrame = FIREBALL.CFrame,
1591+
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1592-
				MoveToPos = nil,
1592+
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1593-
				RotationX = 0,
1593+
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1594-
				RotationY = 0,
1594+
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1595-
				RotationZ = 0,
1595+
			RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1596-
				Material = "Neon",
1596+
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1597-
				Color = C3(1, 0, 0),
1597+
1598-
				SoundID = nil,
1598+
		CreateSound(363808674, Torso, 6, 1, false)
1599-
				SoundPitch = 0,
1599+
		for i=0, 0.6, 0.1 / Animation_Speed do
1600-
				SoundVolume = 0
1600+
1601-
			})
1601+
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1602
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
1603
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1604-
		WACKYEFFECT({
1604+
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1605-
			Time = 75,
1605+
			RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1606-
			EffectType = "Sphere",
1606+
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1607-
			Size = VT(350, 350, 350),
1607+
1608-
			Size2 = VT(4500, 4500, 4500),
1608+
		CreateSound(363808674, Torso, 6, 1, false)
1609-
			Transparency = 0.8,
1609+
		for i=0, 0.6, 0.1 / Animation_Speed do
1610-
			Transparency2 = 1,
1610+
1611-
			CFrame = FIREBALL.CFrame,
1611+
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1612-
			MoveToPos = nil,
1612+
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
1613-
			RotationX = 0,
1613+
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1614-
			RotationY = 0,
1614+
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1615-
			RotationZ = 0,
1615+
			RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1616-
			Material = "Neon",
1616+
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1617-
			Color = C3(1, 1, 1),
1617+
1618-
			SoundID = nil,
1618+
		sick.SoundId = "rbxassetid://534861083"
1619-
			SoundPitch = 0,
1619+
		CLOCKSPEED = 0
1620-
			SoundVolume = 0
1620+
		tecks2.Text = "CUPHEAD KILLER"
1621-
		})
1621+
		MODE = "Maniac"
1622
	elseif MODE == "Maniac" then
1623
		CreateSound(147722227, Torso, 4, 1.3, false)
1624-
			ApplyAoE(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, false)
1624+
		for i=0, 0.3, 0.1 / Animation_Speed do
1625-
			WACKYEFFECT({
1625+
1626-
				Time = 85,
1626+
1627-
				EffectType = "Sphere",
1627+
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1628-
				Size = VT(75, 75, 75),
1628+
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1629-
				Size2 = VT(0, 2500, 0),
1629+
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1630-
				Transparency = 0.5,
1630+
			RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1631-
				Transparency2 = 1,
1631+
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1632-
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1632+
1633-
				MoveToPos = nil,
1633+
		sick.SoundId = "rbxassetid://2372056506"
1634-
				RotationX = MRANDOM(-50, 50) / 10,
1634+
		CLOCKSPEED = 0
1635-
				RotationY = MRANDOM(-50, 50) / 10,
1635+
		tecks2.Text = "MICHEAL THE CUPHEAD BOSS"
1636-
				RotationZ = MRANDOM(-50, 50) / 10,
1636+
		MODE = "Main"
1637-
				Material = "Neon",
1637+
1638-
				Color = C3(1, 0, 0),
1638+
1639-
				SoundID = nil,
1639+
1640-
				SoundPitch = nil,
1640+
1641-
				SoundVolume = nil
1641+
function Switch3()
1642-
			})
1642+
1643
	Rooted = true
1644-
		FIREBALL:remove()
1644+
	if MODE == "Main" then
1645
		for i=0, 0.3, 0.1 / Animation_Speed do
1646-
	WACKYEFFECT({
1646+
            Swait()
1647-
		Time = 25,
1647+
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1648-
		EffectType = "Ring",
1648+
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1649-
		Size = VT(0, 0, 0),
1649+
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1650-
		Size2 = VT(3.75, 3.75, 0),
1650+
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1651-
		Transparency = 0.7,
1651+
            RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1652-
		Transparency2 = 1,
1652+
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1653-
		CFrame = Head.CFrame * CF(0, -0.25, -0.75),
1653+
        end
1654-
		MoveToPos = nil,
1654+
        for i=0, 1, 0.1 / Animation_Speed do
1655-
		RotationX = 0,
1655+
            Swait()
1656-
		RotationY = 0,
1656+
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1657-
		RotationZ = 0,
1657+
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1658-
		Material = "Neon",
1658+
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1659-
		Color = C3(1, 0, 0),
1659+
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1660-
		SoundID = nil,
1660+
            RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1661-
		SoundPitch = nil,
1661+
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1662-
		SoundVolume = nil
1662+
        end
1663-
	})
1663+
        CreateSound(363808674, Torso, 6, 1, false)
1664-
	WACKYEFFECT({
1664+
        for i=0, 0.6, 0.1 / Animation_Speed do
1665-
		Time = 50,
1665+
            Swait()
1666-
		EffectType = "Ring",
1666+
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1667-
		Size = VT(0, 0, 0),
1667+
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
1668-
		Size2 = VT(15, 15, 0),
1668+
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1669-
		Transparency = 0.7,
1669+
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1670-
		Transparency2 = 1,
1670+
            RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1671-
		CFrame = Head.CFrame * CF(0, -0.25, -0.75),
1671+
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1672-
		MoveToPos = nil,
1672+
        end
1673-
		RotationX = 0,
1673+
        CreateSound(363808674, Torso, 6, 1, false)
1674-
		RotationY = 0,
1674+
        for i=0, 0.6, 0.1 / Animation_Speed do
1675-
		RotationZ = 0,
1675+
            Swait()
1676-
		Material = "Neon",
1676+
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1677-
		Color = C3(1, 0, 0),
1677+
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
1678-
		SoundID = nil,
1678+
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1679-
		SoundPitch = nil,
1679+
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1680-
		SoundVolume = nil
1680+
            RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1681-
	})
1681+
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1682-
	for i = 0, 0.3, 0.1 / Animation_Speed do
1682+
        end
1683
sick.SoundId = "rbxassetid://1873219898"
1684-
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1684+
		CLOCKSPEED = 0
1685-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1685+
		MODE = "Superior"
1686-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1686+
	tecks2.Text = "MICHEAL THE FINAL BOSS"
1687-
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1687+
     elseif MODE == "Superior" then
1688-
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1688+
		CreateSound(147722227, Torso, 4, 1.3, false)
1689-
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1689+
		for i=0, 0.3, 0.1 / Animation_Speed do
1690
			Swait()
1691
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1692
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1693
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1694
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1695
			RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1696
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1697
		end
1698
		SONG = 1117396305
1699
		CLOCKSPEED = 0
1700
		tecks2.Text = "MICHEAL THE CUPHEAD BOSS"
1701
        MODE = "Main"
1702
	end
1703
	ATTACK = false
1704
	Rooted = false
1705
end
1706
function Switch()
1707
    ATTACK = true
1708
    Rooted = true
1709
    if MODE == "Main" then
1710
        for i=0, 0.3, 0.1 / Animation_Speed do
1711
            Swait()
1712
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1713
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1714
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1715
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1716
            RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1717
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1718
        end
1719
        for i=0, 1, 0.1 / Animation_Speed do
1720
            Swait()
1721
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1722
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1723
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1724
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1725
            RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1726
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1727
        end
1728
        CreateSound(363808674, Torso, 6, 1, false)
1729
        for i=0, 0.6, 0.1 / Animation_Speed do
1730
            Swait()
1731
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1732
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
1733
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1734
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1735
            RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1736
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1737
        end
1738
        CreateSound(363808674, Torso, 6, 1, false)
1739
        for i=0, 0.6, 0.1 / Animation_Speed do
1740
            Swait()
1741
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1742
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
1743
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1744
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1745
            RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1746
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1747
        end
1748
        SONG = 1092048938
1749
        CLOCKSPEED = 0
1750
       tecks2.Text = "JUSTICE BOSS"
1751
        MODE = "JusticeHorn"
1752
    elseif MODE == "JusticeHorn" then
1753
        CreateSound(147722227, Torso, 4, 1.3, false)
1754
        for i=0, 0.3, 0.1 / Animation_Speed do
1755
            Swait()
1756
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1757
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1758
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1759
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1760
            RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1761
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1762
        end
1763
        SONG = 1117396305
1764
        CLOCKSPEED = 0
1765
        tecks2.Text = "MICHEAL THE CUPHEAD BOSS"
1766
        MODE = "Main"
1767
    end
1768
    ATTACK = false
1769
    Rooted = false
1770
end
1771
--//=================================\\
1772
--||			FUNCTIONS
1773
--\\=================================//
1774
1775
function Chatter(Text,Timer)
1776
	local chat = coroutine.wrap(function()
1777
		if Character:FindFirstChild("SpeechBoard")~= nil then
1778
			Character:FindFirstChild("SpeechBoard"):destroy()
1779
		end
1780
		local naeeym2 = IT("BillboardGui",Character)
1781
		naeeym2.Size = UD2(0,100,0,40)
1782
		naeeym2.StudsOffset = Vector3.new(0,2,0)
1783
		naeeym2.Adornee = Character.Head
1784
		naeeym2.Name = "SpeechBoard"
1785
		naeeym2.AlwaysOnTop = true
1786
		local tecks2 = IT("TextLabel",naeeym2)
1787
		tecks2.BackgroundTransparency = 1
1788
		tecks2.BorderSizePixel = 0
1789
		tecks2.Text = ""
1790
		tecks2.Font = "Legacy"
1791
		tecks2.TextSize = 15
1792
		tecks2.TextStrokeTransparency = 0
1793
		tecks2.TextColor3 = Color3.new(1,1,1)
1794
		tecks2.TextStrokeColor3 = Color3.new(0,0,0)
1795
		tecks2.Size = UDim2.new(1,0,0.5,0)
1796
		for i = 1,string.len(Text),1 do
1797
			CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
1798
			tecks2.Text = string.sub(Text,1,i)
1799
			wait(Timer)
1800-
function AbyssalShriek()
1800+
1801
		wait(1)
1802
		naeeym2:Destroy()
1803
	end)
1804
	chat()
1805
end
1806
--Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
1807
function Lightning(Table)
1808
    local Color = Table.Color or C3(1,1,1)
1809
    local StartPos = Table.Start or Torso.Position
1810
    local EndPos = Table.End or Mouse.Hit.p
1811
    local SegmentLength = Table.SegmentL or 2
1812
    local Thickness = Table.Thickness or 0.1
1813
    local Dissapear = Table.DoesFade or false
1814
    local Parent = Table.Ignore or Character
1815
    local MaxDist = Table.MaxDist or 400
1816
    local Branches = Table.Branches or false
1817
    local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
1818
    local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
1819
    local LIGHTNINGMODEL = IT("Model",Effects)
1820
    LIGHTNINGMODEL.Name = "Lightning"
1821
    local LastBolt = nil
1822
    for E = 1, DISTANCE do
1823
        local ExtraSize = (DISTANCE-E)/15
1824-
		WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position+VT(0,1.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 15})
1824+
        local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
1825-
		CreateSound(199978176,Head,5,1,false)
1825+
        PART.Color = Color
1826-
		for i = 1, 60 do
1826+
        MakeForm(PART,"Cyl")
1827
        if LastBolt == nil then
1828-
			ApplyAoE(RootPart.Position,17,1,1,0,false)
1828+
            PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1829-
			local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
1829+
        else
1830-
			if HITFLOOR then
1830+
            PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1831-
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(20,1,20), Size2 = VT(25+MRANDOM(0,8),7,25+MRANDOM(0,8)), Transparency = 0.95, Transparency2 = 1, CFrame = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1831+
        end
1832
        LastBolt = PART
1833-
			local SIZE = VT(1,3,1)
1833+
        if Branches == true then
1834-
			WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = SIZE*MRANDOM(10,65)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(1,17),MRANDOM(0,12)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 5})
1834+
            local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
1835
            if CHOICE == 1 then
1836
                local LASTBRANCH = nil
1837
                for i = 1, MRANDOM(2,5) do
1838
                    local ExtraSize2 = ((DISTANCE-E)/25)/i
1839
                    local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
1840
                    PART.Color = Color
1841-
function AbyssalDash()
1841+
                    MakeForm(PART,"Cyl")
1842
                    if LASTBRANCH == nil then
1843
                        PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1844
                    else
1845-
	for i=0, 0.4, 0.1 / Animation_Speed do
1845+
                        PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1846
                    end
1847
                    LASTBRANCH = PART
1848-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1848+
                end
1849-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1849+
            end
1850-
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1850+
        end
1851-
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
1851+
    end
1852-
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
1852+
    if Dissapear == true then
1853
        coroutine.resume(coroutine.create(function()
1854-
	CreateSound(1177785010,Torso,2,1,false)
1854+
            for i = 1, 10 do
1855-
	CreateSound(971125740,Torso,5,1,false)
1855+
                Swait()
1856-
	WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
1856+
                for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
1857-
	for index, CHILD in pairs(Character:GetChildren()) do
1857+
                    if c.ClassName == "Part" then
1858-
		if CHILD:IsA("BasePart") then
1858+
                        c.Transparency = i/10
1859-
			CHILD.Transparency = CHILD.Transparency + 1
1859+
                    end
1860-
		elseif CHILD:IsA("Accessory") then
1860+
                end
1861-
			CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
1861+
            end
1862
            LIGHTNINGMODEL:remove()
1863
        end))
1864
    elseif Dissapear == false then
1865-
	for i=0, 1, 0.1 / Animation_Speed do
1865+
        Debris:AddItem(LIGHTNINGMODEL,0.1)
1866
    end
1867
    return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
1868
end
1869
function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
1870
    coroutine.resume(coroutine.create(function()
1871
        local METEOR = IT("Model",Effects)
1872
        METEOR.Name = "Meteorite"
1873-
						if (TORSO.Position - RootPart.Position).Magnitude <= 25 then
1873+
        local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
1874
        METEOR.PrimaryPart = CENTER
1875
        local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
1876
        PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1877
        for i = 1, 15 do
1878
            local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
1879
            FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1880
        end
1881-
								local DMG = MRANDOM(25,45)
1881+
        if ISDEBREE ~= true then
1882-
								ApplyDamage(HUM,DMG)
1882+
            METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
1883
        else
1884
            METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
1885
        end
1886
        local IMPACT = false
1887
        CreateSound(463593339, CENTER, 10, 0.6)
1888
        if SIZE >= 3.5 then
1889
            for i = 1, MRANDOM(3,7) do
1890-
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,0,25), Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-6) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
1890+
                SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
1891-
		for i = 1, 2 do
1891+
            end
1892-
			RootPart.CFrame = RootPart.CFrame*CF(0,0,-1)
1892+
        end
1893-
			CharacterFade(C3(0,0,0),25,R_RANDOM(Torso.CFrame,1.25).p)
1893+
        for i = 1, 200 do
1894-
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
1894+
            Swait()
1895-
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1895+
            local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
1896-
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(-25), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1896+
            if HITFLOOR == nil then
1897-
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(-25), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1897+
                local ORI = CENTER.Orientation
1898
                METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
1899
            else
1900
                if HITFLOOR.Anchored == true then
1901
                    CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
1902-
	for index, CHILD in pairs(Character:GetChildren()) do
1902+
                    CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
1903-
		if CHILD:IsA("BasePart") then
1903+
                end
1904-
			CHILD.Transparency = CHILD.Transparency - 1
1904+
                IMPACT = true
1905-
		elseif CHILD:IsA("Accessory") then
1905+
                break
1906-
			CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
1906+
            end
1907
        end
1908
        if IMPACT == true then
1909-
	for i=1, 25 do
1909+
            WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
1910
            WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
1911-
		RootPart.CFrame = RootPart.CFrame*CF(0,0,-((25-i)/25))
1911+
            WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
1912-
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
1912+
            ApplyAoE(CENTER.Position,30*SIZE)
1913-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1913+
        end
1914-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1914+
        METEOR:remove()
1915-
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1915+
    end))
1916-
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-45)), 1 / Animation_Speed)
1916+
1917-
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-25), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
1917+
1918
    local TYPE = (Table.EffectType or "Sphere")
1919
    local SIZE = (Table.Size or VT(1,1,1))
1920
    local ENDSIZE = (Table.Size2 or VT(0,0,0))
1921
    local TRANSPARENCY = (Table.Transparency or 0)
1922
    local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1923-
function ShadowCloak()
1923+
    local CFRAME = (Table.CFrame or Torso.CFrame)
1924
    local MOVEDIRECTION = (Table.MoveToPos or nil)
1925
    local ROTATION1 = (Table.RotationX or 0)
1926
    local ROTATION2 = (Table.RotationY or 0)
1927
    local ROTATION3 = (Table.RotationZ or 0)
1928-
		FADERS = false
1928+
    local MATERIAL = (Table.Material or "Neon")
1929
    local COLOR = (Table.Color or C3(1,1,1))
1930
    local TIME = (Table.Time or 45)
1931
    local SOUNDID = (Table.SoundID or nil)
1932
    local SOUNDPITCH = (Table.SoundPitch or nil)
1933-
					RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
1933+
    local SOUNDVOLUME = (Table.SoundVolume or nil)
1934
    coroutine.resume(coroutine.create(function()
1935
        local PLAYSSOUND = false
1936
        local SOUND = nil
1937
        local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1938
        if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1939
            PLAYSSOUND = true
1940
            SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1941
        end
1942
        EFFECT.Color = COLOR
1943
        local MSH = nil
1944
        if TYPE == "Sphere" then
1945
            MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1946
        elseif TYPE == "Block" then
1947-
		WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
1947+
            MSH = IT("BlockMesh",EFFECT)
1948-
		WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
1948+
            MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1949
        elseif TYPE == "Box" then
1950
            MSH = IT("BlockMesh",EFFECT)
1951-
			CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
1951+
            MSH.Scale = SIZE
1952-
			for index, CHILD in pairs(Character:GetChildren()) do
1952+
        elseif TYPE == "Wave" then
1953-
				if CHILD:IsA("BasePart") then
1953+
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1954-
					CHILD.Transparency = CHILD.Transparency + 1/50
1954+
        elseif TYPE == "Ring" then
1955-
				elseif CHILD:IsA("Accessory") then
1955+
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1956-
					CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
1956+
        elseif TYPE == "Slash" then
1957
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1958
        elseif TYPE == "Round Slash" then
1959
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1960
        elseif TYPE == "Swirl" then
1961
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1962-
			CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
1962+
        elseif TYPE == "Skull" then
1963
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1964-
		RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
1964+
        elseif TYPE == "Crystal" then
1965
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1966-
			WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
1966+
        end
1967
        if MSH ~= nil then
1968-
		ApplyAoE(Torso.Position,15,12,22,150,false)
1968+
            local MOVESPEED = nil
1969-
		CreateSound(331666014,Torso,5,1,false)
1969+
            if MOVEDIRECTION ~= nil then
1970-
		for i = 1, 12 do
1970+
                MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1971
            end
1972-
			CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
1972+
            local GROWTH = SIZE - ENDSIZE
1973
            local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1974
            if TYPE == "Block" then
1975
                EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1976-
			CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
1976+
            else
1977-
			for index, CHILD in pairs(Character:GetChildren()) do
1977+
                EFFECT.CFrame = CFRAME
1978-
				if CHILD:IsA("BasePart") then
1978+
            end
1979-
					CHILD.Transparency = CHILD.Transparency - 1/50
1979+
            for LOOP = 1, TIME do
1980-
				elseif CHILD:IsA("Accessory") then
1980+
                Swait()
1981-
					CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
1981+
                MSH.Scale = MSH.Scale - GROWTH/TIME
1982
                if TYPE == "Wave" then
1983
                    MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1984
                end
1985
                EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1986
                if TYPE == "Block" then
1987
                    EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1988-
		FADERS = true
1988+
                else
1989
                    EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1990
                end
1991
                if MOVEDIRECTION ~= nil then
1992
                    local ORI = EFFECT.Orientation
1993
                    EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1994
                    EFFECT.Orientation = ORI
1995
                end
1996
            end
1997
            if PLAYSSOUND == false then
1998
                EFFECT:remove()
1999
            else
2000
                repeat Swait() until SOUND.Playing == false
2001
                EFFECT:remove()
2002
            end
2003
        else
2004
            if PLAYSSOUND == false then
2005
                EFFECT:remove()
2006
            else
2007
                repeat Swait() until SOUND.Playing == false
2008
                EFFECT:remove()
2009
            end
2010
        end
2011
    end))
2012
end
2013
function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
2014
    PLAYMAINANIM = false
2015
    if WhichPose == "Cast1" then
2016
        for i=0, Time, 0.1 / Animation_Speed do
2017
            Swait()
2018
            if Magic == true then
2019
                WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2020
            end
2021
            if Gyro ~= nil and Gyro ~= false then
2022
                Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
2023
            end
2024
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
2025
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
2026
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2027
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2028
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
2029
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
2030
        end
2031
    elseif WhichPose == "Cast2" then
2032
        for i=0, Time, 0.1 / Animation_Speed do
2033
            Swait()
2034
            if Magic == true then
2035
                WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2036
                WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2037
            end
2038
            if Gyro ~= nil and Gyro ~= false then
2039
                Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
2040
            end
2041
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
2042
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
2043
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2044
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2045
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
2046
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
2047
        end
2048
    elseif WhichPose == "RightArmUp" then
2049
        for i=0, Time, 0.1 / Animation_Speed do
2050
            Swait()
2051
            if Magic == true then
2052
                WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2053
            end
2054
            if Gyro ~= nil and Gyro ~= false then
2055
                Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
2056
            end
2057
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
2058
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
2059
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2060
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2061
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
2062
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
2063
        end
2064
    elseif WhichPose == "Taunt" then
2065
        for i=0, Time, 0.1 / Animation_Speed do
2066
            Swait()
2067
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
2068
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
2069
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2070
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2071
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
2072
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
2073
        end
2074
        HATWELD.Part0 = RightArm
2075
        HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
2076
        CreateSound(221057812,Torso,10,1,false)
2077
        for i=0, Time*2, 0.1 / Animation_Speed do
2078
            Swait()
2079
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
2080
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
2081
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2082
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2083
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
2084
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
2085
        end
2086
        for i=0, Time, 0.1 / Animation_Speed do
2087
            Swait()
2088
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
2089
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
2090
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2091
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2092
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
2093
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
2094
            HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
2095
        end
2096
        HATWELD.Part0 = Head
2097
        HATWELD.C0 = CF(0,0.35,0)
2098
    elseif WhichPose == "Prepare key" then
2099
        for i=0, Time, 0.1 / Animation_Speed do
2100
            Swait()
2101
            if Gyro ~= nil and Gyro ~= false then
2102
                Gyro.cframe = CF(RootPart.Position,Tors.Position)
2103
            end
2104
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
2105
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
2106
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2107
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2108
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
2109
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
2110
        end
2111
    elseif WhichPose == "Turn key" then
2112
        for i=0, Time, 0.1 / Animation_Speed do
2113
            Swait()
2114
            if Gyro ~= nil and Gyro ~= false then
2115
                Gyro.cframe = CF(RootPart.Position,Tors.Position)
2116
            end
2117
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
2118
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
2119
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2120
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2121
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
2122
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
2123
        end
2124
    end
2125
    PLAYMAINANIM = true
2126
end
2127
function BulletDetection(FROM,TO,BRUTAL)
2128
    local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
2129
    coroutine.resume(coroutine.create(function()
2130
        if AIMHIT ~= nil then
2131
            if AIMHIT.Parent ~= Character then
2132
                if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2133
                    if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
2134
                        if BRUTAL == true then
2135
                            Kill2(AIMHIT.Parent)
2136
                        else
2137
                            getbloody(AIMHIT,15)
2138
                            AIMHIT.Parent:BreakJoints()
2139
                            if AIMHIT.Name == "Head" then
2140
                                AIMHIT.Name = "HEADSHOT"
2141
                                AIMHIT:remove()
2142
                            end
2143
                        end
2144
                    else
2145
                        if BRUTAL == true then
2146
                            Kill2(AIMHIT.Parent.Parent)
2147
                            else
2148
                            Banish(AIMHIT.Parent.Parent)
2149
                        end
2150
                    end
2151
                end
2152
            end
2153
        end
2154
    end))
2155
    SpawnTrail(FROM,AIMPOS)
2156
    return AIMHIT,AIMPOS,NORMAL
2157
end
2158
 
2159
function BulletDetection2(FROM,TO,BRUTAL)
2160
    local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
2161
    coroutine.resume(coroutine.create(function()
2162
        if AIMHIT ~= nil then
2163
            if AIMHIT.Parent ~= Character then
2164
                if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2165
                    if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
2166
                        if BRUTAL == true then
2167
                            Banish(AIMHIT.Parent)
2168
                        else
2169
                            getbloody(AIMHIT,15)
2170
                            AIMHIT.Parent:BreakJoints()
2171
                            if AIMHIT.Name == "Head" then
2172
                                AIMHIT.Name = "HEADSHOT"
2173
                                AIMHIT:remove()
2174
                            end
2175
                        end
2176
                    else
2177
                        if BRUTAL == true then
2178
                            Banish(AIMHIT.Parent.Parent)
2179
                            else
2180
                            Kill2(AIMHIT.Parent.Parent)
2181
                        end
2182
                    end
2183
                end
2184
            end
2185
        end
2186
    end))
2187
    SpawnTrail(FROM,AIMPOS)
2188
    return AIMHIT,AIMPOS,NORMAL
2189
end
2190
function ApplyAoE(POSITION,RANGE,ISBANISH)
2191
    local CHILDREN = workspace:GetDescendants()
2192
    for index, CHILD in pairs(CHILDREN) do
2193
        if CHILD.ClassName == "Model" and CHILD ~= Character then
2194
            local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2195
            if HUM then
2196
                local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2197
                if TORSO then
2198
                    if (TORSO.Position - POSITION).Magnitude <= RANGE then
2199
                        if ISBANISH == true then
2200
                            Banish(CHILD)
2201
                        else
2202
                            if ISBANISH == "Gravity" then
2203
                                HUM.PlatformStand = true
2204
                                if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2205
                                    local grav = Instance.new("BodyPosition",TORSO)
2206
                                    grav.D = 15
2207
                                    grav.P = 20000
2208
                                    grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2209
                                    grav.position = TORSO.Position
2210
                                    grav.Name = "V3BanishForce"..Player.Name
2211
                                else
2212
                                    TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
2213
                                    TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
2214
                                end
2215
                            else
2216
                                HUM.PlatformStand = false
2217
                            end
2218
                        end
2219
                    elseif ISBANISH == "Gravity" then
2220
                        if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2221
                            TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
2222
                            HUM.PlatformStand = false
2223
                        end
2224
                    end
2225
                end
2226
            end
2227
        end
2228
    end
2229
end
2230
local Delete = IT("Model", Character)
2231
Delete.Name = "Those who must be banished."
2232
 
2233
function killnearest(position, range, maxstrength)
2234
    for i, v in ipairs(workspace:GetChildren()) do
2235
        local body = v:GetChildren()
2236
        for part = 1, #body do
2237
            if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
2238
                CastWarpOutlines(v)
2239
                v:remove()
2240
                if game.Players:FindFirstChild(v.Name) then
2241
                    local Value = IT("BoolValue", Delete)
2242
                    Value.Name = v.Name
2243
                end
2244
            end
2245
        end
2246
    end
2247
end
2248
local TOBANISH = {}
2249
workspace.ChildAdded:connect(function(instance)
2250
    for BANISH = 1, #TOBANISH do
2251
        if TOBANISH[BANISH] ~= nil then
2252
            if instance.Name == TOBANISH[BANISH] then
2253
                coroutine.resume(coroutine.create(function()
2254
                    printbye(instance.Name)
2255
                    instance:ClearAllChildren()
2256
                    Debris:AddItem(instance,0.0005)
2257
                end))
2258
            end
2259
        end
2260
    end
2261
end) 
2262
2263
local S = IT("Sound")
2264
2265
function CastWarpOutlines(TARGET)
2266
    coroutine.resume(coroutine.create(function()
2267
        local T = TARGET:GetChildren()
2268
        for i = 1, #T do
2269
            local child = T[i]
2270
            if child.ClassName == "Part" or child.ClassName == "MeshPart" then
2271
                do
2272
                    local clone = child:Clone()
2273
                    clone.Parent = Effects
2274
                    clone.Anchored = true
2275
                    clone.CanCollide = false
2276
                    clone:ClearAllChildren()
2277
                    clone.CFrame = child.CFrame
2278
                    if clone.Name == "Head" then
2279
                        clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
2280
                    end
2281
                    if clone.ClassName == "MeshPart" then
2282
                        clone.TextureID = ""
2283
                    end
2284
                    clone.Color = C3(1, 0, 0)
2285
                    clone.Material = "Neon"
2286
                    coroutine.resume(coroutine.create(function()
2287
                        for i = 1, 100 do
2288
                            Swait()
2289
                            clone.Transparency = clone.Transparency + 0.01
2290
                            clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
2291
                        end
2292
                        clone:remove()
2293
                    end))
2294
                end
2295
            end
2296
        end
2297
    end))
2298
end
2299
 
2300
local Delete = IT("Model", Character)
2301
Delete.Name = "Those who must be banished."
2302
 
2303
function killnearest(position, range, maxstrength)
2304
    for i, v in ipairs(workspace:GetChildren()) do
2305
        local body = v:GetChildren()
2306
        for part = 1, #body do
2307
            if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
2308
                CastWarpOutlines(v)
2309
                v:remove()
2310
                if game.Players:FindFirstChild(v.Name) then
2311
                    local Value = IT("BoolValue", Delete)
2312
                    Value.Name = v.Name
2313
                end
2314
            end
2315
        end
2316
    end
2317
end
2318
 
2319
function Kill(Char)
2320
    local NewCharacter = IT("Model",Effects)
2321
    NewCharacter.Name = "Ow im ded ;-;"
2322
    for _, c in pairs(Char:GetDescendants()) do
2323
        if c:IsA("BasePart") and c.Transparency == 0 then
2324
            if c.Parent == Char then
2325
                getbloody(c,5)
2326
            end
2327
            c:BreakJoints()
2328
            c.Material = "Glass"
2329
            c.Color = C3(0.5,0,0)
2330
            c.CanCollide = true
2331
            c.Transparency = 0.3
2332
            if c:FindFirstChildOfClass("SpecialMesh") then
2333
                c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2334
            end
2335
            if c.Name == "Head" then
2336
                c:ClearAllChildren()
2337
                c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
2338
            end
2339
            if c.ClassName == "MeshPart" then
2340
                c.TextureID = ""
2341
            end
2342
            if c:FindFirstChildOfClass("BodyPosition") then
2343
                c:FindFirstChildOfClass("BodyPosition"):remove()
2344
            end
2345
            if c:FindFirstChildOfClass("ParticleEmitter") then
2346
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
2347
            end
2348
            c.Parent = NewCharacter
2349
            c.Name = "DeadPart"
2350-
	local SELECTING = true
2350+
            c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
2351-
	local SPOTS = {}
2351+
            c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
2352
        end
2353-
		local LOOP = 0
2353+
    end
2354
    Char:remove()
2355-
			LOOP = LOOP + 1
2355+
    Debris:AddItem(NewCharacter,5)
2356
end
2357-
			if LOOP >= 10 then
2357+
2358-
				LOOP = 0
2358+
local asd = Instance.new("ParticleEmitter")
2359-
				for i = 1, #SPOTS do
2359+
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
2360-
					if SPOTS[i] ~= nil then
2360+
asd.LightEmission = .1
2361-
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2361+
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
2362-
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2362+
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
2363
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2364
asd.Transparency = bbb
2365
asd.Size = aaa
2366
asd.ZOffset = .9
2367-
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2367+
asd.Acceleration = Vector3.new(0, -15, 0)
2368-
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2368+
asd.LockedToPart = false
2369
asd.EmissionDirection = "Back"
2370
asd.Lifetime = NumberRange.new(1, 2)
2371
asd.Rotation = NumberRange.new(-100, 100)
2372-
		until SELECTING == false
2372+
asd.RotSpeed = NumberRange.new(-100, 100)
2373
asd.Speed = NumberRange.new(10)
2374
asd.Enabled = false
2375-
			LOOP = LOOP + 1
2375+
asd.VelocitySpread = 999
2376
 
2377-
			if LOOP >= 10 then
2377+
function ApplyAoE(POSITION,RANGE,ISBANISH)
2378-
				LOOP = 0
2378+
    local CHILDREN = workspace:GetDescendants()
2379-
				for i = 1, #SPOTS do
2379+
    for index, CHILD in pairs(CHILDREN) do
2380-
					if SPOTS[i] ~= nil then
2380+
        if CHILD.ClassName == "Model" and CHILD ~= Character then
2381-
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2381+
            local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2382-
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2382+
            if HUM then
2383
                local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2384
                if TORSO then
2385
                    if (TORSO.Position - POSITION).Magnitude <= RANGE then
2386
                        if ISBANISH == true then
2387-
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
2387+
                            Banish(CHILD)
2388-
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2388+
                        else
2389
                            if ISBANISH == "Gravity" then
2390
                                HUM.PlatformStand = true
2391
                                if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2392
                                    local grav = Instance.new("BodyPosition",TORSO)
2393
                                    grav.D = 15
2394
                                    grav.P = 20000
2395-
		repeat Swait() until HOLD == true
2395+
                                    grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2396-
			local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
2396+
                                    grav.position = TORSO.Position
2397-
			if DIST > 65 then
2397+
                                    grav.Name = "V3BanishForce"..Player.Name
2398-
				DIST = 65
2398+
                                else
2399
                                    TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
2400-
			local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
2400+
                                    TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
2401-
			local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)	
2401+
                                end
2402-
			if HITFLOOR ~= nil then
2402+
                            else
2403-
				table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
2403+
                                HUM.PlatformStand = false
2404-
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
2404+
                            end
2405-
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2405+
                        end
2406
                    elseif ISBANISH == "Gravity" then
2407-
		repeat Swait() until HOLD == false
2407+
                        if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2408-
	until #SPOTS == 5
2408+
                            TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
2409-
	SELECTING = false
2409+
                            HUM.PlatformStand = false
2410-
	for i = 1, #SPOTS do
2410+
                        end
2411-
		if SPOTS[i] ~= nil then
2411+
                    end
2412-
			local POS = SPOTS[i]
2412+
                end
2413
            end
2414-
				local MISSILE = IT("Model",Effects)
2414+
        end
2415-
				MISSILE.Name = "Missile"
2415+
    end
2416-
				local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
2416+
2417-
				MakeForm(BASEPART,"Cyl")
2417+
2418-
				MISSILE.PrimaryPart = BASEPART
2418+
2419-
				BASEPART.CFrame = POS*CF(0,-30*3,0)
2419+
2420-
				local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
2420+
2421-
				MakeForm(HEAD,"Ball")
2421+
2422-
				HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
2422+
2423-
				local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
2423+
2424-
				MakeForm(TAIL,"Cyl")
2424+
2425-
				TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
2425+
2426
		if DOESLOOP == true then
2427
			NEWSOUND.Looped = true
2428-
					for _, c in pairs(MISSILE:GetChildren()) do
2428+
2429-
						if c.ClassName == "Part" then
2429+
2430-
							c.Transparency = c.Transparency - 1/10
2430+
2431
		end
2432
	end))
2433
	return NEWSOUND
2434-
				for i = 1, 15*1.5 do
2434+
2435
2436-
					MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
2436+
function chatfunc(text)
2437
	local chat = coroutine.wrap(function()
2438-
				ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
2438+
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
2439-
				WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
2439+
		Character:FindFirstChild("TalkingBillBoard"):destroy()
2440-
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
2440+
2441-
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2441+
	local Bill = Instance.new("BillboardGui",Character)
2442-
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2442+
	Bill.Size = UDim2.new(0,100,0,40)
2443-
				MISSILE:remove()
2443+
	Bill.StudsOffset = Vector3.new(0,3,0)
2444
	Bill.Adornee = Character.Head
2445
	Bill.Name = "TalkingBillBoard"
2446
	local Hehe = Instance.new("TextLabel",Bill)
2447-
	wait(0.6)
2447+
	Hehe.BackgroundTransparency = 1
2448
	Hehe.BorderSizePixel = 0
2449
	Hehe.Text = ""
2450
	Hehe.Font = "Garamond"
2451
	Hehe.TextSize = 40
2452-
function TimesUp()
2452+
	Hehe.TextStrokeTransparency = 0
2453-
	CLOCKTARGET = nil
2453+
	Hehe.Size = UDim2.new(1,0,0.5,0)
2454-
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2454+
2455-
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
2455+
		while Hehe ~= nil do
2456-
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
2456+
			swait()	
2457-
		if TORSO then
2457+
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
2458-
			ATTACK = true
2458+
			Hehe.Rotation = math.random(-5,5)
2459-
			Rooted = false
2459+
			Hehe.TextColor3 = Color3.new(255,255,0)
2460
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
2461
		end
2462
	end))
2463-
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2463+
	for i = 1,string.len(text),1 do
2464-
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2464+
		swait()
2465-
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2465+
		Hehe.Text = string.sub(text,1,i)
2466-
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2466+
2467-
					RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2467+
	swait(90)--Re[math.random(1, 93)]
2468-
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2468+
	for i = 0, 1, .025 do
2469-
				until ATTACK == false
2469+
		swait()
2470
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
2471-
			if Effects:FindFirstChild("NeonDoll") then
2471+
		Hehe.TextStrokeTransparency = i
2472-
				repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
2472+
		Hehe.TextTransparency = i
2473
	end
2474
	Bill:Destroy()
2475-
			local FAKECHARACTER = IT("Model",Effects)
2475+
2476-
			FAKECHARACTER.Name = "NeonDoll"
2476+
chat()
2477-
			local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.3,0.3,0.15),false)
2477+
2478-
			CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
2478+
2479-
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
2479+
function onChatted(msg)
2480-
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
2480+
	chatfunc(msg)
2481-
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
2481+
2482-
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
2482+
2483-
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
2483+
function CamShake(SHAKE,TIMER)
2484-
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
2484+
    coroutine.resume(coroutine.create(function()
2485-
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
2485+
        local FADER = SHAKE/TIMER
2486-
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
2486+
        for i = 1, TIMER do
2487-
			local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.15,0.15),false)
2487+
            wait()
2488-
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
2488+
            Humanoid.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
2489-
			CreateSound(201858045, TORS, 5, 0.4, false)
2489+
        end
2490-
			for i = 1, 150 do
2490+
        Humanoid.CameraOffset = VT(0,0,0)
2491
    end))
2492-
				CLOCKSPEED = 6
2492+
2493-
				for _, c in pairs(FAKECHARACTER:GetChildren()) do
2493+
function PAW_HAHA(LOC,AIMTO,OUCH)
2494-
					if c.ClassName == "Part" then
2494+
    WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1.4,1.4,1.4), Transparency = 0, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 138083993, SoundPitch = MRANDOM(8,12)/13, SoundVolume = 2})
2495-
						c.Transparency = c.Transparency - 0.5/150
2495+
    for i = 1, 4 do
2496
        local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
2497
        local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,MRANDOM(5,75)/10).p
2498
        local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
2499-
			CLOCKTARGET = HUM
2499+
        local DISTANCE = (POS - LOC).Magnitude
2500
        if HIT then
2501-
				repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
2501+
            local HUM = nil
2502-
				for i = 1, 25 do
2502+
            if HIT.Parent:FindFirstChildOfClass("Humanoid") then
2503
                HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
2504-
					for _, c in pairs(FAKECHARACTER:GetChildren()) do
2504+
            elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2505-
						if c.ClassName == "Part" then
2505+
                HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
2506-
							c.Transparency = c.Transparency + 0.5/25
2506+
            end
2507
            if HUM then
2508
                ApplyDamage(HUM,OUCH+MRANDOM(-3,3))
2509
            end
2510-
				CLOCKSPEED = 1
2510+
        end
2511-
				FAKECHARACTER:remove()
2511+
        WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 4})
2512
        WACKYEFFECT({Time = 20, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.7,0.7,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2513
    end
2514-
			ATTACK = false
2514+
2515-
			Rooted = false
2515+
function Chatter(Text,Timer)
2516
    local chat = coroutine.wrap(function()
2517
        if Character:FindFirstChild("SpeechBoard")~= nil then
2518
            Character:FindFirstChild("SpeechBoard"):destroy()
2519
        end
2520
        local naeeym2 = IT("BillboardGui",Character)
2521
        naeeym2.Size = UD2(0,100,0,40)
2522
        naeeym2.StudsOffset = Vector3.new(0,2,0)
2523
        naeeym2.Adornee = Character.Head
2524
        naeeym2.Name = "SpeechBoard"
2525
        naeeym2.AlwaysOnTop = true
2526
        local tecks2 = IT("TextLabel",naeeym2)
2527
        tecks2.BackgroundTransparency = 1
2528
        tecks2.BorderSizePixel = 0
2529
        tecks2.Text = ""
2530
        tecks2.Font = "Legacy"
2531
        tecks2.TextSize = 15
2532
        tecks2.TextStrokeTransparency = 0
2533
        tecks2.TextColor3 = Color3.new(1,1,1)
2534
        tecks2.TextStrokeColor3 = Color3.new(0,0,0)
2535
        tecks2.Size = UDim2.new(1,0,0.5,0)
2536
        for i = 1,string.len(Text),1 do
2537
            CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
2538
            tecks2.Text = string.sub(Text,1,i)
2539
            wait(Timer)
2540
        end
2541
        wait(1)
2542
        naeeym2:Destroy()
2543
    end)
2544
    chat()
2545
end
2546
function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier)
2547
    local dmg = math.random(min,max)
2548
    for i,v in ipairs(workspace:GetChildren()) do
2549
    if v:FindFirstChild("HitBy"..Player.Name) == nil then
2550
        local body = v:GetChildren()
2551
            for part = 1, #body do
2552
                if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2553
                    if(body[part].Position - position).Magnitude < radius then
2554
                        if v.ClassName == "Model" then
2555
                            if v:FindFirstChildOfClass("Humanoid") then
2556
                                ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
2557
                                body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
2558
                            end
2559
                        end
2560
                    end
2561
                end
2562
            end
2563
        end
2564
        if v:FindFirstChild("HitBy"..Player.Name) then
2565
            v:FindFirstChild("HitBy"..Player.Name):remove()
2566
        end
2567
    end
2568
end
2569
function MagicSphere2(size,wait,cframe,color)
2570
    local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
2571
    local mesh = IT("SpecialMesh",wave)
2572
    mesh.MeshType = "Sphere"
2573
    mesh.Scale = VT(size,size,size)
2574
    mesh.Offset = VT(0,0,0)
2575
    wave.CFrame = cframe
2576
    coroutine.resume(coroutine.create(function(PART)
2577
        for i = 1, waitt do
2578
            Swait()
2579
            mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
2580
            wave.Transparency = wave.Transparency - (1/waitt)
2581
        end
2582
        wave:remove()
2583
    end))
2584
end
2585
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
2586
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
2587
    local mesh = IT("SpecialMesh",wave)
2588
    mesh.MeshType = "Sphere"
2589
    mesh.Scale = SIZE
2590
    mesh.Offset = VT(0,0,0)
2591
    wave.CFrame = CFRAME
2592
    coroutine.resume(coroutine.create(function(PART)
2593
        for i = 1, WAIT do
2594
            Swait()
2595
            mesh.Scale = mesh.Scale + GROW
2596
            wave.Transparency = wave.Transparency + (1/WAIT)
2597
            if wave.Transparency > 0.99 then
2598
                wave:remove()
2599
            end
2600
        end
2601
    end))
2602
end
2603
function ApplyDamage(Humanoid,Damage,TorsoPart)
2604
	local defence = Instance.new("BoolValue",Humanoid.Parent)
2605
	defence.Name = ("HitBy"..Player.Name)
2606
	game:GetService("Debris"):AddItem(defence, 0.001)
2607
	Damage = Damage * DAMAGEMULTIPLIER
2608
	if Humanoid.Health ~= 0 then
2609
		local CritChance = MRANDOM(1,100)
2610
		if Damage > Humanoid.Health then
2611
			Damage = math.ceil(Humanoid.Health)
2612
			if Damage == 0 then
2613
				Damage = 0.1
2614
			end
2615
		end
2616
		Humanoid.Health = Humanoid.Health - Damage
2617
	end
2618
end
2619
2620
function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
2621
    local CHILDREN = workspace:GetDescendants()
2622
    for index, CHILD in pairs(CHILDREN) do
2623
        if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2624
            local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2625
            if HUM then
2626
                local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2627
                if TORSO then
2628
                    if (TORSO.Position - POSITION).Magnitude <= RANGE then
2629
                        if INSTAKILL == true then
2630
                            CHILD:BreakJoints()
2631
                        else
2632
                            local DMG = MRANDOM(MINDMG,MAXDMG)
2633
                            ApplyDamage(HUM,DMG,TORSO)
2634
                        end
2635
                        if FLING > 0 then
2636
                            for _, c in pairs(CHILD:GetChildren()) do
2637
                                if c:IsA("BasePart") then
2638
                                    local bv = Instance.new("BodyVelocity")
2639
                                    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2640
                                    bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
2641
                                    bv.Parent = c
2642
                                    Debris:AddItem(bv,0.05)
2643
                                end
2644
                            end
2645
                        end
2646
                    end
2647
                end
2648-
	local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
2648+
            end
2649
        end
2650
    end
2651
end
2652
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
2653
	local CHILDREN = workspace:GetDescendants()
2654
	for index, CHILD in pairs(CHILDREN) do
2655
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2656
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2657
			if HUM then
2658
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2659
				if TORSO then
2660
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2661
						if INSTAKILL == true then
2662
							CHILD:BreakJoints()
2663
						else
2664
							local DMG = MRANDOM(MINDMG,MAXDMG)
2665
							ApplyDamage(HUM,DMG,TORSO)
2666
						end
2667
						if FLING > 0 then
2668
							for _, c in pairs(CHILD:GetChildren()) do
2669
								if c:IsA("BasePart") then
2670
									local bv = Instance.new("BodyVelocity") 
2671
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2672
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
2673
									bv.Parent = c
2674
									Debris:AddItem(bv,0.05)
2675
								end
2676
							end
2677
						end
2678
					end
2679
				end
2680
			end
2681
		end
2682
	end
2683
end
2684
2685
for _, c in pairs(Weapon:GetChildren()) do
2686
	if c.ClassName == "Part" then
2687
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2688
	end
2689
end
2690
2691
Neck.Name = "Weld"
2692
RootJoint.Name = "Weld"
2693
RightShoulder.Name = "Weld"
2694
LeftShoulder.Name = "Weld"
2695
RightHip.Name = "Weld"
2696
LeftHip.Name = "Weld"
2697
2698
local SKILLTEXTCOLOR = C3(0,0,0)
2699
local SKILLFONT = "Fantasy"
2700
local SKILLTEXTSIZE = 7
2701
2702
Weapon.Parent = Character
2703
Humanoid.Parent = Character
2704
2705
Humanoid.Died:connect(function()
2706
	ATTACK = true
2707
end)
2708
2709
--//=================================\\
2710
--||	ATTACK FUNCTIONS AND STUFF
2711
--\\=================================//
2712
--
2713
--------
2714
function TimeSweep()
2715
    ATTACK = true
2716
    Rooted = false
2717
    for i=0, 0.5, 0.1 / Animation_Speed do
2718
        Swait()
2719
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2720
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2721
    end
2722
    for e = 1, #BODY do
2723
        if BODY[e] ~= nil then
2724
            local STUFF = BODY[e]
2725
            local PART = STUFF[1]
2726
            if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
2727
                local PRT = PART:Clone()
2728
                PRT.Anchored = true
2729
                PRT.CanCollide = false
2730
                PRT.Material = "Neon"
2731
                PRT.Color = C3(1,0,0)
2732
                PRT.Name = "WarpEffect"
2733
                PRT.Parent = Effects
2734
                PRT.CFrame = PART.CFrame
2735
                PRT:BreakJoints()
2736
                if PRT:FindFirstChildOfClass("Sound") then
2737
                    PRT:FindFirstChildOfClass("Sound"):remove()
2738
                end
2739
                if PRT:FindFirstChildOfClass("Decal") then
2740
                    PRT:FindFirstChildOfClass("Decal"):remove()
2741
                end
2742
                coroutine.resume(coroutine.create(function()
2743
                    for i = 1, 100 do
2744
                        Swait()
2745
                        PRT.Transparency = PRT.Transparency + 1/100
2746
                    end
2747
                    PRT:remove()
2748
                end))
2749
            end
2750
        end
2751
    end
2752
    local POS = RootPart.Orientation
2753
    RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
2754
    RootPart.Orientation = POS
2755
    RootJoint.Parent = RootPart
2756
    for i=0, 0.5, 0.1 / Animation_Speed do
2757
        Swait()
2758
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2759
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2760
     end
2761
    for i=0, 0.1, 0.1 / Animation_Speed do
2762
        Swait()
2763
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2764
    end
2765
    ATTACK = false
2766
    Rooted = false
2767
end
2768
function MagicMissiles()
2769
    ATTACK = true
2770
    Rooted = true
2771
    local SELECTING = true
2772
    local SPOTS = {}
2773
    coroutine.resume(coroutine.create(function()
2774
        local LOOP = 0
2775
        repeat
2776
            LOOP = LOOP + 1
2777
            Swait()
2778
            if LOOP >= 10 then
2779
                LOOP = 0
2780
                for i = 1, #SPOTS do
2781
                    if SPOTS[i] ~= nil then
2782
                        WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2783
                        WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2784
                    end
2785
                end
2786
            end
2787
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2788
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2789
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2790
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2791
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2792
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2793
        until SELECTING == false
2794
        Rooted = false
2795
        repeat
2796
            LOOP = LOOP + 1
2797
            Swait()
2798
            if LOOP >= 10 then
2799
                LOOP = 0
2800
                for i = 1, #SPOTS do
2801
                    if SPOTS[i] ~= nil then
2802
                        WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2803
                        WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2804-
			WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2804+
                    end
2805
                end
2806
            end
2807
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2808
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
2809
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2810
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2811
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2812
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2813
        until ATTACK == false
2814
    end))
2815
    repeat
2816
        repeat Swait() until HOLD == true
2817
            local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
2818
            if DIST > 99999 then
2819
                DIST = 99999
2820
            end
2821
            local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
2822
            local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)   
2823
            if HITFLOOR ~= nil then
2824-
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
2824+
                table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
2825
                WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
2826
                WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2827
            end
2828
        repeat Swait() until HOLD == false
2829
    until #SPOTS == 1
2830
    SELECTING = false
2831
    for i = 1, #SPOTS do
2832
        if SPOTS[i] ~= nil then
2833
            local POS = SPOTS[i]
2834
            coroutine.resume(coroutine.create(function()
2835
                local MISSILE = IT("Model",Effects)
2836
                MISSILE.Name = "Missile"
2837
                local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2,2,2))
2838
                MakeForm(BASEPART,"Cyl")
2839
                MISSILE.PrimaryPart = BASEPART
2840
                BASEPART.CFrame = POS*CF(0,-30*3,0)
2841
                local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2,4,2))
2842
                MakeForm(HEAD,"Ball")
2843
                HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
2844
                local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2.5,0.1,2.5))
2845
                MakeForm(TAIL,"Cyl")
2846
                TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
2847
                for i = 1, 10 do
2848
                    Swait()
2849
                    for _, c in pairs(MISSILE:GetChildren()) do
2850
                        if c.ClassName == "Part" then
2851
                            c.Transparency = c.Transparency - 1/10
2852
                        end
2853
                    end
2854
                end
2855
                for i = 1, 15*1.5 do
2856
                    Swait()
2857
                    MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
2858
                end
2859
                ApplyAoE3(BASEPART.CFrame.p,20,35,45,75,false)
2860
                WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
2861
                WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 100})
2862
                WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2863
                WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2864
                MISSILE:remove()
2865
            end))
2866
        end
2867
    end
2868
    wait(0.6)
2869
    ATTACK = false
2870
    Rooted = false
2871
end
2872
--------
2873
2874
function Melee()
2875
	ATTACK = true
2876
	BLADE.CanCollide = true
2877
	Rooted = false
2878
	EQUIPPED = true
2879
	local HIT = function()
2880
		local HITS = {}
2881
		local TOUCH = BLADE.Touched:Connect(function(hit)
2882
			if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
2883
				local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
2884
				local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
2885
				if TORSO and HUM.Health > 0 then
2886
					local PASS = true
2887
					for i = 1, #HITS do
2888
						if HITS[i] == hit.Parent then
2889
							PASS = false
2890
						end
2891
					end
2892
					table.insert(HITS,hit.Parent)
2893
						if PASS == true then
2894
						ApplyDamage(HUM,MRANDOM(15,25))
2895
					end
2896
				end
2897
			end
2898
		end)
2899
		return TOUCH
2900
	end
2901
	if COMBO == 1 then
2902
		for i=0, 0.35, 0.1 / Animation_Speed do
2903
			Swait()
2904
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
2905
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
2906
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2907
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2908
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
2909
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
2910
			BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
2911
		end
2912
		CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
2913
		local TOUCHED = HIT()
2914
		for i=0, 0.5, 0.1 / Animation_Speed do
2915
			Swait()
2916
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
2917
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.9 / Animation_Speed)
2918
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.8, 0.5, -0.7) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(15), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
2919
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2920
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
2921
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
2922
			BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
2923
		end
2924
		TOUCHED:Disconnect()
2925
		COMBO = 2
2926
	elseif COMBO == 2 then
2927
		for i=0, 0.35, 0.1 / Animation_Speed do
2928
			Swait()
2929
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2930
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
2931
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(160), RAD(0), RAD(-5)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2932
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2933
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
2934
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
2935
			BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
2936
		end
2937
		CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
2938
		local TOUCHED = HIT()
2939
		for i=0, 0.35, 0.1 / Animation_Speed do
2940
			Swait()
2941
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
2942
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
2943
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2944
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2945
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
2946
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
2947
			BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
2948
		end
2949
		TOUCHED:Disconnect()
2950
		for i=0, 0.2, 0.1 / Animation_Speed do
2951
			Swait()
2952
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
2953
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
2954
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2955
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2956
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
2957
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
2958
			BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame*CF(4,0.3,0) * ANGLES(RAD(195), RAD(-25), RAD(15)),0.4)
2959
		end
2960
		COMBO = 1
2961
	end
2962
	coroutine.resume(coroutine.create(function()
2963
		for i = 1, 50 do
2964
			Swait()
2965
			if ATTACK == true then
2966
				break
2967
			end
2968
		end
2969
		if ATTACK == false then
2970
			COMBO = 1
2971
		end
2972
	end))
2973
	BLADE.CanCollide = false
2974
	ATTACK = false
2975
	Rooted = false
2976
	EQUIPPED = false
2977
end
2978
function BlackBlast()
2979
	if ANIM ~= "Fall" and ANIM ~= "Jump" then
2980
		ATTACK = true
2981
		Rooted = true
2982
		local GYRO = IT("BodyGyro",RootPart)
2983
		GYRO.D = 25
2984
		GYRO.P = 20000
2985
		GYRO.MaxTorque = VT(0,4000000,0)
2986
		GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2987
		CreateSound(429459101,Torso,5,1.5,false)
2988
		local GYROING = true
2989
		coroutine.resume(coroutine.create(function()
2990
			repeat
2991
				Swait()
2992
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2993
			until GYROING == false
2994
			GYRO:Remove()
2995
		end))
2996
		for i=0, 1, 0.1 / Animation_Speed do
2997
			Swait()
2998
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2999
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3000
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3001
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3002
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
3003
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
3004
		end
3005
		for i = 1, 13 do
3006
			WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(i,0,i)*2, Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,7.5-i) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
3007
		end
3008
		CreateSound(1368637781,Torso,5,1.5,false)
3009
		WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
3010
		for index, CHILD in pairs(Character:GetChildren()) do
3011
			if CHILD:IsA("BasePart") then
3012
				CHILD.Transparency = CHILD.Transparency + 1
3013
			elseif CHILD:IsA("Accessory") then
3014
				CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
3015
			end
3016
		end
3017
		GYROING = false
3018
		coroutine.resume(coroutine.create(function()
3019
			coroutine.resume(coroutine.create(function()
3020
				for i=1, 25 do
3021
					Swait()
3022
					RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
3023
				end
3024
			end))
3025
			repeat
3026
				Swait()
3027
				CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
3028
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
3029
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
3030
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3031
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3032
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
3033
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
3034
			until ATTACK == false
3035
		end))
3036
		coroutine.resume(coroutine.create(function()
3037
			local BULLETCFRAME = RootPart.CFrame
3038
			local EXPLODED = false
3039
			coroutine.resume(coroutine.create(function()
3040
				repeat
3041
					Swait()
3042
					WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(10,10,10), Transparency = 0.3, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
3043
					WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(25,25,25), Transparency = 0.8, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
3044
				until EXPLODED == true
3045
			end))
3046
			for i=1, 50 do
3047
				Swait()
3048
				BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
3049
				local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
3050
				if RAY then
3051
					ApplyAoE(BULLETCFRAME.p,25,12,54,350,false)
3052
					WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HIT,HIT+NORM) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 765590102, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10})
3053
					break
3054
				end
3055
			end
3056
			wait(0.5)
3057
			WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
3058
			WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
3059
			for E = 1, 3 do
3060
				for i = 1, 5 do
3061
					WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
3062
				end
3063
			end
3064
			ApplyAoE(BULLETCFRAME.p,125,25,75,250,false)
3065
			EXPLODED = true
3066
			for i = 1, 15 do
3067
				Swait()
3068
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = BULLETCFRAME * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
3069
			end
3070
		end))
3071
		wait(0.5)
3072
		for index, CHILD in pairs(Character:GetChildren()) do
3073
			if CHILD:IsA("BasePart") then
3074
				CHILD.Transparency = CHILD.Transparency - 1
3075
			elseif CHILD:IsA("Accessory") then
3076
				CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
3077
			end
3078
		end
3079
		ATTACK = false
3080
		Rooted = false
3081
	end
3082
end
3083
function NightmareFall()
3084
	if ANIM ~= "Fall" and ANIM ~= "Jump" and DAMAGEMULTIPLIER == 1 then
3085
		ATTACK = true
3086
		Rooted = true
3087
		EQUIPPED = true
3088
		CreateSound(160740121,Head,10,1,false)
3089
		for i=0, 2, 0.1 / Animation_Speed do
3090
			Swait()
3091
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3092
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3093
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.4 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(120), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3094
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3095
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
3096
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
3097
3098
		end
3099
		for i=0, 2, 0.1 / Animation_Speed do
3100
			Swait()
3101
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3102
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3103
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.15 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(140), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3104
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3105
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
3106
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
3107
3108
		end
3109
		local SIZE = 0
3110
		local POS = RootPart.Position+VT(0,150,0)
3111
		local BLOWN = false
3112
		coroutine.resume(coroutine.create(function()
3113
			coroutine.resume(coroutine.create(function()
3114
				repeat
3115
					Swait()
3116
					if SIZE > 0 then
3117
						WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(SIZE,SIZE,SIZE)*2.5, Transparency = 0.3, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
3118
						WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(SIZE,SIZE,SIZE)*3, Transparency = 0.8, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
3119
					end
3120
				until BLOWN == true
3121
			end))
3122
			repeat
3123
				Swait()
3124
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(12), RAD(25)), 1 / Animation_Speed)
3125
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(-15)), 1 / Animation_Speed)
3126
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(180), RAD(15), RAD(17)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3127
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3128
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
3129
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
3130
	
3131
			until ATTACK == false
3132
		end))
3133
		wait(0.2)
3134
		for i = 1, 15 do
3135
			wait(MRANDOM(2,6)/45)
3136
			coroutine.resume(coroutine.create(function()
3137
3138
				local HEIGHT = 45/5
3139
				local DISTANCE = (BLADE.Position - POS).Magnitude
3140
				for i = 1, 45 do
3141
					Swait()
3142
					CFRAME = CFRAME * CF(0,(HEIGHT-(i/2.575))/45,-DISTANCE/45)
3143
					WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0.3, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 0})
3144
				end
3145
				SIZE = SIZE + 1
3146
			end))
3147
		end
3148
		wait(2.5)
3149
		BLOWN = true
3150
		WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(150,50,150), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.4, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
3151
		for E = 1, 5 do
3152
			for i = 1, 5 do
3153
				WACKYEFFECT({Time = 50+(E*4), EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
3154
			end
3155
		end
3156
		CreateSound(288641686,Effects,5,1,false)
3157
		CreateSound(592877506,Effects,5,1,false)
3158
		local HITS = {}
3159
		for index, CHILD in pairs(workspace:GetDescendants()) do
3160
			if CHILD.ClassName == "Model" and CHILD ~= Character then
3161
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3162
				if HUM then
3163
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3164
					if TORSO then
3165
						if (TORSO.Position - RootPart.Position).Magnitude <= 175 then
3166
							local PASS = true
3167
							for E = 1, #HITS do
3168
								if HITS[E] == CHILD then
3169
									PASS = false
3170
								end
3171
							end
3172
							if PASS == true then
3173
								table.insert(HITS,CHILD)
3174
							end
3175
						end
3176
					end
3177
				end
3178
			end
3179
		end	
3180
		if #HITS > 0 then
3181
			local DONE = false
3182
			local HUMS = {}
3183
			coroutine.resume(coroutine.create(function()
3184
				for E = 1, #HITS do
3185
					local HUM = HITS[E]:FindFirstChildOfClass("Humanoid")
3186
					table.insert(HUMS,HUM)
3187
					local TORSO = HITS[E]:FindFirstChild("Torso") or HITS[E]:FindFirstChild("UpperTorso")
3188
					local grav = Instance.new("BodyPosition",TORSO)
3189
					grav.D = 850
3190
					grav.P = 4000
3191
					grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
3192
					grav.Position = TORSO.Position+VT(0,35,0)
3193
					CreateSound(592877506,TORSO,5,0.5,false)
3194
					if TORSO then
3195
						coroutine.resume(coroutine.create(function()
3196
							local B = IT("Attachment",TORSO)
3197
							local ChainLink = IT("Beam",Torso)
3198
							ChainLink.Texture = "rbxassetid://73042633"
3199
							ChainLink.Color = ColorSequence.new(C3(0,0,0))
3200
							ChainLink.TextureSpeed = -1
3201
							ChainLink.FaceCamera = true
3202
							ChainLink.Width0 = 3
3203
							ChainLink.Width1 = 3
3204
							ChainLink.TextureLength = 3
3205
							ChainLink.Attachment0 = A
3206
							ChainLink.Attachment1 = B
3207
							ChainLink.CurveSize0 = 0
3208
							ChainLink.CurveSize1 = 0
3209
							ChainLink.FaceCamera = true
3210
							ChainLink.TextureMode = "Static"
3211
							ChainLink.Transparency = NumberSequence.new(0)
3212
							repeat
3213
								Swait()
3214
								WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(2,2,2)*TORSO.Size.Z, Size2 = VT(0,0,0), Transparency = 0.6, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 35})
3215
							until DONE == true or HUM.Health < 1
3216
							B:Remove()
3217
							ChainLink:Remove()
3218
							grav:Remove()
3219
							if HUM.Health < 1 then
3220
								for E = 1, 2 do
3221
									for i = 1, 3 do
3222
										WACKYEFFECT({Time = 15, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/6, Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
3223
									end
3224
								end
3225
								WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(2,2,2)*TORSO.Size.Z, Size2 = VT(6,6,6)*TORSO.Size.Z, Transparency = 0.6, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 160772554, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
3226
								for _, c in pairs(HITS[E]:GetChildren()) do
3227
									if c:IsA("BasePart") or c:IsA("Accessory") then
3228
										c:remove()
3229
									end
3230
								end
3231
								local BONES = {
3232
								Skull = {MeshId = 36869983,Size = VT(0.7,0.7,0.7)},
3233
								Ribs = {MeshId = 546760032,Size = VT(2.18, 1.884, 1.105)}
3234
								}
3235
								local SELECTABLEBONES = {
3236
								{MeshId = 546760045,Size = VT(0.468, 1.12, 0.346)},
3237
								{MeshId = 546760042,Size = VT(0.366, 0.991, 0.365)},
3238
								{MeshId = 546760029,Size = VT(0.441, 0.799, 0.347)},
3239
								{MeshId = 546760030,Size = VT(0.605, 0.843, 0.4)}
3240
								}
3241-
function nahid()
3241+
3242
									local CHOSENPIECE = nil
3243
									if i == 1 then
3244
										CHOSENPIECE = BONES.Skull
3245
									elseif i == 2 then
3246
										CHOSENPIECE = BONES.Ribs
3247
									else
3248
										CHOSENPIECE = SELECTABLEBONES[MRANDOM(1,#SELECTABLEBONES)]
3249
									end
3250
									local BONE = CreatePart(3, HITS[E], "Neon", 0, 0, BRICKC("Salmon"), "RIP", CHOSENPIECE.Size, false)
3251
									BONE.CanCollide = true
3252
									BONE.CFrame = TORSO.CFrame*CF(MRANDOM(-10,10)/30,MRANDOM(-10,10)/30,MRANDOM(-10,10)/30)
3253
									if CHOSENPIECE.MeshId == 36869983 then
3254
										CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1)/1.5, VT(0,0,0))
3255
									else
3256
										CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1), VT(0,0,0))
3257
									end
3258
								end
3259
							end
3260
						end))
3261
					end
3262
				end
3263
				wait(1)
3264
				for i = 1, 250 do
3265
					Swait()
3266
					for E = 1, #HUMS do
3267-
	LAUGH = CreateSound(525166232, Head, 10, 1, false)
3267+
3268
							if HUMS[E].Health > 0 then
3269
								HUMS[E].Health = HUMS[E].Health - 0.3
3270-
function Teleport()
3270+
3271
								WACKYEFFECT({Time = 10, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(1.5,0,1.5)/20, Transparency = 0.9, Transparency2 = 1, CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
3272
							end
3273
						end
3274
					end
3275-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3275+
3276-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
3276+
3277
				local SKILLTEXT = CreateLabel(SKILLFRAME, "!You have increased damage!", SKILLTEXTCOLOR, SKILLTEXTSIZE2, SKILLFONT, 1, 2, 1, "AAAA")
3278
				coroutine.resume(coroutine.create(function()
3279
					CreateSound(743521450,Cam,5,0.6,false)
3280
					for E = 1, 75 do
3281
						Swait()
3282-
			if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
3282+
3283-
				local PRT = PART:Clone()
3283+
3284-
				PRT.Anchored = true
3284+
3285-
				PRT.CanCollide = false
3285+
3286-
				PRT.Material = "Neon"
3286+
3287-
				PRT.Color = C3(0,0,0)
3287+
3288-
				PRT.Name = "WarpEffect"
3288+
3289-
				PRT.Parent = Effects
3289+
3290-
				PRT.CFrame = PART.CFrame
3290+
3291-
				PRT:BreakJoints()
3291+
3292-
				if PRT:FindFirstChildOfClass("Sound") then
3292+
3293-
					PRT:FindFirstChildOfClass("Sound"):remove()
3293+
3294
					for i = 1, 3 do
3295-
				if PRT:FindFirstChildOfClass("Decal") then
3295+
3296-
					PRT:FindFirstChildOfClass("Decal"):remove()
3296+
3297
				end
3298
				DAMAGEMULTIPLIER = 1
3299-
					for i = 1, 100 do
3299+
3300
			wait(0.2)
3301-
						PRT.Transparency = PRT.Transparency + 1/100
3301+
3302
		wait(0.4)
3303-
					PRT:remove()
3303+
3304
		ATTACK = false
3305
		Rooted = false
3306
	end
3307
end
3308-
	CreateSound(217767125, Torso, 10, 1)
3308+
3309-
	local POS = RootPart.Orientation
3309+
3310-
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
3310+
3311-
	RootPart.Orientation = POS
3311+
3312-
	RootJoint.Parent = RootPart
3312+
3313
		Swait()
3314
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3315-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3315+
3316-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
3316+
3317
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.45 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3318-
	for i=0, 0.1, 0.1 / Animation_Speed do
3318+
3319
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
3320-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
3320+
3321
	for i=1, 185 do
3322
		Swait()
3323
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3324
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1 + 0.05 * SIN(SINE/2)) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
3325
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.55 + 0.15 * SIN(SINE/2), -0.7) * ANGLES(RAD(3 + 3 * SIN(SINE/2)), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3326
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.4 + 0.15 * SIN(SINE/2), -0.6) * ANGLES(RAD(3 + 3 * SIN(SINE/2)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3327
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
3328
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
3329
	end
3330
	ATTACK = false
3331
	Rooted = false
3332
end
3333
--
3334
function ReeeEEEEEE()
3335
    ATTACK = true
3336
    Rooted = false
3337
    Speed = 12
3338
    local FX = CreateSound(198165368, Head, 4, 0.5, false)
3339
    repeat
3340
        Swait()
3341
        FX.Parent = Head
3342
        local CHILDREN = workspace:GetDescendants()
3343
        for index, CHILD in pairs(CHILDREN) do
3344
            if CHILD.ClassName == "Model" and CHILD ~= Character then
3345
                local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3346
                if HUM then
3347
                    local TORSO = CHILD:FindFirstChild("Head")
3348
                    if TORSO then
3349
                        if (TORSO.Position - Head.Position).Magnitude <= 25 then
3350
                            WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3351
                            TORSO:remove()
3352
                            if CHILD:FindFirstChild("Torso") then
3353
                                Ragdoll(CHILD,Torso,true)
3354
                            elseif CHILD:FindFirstChild("UpperTorso") then
3355
                                R15Ragdoll(CHILD,true)
3356
                            end
3357
                        end
3358
                    end
3359
                end
3360
            end
3361
        end
3362
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
3363
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
3364
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3365
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3366
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-45), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3367
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3368
    until FX.Playing == false
3369
    Speed = 16
3370
    ATTACK = false
3371
    Rooted = false
3372
end
3373
3374
function Prison_Key()
3375
    if Mouse.Target ~= nil then
3376
        if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3377
            local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
3378
            local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
3379
            local GYRO = IT("BodyGyro",RootPart)
3380
            GYRO.D = 750
3381
            GYRO.P = 20000
3382
            GYRO.MaxTorque = VT(0,40000000,0)
3383
            local grav = Instance.new("BodyPosition",TORSO)
3384
            grav.D = 15
3385
            grav.P = 20000
3386
            grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
3387
            grav.position = TORSO.Position
3388
            local GYRO2 = IT("BodyGyro",TORSO)
3389
            GYRO2.D = 750
3390
            GYRO2.P = 20000
3391
            GYRO2.MaxTorque = VT(0,40000000,0)
3392
            GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
3393
            grav.Name = "Jail"
3394
            local LOCKPARTS = {}
3395
            ATTACK = true
3396
            Rooted = false
3397
            local LOCK = IT("Model",Effects)
3398
            LOCK.Name = "Lock"
3399
            local LOCK2 = IT("Model",LOCK)
3400
            LOCK2.Name = "Metal"
3401
            --CREATE LOCK--
3402
                local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
3403
                LOCK.PrimaryPart = BASE
3404
                BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
3405
                local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
3406
                PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
3407
                MakeForm(PRT,"Cyl")
3408
                local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
3409
                PRT.Color = C3(0,0,0)
3410
                PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
3411
                MakeForm(PRT,"Cyl")
3412
                local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
3413
                PRT.Color = C3(0,0,0)
3414
                PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
3415
                for i = 1, 45 do
3416
                    local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
3417
                    PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
3418
                end
3419
                local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
3420
                PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
3421
                LOCK2.PrimaryPart = PRT
3422
            ---------------
3423
            local CHILDREN = LOCK:GetDescendants()
3424
            for index, CHILD in pairs(CHILDREN) do
3425
                if CHILD:IsA("BasePart") then
3426
                    CHILD.Transparency = 1
3427
                end
3428
            end
3429
            for i = 1, 75 do
3430
                LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
3431
                Swait()
3432
                GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
3433
                GYRO.cframe = CF(RootPart.Position,TORSO.Position)
3434
                local CHILDREN = LOCK:GetDescendants()
3435
                for index, CHILD in pairs(CHILDREN) do
3436
                    if CHILD:IsA("BasePart") then
3437
                        CHILD.Transparency = CHILD.Transparency - 1/75
3438
                    end
3439
                end
3440
            end
3441
            HUM.DisplayDistanceType = "None"
3442
            local KEY = IT("Model",Effects)
3443
            KEY.Name = "Key"
3444
            --CREATE KEY--
3445
                local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "KeyBase", VT(0.1, 1, 0.1),false)
3446
                KEY.PrimaryPart = KBASE
3447
                KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
3448
                local WLD = weldBetween(RightArm,KBASE)
3449
                for i = 1, 45 do
3450
                    local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.1, 0.1, 0.1),false)
3451
                    PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
3452
                    weldBetween(KBASE,PRT)
3453
                end
3454
                local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
3455
                PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
3456
                weldBetween(KBASE,PRT)
3457
                local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
3458
                PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
3459
                weldBetween(KBASE,PRT)
3460
            --------------
3461
            Rooted = true
3462
            Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
3463
            coroutine.resume(coroutine.create(function()
3464
                for i = 1, 10 do
3465
                    Swait()
3466
                    GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
3467
                    GYRO.cframe = CF(RootPart.Position,TORSO.Position)
3468
                end
3469
                CreateSound(1149318312,BASE,5,1,false)
3470
                CreateSound(160772554,BASE,3,1,false)
3471
                LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
3472
                for i = 1, 4 do
3473
                    WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3474
                end
3475
                WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
3476
                wait(1)
3477
                TORSO.Parent.Parent = LOCK
3478
                for i = 1, 75 do
3479
                    Swait()
3480
                    local CHILDREN = KEY:GetDescendants()
3481
                    for index, CHILD in pairs(CHILDREN) do
3482
                        if CHILD:IsA("BasePart") then
3483
                            CHILD.Transparency = i/25
3484
                        end
3485
                    end
3486
                    local CHILDREN = LOCK:GetDescendants()
3487
                    for index, CHILD in pairs(CHILDREN) do
3488
                        if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
3489
                            CHILD.Transparency = CHILD.Transparency + 1/75
3490
                        elseif CHILD.ClassName == "Decal" then
3491
                            CHILD.Transparency = CHILD.Transparency + 1/75
3492
                        end
3493
                    end
3494
                end
3495
                TORSO.Parent:ClearAllChildren()
3496
                KEY:remove()
3497
                LOCK:remove()
3498
            end))
3499
            Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
3500
            GYRO:remove()
3501
            ATTACK = false
3502
            Rooted = false
3503
        end
3504
    end
3505
end
3506
function RavagingOverthrower()
3507
    ATTACK = true
3508
    Rooted = true
3509
for i=0, 1, 0.1 / Animation_Speed do
3510
        Swait()
3511
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3512
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1.4 * SIZE) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3513
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(100), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3514
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(30), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3515
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3516
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3517
    end
3518
    CreateSound("348663022", Torso, 5, 1)
3519
    local StartPos = RootPart.CFrame * CF(0,15,0).p
3520
    for i = 1, 5 do
3521
        MagicSphere2(25,25,CF(StartPos),"Really black")
3522
        Swait(15)
3523
    end
3524
    local soundeffect = IT("Sound",Torso)
3525
    soundeffect.SoundId = "rbxassetid://487186990"
3526
    soundeffect.Looped = true
3527
    soundeffect.Volume = 3
3528
    soundeffect.Playing = true
3529
    repeat
3530
        turnto(Mouse.Hit.p)
3531
        MagicSphere2(25,25,CF(StartPos),"White")
3532
        MagicSphere(25/10,25,CF(StartPos),"White")
3533-
		MagicMissiles()
3533+
        local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
3534
        local distance = (StartPos - RayPos).magnitude
3535
        local RayBeam = IT("Part",Effects)
3536
        RayBeam.Material = "Neon"
3537-
		TimesUp()
3537+
        RayBeam.Anchored = true
3538
        RayBeam.BrickColor = BRICKC"Lavender"
3539
        local mesh = IT("SpecialMesh",RayBeam)
3540
        mesh.MeshType = "Cylinder"
3541-
		ChainPunch()
3541+
        RayBeam.Size = Vector3.new(distance+10, 5, 5)
3542
        RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
3543
        MagicSphere(15,5,CF(RayPos),"Lavender")
3544
        killnearest(RayPos,15,100)
3545-
		WarpMeteor()
3545+
        for i = 1, 3 do
3546
            CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
3547
        end
3548
        Swait()
3549-
		PandorasBox()
3549+
        if KEYHOLD == false then
3550
            coroutine.resume(coroutine.create(function()
3551-
	if Key == "u" and ATTACK == false then
3551+
                for i = 1, 5 do
3552-
		AbyssalShriek()
3552+
                    RayBeam.Transparency = RayBeam.Transparency + 1/5
3553
                    Swait()
3554
                end
3555-
	if Key == "g" and ATTACK == false then
3555+
                RayBeam:remove()
3556-
		AbyssalDash()
3556+
            end))
3557
        else
3558
            RayBeam:remove()
3559-
	if Key == "h" and ATTACK == false then
3559+
        end
3560-
		ShadowCloak()
3560+
    until KEYHOLD == false
3561
    soundeffect:remove()
3562
    ATTACK = false
3563-
	if Key == "j" and ATTACK == false then
3563+
    Rooted = false
3564-
		BlackBlast()
3564+
3565
3566
function TakeOnMe()
3567-
	if Key == "m" and ATTACK == false then
3567+
3568-
		Eon_Fire()
3568+
	local MEME = CreateSound(1554763595, Effects, 2, 1, false)
3569
	ATTACK = true
3570
	Rooted = false
3571-
	if Key == "l" and ATTACK == false then
3571+
3572-
		Teleport()
3572+
3573
		if NEWKEY == "]" then
3574
			DANCE = false
3575-
	if Key == "k" and ATTACK == false then
3575+
3576-
		NightmareFall()
3576+
3577
	PLAYSONG = false
3578
	while true do
3579
		for i = 1, 15 do
3580-
		End_me()
3580+
3581
			MEME.Parent = Effects
3582
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1 + 0.25*SIZE+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3583-
	if Key == "t" and ATTACK == false then
3583+
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3584-
		Laugh()
3584+
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3585
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3586-
	if Key == "r" and ATTACK == false then
3586+
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.6*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3587-
		nahid()
3587+
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, 0*SIZE, -1*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3588
		end
3589
		if DANCE == false then
3590-
	if Key == "y" and ATTACK == false then
3590+
3591
		end
3592
		for i = 1, 15 do
3593
			Swait()
3594
			MEME.Parent = Effects
3595
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1 + -0.25*SIZE+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3596
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3597
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3598
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3599
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, 0*SIZE, -1*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3600
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.6*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3601
		end
3602
	end
3603
	PLAYSONG = true
3604
	KEY:Disconnect()
3605
	MEME:remove()
3606
	Speed = 25
3607
	ATTACK = false
3608
	Rooted = false
3609
end
3610
function Wall()
3611
    local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
3612
    if HITFLOOR ~= nil then
3613
        if HITFLOOR.Anchored == true then
3614
            local WALL = HITFLOOR:Clone()
3615
            WALL.Size = VT(45,45,5)
3616
            WALL.Parent = Effects
3617
            WALL.Name = "Wall"
3618
            WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
3619
            CreateSound(130972023,WALL,5,0.8,false)
3620
            ATTACK = true
3621
            Rooted = true
3622
            local HIT = WALL.Touched:Connect(function(hit)
3623
                if hit.Parent ~= Character then
3624
                    hit:BreakJoints()
3625
                end
3626
            end)
3627
            coroutine.resume(coroutine.create(function()
3628
                WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3629
                for i = 1, 90 do
3630
                    Swait()
3631
                    WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
3632
                end
3633
                HIT:disconnect()
3634
                wait(5)
3635
                for i = 1, 46 do
3636
                    Swait()
3637
                    WALL.CFrame = WALL.CFrame*CF(0,-1,0)
3638
                end
3639
                WALL:remove()
3640
            end))
3641
            Pose("RightArmUp2",1.5,1.2,true)
3642
            ATTACK = false
3643
            Rooted = false
3644
        end
3645
    end
3646
end
3647
3648
function Point_Blank()
3649
    ATTACK = true
3650
    Rooted = true
3651
    local HIT = nil
3652
    local HUMAN = nil
3653
    local ROOT = nil
3654
    CreateSound(145486992,Torso,10,0.85,false)
3655
    for i=0, 0.5, 0.1 / Animation_Speed do
3656
        Swait()
3657
        if HIT ~= nil then
3658
            break
3659
        end
3660
        for index, CHILD in pairs(workspace:GetDescendants()) do
3661
            if CHILD.ClassName == "Model" and CHILD ~= Character then
3662
                local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3663
                if HUM then
3664
                    local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3665
                    if TORSO and HUM.Health > 0 then
3666
                        if (TORSO.Position - RootPart.CFrame*CF(0,0,-2).p).Magnitude <= 2 then
3667
                            ROOT = TORSO
3668
                            HUMAN = HUM
3669
                            HIT = CHILD
3670
                        end
3671
                    end
3672
                end
3673
            end
3674
        end
3675
        RootPart.CFrame = Clerp(RootPart.CFrame, RootPart.CFrame, 0.07) * CF(0,0,-1)
3676
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
3677
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
3678
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3679
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(135), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3680
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3681
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-5), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3682
    end
3683
    if HIT then
3684
        local bv = Instance.new("BodyVelocity")
3685
        bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3686
        bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,2).p).lookVector*75
3687
        bv.Parent = RootPart
3688
        Debris:AddItem(bv,0.1)
3689
        coroutine.resume(coroutine.create(function()
3690
            local GUNS = {}
3691
            for i = 1, 4 do
3692
                local SHOOT = OhnoItsAShotgun()
3693
                local CFRAME = CF(ROOT.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
3694
                SHOOT.CFrame = CF(CFRAME.p,ROOT.Position)
3695
                CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
3696
                table.insert(GUNS,SHOOT)
3697
            end
3698
            for i = 1, 25 do
3699
                Swait()
3700
                for E = 1, #GUNS do
3701
                    GUNS[E].Transparency = GUNS[E].Transparency - 1/25
3702
                end
3703
            end
3704
            wait(0.1)
3705
            CamShake(8,15)
3706
            for E = 1, #GUNS do
3707
                local SHOOT = GUNS[E]
3708
                coroutine.resume(coroutine.create(function()
3709
                    PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,SHOOT.CFrame*CF(0,0,-15).p,17)
3710
                    SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
3711
                    SHOOT.CanCollide = true
3712
                    SHOOT.Anchored = false
3713
                    SHOOT.Parent = workspace
3714
                    local bv = Instance.new("BodyVelocity",SHOOT)
3715
                    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3716
                    bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
3717
                    Debris:AddItem(bv,0.1)
3718
                    wait(5)
3719
                    for i = 1, 45 do
3720
                        Swait()
3721
                        SHOOT.Transparency = SHOOT.Transparency + 1/45
3722
                    end
3723
                end))
3724
                wait()
3725
            end
3726
        end))
3727
        CreateSound(GRUNTS[MRANDOM(1,#GRUNTS)], Torso, 6, 1.1, false)
3728
        for i=0, 1, 0.1 / Animation_Speed do
3729
            Swait()
3730
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
3731
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
3732
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3733
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3734
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
3735
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
3736
        end
3737
    end
3738
    ATTACK = false
3739
    Rooted = false
3740
end
3741-
	sick.SoundId = "rbxassetid://837104892"
3741+
3742
	local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
3743
	if DIST > 180 then
3744-
	sick.Volume = 3
3744+
3745
	end
3746
	local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
3747-
	--sick.Playing = false
3747+
3748
	if HITFLOOR then
3749
		local POS = HITPOS	
3750
		ATTACK = true
3751
		Rooted = true
3752
		local WARPED = false
3753
		local SMASHED = false
3754
		local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
3755
		coroutine.resume(coroutine.create(function()
3756
			repeat
3757
				Swait()
3758
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
3759
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3760
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3761
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3762
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3763
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3764
			until WARPED == true
3765
			repeat
3766
				Swait()
3767
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
3768
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3769
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3770
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3771
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3772
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3773
			until SMASHED == true
3774
			repeat
3775
				Swait()
3776
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
3777
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
3778
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3779
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3780
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
3781
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
3782
			until ATTACK == false
3783
		end))
3784
		VALUE1 = true
3785
		CreateSound(233856115, Torso, 5, 1.6, false)
3786
		for i = 1, 25 do
3787
			Swait()
3788
			for _, c in pairs(Character:GetChildren()) do
3789
				if c.ClassName == "Part" then
3790
					c.Transparency = c.Transparency + 1/25
3791
				end
3792
			end
3793
			for _, c in pairs(Weapon:GetChildren()) do
3794
				if c.ClassName == "Part" then
3795
					c.Transparency = c.Transparency + 1/25
3796
				end
3797
			end
3798
		end
3799
		UNANCHOR = false
3800
		RootPart.Anchored = true
3801
		RootPart.Velocity = VT(0,0,0)
3802
		local ROOTPOS = RootPart.Position
3803
		RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
3804
		WARPED = true
3805
		for i = 1, 25 do
3806
			Swait()
3807
			for _, c in pairs(Character:GetChildren()) do
3808
				if c.ClassName == "Part" then
3809
					c.Transparency = c.Transparency - 1/25
3810
				end
3811
			end
3812
			for _, c in pairs(Weapon:GetChildren()) do
3813
				if c.ClassName == "Part" then
3814
					c.Transparency = c.Transparency - 1/25
3815
				end
3816
			end
3817
		end
3818
		local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
3819
		SHELL.CFrame = RootPart.CFrame
3820
		MakeForm(SHELL,"Ball")
3821
		CreateSound(402981977, SHELL, 5, 1.6, false)
3822
		for i = 1, 10 do
3823
			Swait()
3824
			SHELL.Transparency = SHELL.Transparency - 1/10
3825
			SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
3826
		end
3827
		for i = 1, math.ceil(75/2) do
3828
			Swait()
3829
			RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
3830
			SHELL.CFrame = CF(RootPart.Position)
3831
			WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
3832
		end
3833
		RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
3834
		SHELL.CFrame = CF(RootPart.Position)
3835
		WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
3836
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
3837
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
3838
		for i = 1, 5 do
3839
			WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3840
		end
3841
		SHELL:remove()
3842
		ApplyAoE(RootPart.Position,75,35,75,175,false)
3843
		SMASHED = true
3844
		wait(1)
3845
		VALUE1 = false
3846
		UNANCHOR = true
3847
		ATTACK = false
3848
		Rooted = false
3849
	end
3850
end
3851
function ChainPunch()
3852
	ATTACK = true
3853
	Rooted = false
3854
	local GYRO = IT("BodyGyro",RootPart)
3855
	GYRO.D = 25
3856
	GYRO.P = 2000
3857
	GYRO.MaxTorque = VT(0,40000,0)
3858
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3859
	repeat
3860
		Swait()
3861
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3862
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
3863
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
3864
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3865
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3866
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3867
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3868
	until HOLD == true
3869
	local POS = Mouse.Hit.p
3870
	local CHAINS = false
3871
	local CHAINLINKS = {}
3872
	local A = IT("Attachment",RightArm)
3873
	A.Position = VT(1,-1,0)*SIZE
3874
	A.Orientation = VT(-90, -89.982, 0)
3875
	local B = IT("Attachment",RightArm)
3876
	B.Position = VT(-1,-1,0)*SIZE
3877
	B.Orientation = VT(-90, 89.988, 0)
3878
	local C = IT("Attachment",RightArm)
3879
	C.Position = VT(0.5,-1.3,0)*SIZE
3880
	C.Orientation = VT(-90, -89.982, 0)
3881
	local D = IT("Attachment",RightArm)
3882
	D.Position = VT(-0.5,-1.3,0)*SIZE
3883
	D.Orientation = VT(-90, 89.988, 0)
3884
	local LIGHT = IT("Attachment",RightArm)
3885
	LIGHT.Position = VT(0,-1,0)*SIZE
3886
	local LIGHT2 = IT("PointLight",LIGHT)
3887
	LIGHT2.Range = 7
3888
	LIGHT2.Brightness = 5
3889
	LIGHT2.Color = SKILLTEXTCOLOR
3890
	for i = 1, 2 do
3891
		local TWIST = -2
3892
		local START = A
3893
		local END = B
3894
		if i == 1 then
3895
			START = B
3896
			END = A
3897
		end
3898
		local ChainLink = IT("Beam",Torso)
3899
		ChainLink.Texture = "rbxassetid://73042633"
3900
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
3901
		ChainLink.TextureSpeed = 1
3902
		ChainLink.Width0 = 1
3903
		ChainLink.Width1 = 1
3904
		ChainLink.TextureLength = 2.5
3905
		ChainLink.Attachment0 = START
3906
		ChainLink.Attachment1 = END
3907
		ChainLink.CurveSize0 = TWIST
3908
		ChainLink.CurveSize1 = TWIST
3909
		--ChainLink.FaceCamera = true
3910
		ChainLink.Segments = 45
3911
		ChainLink.Transparency = NumberSequence.new(1)
3912
		table.insert(CHAINLINKS,ChainLink)
3913
	end
3914
	for i = 1, 2 do
3915
		local TWIST = -1
3916
		local START = C
3917
		local END = D
3918
		if i == 1 then
3919
			START = D
3920
			END = C
3921
		end
3922
		local ChainLink = IT("Beam",Torso)
3923
		ChainLink.Texture = "rbxassetid://73042633"
3924
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
3925
		ChainLink.TextureSpeed = 1
3926
		ChainLink.Width0 = 1
3927
		ChainLink.Width1 = 1
3928
		ChainLink.TextureLength = 5
3929
		ChainLink.Attachment0 = START
3930
		ChainLink.Attachment1 = END
3931
		ChainLink.CurveSize0 = TWIST
3932
		ChainLink.CurveSize1 = TWIST
3933
		--ChainLink.FaceCamera = true
3934
		ChainLink.Segments = 25
3935
		ChainLink.LightEmission = 0.5
3936
		ChainLink.Transparency = NumberSequence.new(1)
3937
		table.insert(CHAINLINKS,ChainLink)
3938
	end
3939
	coroutine.resume(coroutine.create(function()
3940
		repeat
3941
			Swait()
3942
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
3943
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
3944
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3945
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3946
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
3947
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
3948
		until CHAINS == true
3949
		repeat
3950
			Swait()
3951
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
3952
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
3953
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3954
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3955
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
3956
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
3957
		until ATTACK == false
3958
		for e = 1, 15 do
3959
			Swait()
3960
			for i = 1, #CHAINLINKS do
3961
				CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
3962
			end
3963
		end
3964
		A:remove()
3965
		B:remove()
3966
		C:remove()
3967
		D:remove()
3968
	end))
3969
	CreateSound(233856115, RightArm, 5, 1.2, false)
3970
	for e = 1, 15 do
3971
		Swait()
3972
		for i = 1, #CHAINLINKS do
3973
			CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
3974
		end
3975
	end
3976
	CHAINS = true
3977
	Rooted = true
3978
	wait(0.25)
3979
	local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Part", VT(2,2,2))
3980
	FIST.Color = C3(1, 215/255, 1)
3981
	FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) 
3982
	local LIGHT3 = IT("PointLight",FIST)
3983
	LIGHT3.Range = 7
3984
	LIGHT3.Brightness = 5
3985
	LIGHT3.Color = SKILLTEXTCOLOR
3986
	CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
3987
	local FISTA = IT("Attachment",FIST)
3988
	FISTA.Position = VT(0.062, 0.977, 0)
3989
	local ChainLink = IT("Beam",Torso)
3990
	ChainLink.Texture = "rbxassetid://73042633"
3991
	ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
3992
	ChainLink.TextureSpeed = 0
3993
	ChainLink.Width0 = 3
3994
	ChainLink.Width1 = 3
3995
	ChainLink.TextureLength = 12
3996
	ChainLink.Attachment0 = LIGHT
3997
	ChainLink.Attachment1 = FISTA
3998
	ChainLink.FaceCamera = true
3999
	ChainLink.Segments = 45
4000
	ChainLink.LightEmission = 0.5
4001
	ChainLink.Transparency = NumberSequence.new(0.25)
4002
	local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
4003
	for i = 1, 85 do
4004
		Swait()
4005
		FIST.CFrame = FIST.CFrame*CF(0,-2,0)
4006
		ChainLink.TextureLength = 12+(i*2)
4007
		ApplyAoE(FIST.Position,10,15,25,100,false)
4008
		WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
4009
		local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
4010
		if HITFLOOR ~= nil then
4011
			HITFLOOR:BreakJoints()
4012
			coroutine.resume(coroutine.create(function()
4013
				for i = 1, 15 do
4014
					Swait()
4015
					FISTSOUND.Volume = FISTSOUND.Volume - 0.15
4016
					ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
4017
					WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
4018
				end
4019
			end))
4020
			break
4021
		end
4022
	end
4023
	coroutine.resume(coroutine.create(function()
4024
		for i = 1, 50 do
4025
			Swait()
4026
			FIST.Transparency = FIST.Transparency + 0.5/50
4027
			LIGHT3.Range = LIGHT3.Range - 7/50
4028
		end
4029
		FIST:remove()
4030
	end))
4031
	LIGHT:remove()
4032
	GYRO:remove()
4033
	ATTACK = false
4034
	Rooted = false
4035
end
4036
4037
4038
function SpawnTrail(FROM,TO,BIG)
4039
    local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Cyan", "Trail", VT(0,0,0))
4040
    MakeForm(TRAIL,"Cyl")
4041
    local DIST = (FROM - TO).Magnitude
4042
    if BIG == true then
4043
        TRAIL.Size = VT(0.5,DIST,0.5)
4044
    else
4045
        TRAIL.Size = VT(0.25,DIST,0.25)
4046
    end
4047
    TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
4048
    coroutine.resume(coroutine.create(function()
4049
        for i = 1, 5 do
4050
            Swait()
4051
            TRAIL.Transparency = TRAIL.Transparency + 0.1
4052
        end
4053
        TRAIL:remove()
4054
    end))
4055
end
4056
function Shot()
4057
    ATTACK = true
4058
    Rooted = false
4059
    for i=0, 0.5, 0.1 / Animation_Speed do
4060
        Swait()
4061
        turnto(Mouse.Hit.p)
4062
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4063
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
4064
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4065
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4066
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4067
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4068
    end
4069
    repeat
4070
        for i=0, 0.5, 0.1 / Animation_Speed do
4071
            Swait()
4072
            turnto(Mouse.Hit.p)
4073
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4074
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
4075
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4076
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4077
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4078
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4079
        end
4080
        local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
4081
        SpawnTrail(Hole2.Position,POS)
4082
        if HIT ~= nil then
4083
            if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
4084
                Banish(HIT.Parent)
4085
            end
4086
        end
4087
            local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
4088
        SpawnTrail(Hole.Position,POS)
4089
        if HIT ~= nil then
4090
            if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
4091
                Banish(HIT.Parent)
4092
            end
4093
        end
4094
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4095
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4096
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4097
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4098
    CreateSound("159882477", Head, 6, 1)
4099
        for i=0, 0.5, 0.1 / Animation_Speed do
4100
            Swait()
4101
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4102
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
4103
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4104
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4105
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4106
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4107
        end
4108
                WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4109
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4110
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4111
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4112
    until KEYHOLD == false
4113
    ATTACK = false
4114
    Rooted = false
4115
end
4116
function PandorasBox()
4117
	local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
4118
	if HITFLOOR ~= nil then
4119
		ATTACK = true
4120
		Rooted = true
4121
		local RINGSPIN = true
4122
		local CONSTRUCTING = true
4123
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Ring", VT(0,0,0))
4124
		RING.Color = C3(0,0,0)
4125
		MakeForm(RING,"Cyl")
4126
		RING.CFrame = CF(HITPOS)
4127
		CreateSound(402981977, RING, 5, 1.2, false)
4128
		coroutine.resume(coroutine.create(function()
4129
			repeat
4130
				Swait()
4131
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4132
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
4133
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4134
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4135
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4136
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
4137
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
4138
			until CONSTRUCTING == false
4139
			repeat 
4140
				Swait() 
4141
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4142
			until RINGSPIN == false
4143
			for i = 1, 25 do
4144
				Swait()
4145
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4146
				RING.Size = RING.Size - VT(0.15,0,0.15)
4147
				--DECAL.Transparency = DECAL.Transparency + 1/25
4148
				RING.Transparency = RING.Transparency + 1/25
4149
			end
4150
			RING:remove()
4151
		end))
4152
		for i = 1, 15 do
4153
			Swait()
4154
			RING.Size = RING.Size + VT(0.75,0,0.75)
4155
			RING.Transparency = RING.Transparency - 1/15
4156
		end
4157
		local BOXSPIN = true
4158
		local PANDORASBOX = IT("Model",Effects)
4159
		PANDORASBOX.Name = "Pandora's Box"
4160
		local BOX = IT("Model",PANDORASBOX)
4161
		BOX.Name = "Body"
4162
		local LID = IT("Model",PANDORASBOX)
4163
		LID.Name = "Lid"
4164
		--BUILDING THE BOX--
4165
			local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
4166
			BASE.Color = C3(0,0,0)
4167
			PANDORASBOX.PrimaryPart = BASE
4168
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
4169
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
4170
			WOOD.CFrame = BASE.CFrame*CF(1,0,1)
4171
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
4172
			WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
4173
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
4174
			WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
4175
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
4176
			WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
4177
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
4178
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
4179
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
4180
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
4181
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
4182
			WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
4183
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
4184
			WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
4185
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
4186
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
4187
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
4188
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
4189
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
4190
			WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
4191
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
4192
			WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
4193
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
4194
			WOOD.CFrame = BASE.CFrame*CF(0,0,1)
4195
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
4196
			WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
4197
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
4198
			WOOD.CFrame = BASE.CFrame*CF(1,0,0)
4199
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
4200
			WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
4201
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
4202
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
4203
			-------------
4204
			local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
4205
			LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
4206
			LID.PrimaryPart = LIDPART
4207
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
4208
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
4209
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
4210
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
4211
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
4212
			WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
4213
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
4214
			WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
4215
			local DECAL = IT("Decal",LIDPART)
4216
			DECAL.Face = "Top"
4217
			DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
4218
			DECAL.Color3 = C3(0,0,0)
4219
		--BUILDING THE BOX--
4220
		coroutine.resume(coroutine.create(function()
4221
			repeat
4222
				Swait()
4223
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
4224
			until BOXSPIN == false
4225
		end))
4226
		for i = 1, 25 do
4227
			Swait()
4228
			PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
4229
		end
4230
		wait(0.5)
4231
		BOXSPIN = false
4232
		CONSTRUCTING = false	
4233
		coroutine.resume(coroutine.create(function()
4234
			WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
4235
			--[[for i = 1, 45 do
4236
				Swait()
4237
				LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
4238
			end-
4239
			LID:remove()]]--
4240
			for _, c in pairs(LID:GetChildren()) do
4241
				if c.ClassName == "Part" then
4242
					c.Anchored = false
4243
					c.CanCollide = true
4244
					if c ~= LIDPART then
4245
						weldBetween(LIDPART,c)
4246
					end
4247
				end
4248
			end
4249
			LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
4250
			Debris:AddItem(LID,15)
4251
			wait(0.5)
4252
			local RANDOMEFFECT = MRANDOM(1,4)
4253
			if RANDOMEFFECT == 1 then
4254
				for i = 1, 45 do
4255
					wait((2-(i/15))/15)
4256
					WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
4257
				end	
4258
				wait(1)
4259
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
4260
				WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
4261
				WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
4262
				for i = 1, 5 do
4263
					WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
4264
				end
4265
				ApplyAoE(BASE.Position,50,1,200,375,false)
4266
				ApplyAoE(BASE.Position,250,35,75,175,false)
4267
			elseif RANDOMEFFECT == 2 then
4268
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
4269
				FIELD.CFrame = BASE.CFrame
4270
				MakeForm(FIELD,"Ball")
4271
				for i = 1, 50 do
4272
					Swait()
4273
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
4274
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
4275
				end
4276
				wait(0.2)
4277
				local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
4278
				coroutine.resume(coroutine.create(function()
4279
					for i = 1, 75 do
4280
						Swait()
4281
						LOOP.Volume = LOOP.Volume + 10/75
4282
						LOOP.Parent = FIELD
4283
						local CHILDREN = workspace:GetDescendants()
4284
						for index, CHILD in pairs(CHILDREN) do
4285
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
4286
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4287
								if HUM then
4288
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4289
									if TORSO then
4290
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
4291
											HUM.Health = HUM.Health - 0.1
4292
											TORSO.Velocity = VT(0,5,0)
4293
											HUM.PlatformStand = true
4294
											if TORSO.RotVelocity.Magnitude < 15 then
4295
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
4296
											end
4297
										end
4298
									end
4299
								end
4300
							end
4301
						end
4302
						FIELD.Size = FIELD.Size + VT(3,3,3)
4303
						FIELD.Transparency = FIELD.Transparency + 0.8/75
4304
					end
4305
					for i = 1, 500 do
4306
						Swait()
4307
						LOOP.Parent = FIELD
4308
						local CHILDREN = workspace:GetDescendants()
4309
						for index, CHILD in pairs(CHILDREN) do
4310
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
4311
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4312
								if HUM then
4313
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4314
									if TORSO then
4315
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
4316
											TORSO.Velocity = VT(0,5,0)
4317
											HUM.Health = HUM.Health - 0.1
4318
											HUM.PlatformStand = true
4319
											if TORSO.RotVelocity.Magnitude < 15 then
4320
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
4321
											end
4322
										end
4323
									end
4324
								end
4325
							end
4326
						end
4327
					end
4328
					for i = 1, 25 do
4329
						Swait()
4330
						LOOP.Volume = LOOP.Volume + 10/25
4331
						LOOP.Parent = FIELD
4332
						local CHILDREN = workspace:GetDescendants()
4333
						for index, CHILD in pairs(CHILDREN) do
4334
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
4335
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4336
								if HUM then
4337
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4338
									if TORSO then
4339
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
4340
											TORSO.Velocity = VT(0,5,0)
4341
											HUM.Health = HUM.Health - 0.1
4342
											HUM.PlatformStand = false
4343
											if TORSO.RotVelocity.Magnitude < 15 then
4344
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
4345
											end
4346
										end
4347
									end
4348
								end
4349
							end
4350
						end
4351
						FIELD.Size = FIELD.Size - VT(3,3,3)
4352
						FIELD.Transparency = FIELD.Transparency + 0.2/25
4353
					end	
4354
					FIELD:remove()
4355
				end))
4356
			elseif RANDOMEFFECT == 3 then
4357
				for i = 1, 10 do
4358
					wait(0.15)
4359
					WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
4360
					coroutine.resume(coroutine.create(function()
4361
						local MINION = CLONE:Clone()
4362
						MINION.Parent = Effects
4363
						MINION.Name = "Shadow"
4364
						MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
4365
						MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
4366
						for _, c in pairs(MINION:GetChildren()) do
4367
							if c.ClassName == "Part" then
4368
								c.Material = "Neon"
4369
								c.Color = C3(0,0,0)
4370
								c.Transparency = 0.25
4371
								if c.Name == "Head" then
4372
									c:ClearAllChildren()
4373
									local MSH = IT("BlockMesh",c)
4374
									MSH.Scale = VT(0.5,1,1)
4375
								end
4376
							end
4377
						end
4378
						local TORSO = MINION.Torso
4379
						local HUMAN = MINION.Humanoid
4380
						HUMAN.WalkSpeed = 20
4381
						HUMAN.MaxHealth = math.huge
4382
						HUMAN.Health = math.huge
4383
						HUMAN.DisplayDistanceType = "None"
4384
						HUMAN.Died:connect(function()
4385
							MINION:remove()
4386
							--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
4387
						end)
4388
						wait(1)
4389
						local findNearestTorso = function(POS)
4390
							local list = game.Workspace:GetDescendants()
4391
							local torso = nil
4392
							local dist = 500
4393
							local temp = nil
4394
							local human = nil
4395
							local temp2 = nil
4396
							for x = 1, #list do
4397
								temp2 = list[x]
4398
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
4399
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
4400
									human = temp2:findFirstChildOfClass("Humanoid")
4401
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
4402
										if (temp.Position - POS).magnitude < dist then
4403
											torso = temp
4404
											dist = (temp.Position - POS).magnitude
4405
										end
4406
									end
4407
								end
4408
							end
4409
							return torso, dist
4410
						end
4411
						for i = 1, 40 do
4412
							if HUMAN.Health == 0 then
4413
								break
4414
							end
4415
							wait(0.3)
4416
							local target,dist= findNearestTorso(TORSO.Position)
4417
							if target then
4418
								HUMAN:MoveTo(target.Position)
4419
								if dist < 25 then
4420
									CreateSound(348663022, TORSO, 10, 1, true)
4421
									wait(2)
4422
									--local ANIM = HUMAN:LoadAnimation(ATANIM)
4423
									--ANIM:Play()
4424
									--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
4425
									ApplyAoE(TORSO.Position,10,0,0,85,true)
4426
									WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
4427
									for i = 1, 5 do
4428
										WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
4429
									end
4430
									break
4431
								end
4432
							end
4433
						end
4434
						MINION:remove()
4435
					end))
4436
				end
4437
			elseif RANDOMEFFECT == 4 then
4438
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
4439
				FIELD.Color = C3(0,0,0)
4440
				FIELD.CFrame = BASE.CFrame
4441
				MakeForm(FIELD,"Ball")
4442
				FIELD.CanCollide = true
4443
				for i = 1, 50 do
4444
					Swait()
4445
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
4446
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
4447
				end
4448
				wait(0.2)
4449
				local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
4450
				coroutine.resume(coroutine.create(function()
4451
					local E = 0
4452
					for i = 1, 75 do
4453
						E = E + 1
4454
						Swait()
4455
						if E >= 35 then
4456
							E = 0
4457
							WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
4458
						end
4459
						LOOP.Volume = LOOP.Volume + 10/75
4460
						LOOP.Parent = FIELD
4461
						local CHILDREN = workspace:GetDescendants()
4462
						for index, CHILD in pairs(CHILDREN) do
4463
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
4464
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4465
								if HUM then
4466
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4467
									if TORSO then
4468
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
4469
											for _, c in pairs(CHILD:GetChildren()) do
4470
												if c:IsA("BasePart") then
4471
													local bv = Instance.new("BodyVelocity") 
4472
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4473
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
4474
													bv.Parent = c
4475
													Debris:AddItem(bv,0.05)
4476
												end
4477
											end
4478
											HUM.Health = HUM.Health - 0.3
4479
										end
4480
									end
4481
								end
4482
							end
4483
						end
4484
						FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
4485
					end
4486
					for i = 1, 180 do
4487
						E = E + 1
4488
						Swait()
4489
						if E >= 35 then
4490
							E = 0
4491
							WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
4492
						end
4493
						LOOP.Parent = FIELD
4494
						local CHILDREN = workspace:GetDescendants()
4495
						for index, CHILD in pairs(CHILDREN) do
4496
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
4497
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4498
								if HUM then
4499
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4500
									if TORSO then
4501
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
4502
											for _, c in pairs(CHILD:GetChildren()) do
4503
												if c:IsA("BasePart") then
4504
													local bv = Instance.new("BodyVelocity") 
4505
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4506
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
4507
													bv.Parent = c
4508
													Debris:AddItem(bv,0.05)
4509
												end
4510
											end
4511
											HUM.Health = HUM.Health - 0.3
4512
										end
4513
									end
4514
								end
4515
							end
4516
						end
4517
					end
4518
					ApplyAoE(FIELD.Position,40,15,20,375,false)
4519
					WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
4520
					for i = 1, 5 do
4521
						WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
4522
					end
4523
					FIELD:remove()
4524
				end))
4525
			elseif RANDOMEFFECT == 5 then
4526
			end
4527
			wait(0.5)
4528
			for i = 1, 25 do
4529
				Swait()
4530
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
4531
			end
4532
			PANDORASBOX:remove()
4533
			RINGSPIN = false
4534
		end))
4535
		ATTACK = false
4536
		Rooted = false
4537
	end
4538
end
4539
4540
function Taunt2()
4541
	ATTACK = true
4542
	local LAUGH = nil
4543
	coroutine.resume(coroutine.create(function()
4544
		repeat
4545
			Swait()
4546
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
4547
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
4548
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4549
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4550
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
4551
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
4552
		until LAUGH ~= nil
4553
		repeat
4554
			Swait()
4555
			LAUGH.Parent = Head
4556
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
4557
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
4558
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4559
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4560
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
4561
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
4562
		until LAUGH.Playing == false
4563
	ATTACK = false
4564
	end))
4565
	wait(0.1)
4566
	LAUGH = CreateSound(178038408, Head, 10, 1, false)
4567
end
4568
function Warp()
4569
    local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
4570
    if HITFLOOR then
4571
        CharacterFade(C3(0.5,0,0),50)
4572
        HITPOS = HITPOS + VT(0,3.5,0)
4573
        local POS = RootPart.Position
4574
        RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
4575
        CreateSound(289556450,Torso,2,MRANDOM(8,13)/10,false)
4576
    end
4577
end
4578
4579
function End_me()
4580
	Speed = 5
4581
	local MEME = CreateSound(212718942, Effects, 2, 1, false)
4582
	ATTACK = true
4583
	Rooted = false
4584
	local DANCE = true
4585
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
4586
		if NEWKEY == "p" then
4587
			DANCE = false
4588
		end
4589
	end)
4590
	PLAYSONG = false
4591
	while true do
4592
		for i = 1, 15 do
4593
			Swait()
4594
			MEME.Parent = Effects
4595
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4596
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4597
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4598
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4599
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4600
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4601
		end
4602
		if DANCE == false then
4603
			break
4604
		end
4605
		for i = 1, 15 do
4606
			Swait()
4607
			MEME.Parent = Effects
4608
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4609
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4610
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4611
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4612
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4613
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4614
		end
4615
	end
4616
	PLAYSONG = true
4617
	KEY:Disconnect()
4618
	MEME:remove()
4619
	Speed = 25
4620
	ATTACK = false
4621
	Rooted = false
4622
end
4623
function Warning()
4624
	local TARGET = Mouse.Target
4625
	if TARGET ~= nil then
4626
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
4627
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
4628
			local LEG = TARGET.Parent:FindFirstChild("Right Leg") or TARGET.Parent:FindFirstChild("RightLowerLeg")
4629
			if LEG and HUM.Health > 0 then
4630
				Speed = 6
4631
				ATTACK = true
4632
				Rooted = false
4633
				local GYRO = IT("BodyGyro",RootPart)
4634
				GYRO.D = 2
4635
				GYRO.P = 2000
4636
				GYRO.MaxTorque = VT(0,4000000,0)
4637
				coroutine.resume(coroutine.create(function()
4638
					repeat
4639
						Swait()
4640
						GYRO.CFrame = CF(RootPart.Position,LEG.Position)
4641
					until ATTACK == false
4642
					GYRO:Remove()
4643
				end))
4644
				local HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character)
4645
				local PASS = true
4646
				for i=0, 0.2, 0.1 / Animation_Speed do
4647
					Swait()
4648
					HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character)
4649
					if HIT == nil then
4650
						PASS = false
4651
						break
4652
					else
4653
						if HIT.Parent ~= TARGET.Parent then
4654
							PASS = false
4655
							break
4656
						end
4657
					end
4658
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4659
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
4660
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4661
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4662
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4663
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4664
				end
4665
				CreateSound(147722227, GUN, 6, 1.3, false)
4666
				GUNWELD.Part0 = LeftArm
4667
				GUNWELD.C0 = CF(0,-1.5,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
4668
				for i=0, 0.4, 0.1 / Animation_Speed do
4669
					Swait()
4670
					HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character)
4671
					if HIT == nil then
4672
						PASS = false
4673
						break
4674
					else
4675
						if HIT.Parent ~= TARGET.Parent then
4676
							PASS = false
4677
							break
4678
						end
4679
					end
4680
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
4681
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
4682
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4683
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4684
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4685
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
4686
				end
4687
				if PASS == true then
4688
					local GUNPOS = GUN.CFrame*CF(1.2, 0.5, 0).p
4689
					local DISTANCE = (LEG.Position - GUNPOS).Magnitude
4690
					CreateSound(160432334, LEG, 10, 1, false)
4691
					local HEAD = HUM.Parent:FindFirstChild("Head")
4692
					if HEAD then
4693
						CreateSound(535690488, HEAD, 7, 1, false)
4694
					end
4695
					ApplyDamage(HUM,15)
4696
					HUM.WalkSpeed = HUM.WalkSpeed - 3
4697
					HUM.PlatformStand = true
4698
					coroutine.resume(coroutine.create(function()
4699
						wait(0.1)
4700
						if HUM.WalkSpeed > 0 then
4701
							HUM.PlatformStand = false
4702
						end
4703
					end))
4704
					WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 330704232, SoundPitch = 1, SoundVolume = 4})
4705
					WACKYEFFECT({Time = 6, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS,LEG.Position)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4706
					for i=0, 1, 0.1 / Animation_Speed do
4707
						Swait()
4708
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
4709
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed)
4710
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4711
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4712
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4713
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
4714
					end
4715
				end
4716
				for i=0, 0.3, 0.1 / Animation_Speed do
4717
					Swait()
4718
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4719
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
4720
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4721
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4722
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4723
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4724
				end
4725
				GUNWELD.Part0 = Torso
4726
				GUNWELD.C0 = CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
4727
				ATTACK = false
4728
				Rooted = false
4729
				Speed = 20
4730
			end
4731
		end
4732
	end
4733
end
4734
function TheRightToRemainSilent()
4735
	local TARGET = Mouse.Target
4736
	if TARGET ~= nil then
4737
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
4738
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
4739
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
4740
			if ROOT and HUM.Health > 0 then
4741
				local FOE = Mouse.Target.Parent
4742
				ATTACK = true
4743
				Rooted = true
4744
				CharacterFade(C3(1,1,1),70)
4745
				RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
4746
				ROOT.Anchored = true
4747
				Chatter("You are to remain silent and DEAD!",0)
4748
				for i=0, 0.4, 0.1 / Animation_Speed do
4749
					Swait()
4750
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4751
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4752
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4753
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4754
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4755
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4756
				end
4757
				HUM.PlatformStand = true
4758
				ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
4759
				CreateSound(260430117, ROOT, 6, 1.3, false)
4760
				coroutine.resume(coroutine.create(function()
4761
					Swait()
4762
					ROOT.Anchored = true
4763
				end))
4764
				RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
4765
				for i=0, 0.2, 0.1 / Animation_Speed do
4766
					Swait()
4767
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
4768
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
4769
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4770
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4771
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4772
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4773
				end
4774
				for i=0, 0.2, 0.1 / Animation_Speed do
4775
					Swait()
4776
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
4777
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
4778
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4779
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4780
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4781
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
4782
				end
4783
				local AMMO = 6
4784
				local FIRING = true
4785
				local SHOOTING = false
4786
				local TIMER = 70
4787
				GUNWELD.Part0 = LeftArm
4788
				GUNWELD.C0 = CF(0,-1.5,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
4789
				for i=0, 0.2, 0.1 / Animation_Speed do
4790
					Swait()
4791
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
4792
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
4793
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4794
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4, 0.55, 0.4) * ANGLES(RAD(100), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4795
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4796
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
4797
				end
4798
				for i = 1, 6 do
4799
					local GUNPOS = GUN.CFrame*CF(1.2, 0.5, 0).p
4800
					local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
4801
					WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0)})
4802
					WACKYEFFECT({Time = 6, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS,FOE.Head.Position)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4803
					HUM.Health = HUM.Health/1.5
4804
					for i=0, 0.2, 0.1 / Animation_Speed do
4805
						Swait()
4806
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
4807
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
4808
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4809
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4, 0.55, 0.6) * ANGLES(RAD(130), RAD(0), RAD(20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4810
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4811
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
4812
					end
4813
					for i=0, 0.2, 0.1 / Animation_Speed do
4814
						Swait()
4815
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
4816
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
4817
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4818
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4, 0.55, 0.6) * ANGLES(RAD(100), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4819
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4820
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
4821
					end
4822
				end
4823
				FOE:BreakJoints()
4824
				ROOT.Anchored = false
4825
				for i=0, 0.3, 0.1 / Animation_Speed do
4826
					Swait()
4827
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4828
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
4829
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4830
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4831
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4832
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4833
				end
4834
				GUNWELD.Part0 = Torso
4835
				GUNWELD.C0 = CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
4836
				ATTACK = false
4837
				Rooted = false
4838
			end
4839
		end
4840
	end
4841
end
4842
function BatonBreaker()
4843
	ATTACK = true
4844
	Rooted = false
4845
	Speed = 4
4846
	Chatter("I'll break you!",0)
4847
	for i=0, 0.2, 0.1 / Animation_Speed do
4848
		Swait()
4849
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4850
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
4851
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4852
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4853
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4854
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4855
	end
4856
	BATONWELD.Part0 = RightArm
4857
	BATONWELD.C0 = CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0,0,1)
4858
	for i=0, 0.5, 0.1 / Animation_Speed do
4859
		Swait()
4860
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
4861
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(25)), 1 / Animation_Speed)
4862
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.1) * ANGLES(RAD(-20), RAD(-40), RAD(25)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
4863
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4864
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4865
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4866
	end
4867
	Speed = 30
4868
	Trail.Enabled = true
4869
	BATON.CanCollide = true
4870
	local SPEAKING = false
4871
	local HITS = {}
4872
	local TOUCH = BATON.Touched:Connect(function(hit)
4873
		if hit.Parent:FindFirstChildOfClass("Humanoid") then
4874
			local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
4875
			local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
4876
			if TORSO and HUM.Health > 0 then
4877
				local PASS = true
4878
				for i = 1, #HITS do
4879
					if HITS[i] == hit.Parent then
4880
						PASS = false
4881
					end
4882
				end
4883
				table.insert(HITS,hit.Parent)
4884
				if PASS == true then
4885
					WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,BATON.Position)*CF(0,0,-0.5), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Glass = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 4})
4886
					TORSO.Anchored = true
4887
					local POS = TORSO.CFrame
4888
					coroutine.resume(coroutine.create(function()
4889
						for i = 1, 15 do
4890
							Swait()
4891
							TORSO.CFrame = POS*CF(MRANDOM(-2,2)/10,MRANDOM(-2,2)/10,MRANDOM(-2,2)/10)
4892
						end
4893
						local HEAD = HUM.Parent:FindFirstChild("Head")
4894
						HUM.Parent:BreakJoints()
4895
						if HEAD then
4896
							local bv = Instance.new("BodyVelocity",TORSO) 
4897
							bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4898
							bv.velocity = CF(Torso.Position-VT(0,5,0),HEAD.Position).lookVector*70
4899
							Debris:AddItem(bv,0.05)
4900
							local TEXTS = {"Criminals should leave this world!","And stay down!"}
4901
							Chatter(TEXTS[MRANDOM(1,#TEXTS)],0)
4902
						end
4903
						TORSO.Anchored = false
4904
					end))
4905
				end
4906
			end
4907
		end
4908
	end)
4909
	for i=0, 0.45, 0.1 / Animation_Speed do
4910
		Swait()
4911
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.15)
4912
		BATONWELD.C0 = Clerp(BATONWELD.C0,CF(0,-1,0) * ANGLES(RAD(120), RAD(0), RAD(0)) * CF(0,0,1), 1 / Animation_Speed)
4913
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
4914
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed)
4915
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.6) * ANGLES(RAD(140), RAD(-25), RAD(-41)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4916
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4917
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4918
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
4919
	end
4920
	TOUCH:Disconnect()
4921
	BATON.CanCollide = false
4922
	Speed = 20
4923
	Trail.Enabled = false
4924
	for i=0, 0.2, 0.1 / Animation_Speed do
4925
		Swait()
4926
		BATONWELD.C0 = Clerp(BATONWELD.C0,CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0,0,1), 2 / Animation_Speed)
4927
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4928
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
4929
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4930
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4931
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4932
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4933
	end
4934
	BATONWELD.Part0 = Torso
4935
	BATONWELD.C0 = CF(1,-0.8,0.75) * ANGLES(RAD(0), RAD(0), RAD(0))
4936
	ATTACK = false
4937
	Rooted = false
4938
end
4939
function Warden_Zap()
4940
    ATTACK = true
4941
    Rooted = false
4942
    local GYRO = IT("BodyGyro",RootPart)
4943
    GYRO.D = 750
4944
    GYRO.P = 20000
4945
    GYRO.MaxTorque = VT(0,40000000,0)
4946
    CreateSound(348663022,RightArm,1.5,2,false)
4947
    Pose("Cast1",0.8,1,true,GYRO)
4948
    local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = RightArm.CFrame*CF(0,-1,0).p, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = Character, MaxDist = 100, Branches = false})
4949
    local Hitpos = LightningTable.End
4950
    ApplyAoE(Hitpos,10,35)
4951
    WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
4952
    for i = 1, 4 do
4953
        WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,45,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4954
    end
4955
    Pose("Cast1",0.8,1,true)
4956
    GYRO:remove()
4957
    ATTACK = false
4958
    Rooted = false
4959
end
4960
4961
function Noclip()
4962
	ATTACK = true
4963
	Rooted = true
4964
	UNANCHOR = false
4965
	RootPart.Anchored = true
4966
	local CLIPPING = true
4967
	local MOVEMENT = nil
4968
	CreateSound(96098241, Torso, 3, MRANDOM(9,12)/10, false)
4969
	for i = 1, 50 do
4970
		Swait()
4971
		EXTRATRANS = EXTRATRANS + 0.5/50
4972
		RootPart.CFrame = RootPart.CFrame * CF(0,(1-(i/50))/4.3,0)
4973
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4974
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4975
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4976
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4977
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
4978
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
4979
	end
4980
	local AURA = CreateSound(1393698948, Torso, 3, 1, true)
4981
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
4982
		if NEWKEY == "w" then
4983
			MOVEMENT = "Forward"
4984
			repeat
4985
				Swait()
4986
				RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.2)
4987
			until KEYHOLD == false
4988
		elseif NEWKEY == "s" then
4989
			MOVEMENT = "Backwards"
4990
			repeat
4991
				Swait()
4992
				RootPart.CFrame = RootPart.CFrame * CF(0,0,0.2)
4993
			until KEYHOLD == false
4994
		elseif NEWKEY == "a" then
4995
			MOVEMENT = "Strafe"
4996
			repeat
4997
				Swait()
4998
				RootPart.CFrame = RootPart.CFrame * CF(0.2,0,0)
4999
			until KEYHOLD == false
5000
		elseif NEWKEY == "d" then
5001
			MOVEMENT = "Strafe"
5002
			repeat
5003
				Swait()
5004
				RootPart.CFrame = RootPart.CFrame * CF(-0.2,0,0)
5005
			until KEYHOLD == false
5006
		elseif NEWKEY == "y" then
5007
			CLIPPING = false
5008
		end
5009
		MOVEMENT = nil
5010
	end)
5011
	local LOOP = 0
5012
	repeat
5013
		Swait()
5014
		AURA.Parent = Torso
5015
		LOOP = LOOP + 1
5016
		if LOOP >= 15 then
5017
			LOOP = 0
5018
			WaveParticles(Torso.Position,15,C3(1,1,1))
5019
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.5,0).p), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5020
		end
5021
		if MOVEMENT == nil then
5022
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5023
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5024
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5025
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5026
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5027
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5028
		elseif MOVEMENT == "Forward" then
5029
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
5030
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5031
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5032
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5033
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5034
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5035
		elseif MOVEMENT == "Backwards" then
5036
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
5037
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5038
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5039
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5040
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5041
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5042
		elseif MOVEMENT == "Strafe" then
5043
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
5044
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5045
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5046
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5047
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5048
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5049
		end
5050
	until CLIPPING == false
5051
	KEY:Disconnect()
5052
	coroutine.resume(coroutine.create(function()
5053
		for i = 1, 20 do
5054
			Swait()
5055
			AURA.Volume = AURA.Volume - 3/20
5056
		end
5057
		AURA:remove()
5058
	end))
5059
	CreateSound(814168787, Torso, 1, MRANDOM(9,12)/10, false)
5060
	for i = 1, 50 do
5061
		Swait()
5062
		EXTRATRANS = EXTRATRANS - 0.5/50
5063
		RootPart.CFrame = RootPart.CFrame * CF(0,-(1-(i/50))/4.3,0)
5064
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5065
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5066
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5067
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5068
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
5069
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
5070
	end
5071
	EXTRATRANS = 0
5072
	UNANCHOR = true
5073
	ATTACK = false
5074
	Rooted = false
5075
end
5076
5077
function Taunt()
5078
	ATTACK = true
5079
	Rooted = true
5080
	local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
5081
	repeat
5082
		Swait()
5083
		TAUNT.Parent = Torso
5084
		TAUNT.Playing = true
5085
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5086
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
5087
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5088
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5089
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5090
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5091
	until TAUNT.TimePosition >= 1.25
5092
	for i=0, 1.6, 0.1 / Animation_Speed do
5093
		Swait()
5094
		TAUNT.Parent = Torso
5095
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
5096
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
5097
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5098
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5099
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5100
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5101
	end
5102
	ATTACK = false
5103
	Rooted = false
5104
end
5105
5106
---//=================================\\
5107
--||	  ASSIGN THINGS TO KEYS
5108
--\\=================================//
5109
5110
function MouseDown(Mouse)
5111
	HOLD = true
5112
	if ATTACK == false then
5113
	end
5114
end
5115
5116
function MouseUp(Mouse)
5117
HOLD = false
5118
end
5119
5120
function KeyDown(Key)
5121
	KEYHOLD = true
5122
	if Key == "z" and ATTACK == false then
5123
		if MODE == "Superior" then
5124
			TimeSweep()
5125
		elseif MODE == "JusticeHorn" then
5126
			MagicMissiles()
5127
		elseif MODE == "Maniac" then
5128
			Wall()
5129
		end
5130
	end
5131
	
5132
	if Key == "x" and ATTACK == false then
5133
		if MODE == "Superior" then
5134
			Smite2()
5135
		elseif MODE == "JusticeHorn" then
5136
			BatonBreaker()
5137
		elseif MODE == "Maniac" then
5138
			Warden_Zap()
5139
		end
5140
	end
5141
	
5142
	if Key == "c" and ATTACK == false then
5143
		if MODE == "Superior" then
5144
			Smite()
5145
		elseif MODE == "JusticeHorn" then
5146
			TheRightToRemainSilent()
5147
		elseif MODE == "Maniac" then
5148
			RavagingOverthrower()
5149
		end
5150
	end
5151
5152
	if Key == "v" and ATTACK == false then
5153
		if MODE == "Superior" then
5154
			Earthquake()
5155
		elseif MODE == "JusticeHorn" then
5156
			Warning()
5157
		elseif MODE == "Maniac" then
5158
			Endless_Pain()
5159
		end
5160
	end
5161
	
5162
	if Key == "b" and ATTACK == false then
5163
		if MODE == "Superior" then
5164
			Prison_Key()
5165
		elseif MODE == "JusticeHorn" then
5166
			TimesUp()
5167
		elseif MODE == "Maniac" then
5168
			Stonewill()
5169
		end
5170
	end
5171
	
5172
5173
	if Key == "p" and ATTACK == false then
5174
		TakeOnMe()
5175
	end
5176
5177
	if Key == "1" and ATTACK == false then
5178
		Taunt()
5179
	end
5180
5181
	if Key == "2" and ATTACK == false then
5182
		Taunt2()
5183
	end
5184
	
5185
	if Key == "f" and ATTACK == false then
5186
		Switch()	
5187
	end
5188
	
5189
	if Key == "e" and ATTACK == false then
5190
		Switch2()
5191
	end
5192
	
5193
	if Key == "q" and ATTACK == false then
5194
		Switch3()
5195
	end
5196
end
5197
5198
function KeyUp(Key)
5199
	KEYHOLD = false
5200
end
5201
5202
	Mouse.Button1Down:connect(function(NEWKEY)
5203
		MouseDown(NEWKEY)
5204
	end)
5205
	Mouse.Button1Up:connect(function(NEWKEY)
5206
		MouseUp(NEWKEY)
5207
	end)
5208
	Mouse.KeyDown:connect(function(NEWKEY)
5209
		KeyDown(NEWKEY)
5210
	end)
5211
	Mouse.KeyUp:connect(function(NEWKEY)
5212
		KeyUp(NEWKEY)
5213
	end)
5214
5215
--//=================================\\
5216
--\\=================================//
5217
5218
5219
function unanchor()
5220
	if UNANCHOR == true then
5221
		RootPart.Anchored = false
5222
	end
5223
	g = Character:GetChildren()
5224
	for i = 1, #g do
5225
		if g[i].ClassName == "Part" and g[i] ~= RootPart then
5226
			g[i].Anchored = false
5227
		end
5228
	end
5229
	g = Weapon:GetChildren()
5230
	for i = 1, #g do
5231
		if g[i].ClassName == "Part" then
5232
			g[i].Anchored = false
5233
		end
5234
	end
5235
end
5236
5237
5238
--//=================================\\
5239
--||	WRAP THE WHOLE SCRIPT UP
5240
--\\=================================//
5241
5242
Humanoid.Changed:connect(function(Jump)
5243
	if Jump == "Jump" and (Disable_Jump == true) then
5244
		Humanoid.Jump = false
5245
	end
5246
end)
5247
5248
while true do
5249
	Swait()
5250
	script.Parent = WEAPONGUI
5251
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
5252
	    v:Stop();
5253
	end
5254
	ANIMATE.Parent = nil
5255
	SINE = SINE + CHANGE*1.5
5256
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
5257
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
5258
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
5259
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
5260
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
5261
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5262
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
5263
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5264
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5265
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
5266
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5267
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5268
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5269
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5270
	end
5271
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
5272
		ANIM = "Jump"
5273
		if ATTACK == false then
5274
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5275
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
5276
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5277
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5278
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
5279
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
5280
	    end
5281
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
5282
		ANIM = "Fall"
5283
		if ATTACK == false then
5284
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5285
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
5286
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5287
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5288
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
5289
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
5290
		end
5291
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
5292
		ANIM = "Idle"
5293
		if ATTACK == false then
5294
			if MODE == "Main" then
5295
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
5296
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5297
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5298
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5299
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
5300
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
5301
			elseif MODE == "Superior" then
5302
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
5303
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5304
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5305
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.35*SIZE, 0.3*SIZE) * ANGLES(RAD(9.71), RAD(3.14 - -2.5 * SIN(SINE / 12)), RAD(0.2 - -2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5306
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
5307
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
5308
			elseif MODE == "JusticeHorn" then
5309
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5310
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0.1) - 0.1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
5311
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9*SIZE, 0.5*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5312
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9*SIZE, 0.25*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5313
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5314
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5315
			elseif MODE == "Maniac" then
5316
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1))), 1 / Animation_Speed)
5317
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 11 * COS(SINE / 1)), RAD(-15 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
5318
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(52 - 11 * COS(SINE / 1))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5319
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(-42 + 11 * COS(SINE / 1))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5320
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20 + 11 * COS(SINE / 1)), RAD(55 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
5321
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10 + 11 * COS(SINE / 1)), RAD(-74 + 11 * COS(SINE / 1)), RAD(0 - 11 * COS(SINE / 1))) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
5322
		   end
5323
		end
5324
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
5325
		ANIM = "Walk"
5326
		if ATTACK == false then
5327
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
5328
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
5329
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5330
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5331
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
5332
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
5333
       end
5334
	end
5335
	unanchor()
5336
	Humanoid.MaxHealth = "inf"
5337
	Humanoid.Health = "inf"
5338
	if Rooted == false then
5339
		Disable_Jump = false
5340
		Humanoid.WalkSpeed = Speed
5341
	elseif Rooted == true then
5342
		Disable_Jump = true
5343
		Humanoid.WalkSpeed = 0
5344
	end
5345
	for _, c in pairs(Character:GetChildren()) do
5346
		if c.ClassName == "Part" and c.Name ~= "Detail" then
5347
			c.Material = "Fabric"
5348
			if c:FindFirstChildOfClass("ParticleEmitter") then
5349
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
5350
			end
5351
			if c ~= Head then
5352
				c.Color = C3(0,0,0)
5353
			else
5354
				c.Color = C3(1,1,1)
5355
			end
5356
			if c == Head then
5357
				if c:FindFirstChild("face") then
5358
					c.face:remove()
5359
				end
5360
			end
5361
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
5362
			c:remove()
5363
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
5364
			c:remove()
5365
		end
5366
	end
5367
	sick.SoundId = "rbxassetid://1616575229"
5368
	sick.Looped = true
5369
	sick.Pitch = 1
5370
	sick.Volume = 4
5371
	sick.Parent = Torso
5372
	sick:Resume()
5373
    --sick.Playing = false
5374
	Humanoid.Name = "= "..Player.Name
5375
end
5376
5377
--//=================================\\
5378
--\\=================================//
5379
5380
5381
5382
5383
5384
--//====================================================\\--
5385
--||			  		 END OF SCRIPT
5386
--\\====================================================//--