View difference between Paste ID: LgDMudn7 and jhvi19Cc
SHOW: | | - or go back to the newest paste.
1-
local Player = game:GetService("Players").SincereProdeadZ
1+
local Player = game:GetService("Players").TameDoNotClick
2
local Mouse,mouse,UserInputService,ContextActionService
3
do
4
	script.Parent = Player.Character
5
	local CAS = {Actions={}}
6
	local Event = Instance.new("RemoteEvent")
7
	Event.Name = "UserInput_Event"
8
	Event.Parent = Player.Character
9
	local fakeEvent = function()
10
		local t = {_fakeEvent=true}
11
		t.Connect = function(self,f)self.Function=f end
12
		t.connect = t.Connect
13
		return t
14
	end
15
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
16
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
17
	function CAS:BindAction(name,fun,touch,...)
18
		CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
19
	end
20
	function CAS:UnbindAction(name)
21
		CAS.Actions[name] = nil
22
	end
23
	local function te(self,ev,...)
24
		local t = m[ev]
25
		if t and t._fakeEvent and t.Function then
26
			t.Function(...)
27
		end
28
	end
29
	m.TrigEvent = te
30
	UIS.TrigEvent = te
31
	Event.OnServerEvent:Connect(function(plr,io)
32
	    if plr~=Player then return end
33
		if io.isMouse then
34
			m.Target = io.Target
35
			m.Hit = io.Hit
36
		elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
37
	        if io.UserInputState == Enum.UserInputState.Begin then
38
				m:TrigEvent("Button1Down")
39
			else
40
				m:TrigEvent("Button1Up")
41
			end
42
		else
43
			for n,t in pairs(CAS.Actions) do
44
				for _,k in pairs(t.Keys) do
45
					if k==io.KeyCode then
46
						t.Function(t.Name,io.UserInputState,io)
47
					end
48
				end
49
			end
50
	        if io.UserInputState == Enum.UserInputState.Begin then
51
	            m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
52
				UIS:TrigEvent("InputBegan",io,false)
53
			else
54
				m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
55
				UIS:TrigEvent("InputEnded",io,false)
56
	        end
57
	    end
58
	end)
59
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
60
end
61-
Player = game:GetService("Players").SincereProdeadZ
61+
Player = game:GetService("Players").TameDoNotClick
62
PlayerGui = Player.PlayerGui
63
Cam = workspace.CurrentCamera
64
Backpack = Player.Backpack
65
Character = Player.Character
66
Humanoid = Character.Humanoid
67
RootPart = Character["HumanoidRootPart"]
68
Torso = Character["Torso"]
69
Head = Character["Head"]
70
RightArm = Character["Right Arm"]
71
LeftArm = Character["Left Arm"]
72
RightLeg = Character["Right Leg"]
73
LeftLeg = Character["Left Leg"]
74
RootJoint = RootPart["RootJoint"]
75
Neck = Torso["Neck"]
76
RightShoulder = Torso["Right Shoulder"]
77
LeftShoulder = Torso["Left Shoulder"]
78
RightHip = Torso["Right Hip"]
79
LeftHip = Torso["Left Hip"]
80
local TIME = 0
81
local sick = Instance.new("Sound",Torso)
82
sick.Parent = Torso
83
sick.Playing = true
84
sick.Looped = true
85
sick.Volume = 5
86
sick.Pitch = 1
87
sick.TimePosition = 0
88
sick.SoundId = "rbxassetid://157460916"
89
90
IT = Instance.new
91
CF = CFrame.new
92
VT = Vector3.new
93
RAD = math.rad
94
C3 = Color3.new
95
UD2 = UDim2.new
96
BRICKC = BrickColor.new
97
ANGLES = CFrame.Angles
98
EULER = CFrame.fromEulerAnglesXYZ
99
COS = math.cos
100
ACOS = math.acos
101
SIN = math.sin
102
ASIN = math.asin
103
ABS = math.abs
104
MRANDOM = math.random
105
FLOOR = math.floor
106
107
--//=================================\\
108
--|| 	      USEFUL VALUES
109
--\\=================================//
110
111
Animation_Speed = 3
112
local FORCERESET = false
113
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
114
local SIZE = 1
115
local Speed = 16
116
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
117
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
118
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
119
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
120
local DAMAGEMULTIPLIER = 1
121
local ANIM = "Idle"
122
local ATTACK = false
123
local EQUIPPED = false
124
local HOLD = false
125
local COMBO = 1
126
local Rooted = false
127
local SINE = 0
128
local KEYHOLD = false
129
local CHANGE = 2 / Animation_Speed
130
local WALKINGANIM = false
131
local VALUE1 = false
132
local VALUE2 = false
133
local ROBLOXIDLEANIMATION = IT("Animation")
134
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
135
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
136
--ROBLOXIDLEANIMATION.Parent = Humanoid
137
local WEAPONGUI = IT("ScreenGui", PlayerGui)
138
WEAPONGUI.Name = "BanishV3Gui"
139
local Weapon = IT("Folder", Character)
140
Weapon.Name = "Weapon"
141
local Weapon2 = IT("Folder", Character)
142
Weapon2.Name = "Weapon2"
143
local DeadEye = IT("Folder", Character)
144
DeadEye.Name = "DeadEye"
145
local HM = IT("Folder", Character)
146
HM.Name = "HM"
147
local Pan = IT("Folder", Character)
148
Pan.Name = "Pan"
149
local Pan2 = IT("Folder", Character)
150
Pan2.Name = "Pan2"
151
local FaceGradient = IT("Folder", Character)
152
FaceGradient.Name = "FaceGradient"
153
local black = IT("Folder", Character)
154
black.Name = "black"
155
local Heads = IT("Folder", Character)
156
Heads.Name = "Heads"
157
local Effects = IT("Folder", Character)
158
Effects.Name = "Effects"
159
local ANIMATOR = Humanoid.Animator
160
local ANIMATE = Character:FindFirstChild("Animate")
161
local UNANCHOR = true
162
local CLOCKLOOP = 0
163
local CLOCKTARGET = nil
164
local CLOCKSPEED = 1
165
script.Parent = WEAPONGUI
166
local HITFLOOR = nil
167
local INTRO = false
168
local INSTANT = false
169
local LEFTWINGS = {}
170
local RIGHTWINGS = {}
171
local BODY = {}
172
local TOBANISH = {}
173
script.Parent = PlayerGui
174
local MODE = "GoodCop"
175
176
--//=================================\\
177
--\\=================================//
178
179
local plr = Player
180
local char = plr.Character
181
local hum = char.Humanoid
182
183
-------------------------------------------------------
184
--Start Good Stuff--
185
-------------------------------------------------------
186
cam = game.Workspace.CurrentCamera
187
CF = CFrame.new
188
angles = CFrame.Angles
189
attack = false
190
Euler = CFrame.fromEulerAnglesXYZ
191
Rad = math.rad
192
IT = Instance.new
193
BrickC = BrickColor.new
194
Cos = math.cos
195
Acos = math.acos
196
Sin = math.sin
197
Asin = math.asin
198
Abs = math.abs
199
Mrandom = math.random
200
Floor = math.floor
201
202
--//=================================\\
203
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
204
--\\=================================//
205
206
ArtificialHB = Instance.new("BindableEvent", script)
207
ArtificialHB.Name = "ArtificialHB"
208
209
script:WaitForChild("ArtificialHB")
210
211
frame = Frame_Speed
212
tf = 0
213
allowframeloss = false
214
tossremainder = false
215
lastframe = tick()
216
script.ArtificialHB:Fire()
217
218
game:GetService("RunService").Heartbeat:connect(function(s, p)
219
	tf = tf + s
220
	if tf >= frame then
221
		if allowframeloss then
222
			script.ArtificialHB:Fire()
223
			lastframe = tick()
224
		else
225
			for i = 1, math.floor(tf / frame) do
226
				script.ArtificialHB:Fire()
227
			end
228
		lastframe = tick()
229
		end
230
		if tossremainder then
231
			tf = 0
232
		else
233
			tf = tf - frame * math.floor(tf / frame)
234
		end
235
	end
236
end)
237
238
--//=================================\\
239
--\\=================================//
240
241
--//=================================\\
242
--||		  CUSTOMIZATION
243
--\\=================================//
244
245
	local function weldBetween(a, b)
246
	    local weldd = Instance.new("ManualWeld")
247
	    weldd.Part0 = a
248
	    weldd.Part1 = b
249
	    weldd.C0 = CFrame.new()
250
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
251
	    weldd.Parent = a
252
	    return weldd
253
	end
254
255
function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
256
local acs = Instance.new("Part")
257
acs.CanCollide = false
258
acs.Anchored = false
259
acs.Size = Vector3.new(0,0,0)
260
acs.CFrame = attachmentpart.CFrame
261
acs.Parent = Character
262
acs.BrickColor = color
263
    local meshs = Instance.new("SpecialMesh")
264
    meshs.MeshId = mesh
265
    meshs.TextureId = texture
266
    meshs.Parent = acs
267
    meshs.Scale = scale
268
    meshs.Offset = offset
269
weldBetween(attachmentpart,acs)
270
end
271
272
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
273
if TYPE == "Gem" then
274
	local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
275
	acs.Anchored = false
276
    acs.CanCollide = false
277
	acs.CFrame = PART.CFrame
278
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
279
weldBetween(PART,acs)
280
elseif TYPE == "Skull" then
281
	local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
282
	acs.Anchored = false
283
    acs.CanCollide = false
284
	acs.CFrame = PART.CFrame
285
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
286
weldBetween(PART,acs)
287
elseif TYPE == "Eye" then
288
	local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
289
	acs.Anchored = false
290
    acs.CanCollide = false
291
	acs.CFrame = PART.CFrame
292
	local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
293
weldBetween(PART,acs)
294
end
295
end
296
297
298
Class_Name = "Sin Unleashed"
299
Weapon_Name = "Add-ons"
300
301
Custom_Colors = {
302
	Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
303
	Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
304
305
	Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
306
	Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
307
	Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
308
	Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
309
	Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
310
311
	Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
312
	Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
313
	Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
314
	Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
315
	Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
316
}
317
318
319
Player_Size = 1 --Size of the player.
320
Animation_Speed = 2
321
Animation_Speed2 = 1
322
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
323
324
local Speed = 28
325
Humanoid.JumpPower = 80
326
local Effects2 = {}
327
328
--//=================================\\
329
--|| 	  END OF CUSTOMIZATION
330
--\\=================================//
331
332
--//=================================\\
333
--|| 	      SOME FUNCTIONS
334
--\\=================================//
335
336
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
337
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
338
end
339
340
function PositiveAngle(NUMBER)
341
	if NUMBER >= 0 then
342
		NUMBER = 0
343
	end
344
	return NUMBER
345
end
346
347
function NegativeAngle(NUMBER)
348
	if NUMBER <= 0 then
349
		NUMBER = 0
350
	end
351
	return NUMBER
352
end
353
354
function Swait(NUMBER)
355
	if NUMBER == 0 or NUMBER == nil then
356
		ArtificialHB.Event:wait()
357
	else
358
		for i = 1, NUMBER do
359
			ArtificialHB.Event:wait()
360
		end
361
	end
362
end
363
364
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
365
	local NEWMESH = IT(MESH)
366
	if MESH == "SpecialMesh" then
367
		NEWMESH.MeshType = MESHTYPE
368
		if MESHID ~= "nil" and MESHID ~= "" then
369
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
370
		end
371
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
372
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
373
		end
374
	end
375
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
376
	NEWMESH.Scale = SCALE
377
	NEWMESH.Parent = PARENT
378
	return NEWMESH
379
end
380
381
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
382
	local NEWPART = IT("Part")
383
	NEWPART.formFactor = FORMFACTOR
384
	NEWPART.Reflectance = REFLECTANCE
385
	NEWPART.Transparency = TRANSPARENCY
386
	NEWPART.CanCollide = false
387
	NEWPART.Locked = true
388
	NEWPART.Anchored = true
389
	if ANCHOR == false then
390
		NEWPART.Anchored = false
391
	end
392
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
393
	NEWPART.Name = NAME
394
	NEWPART.Size = SIZE
395
	NEWPART.Position = Torso.Position
396
	NEWPART.Material = MATERIAL
397
	NEWPART:BreakJoints()
398
	NEWPART.Parent = PARENT
399
	return NEWPART
400
end
401
402
	local function weldBetween(a, b)
403
	    local weldd = Instance.new("ManualWeld")
404
	    weldd.Part0 = a
405
	    weldd.Part1 = b
406
	    weldd.C0 = CFrame.new()
407
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
408
	    weldd.Parent = a
409
	    return weldd
410
	end
411
412
413
function QuaternionFromCFrame(cf)
414
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
415
	local trace = m00 + m11 + m22
416
	if trace > 0 then 
417
		local s = math.sqrt(1 + trace)
418
		local recip = 0.5 / s
419
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
420
	else
421
		local i = 0
422
		if m11 > m00 then
423
			i = 1
424
		end
425
		if m22 > (i == 0 and m00 or m11) then
426
			i = 2
427
		end
428
		if i == 0 then
429
			local s = math.sqrt(m00 - m11 - m22 + 1)
430
			local recip = 0.5 / s
431
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
432
		elseif i == 1 then
433
			local s = math.sqrt(m11 - m22 - m00 + 1)
434
			local recip = 0.5 / s
435
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
436
		elseif i == 2 then
437
			local s = math.sqrt(m22 - m00 - m11 + 1)
438
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
439
		end
440
	end
441
end
442
 
443
function QuaternionToCFrame(px, py, pz, x, y, z, w)
444
	local xs, ys, zs = x + x, y + y, z + z
445
	local wx, wy, wz = w * xs, w * ys, w * zs
446
	local xx = x * xs
447
	local xy = x * ys
448
	local xz = x * zs
449
	local yy = y * ys
450
	local yz = y * zs
451
	local zz = z * zs
452
	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))
453
end
454
 
455
function QuaternionSlerp(a, b, t)
456
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
457
	local startInterp, finishInterp;
458
	if cosTheta >= 0.0001 then
459
		if (1 - cosTheta) > 0.0001 then
460
			local theta = ACOS(cosTheta)
461
			local invSinTheta = 1 / SIN(theta)
462
			startInterp = SIN((1 - t) * theta) * invSinTheta
463
			finishInterp = SIN(t * theta) * invSinTheta
464
		else
465
			startInterp = 1 - t
466
			finishInterp = t
467
		end
468
	else
469
		if (1 + cosTheta) > 0.0001 then
470
			local theta = ACOS(-cosTheta)
471
			local invSinTheta = 1 / SIN(theta)
472
			startInterp = SIN((t - 1) * theta) * invSinTheta
473
			finishInterp = SIN(t * theta) * invSinTheta
474
		else
475
			startInterp = t - 1
476
			finishInterp = t
477
		end
478
	end
479
	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
480
end
481
482
function Clerp(a, b, t)
483
	local qa = {QuaternionFromCFrame(a)}
484
	local qb = {QuaternionFromCFrame(b)}
485
	local ax, ay, az = a.x, a.y, a.z
486
	local bx, by, bz = b.x, b.y, b.z
487
	local _t = 1 - t
488
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
489
end
490
491
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
492
	local frame = IT("Frame")
493
	frame.BackgroundTransparency = TRANSPARENCY
494
	frame.BorderSizePixel = BORDERSIZEPIXEL
495
	frame.Position = POSITION
496
	frame.Size = SIZE
497
	frame.BackgroundColor3 = COLOR
498
	frame.BorderColor3 = BORDERCOLOR
499
	frame.Name = NAME
500
	frame.Parent = PARENT
501
	return frame
502
end
503
504
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
505
	local label = IT("TextLabel")
506
	label.BackgroundTransparency = 1
507
	label.Size = UD2(1, 0, 1, 0)
508
	label.Position = UD2(0, 0, 0, 0)
509
	label.TextColor3 = TEXTCOLOR
510
	label.TextStrokeTransparency = STROKETRANSPARENCY
511
	label.TextTransparency = TRANSPARENCY
512
	label.FontSize = TEXTFONTSIZE
513
	label.Font = TEXTFONT
514
	label.BorderSizePixel = BORDERSIZEPIXEL
515
	label.TextScaled = false
516
	label.Text = TEXT
517
	label.Name = NAME
518
	label.Parent = PARENT
519
	return label
520
end
521
522
function NoOutlines(PART)
523
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
524
end
525
526
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
527
	local NEWWELD = IT(TYPE)
528
	NEWWELD.Part0 = PART0
529
	NEWWELD.Part1 = PART1
530
	NEWWELD.C0 = C0
531
	NEWWELD.C1 = C1
532
	NEWWELD.Parent = PARENT
533
	return NEWWELD
534
end
535
536
local S = IT("Sound")
537
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
538
	local NEWSOUND = nil
539
	coroutine.resume(coroutine.create(function()
540
		NEWSOUND = S:Clone()
541
		NEWSOUND.Parent = PARENT
542
		NEWSOUND.Volume = VOLUME
543
		NEWSOUND.Pitch = PITCH
544
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
545
		NEWSOUND:play()
546
		if DOESLOOP == true then
547
			NEWSOUND.Looped = true
548
		else
549
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
550
			NEWSOUND:remove()
551
		end
552
	end))
553
	return NEWSOUND
554
end
555
556
function CFrameFromTopBack(at, top, back)
557
	local right = top:Cross(back)
558
	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)
559
end
560
561
--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})
562
function WACKYEFFECT(Table)
563
	local TYPE = (Table.EffectType or "Sphere")
564
	local SIZE = (Table.Size or VT(1,1,1))
565
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
566
	local TRANSPARENCY = (Table.Transparency or 0)
567
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
568
	local CFRAME = (Table.CFrame or Torso.CFrame)
569
	local MOVEDIRECTION = (Table.MoveToPos or nil)
570
	local ROTATION1 = (Table.RotationX or 0)
571
	local ROTATION2 = (Table.RotationY or 0)
572
	local ROTATION3 = (Table.RotationZ or 0)
573
	local MATERIAL = (Table.Material or "Neon")
574
	local COLOR = (Table.Color or C3(1,1,1))
575
	local TIME = (Table.Time or 45)
576
	local SOUNDID = (Table.SoundID or nil)
577
	local SOUNDPITCH = (Table.SoundPitch or nil)
578
	local SOUNDVOLUME = (Table.SoundVolume or nil)
579
	coroutine.resume(coroutine.create(function()
580
		local PLAYSSOUND = false
581
		local SOUND = nil
582
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
583
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
584
			PLAYSSOUND = true
585
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
586
		end
587
		EFFECT.Color = COLOR
588
		local MSH = nil
589
		if TYPE == "Sphere" then
590
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
591
		elseif TYPE == "Block" then
592
			MSH = IT("BlockMesh",EFFECT)
593
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
594
		elseif TYPE == "Wave" then
595
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
596
		elseif TYPE == "Ring" then
597
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
598
		elseif TYPE == "Slash" then
599
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
600
		elseif TYPE == "Round Slash" then
601
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
602
		elseif TYPE == "Swirl" then
603
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
604
		elseif TYPE == "Skull" then
605
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
606
		elseif TYPE == "Crystal" then
607
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
608
		end
609
		if MSH ~= nil then
610
			local MOVESPEED = nil
611
			if MOVEDIRECTION ~= nil then
612
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
613
			end
614
			local GROWTH = SIZE - ENDSIZE
615
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
616
			if TYPE == "Block" then
617
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
618
			else
619
				EFFECT.CFrame = CFRAME
620
			end
621
			for LOOP = 1, TIME+1 do
622
				Swait()
623
				MSH.Scale = MSH.Scale - GROWTH/TIME
624
				if TYPE == "Wave" then
625
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
626
				end
627
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
628
				if TYPE == "Block" then
629
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
630
				else
631
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
632
				end
633
				if MOVEDIRECTION ~= nil then
634
					local ORI = EFFECT.Orientation
635
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
636
					EFFECT.Orientation = ORI
637
				end
638
			end
639
			if PLAYSSOUND == false then
640
				EFFECT:remove()
641
			else
642
				SOUND.Stopped:Connect(function()
643
					EFFECT:remove()
644
				end)
645
			end
646
		else
647
			if PLAYSSOUND == false then
648
				EFFECT:remove()
649
			else
650
				repeat Swait() until SOUND.Playing == false
651
				EFFECT:remove()
652
			end
653
		end
654
	end))
655
end
656
for _, c in pairs(Character:GetChildren()) do
657
	if c.ClassName == "Part" then
658
		table.insert(BODY,{c,Character})
659
		for _, q in pairs(c:GetChildren()) do
660
			if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then
661
				table.insert(BODY,{q,c})
662
			end
663
		end
664
	end
665
end
666
667
function refit()
668
	Character.Parent = workspace
669
	for e = 1, #BODY do
670
		if BODY[e] ~= nil then
671
			local STUFF = BODY[e]
672
			local PART = STUFF[1]
673
			local PARENT = STUFF[2]
674
			PART.Parent = PARENT
675
		end
676
	end
677
end
678
679
function MakeForm(PART,TYPE)
680
	if TYPE == "Cyl" then
681
		local MSH = IT("CylinderMesh",PART)
682
	elseif TYPE == "Ball" then
683
		local MSH = IT("SpecialMesh",PART)
684
		MSH.MeshType = "Sphere"
685
	elseif TYPE == "Wedge" then
686
		local MSH = IT("SpecialMesh",PART)
687
		MSH.MeshType = "Wedge"
688
	end
689
end
690
691
function SpawnTrail(FROM,TO,BIG)
692
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
693
	MakeForm(TRAIL,"Cyl")
694
	local DIST = (FROM - TO).Magnitude
695
	if BIG == true then
696
		TRAIL.Size = VT(0.5,DIST,0.5)
697
	else
698
		TRAIL.Size = VT(0.25,DIST,0.25)
699
	end
700
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
701
	coroutine.resume(coroutine.create(function()
702
		for i = 1, 5 do
703
			Swait()
704
			TRAIL.Transparency = TRAIL.Transparency + 0.1
705
		end
706
		TRAIL:remove()
707
	end))
708
end
709
710
Debris = game:GetService("Debris")
711
712
function CastProperRay(StartPos, EndPos, Distance, Ignore)
713
	local DIRECTION = CF(StartPos,EndPos).lookVector
714
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
715
end
716
717
function turnto(position)
718
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
719
end
720
local asd = Instance.new("ParticleEmitter")
721
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
722
asd.LightEmission = .1
723
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
724
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
725
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
726
asd.Transparency = bbb
727
asd.Size = aaa
728
asd.ZOffset = .9
729
asd.Acceleration = Vector3.new(0, -15, 0)
730
asd.LockedToPart = false
731
asd.EmissionDirection = "Back"
732
asd.Lifetime = NumberRange.new(1, 2)
733
asd.Rotation = NumberRange.new(-100, 100)
734
asd.RotSpeed = NumberRange.new(-100, 100)
735
asd.Speed = NumberRange.new(10)
736
asd.Enabled = false
737
asd.VelocitySpread = 999
738
739
function getbloody(victim,amount)
740
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
741
	PART.CFrame = victim.CFrame
742
	local HITPLAYERSOUNDS = {"356551938","264486467"}
743
	Debris:AddItem(PART,5)
744
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
745
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
746
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
747
	local prtcl = asd:Clone()
748
	prtcl.Parent = PART
749
	prtcl:Emit(amount*10)
750
end
751
752
local Particle = IT("ParticleEmitter",nil)
753
Particle.Enabled = false
754
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
755
Particle.LightEmission = 0.5
756
Particle.Rate = 150
757
Particle.ZOffset = 1
758
Particle.Rotation = NumberRange.new(-180, 180)
759
Particle.RotSpeed = NumberRange.new(-180, 180)
760
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
761
Particle.Color = ColorSequence.new(C3(0,0,0),C3(0.4,0,0))
762
763
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
764
function ParticleEmitter(Table)
765
	local PRTCL = Particle:Clone()
766
	local Speed = Table.Speed or 5
767
	local Drag = Table.Drag or 0
768
	local Size1 = Table.Size1 or 1
769
	local Size2 = Table.Size2 or 5
770
	local Lifetime1 = Table.Lifetime1 or 1
771
	local Lifetime2 = Table.Lifetime2 or 1.5
772
	local Parent = Table.Parent or Torso
773
	local Emit = Table.Emit or 100
774
	local Offset = Table.Offset or 360
775
	local Acel = Table.Acel or VT(0,0,0)
776
	local Enabled = Table.Enabled or false
777
	PRTCL.Parent = Parent
778
	PRTCL.Size = NumberSequence.new(Size1,Size2)
779
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
780
	PRTCL.Speed = NumberRange.new(Speed)
781
	PRTCL.VelocitySpread = Offset
782
	PRTCL.Drag = Drag
783
	PRTCL.Acceleration = Acel
784
	if Enabled == false then
785
		PRTCL:Emit(Emit)
786
		Debris:AddItem(PRTCL,Lifetime2)
787
	else
788
		PRTCL.Enabled = true
789
	end
790
	return PRTCL
791
end
792
793
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
794
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
795
end
796
797
function PositiveAngle(NUMBER)
798
	if NUMBER >= 0 then
799
		NUMBER = 0
800
	end
801
	return NUMBER
802
end
803
804
function NegativeAngle(NUMBER)
805
	if NUMBER <= 0 then
806
		NUMBER = 0
807
	end
808
	return NUMBER
809
end
810
811
function Swait(NUMBER)
812
	if NUMBER == 0 or NUMBER == nil then
813
		ArtificialHB.Event:wait()
814
	else
815
		for i = 1, NUMBER do
816
			ArtificialHB.Event:wait()
817
		end
818
	end
819
end
820
821
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
822
	local NEWMESH = IT(MESH)
823
	if MESH == "SpecialMesh" then
824
		NEWMESH.MeshType = MESHTYPE
825
		if MESHID ~= "nil" and MESHID ~= "" then
826
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
827
		end
828
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
829
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
830
		end
831
	end
832
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
833
	NEWMESH.Scale = SCALE
834
	NEWMESH.Parent = PARENT
835
	return NEWMESH
836
end
837
838
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
839
	local NEWPART = IT("Part")
840
	NEWPART.formFactor = FORMFACTOR
841
	NEWPART.Reflectance = REFLECTANCE
842
	NEWPART.Transparency = TRANSPARENCY
843
	NEWPART.CanCollide = false
844
	NEWPART.Locked = true
845
	NEWPART.Anchored = true
846
	if ANCHOR == false then
847
		NEWPART.Anchored = false
848
	end
849
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
850
	NEWPART.Name = NAME
851
	NEWPART.Size = SIZE
852
	NEWPART.Position = Torso.Position
853
	NEWPART.Material = MATERIAL
854
	NEWPART:BreakJoints()
855
	NEWPART.Parent = PARENT
856
	return NEWPART
857
end
858
859
	local function weldBetween(a, b)
860
	    local weldd = Instance.new("ManualWeld")
861
	    weldd.Part0 = a
862
	    weldd.Part1 = b
863
	    weldd.C0 = CFrame.new()
864
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
865
	    weldd.Parent = a
866
	    return weldd
867
	end
868
869
870
function QuaternionFromCFrame(cf)
871
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
872
	local trace = m00 + m11 + m22
873
	if trace > 0 then 
874
		local s = math.sqrt(1 + trace)
875
		local recip = 0.5 / s
876
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
877
	else
878
		local i = 0
879
		if m11 > m00 then
880
			i = 1
881
		end
882
		if m22 > (i == 0 and m00 or m11) then
883
			i = 2
884
		end
885
		if i == 0 then
886
			local s = math.sqrt(m00 - m11 - m22 + 1)
887
			local recip = 0.5 / s
888
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
889
		elseif i == 1 then
890
			local s = math.sqrt(m11 - m22 - m00 + 1)
891
			local recip = 0.5 / s
892
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
893
		elseif i == 2 then
894
			local s = math.sqrt(m22 - m00 - m11 + 1)
895
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
896
		end
897
	end
898
end
899
 
900
function QuaternionToCFrame(px, py, pz, x, y, z, w)
901
	local xs, ys, zs = x + x, y + y, z + z
902
	local wx, wy, wz = w * xs, w * ys, w * zs
903
	local xx = x * xs
904
	local xy = x * ys
905
	local xz = x * zs
906
	local yy = y * ys
907
	local yz = y * zs
908
	local zz = z * zs
909
	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))
910
end
911
 
912
function QuaternionSlerp(a, b, t)
913
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
914
	local startInterp, finishInterp;
915
	if cosTheta >= 0.0001 then
916
		if (1 - cosTheta) > 0.0001 then
917
			local theta = ACOS(cosTheta)
918
			local invSinTheta = 1 / SIN(theta)
919
			startInterp = SIN((1 - t) * theta) * invSinTheta
920
			finishInterp = SIN(t * theta) * invSinTheta
921
		else
922
			startInterp = 1 - t
923
			finishInterp = t
924
		end
925
	else
926
		if (1 + cosTheta) > 0.0001 then
927
			local theta = ACOS(-cosTheta)
928
			local invSinTheta = 1 / SIN(theta)
929
			startInterp = SIN((t - 1) * theta) * invSinTheta
930
			finishInterp = SIN(t * theta) * invSinTheta
931
		else
932
			startInterp = t - 1
933
			finishInterp = t
934
		end
935
	end
936
	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
937
end
938
939
function Clerp(a, b, t)
940
	local qa = {QuaternionFromCFrame(a)}
941
	local qb = {QuaternionFromCFrame(b)}
942
	local ax, ay, az = a.x, a.y, a.z
943
	local bx, by, bz = b.x, b.y, b.z
944
	local _t = 1 - t
945
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
946
end
947
948
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
949
	local frame = IT("Frame")
950
	frame.BackgroundTransparency = TRANSPARENCY
951
	frame.BorderSizePixel = BORDERSIZEPIXEL
952
	frame.Position = POSITION
953
	frame.Size = SIZE
954
	frame.BackgroundColor3 = COLOR
955
	frame.BorderColor3 = BORDERCOLOR
956
	frame.Name = NAME
957
	frame.Parent = PARENT
958
	return frame
959
end
960
961
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
962
	local label = IT("TextLabel")
963
	label.BackgroundTransparency = 1
964
	label.Size = UD2(1, 0, 1, 0)
965
	label.Position = UD2(0, 0, 0, 0)
966
	label.TextColor3 = TEXTCOLOR
967
	label.TextStrokeTransparency = STROKETRANSPARENCY
968
	label.TextTransparency = TRANSPARENCY
969
	label.FontSize = TEXTFONTSIZE
970
	label.Font = TEXTFONT
971
	label.BorderSizePixel = BORDERSIZEPIXEL
972
	label.TextScaled = false
973
	label.Text = TEXT
974
	label.Name = NAME
975
	label.Parent = PARENT
976
	return label
977
end
978
979
function NoOutlines(PART)
980
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
981
end
982
983
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
984
	local NEWWELD = IT(TYPE)
985
	NEWWELD.Part0 = PART0
986
	NEWWELD.Part1 = PART1
987
	NEWWELD.C0 = C0
988
	NEWWELD.C1 = C1
989
	NEWWELD.Parent = PARENT
990
	return NEWWELD
991
end
992
993
local S = IT("Sound")
994
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
995
	local NEWSOUND = nil
996
	coroutine.resume(coroutine.create(function()
997
		NEWSOUND = S:Clone()
998
		NEWSOUND.Parent = PARENT
999
		NEWSOUND.Volume = VOLUME
1000
		NEWSOUND.Pitch = PITCH
1001
		NEWSOUND.SoundId = "rbxassetid://"..ID
1002
		NEWSOUND:play()
1003
		if DOESLOOP == true then
1004
			NEWSOUND.Looped = true
1005
		else
1006
			repeat wait(1) until NEWSOUND.Playing == false
1007
			NEWSOUND:remove()
1008
		end
1009
	end))
1010
	return NEWSOUND
1011
end
1012
1013
function CFrameFromTopBack(at, top, back)
1014
	local right = top:Cross(back)
1015
	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)
1016
end
1017
1018
function R_RANDOM(CFRAME,DIST)
1019
	return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
1020
end
1021
1022
--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})
1023
function WACKYEFFECT(Table)
1024
	local TYPE = (Table.EffectType or "Sphere")
1025
	local SIZE = (Table.Size or VT(1,1,1))
1026
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
1027
	local TRANSPARENCY = (Table.Transparency or 0)
1028
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1029
	local CFRAME = (Table.CFrame or Torso.CFrame)
1030
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1031
	local ROTATION1 = (Table.RotationX or 0)
1032
	local ROTATION2 = (Table.RotationY or 0)
1033
	local ROTATION3 = (Table.RotationZ or 0)
1034
	local MATERIAL = (Table.Material or "Neon")
1035
	local COLOR = (Table.Color or C3(1,1,1))
1036
	local TIME = (Table.Time or 45)
1037
	local SOUNDID = (Table.SoundID or nil)
1038
	local SOUNDPITCH = (Table.SoundPitch or nil)
1039
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1040
	local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
1041
	local BOOMERANG = (Table.Boomerang or 0)
1042
	local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
1043
	coroutine.resume(coroutine.create(function()
1044
		local PLAYSSOUND = false
1045
		local SOUND = nil
1046
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1047
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1048
			PLAYSSOUND = true
1049
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1050
		end
1051
		EFFECT.Color = COLOR
1052
		local MSH = nil
1053
		if TYPE == "Sphere" then
1054
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1055
		elseif TYPE == "Block" or TYPE == "Box" then
1056
			MSH = IT("BlockMesh",EFFECT)
1057
			MSH.Scale = SIZE
1058
		elseif TYPE == "Wave" then
1059
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1060
		elseif TYPE == "Ring" then
1061
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1062
		elseif TYPE == "Slash" then
1063
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1064
		elseif TYPE == "Round Slash" then
1065
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1066
		elseif TYPE == "Swirl" then
1067
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
1068
		elseif TYPE == "Skull" then
1069
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1070
		elseif TYPE == "Crystal" then
1071
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1072
		end
1073
		if MSH ~= nil then
1074
			local BOOMR1 = 1+BOOMERANG/50
1075
			local BOOMR2 = 1+SIZEBOOMERANG/50
1076
			local MOVESPEED = nil
1077
			if MOVEDIRECTION ~= nil then
1078
				if USEBOOMERANGMATH == true then
1079
					MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
1080
				else
1081
					MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
1082
				end
1083
			end
1084
			local GROWTH = nil
1085
			if USEBOOMERANGMATH == true then
1086
				GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
1087
			else
1088
				GROWTH = (SIZE - ENDSIZE)
1089
			end
1090
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1091
			if TYPE == "Block" then
1092
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1093
			else
1094
				EFFECT.CFrame = CFRAME
1095
			end
1096
			if USEBOOMERANGMATH == true then
1097
				for LOOP = 1, TIME+1 do
1098
					Swait()
1099
					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
1100
					if TYPE == "Wave" then
1101
						MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
1102
					end
1103
					EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1104
					if TYPE == "Block" then
1105
						EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1106
					else
1107
						EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1108
					end
1109
					if MOVEDIRECTION ~= nil then
1110
						local ORI = EFFECT.Orientation
1111
						EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
1112
						EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
1113
					end
1114
				end
1115
			else
1116
				for LOOP = 1, TIME+1 do
1117
					Swait()
1118
					MSH.Scale = MSH.Scale - GROWTH/TIME
1119
					if TYPE == "Wave" then
1120
						MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
1121
					end
1122
					EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1123
					if TYPE == "Block" then
1124
						EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1125
					else
1126
						EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1127
					end
1128
					if MOVEDIRECTION ~= nil then
1129
						local ORI = EFFECT.Orientation
1130
						EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1131
						EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
1132
					end
1133
				end
1134
			end
1135
			EFFECT.Transparency = 1
1136
			if PLAYSSOUND == false then
1137
				EFFECT:remove()
1138
			else
1139
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
1140
				EFFECT:remove()
1141
			end
1142
		else
1143
			if PLAYSSOUND == false then
1144
				EFFECT:remove()
1145
			else
1146
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
1147
				EFFECT:remove()
1148
			end
1149
		end
1150
	end))
1151
end
1152
1153
function MakeForm(PART,TYPE)
1154
	if TYPE == "Cyl" then
1155
		local MSH = IT("CylinderMesh",PART)
1156
	elseif TYPE == "Ball" then
1157
		local MSH = IT("SpecialMesh",PART)
1158
		MSH.MeshType = "Sphere"
1159
	elseif TYPE == "Wedge" then
1160
		local MSH = IT("SpecialMesh",PART)
1161
		MSH.MeshType = "Wedge"
1162
	end
1163
end
1164
1165
Debris = game:GetService("Debris")
1166
1167
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1168
	local DIRECTION = CF(StartPos,EndPos).lookVector
1169
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1170
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
1171
end
1172
1173
local DECAL = IT("Decal")
1174
function MagicRing()
1175
	local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
1176
	local MESH = IT("BlockMesh",RING)
1177
	local BOTTOMTEXTURE = DECAL:Clone()
1178
	BOTTOMTEXTURE.Parent = RING
1179
	BOTTOMTEXTURE.Face = "Bottom"
1180
	BOTTOMTEXTURE.Name = "BottomTexture"
1181
	local TOPTEXTURE = DECAL:Clone()
1182
	TOPTEXTURE.Parent = RING
1183
	TOPTEXTURE.Face = "Top"
1184
	TOPTEXTURE.Name = "TopTexture"
1185
	BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
1186
	TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
1187
	BOTTOMTEXTURE.Color3 = C3(0,0,0)
1188
	TOPTEXTURE.Color3 = C3(0,0,0)
1189
	return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
1190
end
1191
1192
function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
1193
	coroutine.resume(coroutine.create(function()
1194
		local FADE = IT("Model",Effects)
1195
		if PARENT ~= nil then
1196
			FADE.Parent = PARENT
1197
		end
1198
		FADE.Name = "FadingEffect"
1199
		for _, c in pairs(Character:GetChildren()) do
1200
			if c.ClassName == "Part" then
1201
				c.CanCollide = false
1202
				local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
1203
				FADER.CFrame = c.CFrame
1204
				FADER.Color = COLOR
1205
				if FADER.Name == "Head" then
1206
					Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
1207
				elseif FADER.Name == "HumanoidRootPart" then
1208
					FADE.PrimaryPart = FADER
1209
					FADER.Transparency = 1
1210
				end
1211
			end
1212
		end
1213
		local TRANS = 0.25/TIMER
1214
		local DIST = nil
1215
		if MOVEDIRECTION ~= nil then
1216
			DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
1217
		end
1218
		for i = 1, TIMER do
1219
			Swait()
1220
			for _, c in pairs(FADE:GetChildren()) do
1221
				if c.ClassName == "Part" then
1222
					c.Transparency = c.Transparency + TRANS
1223
				end
1224
			end
1225
			if MOVEDIRECTION ~= nil then
1226
				local ORI = FADE.PrimaryPart.Orientation
1227
				FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
1228
			end
1229
		end
1230
		FADE:remove()
1231
	end))
1232
end
1233
1234
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
1235
    return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
1236
end
1237
 
1238
function PositiveAngle(NUMBER)
1239
    if NUMBER >= 0 then
1240
        NUMBER = 0
1241
    end
1242
    return NUMBER
1243
end
1244
 
1245
function NegativeAngle(NUMBER)
1246
    if NUMBER <= 0 then
1247
        NUMBER = 0
1248
    end
1249
    return NUMBER
1250
end
1251
 
1252
function Swait(NUMBER)
1253
    if NUMBER == 0 or NUMBER == nil then
1254
        ArtificialHB.Event:wait()
1255
    else
1256
        for i = 1, NUMBER do
1257
            ArtificialHB.Event:wait()
1258
        end
1259
    end
1260
end
1261
 
1262
function QuaternionFromCFrame(cf)
1263
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1264
    local trace = m00 + m11 + m22
1265
    if trace > 0 then
1266
        local s = math.sqrt(1 + trace)
1267
        local recip = 0.5 / s
1268
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1269
    else
1270
        local i = 0
1271
        if m11 > m00 then
1272
            i = 1
1273
        end
1274
        if m22 > (i == 0 and m00 or m11) then
1275
            i = 2
1276
        end
1277
        if i == 0 then
1278
            local s = math.sqrt(m00 - m11 - m22 + 1)
1279
            local recip = 0.5 / s
1280
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
1281
        elseif i == 1 then
1282
            local s = math.sqrt(m11 - m22 - m00 + 1)
1283
            local recip = 0.5 / s
1284
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
1285
        elseif i == 2 then
1286
            local s = math.sqrt(m22 - m00 - m11 + 1)
1287
            local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
1288
        end
1289
    end
1290
end
1291
 
1292
function QuaternionToCFrame(px, py, pz, x, y, z, w)
1293
    local xs, ys, zs = x + x, y + y, z + z
1294
    local wx, wy, wz = w * xs, w * ys, w * zs
1295
    local xx = x * xs
1296
    local xy = x * ys
1297
    local xz = x * zs
1298
    local yy = y * ys
1299
    local yz = y * zs
1300
    local zz = z * zs
1301
    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))
1302
end
1303
 
1304
function QuaternionSlerp(a, b, t)
1305
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
1306
    local startInterp, finishInterp;
1307
    if cosTheta >= 0.0001 then
1308
        if (1 - cosTheta) > 0.0001 then
1309
            local theta = ACOS(cosTheta)
1310
            local invSinTheta = 1 / SIN(theta)
1311
            startInterp = SIN((1 - t) * theta) * invSinTheta
1312
            finishInterp = SIN(t * theta) * invSinTheta
1313
        else
1314
            startInterp = 1 - t
1315
            finishInterp = t
1316
        end
1317
    else
1318
        if (1 + cosTheta) > 0.0001 then
1319
            local theta = ACOS(-cosTheta)
1320
            local invSinTheta = 1 / SIN(theta)
1321
            startInterp = SIN((t - 1) * theta) * invSinTheta
1322
            finishInterp = SIN(t * theta) * invSinTheta
1323
        else
1324
            startInterp = t - 1
1325
            finishInterp = t
1326
        end
1327
    end
1328
    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
1329
end
1330
 
1331
function Clerp(a, b, t)
1332
    local qa = {QuaternionFromCFrame(a)}
1333
    local qb = {QuaternionFromCFrame(b)}
1334
    local ax, ay, az = a.x, a.y, a.z
1335
    local bx, by, bz = b.x, b.y, b.z
1336
    local _t = 1 - t
1337
    return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1338
end
1339
 
1340
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
1341
    local frame = IT("Frame")
1342
    frame.BackgroundTransparency = TRANSPARENCY
1343
    frame.BorderSizePixel = BORDERSIZEPIXEL
1344
    frame.Position = POSITION
1345
    frame.Size = SIZE
1346
    frame.BackgroundColor3 = COLOR
1347
    frame.BorderColor3 = BORDERCOLOR
1348
    frame.Name = NAME
1349
    frame.Parent = PARENT
1350
    return frame
1351
end
1352
 
1353
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
1354
    local label = IT("TextLabel")
1355
    label.BackgroundTransparency = 1
1356
    label.Size = UD2(1, 0, 1, 0)
1357
    label.Position = UD2(0, 0, 0, 0)
1358
    label.TextColor3 = TEXTCOLOR
1359
    label.TextStrokeTransparency = STROKETRANSPARENCY
1360
    label.TextTransparency = TRANSPARENCY
1361
    label.FontSize = TEXTFONTSIZE
1362
    label.Font = TEXTFONT
1363
    label.BorderSizePixel = BORDERSIZEPIXEL
1364
    label.TextScaled = false
1365
    label.Text = TEXT
1366
    label.Name = NAME
1367
    label.Parent = PARENT
1368
    return label
1369
end
1370
 
1371
function NoOutlines(PART)
1372
    PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
1373
end
1374
 
1375
 
1376
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
1377
    local NEWWELD = IT(TYPE)
1378
    NEWWELD.Part0 = PART0
1379
    NEWWELD.Part1 = PART1
1380
    NEWWELD.C0 = C0
1381
    NEWWELD.C1 = C1
1382
    NEWWELD.Parent = PARENT
1383
    return NEWWELD
1384
end
1385
 
1386
function CreateSound(ID, PARENT, VOLUME, PITCH)
1387
    local NEWSOUND = nil
1388
    coroutine.resume(coroutine.create(function()
1389
        NEWSOUND = IT("Sound", PARENT)
1390
        NEWSOUND.Volume = VOLUME
1391
        NEWSOUND.Pitch = PITCH
1392
        NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
1393
        Swait()
1394
        NEWSOUND:play()
1395
        game:GetService("Debris"):AddItem(NEWSOUND, 10)
1396
    end))
1397
    return NEWSOUND
1398
end
1399
 
1400
function CFrameFromTopBack(at, top, back)
1401
    local right = top:Cross(back)
1402
    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)
1403
end
1404
 
1405
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
1406
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1407
    local mesh = IT("SpecialMesh",wave)
1408
    mesh.MeshType = "FileMesh"
1409
    mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
1410
    mesh.Scale = SIZE
1411
    mesh.Offset = VT(0,0,-SIZE.X/8)
1412
    wave.CFrame = CFRAME
1413
    coroutine.resume(coroutine.create(function(PART)
1414
        for i = 1, WAIT do
1415
            Swait()
1416
            mesh.Scale = mesh.Scale + GROW
1417
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1418
            if DOESROT == true then
1419
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1420
            end
1421
            wave.Transparency = wave.Transparency + (0.5/WAIT)
1422
            if wave.Transparency > 0.99 then
1423
                wave:remove()
1424
            end
1425
        end
1426
    end))
1427
end
1428
 
1429
function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
1430
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1431
    local mesh = IT("SpecialMesh",wave)
1432
    mesh.MeshType = "FileMesh"
1433
    mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
1434
    mesh.Scale = SIZE
1435
    --mesh.Offset = VT(0,0,-SIZE.X/8)
1436
    wave.CFrame = CFRAME
1437
    coroutine.resume(coroutine.create(function(PART)
1438
        for i = 1, WAIT do
1439
            Swait()
1440
            mesh.Scale = mesh.Scale + GROW
1441
            --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1442
            if DOESROT == true then
1443
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1444
            end
1445
            wave.Transparency = wave.Transparency + (0.5/WAIT)
1446
            if wave.Transparency > 0.99 then
1447
                wave:remove()
1448
            end
1449
        end
1450
    end))
1451
end
1452
 
1453
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
1454
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1455
    local mesh = IT("SpecialMesh",wave)
1456
    mesh.MeshType = "FileMesh"
1457
    mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1458
    mesh.Scale = SIZE
1459
    wave.CFrame = CFRAME
1460
    coroutine.resume(coroutine.create(function(PART)
1461
        for i = 1, WAIT do
1462
            Swait()
1463
            mesh.Scale = mesh.Scale + GROW
1464
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1465
            if DOESROT == true then
1466
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1467
            end
1468
            wave.Transparency = wave.Transparency + (0.5/WAIT)
1469
            if wave.Transparency > 0.99 then
1470
                wave:remove()
1471
            end
1472
        end
1473
    end))
1474
end
1475
 
1476
 
1477
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
1478
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
1479
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
1480
    wave.CFrame = CFRAME
1481
    coroutine.resume(coroutine.create(function(PART)
1482
        for i = 1, WAIT do
1483
            Swait()
1484
            mesh.Scale = mesh.Scale * GROW
1485
            wave.Transparency = wave.Transparency + (0.5/WAIT)
1486
            if wave.Transparency > 0.99 then
1487
                wave:remove()
1488
            end
1489
        end
1490
    end))
1491
end
1492
 
1493
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
1494
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
1495
    local mesh = IT("SpecialMesh",wave)
1496
    mesh.MeshType = "Sphere"
1497
    mesh.Scale = SIZE
1498
    mesh.Offset = VT(0,0,0)
1499
    wave.CFrame = CFRAME
1500
    coroutine.resume(coroutine.create(function(PART)
1501
        for i = 1, WAIT do
1502
            Swait()
1503
            mesh.Scale = mesh.Scale + GROW
1504
            wave.Transparency = wave.Transparency + (1/WAIT)
1505
            if wave.Transparency > 0.99 then
1506
                wave:remove()
1507
            end
1508
        end
1509
    end))
1510
end
1511
 
1512
function MakeForm(PART,TYPE)
1513
    if TYPE == "Cyl" then
1514
        local MSH = IT("CylinderMesh",PART)
1515
    elseif TYPE == "Ball" then
1516
        local MSH = IT("SpecialMesh",PART)
1517
        MSH.MeshType = "Sphere"
1518
    elseif TYPE == "Wedge" then
1519
        local MSH = IT("SpecialMesh",PART)
1520
        MSH.MeshType = "Wedge"
1521
    end
1522
end
1523
 
1524
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
1525
    if FLOOR ~= nil then
1526
        coroutine.resume(coroutine.create(function()
1527
            local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
1528
            PART.CFrame = CF(POSITION)
1529
            for i = 1, 45 do
1530
                local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
1531
                RingPiece.Material = FLOOR.Material
1532
                RingPiece.Color = FLOOR.Color
1533
                RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
1534
                Debris:AddItem(RingPiece,SWAIT/100)
1535
            end
1536
            PART:remove()
1537
        end))
1538
    end
1539
end
1540
 
1541
function CheckTableForString(Table, String)
1542
    for i, v in pairs(Table) do
1543
        if string.find(string.lower(String), string.lower(v)) then
1544
            return true
1545
        end
1546
    end
1547
    return false
1548
end
1549
 
1550
function CheckIntangible(Hit)
1551
    local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
1552
    if Hit and Hit.Parent then
1553
        if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
1554
            return true
1555
        end
1556
    end
1557
    return false
1558
end
1559
 
1560
Debris = game:GetService("Debris")
1561
 
1562
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
1563
    local Direction = CFrame.new(StartPos, Vec).lookVector
1564
    local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1565
    local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
1566
    if RayHit and CheckIntangible(RayHit) then
1567
        if DelayIfHit then
1568
            wait()
1569
        end
1570
        RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
1571
    end
1572
    return RayHit, RayPos, RayNormal
1573
end
1574
 
1575
function turnto(position)
1576
    RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1577
end
1578
1579
function CameraEnshaking(Length, Intensity)
1580
	coroutine.resume(coroutine.create(function()
1581
		local intensity = 1 * Intensity
1582
		local rotM = 0.01 * Intensity
1583
		for i = 0, Length, 0.1 do
1584
			Swait()
1585
			intensity = intensity - 0.05 * Intensity / Length
1586
			rotM = rotM - 5.0E-4 * Intensity / Length
1587
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1588
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
1589
		end
1590
		hum.CameraOffset = Vector3.new(0, 0, 0)
1591
	end))
1592
end
1593
1594
1595
--//=================================\\
1596
--||	     WEAPON CREATION
1597
--\\=================================//
1598
1599
1600
1601
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
1602
	local TORSO = Torso
1603
	local HUM = Humanoid
1604
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
1605
		coroutine.wrap(function()
1606
			VT = Vector3.new
1607
			MRANDOM = math.random
1608
			local A = TIME
1609
			local B = INTENSITY
1610
			local C = true
1611
			local HUMANOID = Humanoid
1612
			local TIMER = A or 35
1613
			local SHAKE = B or 5
1614
			local FADE = C or true
1615
			if HUMANOID then
1616
				local FADER = SHAKE / TIMER
1617
				for i = 1, TIMER do
1618
					wait()
1619
					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)
1620
				end
1621
				HUMANOID.CameraOffset = VT(0, 0, 0)
1622
			end
1623
1624
		end)()
1625
	end
1626
end
1627
1628
1629
--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})
1630
function WACKYEFFECT(Table)
1631
	local TYPE = (Table.EffectType or "Sphere")
1632
	local SIZE = (Table.Size or VT(1,1,1))
1633
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
1634
	local TRANSPARENCY = (Table.Transparency or 0)
1635
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1636
	local CFRAME = (Table.CFrame or Torso.CFrame)
1637
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1638
	local ROTATION1 = (Table.RotationX or 0)
1639
	local ROTATION2 = (Table.RotationY or 0)
1640
	local ROTATION3 = (Table.RotationZ or 0)
1641
	local MATERIAL = (Table.Material or "Neon")
1642
	local COLOR = (Table.Color or C3(1,1,1))
1643
	local TIME = (Table.Time or 45)
1644
	local SOUNDID = (Table.SoundID or nil)
1645
	local SOUNDPITCH = (Table.SoundPitch or nil)
1646
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1647
	coroutine.resume(coroutine.create(function()
1648
		local PLAYSSOUND = false
1649
		local SOUND = nil
1650
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Lime green"), "Effect", VT(1,1,1), true)
1651
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1652
			PLAYSSOUND = true
1653
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1654
		end
1655
		EFFECT.Color = COLOR
1656
		local MSH = nil
1657
		if TYPE == "Sphere" then
1658
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1659
		elseif TYPE == "Block" then
1660
			MSH = IT("BlockMesh",EFFECT)
1661
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1662
		elseif TYPE == "Wave" then
1663
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1664
		elseif TYPE == "Ring" then
1665
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1666
		elseif TYPE == "Slash" then
1667
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1668
		elseif TYPE == "Round Slash" then
1669
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1670
		elseif TYPE == "Swirl" then
1671
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1672
		elseif TYPE == "Skull" then
1673
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1674
		elseif TYPE == "Crystal" then
1675
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1676
		end
1677
		if MSH ~= nil then
1678
			local MOVESPEED = nil
1679
			if MOVEDIRECTION ~= nil then
1680
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1681
			end
1682
			local GROWTH = SIZE - ENDSIZE
1683
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1684
			if TYPE == "Block" then
1685
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1686
			else
1687
				EFFECT.CFrame = CFRAME
1688
			end
1689
			for LOOP = 1, TIME+1 do
1690
				Swait()
1691
				MSH.Scale = MSH.Scale - GROWTH/TIME
1692
				if TYPE == "Wave" then
1693
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1694
				end
1695
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1696
				if TYPE == "Block" then
1697
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1698
				else
1699
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1700
				end
1701
				if MOVEDIRECTION ~= nil then
1702
					local ORI = EFFECT.Orientation
1703
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1704
					EFFECT.Orientation = ORI
1705
				end
1706
			end
1707
			if PLAYSSOUND == false then
1708
				EFFECT:remove()
1709
			else
1710
				SOUND.Stopped:Connect(function()
1711
					EFFECT:remove()
1712
				end)
1713
			end
1714
		else
1715
			if PLAYSSOUND == false then
1716
				EFFECT:remove()
1717
			else
1718
				repeat Swait() until SOUND.Playing == false
1719
				EFFECT:remove()
1720
			end
1721
		end
1722
	end))
1723
end
1724
1725
1726
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
1727
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1728
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
1729
	wave.CFrame = CFRAME
1730
	coroutine.resume(coroutine.create(function(PART)
1731
		for i = 1, WAIT do
1732
			Swait()
1733
			mesh.Scale = mesh.Scale + GROW
1734
			if DOESROT == true then
1735
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1736
			end
1737
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1738
			if wave.Transparency > 0.99 then
1739
				wave:remove()
1740
			end
1741
		end
1742
	end))
1743
end
1744
--EYE-
1745
1746
for i = 1, 35 do
1747
	local FACE = CreatePart(3, FaceGradient, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
1748
	FACE.Color = C3(0,0,0)
1749
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
1750
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
1751
end
1752
--EYE1-
1753
local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1754
MakeForm(Eye,"Ball")
1755
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1756
local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1757
MakeForm(Eye,"Ball")
1758
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1759
local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1760
MakeForm(Eye,"Ball")
1761
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1762
local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1763
MakeForm(Eye,"Ball")
1764
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1765
--EYE2-
1766
local Eye = CreatePart(3, Weapon2, "Neon", 0, 0, "Really black", "Eye", VT(0.6,0.1,1)/2,false)
1767
MakeForm(Eye,"Ball")
1768
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1769
local Eye = CreatePart(3, Weapon2, "Neon", 0, 0, "Really black", "Eye", VT(0.6,0.1,1)/2,false)
1770
MakeForm(Eye,"Ball")
1771
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1772
local Eye = CreatePart(3, Weapon2, "Neon", 0, 0, "Really black", "Eye", VT(0.1,1,1)/2,false)
1773
MakeForm(Eye,"Ball")
1774
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1775
local Eye = CreatePart(3, Weapon2, "Neon", 0, 0, "Really black", "Eye", VT(0.1,1,1)/2,false)
1776
MakeForm(Eye,"Ball")
1777
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1778
1779
--SS--
1780
1781
1782
1783
--EXE--
1784
local EXE = Instance.new("Shirt")
1785
EXE.ShirtTemplate = "rbxassetid://338740550"
1786
EXE.Parent = Character
1787
EXE.Name = "Cloth"
1788
local LOL = Instance.new("Pants")
1789
LOL.PantsTemplate = "rbxassetid://338750779"
1790
LOL.Parent = Character
1791
LOL.Name = "Cloth"
1792
1793
--DeadEye--
1794
1795
local Handle = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
1796
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
1797
local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
1798
MakeForm(Part,"Wedge")
1799
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1800
local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
1801
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1802
local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1803
MakeForm(Part,"Cyl")
1804
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1805
for i = 1, 8 do
1806
	local Piece = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1807
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1808
end
1809
local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1810
MakeForm(Part,"Wedge")
1811
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1812
local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
1813
MakeForm(Part,"Cyl")
1814
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1815
local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1816
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1817
local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
1818
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1819
local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
1820
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
1821
local RightBarrel = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
1822
MakeForm(RightBarrel,"Cyl")
1823
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
1824
local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
1825
MakeForm(Part,"Wedge")
1826
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1827
local RightHole = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1828
MakeForm(RightHole,"Cyl")
1829
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
1830
1831
1832
--Heads--
1833
1834
local PRT = CreatePart(3, Heads, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
1835
PRT.Color = C3(0,0,0)
1836
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
1837
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
1838
1839
local Hair = CreatePart(3, Heads, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
1840
local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1841
CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
1842
local Hair = CreatePart(3, Heads, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
1843
local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1844
CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
1845
1846
--HM--
1847
1848
local LASTPART = Head
1849
for i = 1, 20 do
1850
	local MATH = (1-(i/25))
1851
	if LASTPART == Head then
1852
		local Horn = CreatePart(3, HM, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1853
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
1854
		LASTPART = Horn
1855
		Horn.Color = C3((i*3-3)/255,0,0)
1856
	else
1857
		local Horn = CreatePart(3, HM, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1858
		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))
1859
		LASTPART = Horn
1860
		Horn.Color = C3((i*3-3)/255,0,0)
1861
	end
1862
end
1863
local LASTPART = Head
1864
for i = 1, 20 do
1865
	local MATH = (1-(i/25))
1866
	if LASTPART == Head then
1867
		local Horn = CreatePart(3, HM, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1868
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
1869
		LASTPART = Horn
1870
		Horn.Color = C3((i*3-3)/255,0,0)
1871
	else
1872
		local Horn = CreatePart(3, HM, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1873
		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))
1874
		LASTPART = Horn
1875
		Horn.Color = C3((i*3-3)/255,0,0)
1876
	end
1877
end
1878
1879
--Black--
1880
1881
local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
1882
local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1883
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
1884
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1885
 
1886
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
1887
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1888
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
1889
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1890
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
1891
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1892
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
1893
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1894
 
1895
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
1896
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1897
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
1898
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1899
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
1900
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1901
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
1902
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1903
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
1904
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1905
 
1906
--banblack--
1907
1908
1909
--Ban--
1910
1911
local Handle = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
1912
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1913
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1914
MakeForm(Part,"Wedge")
1915
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1916
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
1917
MakeForm(Part,"Wedge")
1918
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1919
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
1920
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1921
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1922
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1923
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1924
MakeForm(Part,"Cyl")
1925
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1926
for i = 1, 8 do
1927
	local Piece = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1928
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1929
end
1930
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1931
MakeForm(Part,"Cyl")
1932
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1933
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1934
MakeForm(Part,"Ball")
1935
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1936
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1937
MakeForm(Part,"Wedge")
1938
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1939
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1940
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1941
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1942
MakeForm(Part,"Cyl")
1943
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1944
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1945
MakeForm(Part,"Cyl")
1946
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1947
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1948
MakeForm(Part,"Cyl")
1949
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1950
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
1951
MakeForm(Part,"Wedge")
1952
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
1953
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1954
MakeForm(Part,"Cyl")
1955
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1956
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
1957
MakeForm(Part,"Wedge")
1958
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1959
local LASTPART = Handle
1960
for i = 1, 10 do
1961
	if LASTPART == Handle then
1962
		local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1963
		LASTPART = Part
1964
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1965
	else
1966
		local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1967
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1968
		LASTPART = Part
1969
	end
1970
end
1971
1972
local Barrel = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
1973
MakeForm(Barrel,"Cyl")
1974
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1975
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
1976
MakeForm(Part,"Cyl")
1977
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1978
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1979
MakeForm(Part,"Wedge")
1980
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1981
local Hole = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1982
MakeForm(Hole,"Cyl")
1983
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2.5, 0), CF(0, 0, 0))
1984
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1985
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1986
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1987
local Part = CreatePart(3, Weapon2, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1988
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1989
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1990
coroutine.resume(coroutine.create(function()
1991
	while wait() do
1992
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1993
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1994
	end
1995
end))
1996
1997
--Pan1--
1998
local PRT = CreatePart(3, Pan, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
1999
CreateWeldOrSnapOrMotor("Weld", RightLeg, RightLeg, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2000
local PRT = CreatePart(3, Pan, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
2001
CreateWeldOrSnapOrMotor("Weld", RightLeg, RightLeg, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
2002
MakeForm(PRT,"Cyl")
2003
local PRT = CreatePart(3, Pan, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
2004
CreateWeldOrSnapOrMotor("Weld", RightLeg, RightLeg, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
2005
MakeForm(PRT,"Cyl")
2006
PRT.Color = C3(159/255, 111/255, 183/255)
2007
local RING = CreatePart(3, Pan, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
2008
CreateWeldOrSnapOrMotor("Weld", RightLeg, RightLeg, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
2009
MakeForm(RING,"Cyl")
2010
RING.Color = C3(0,0,0)
2011
for i = 1, 12 do
2012
	local PRT = CreatePart(3, Pan, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
2013
	PRT.Color = C3(0,0,0)
2014
	local MSH = IT("BlockMesh",PRT)
2015
	MSH.Scale = VT(0.6,1,1)
2016
	CreateWeldOrSnapOrMotor("Weld", RightLeg, RightLeg, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
2017
end
2018
local PRT = CreatePart(3, Pan, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
2019
PRT.Color = C3(0,0,0)
2020
local MSH = IT("BlockMesh",PRT)
2021
MSH.Scale = VT(0.4,1,1)
2022
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightLeg, RightLeg, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
2023
local PRT = CreatePart(3, Pan, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
2024
PRT.Color = C3(0,0,0)
2025
local MSH = IT("BlockMesh",PRT)
2026
MSH.Scale = VT(0.4,1,1)
2027
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightLeg, RightLeg, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
2028
coroutine.resume(coroutine.create(function()
2029
	while true do
2030
		Swait()
2031
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
2032
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
2033
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
2034
		if CLOCKLOOP <= -150 then
2035
			if MODE == "black" then
2036
				CLOCKLOOP = 0
2037
				WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 1})
2038
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2039
				ApplyAoE3(HITPOS,10,15,45,75,false)
2040
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2041
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2042
				if CLOCKTARGET ~= nil then
2043
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
2044
					if CLOCKTARGET.Torso ~= nil then
2045
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
2046
					end
2047
					if CLOCKTARGET.Health == 0 then
2048
						CLOCKTARGET = nil
2049
					end
2050
				end
2051
			end
2052
		end
2053
	end
2054
end))
2055
--Pan2--
2056
coroutine.resume(coroutine.create(function()
2057
	while true do
2058
		Swait()
2059
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
2060
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
2061
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
2062
		if CLOCKLOOP <= -20 then
2063
			if MODE == "Killbot" then
2064
				CLOCKLOOP = 0
2065
				WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 0.2})
2066
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2067
				ApplyAoE3(HITPOS,10,15,45,75,false)
2068
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2069
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2070
				if CLOCKTARGET ~= nil then
2071
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
2072
					if CLOCKTARGET.Torso ~= nil then
2073
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
2074
					end
2075
					if CLOCKTARGET.Health == 0 then
2076
						CLOCKTARGET = nil
2077
					end
2078
				end
2079
			end
2080
		end
2081
	end
2082
end))
2083
2084
2085
for _, c in pairs(Weapon:GetDescendants()) do
2086
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2087
		c.Material = "Glass"
2088
		c.Color = C3(0,0,0)
2089
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2090
		c.Color = C3(1,0,0)
2091
		c.Material = "Neon"
2092
	end
2093
end
2094
2095
for _, c in pairs(Weapon2:GetDescendants()) do
2096
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2097
		c.Material = "Glass"
2098
		c.Color = C3(0,0,0)
2099
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2100
		c.Color = C3(0,0,0)
2101
		c.Material = "Neon"
2102
	end
2103
end
2104
2105
for _, c in pairs(DeadEye:GetDescendants()) do
2106
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2107
		c.Material = "Neon"
2108
		c.Color = C3(0,0,0)
2109
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2110
		c.Color = C3(1,0,0)
2111
		c.Material = "Neon"
2112
	end
2113
end
2114
2115
for _, c in pairs(HM:GetDescendants()) do
2116
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2117
		c.Material = "Neon"
2118
		c.Color = C3(0,0,0)
2119
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2120
		c.Color = C3(1,0,0)
2121
		c.Material = "Neon"
2122
	end
2123
end
2124
2125
for _, c in pairs(Heads:GetDescendants()) do
2126
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2127
		c.Material = "Neon"
2128
		c.Color = C3(0,0,0)
2129
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2130
		c.Color = C3(1,0,0)
2131
		c.Material = "Neon"
2132
	end
2133
end
2134
2135
for _, c in pairs(Pan:GetDescendants()) do
2136
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2137
		c.Material = "Neon"
2138
		c.Color = C3(0,0,0)
2139
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2140
		c.Color = C3(1,0,0)
2141
		c.Material = "Neon"
2142
	end
2143
end
2144
2145
Weapon.Parent = Character
2146
for _, c in pairs(Weapon:GetChildren()) do
2147
	if c.ClassName == "Part" then
2148
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2149
	end
2150
end
2151
2152
2153
for _, c in pairs(Weapon:GetChildren()) do
2154
	if c.ClassName == "Part" then
2155
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2156
	end
2157
end
2158
2159
Weapon.Parent = Character
2160
Weapon2.Parent = nil
2161
DeadEye.Parent = nil
2162
black.Parent = nil
2163
2164
function ParticleEmitter(Table)
2165
	local PRTCL = Particle:Clone()
2166
	local Speed = Table.Speed or 5
2167
	local Drag = Table.Drag or 0
2168
	local Size1 = Table.Size1 or 1
2169
	local Size2 = Table.Size2 or 5
2170
	local Lifetime1 = Table.Lifetime1 or 1
2171
	local Lifetime2 = Table.Lifetime2 or 1.5
2172
	local Parent = Table.Parent or Torso
2173
	local Emit = Table.Emit or 100
2174
	local Offset = Table.Offset or 360
2175
	local Acel = Table.Acel or VT(0,0,0)
2176
	local Enabled = Table.Enabled or false
2177
	PRTCL.Parent = Parent
2178
	PRTCL.Size = NumberSequence.new(Size1,Size2)
2179
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
2180
	PRTCL.Speed = NumberRange.new(Speed)
2181
	PRTCL.VelocitySpread = Offset
2182
	PRTCL.Drag = Drag
2183
	PRTCL.Acceleration = Acel
2184
	if Enabled == false then
2185
		PRTCL:Emit(Emit)
2186
		Debris:AddItem(PRTCL,Lifetime2)
2187
	else
2188
		PRTCL.Enabled = true
2189
	end
2190
	return PRTCL
2191
end
2192
2193
Weapon.Parent = Character
2194
for _, c in pairs(Weapon:GetChildren()) do
2195
	if c.ClassName == "Part" then
2196
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2197
	end
2198
end
2199
2200
local SKILLTEXTCOLOR = C3(0,0,0)
2201
local SKILLFONT = "SciFi"
2202
local SKILLTEXTSIZE = 7
2203
2204
Humanoid.Died:connect(function()
2205
	ATTACK = true
2206
end)
2207
2208
2209
function printbye(Name)
2210
	local MESSAGES = {"NameClan Jail, "}
2211
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
2212
end
2213
2214
workspace.ChildAdded:connect(function(instance)
2215
    for BANISH = 1, #TOBANISH do
2216
		if TOBANISH[BANISH] ~= nil then
2217
			if instance.Name == TOBANISH[BANISH] then
2218
				coroutine.resume(coroutine.create(function()
2219
					printbye(instance.Name)
2220
					instance:ClearAllChildren()
2221
					Debris:AddItem(instance,0.0005)
2222
				end))
2223
			end
2224
		end
2225
	end
2226
end)
2227
2228
--//=================================\\
2229
--||         DAMAGE FUNCTIONS
2230
--\\=================================//
2231
 
2232
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
2233
    local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
2234
    STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
2235
    local BODYGYRO = IT("BodyGyro", STATPART)
2236
    local BODYPOSITION = IT("BodyPosition", STATPART)
2237
    BODYPOSITION.P = 2000
2238
    BODYPOSITION.D = 100
2239
    BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
2240
    BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
2241
    game:GetService("Debris"):AddItem(STATPART ,5)
2242
    local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
2243
    BILLBOARDGUI.Adornee = STATPART
2244
    BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
2245
    BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
2246
    BILLBOARDGUI.AlwaysOnTop = false
2247
    local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
2248
    TEXTLABEL.BackgroundTransparency = 1
2249
    TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
2250
    TEXTLABEL.Text = TEXT
2251
    TEXTLABEL.Font = "SciFi"
2252
    TEXTLABEL.FontSize="Size42"
2253
    TEXTLABEL.TextColor3 = COLOR
2254
    TEXTLABEL.TextStrokeTransparency = 1
2255
    TEXTLABEL.TextScaled = true
2256
    TEXTLABEL.TextWrapped = true
2257
    coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
2258
        if LABELTYPE == "Normal" then
2259
            for i = 1, 30 do
2260
                Swait()
2261
                STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
2262
                TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
2263
            end
2264
        elseif LABELTYPE == "Debuff" then
2265
            for i = 1, 30 do
2266
                Swait()
2267
                STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
2268
                TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
2269
            end
2270
        elseif LABELTYPE == "Shock" then
2271
            local ORIGIN = STATPART.Position
2272
            for i = 1, 30 do
2273
                Swait()
2274
                STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
2275
                TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
2276
            end
2277
        end
2278
        THEPART.Parent = nil
2279
    end),STATPART, BODYPOSITION, TEXTLABEL)
2280
end
2281
--//=================================\\
2282
--||			DAMAGING
2283
--\\=================================//
2284
--Pan--
2285
2286
function ApplyDamage(Humanoid,Damage,TorsoPart)
2287
	local defence = Instance.new("BoolValue",Humanoid.Parent)
2288
	defence.Name = ("HitBy"..Player.Name)
2289
	game:GetService("Debris"):AddItem(defence, 0.001)
2290
	Damage = Damage * DAMAGEMULTIPLIER
2291
	if Humanoid.Health ~= 0 then
2292
		local CritChance = MRANDOM(1,100)
2293
		if Damage > Humanoid.Health then
2294
			Damage = math.ceil(Humanoid.Health)
2295
			if Damage == 0 then
2296
				Damage = 0.1
2297
			end
2298
		end
2299
		Humanoid.Health = Humanoid.Health - Damage
2300
	end
2301
end
2302
2303
function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
2304
	local CHILDREN = workspace:GetDescendants()
2305
	for index, CHILD in pairs(CHILDREN) do
2306
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2307
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2308
			if HUM then
2309
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2310
				if TORSO then
2311
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2312
						if INSTAKILL == true then
2313
							CHILD:BreakJoints()
2314
						else
2315
							local DMG = MRANDOM(MINDMG,MAXDMG)
2316
							ApplyDamage(HUM,DMG,TORSO)
2317
						end
2318
						if FLING > 0 then
2319
							for _, c in pairs(CHILD:GetChildren()) do
2320
								if c:IsA("BasePart") then
2321
									local bv = Instance.new("BodyVelocity") 
2322
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2323
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
2324
									bv.Parent = c
2325
									Debris:AddItem(bv,0.05)
2326
								end
2327
							end
2328
						end
2329
					end
2330
				end
2331
			end
2332
		end
2333
	end
2334
end
2335
2336
----
2337
2338
function KillChildren(v)
2339
	v:BreakJoints()
2340
	for _, c in pairs(v:GetChildren()) do
2341
		if c:IsA("BasePart") then
2342
			if c.Transparency < 1 then
2343
				if c:FindFirstChildOfClass("Decal") then
2344
					c:FindFirstChildOfClass("Decal"):remove()
2345
				end
2346
				particles(c)
2347
				c.PE.Enabled = true
2348
				c.Parent = Effects
2349
				c.CanCollide = false
2350
				c.Material = "Neon"
2351
				c.Color = C3(1,0,0)
2352
				c.Transparency = 1
2353
				local grav = Instance.new("BodyPosition",c)
2354
				grav.P = 20000
2355
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2356
				grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
2357
				grav.Name = "GravityForce"
2358
				coroutine.resume(coroutine.create(function()
2359
					for i = 1, 20 do
2360
						Swait()
2361
						c.Transparency = c.Transparency + 1/20
2362
					end
2363
					c.PE.Enabled = false
2364
					Debris:AddItem(c,2)
2365
				end))
2366
			end
2367
		end
2368
	end
2369
end
2370
2371
function ApplyAoE(POSITION,RANGE)
2372
	local CHILDREN = workspace:GetDescendants()
2373
	for index, CHILD in pairs(CHILDREN) do
2374
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2375
			local LISTED = false
2376
			for LIST = 1, #WHITELIST do
2377
				if WHITELIST[LIST] ~= nil then
2378
					if CHILD.Name == WHITELIST[LIST] then
2379
						LISTED = true
2380
					end
2381
				end
2382
			end
2383
			if LISTED == false then
2384
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2385
				if HUM then
2386
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2387
					if TORSO then
2388
						if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
2389
							KillChildren(CHILD)
2390
						end
2391
					end
2392
				end
2393
			end
2394
		end
2395
	end
2396
end
2397
2398
function killnearest(position,range,maxstrength,direction)
2399
    for i,v in ipairs(workspace:GetChildren()) do
2400
    local body = v:GetChildren()
2401
        for part = 1, #body do
2402
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2403
                if(body[part].Position - position).Magnitude < range then
2404
                    if v.ClassName == "Model" then
2405
                        --v:BreakJoints()
2406
                    end
2407
                    local POS = position
2408
                    coroutine.resume(coroutine.create(function()
2409
                        body[part].Anchored = true
2410
                        body[part].Parent = Effects
2411
                        body[part].CanCollide = true
2412
                        local SIZE = body[part].Size
2413
                        body[part].Material = "Neon"
2414
                        CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
2415
                        for i = 1, 75 do
2416
                            Swait()
2417
                            body[part].Transparency = 10
2418
                            body[part].Color = C3(1,0,0)
2419
                            body[part].Size = VT(0,0,0)
2420
                            body[part].TextureID = ""
2421
                            body[part].remove()
2422
                        end
2423
                        coroutine.resume(coroutine.create(function()
2424
2425
                        end))
2426
                        body[part].Anchored = false
2427
                        body[part].Velocity = direction.lookVector*maxstrength
2428
                    end))
2429
                end
2430
            end
2431
        end
2432
        if v.ClassName == "Part" then
2433
            if v.Anchored == false and (v.Position - position).Magnitude < range then
2434
                local POS = position
2435
                coroutine.resume(coroutine.create(function()
2436
                    v.Anchored = true
2437
                    v.Parent = Effects
2438
                    local SIZE = v.Size
2439
                    v.Material = "Neon"
2440
                    CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
2441
                    v.Anchored = false
2442
                    v.Velocity = direction.lookVector*maxstrength
2443
                end))
2444
            end
2445
        end
2446
    end
2447
end
2448
2449
--//=================================\\
2450
--||	    TRANSFORMATIONS
2451
--\\=================================//
2452
2453
function Switch()
2454
	ATTACK = true
2455
	Rooted = true
2456
	if MODE == "GoodCop" then
2457
		for i=0, 0.3, 0.1 / Animation_Speed do
2458
			Swait()
2459
			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)
2460
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2461
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2462
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2463
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2464
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2465
		end
2466
		for i=0, 1, 0.1 / Animation_Speed do
2467
			Swait()
2468
			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)
2469
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2470
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2471
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2472
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2473
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2474
		end
2475
		CreateSound(363808674, Torso, 6, 1, false)
2476
		for i=0, 0.6, 0.1 / Animation_Speed do
2477
			Swait()
2478
			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)
2479
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
2480
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2481
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2482
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2483
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2484
		end
2485
		CreateSound(363808674, Torso, 6, 1, false)
2486
		for i=0, 0.6, 0.1 / Animation_Speed do
2487
			Swait()
2488
			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)
2489
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
2490
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2491
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2492
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2493
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2494
		end
2495
		CreateSound(363808674, Torso, 6, 1, false)
2496
		for i=0, 0.6, 0.1 / Animation_Speed do
2497
			Swait()
2498
			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)
2499
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
2500
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2501
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2502
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2503
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2504
		end
2505
		CreateSound(363808674, Torso, 6, 1, false)
2506
		for i=0, 0.6, 0.1 / Animation_Speed do
2507
			Swait()
2508
			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)
2509
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
2510
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2511
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2512
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2513
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2514
		end
2515
		MODE = "Killbot"
2516
sick.SoundId = "rbxassetid://1812212957"
2517
Weapon.Parent = nil
2518
Weapon2.Parent = nil
2519
	elseif MODE == "Killbot" then
2520
		for i=0, 1, 0.1 / Animation_Speed do
2521
			Swait()
2522
			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)
2523
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2524
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2525
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2526
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2527
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2528
		end
2529
		CameraEnshaking(1,45)
2530
		CreateSound(363808674, Torso, 6, 1, false)
2531
		for i=0, 0.5, 0.1 / Animation_Speed do
2532
			Swait()
2533
			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)
2534
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
2535
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2536
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2537
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2538
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2539
		end
2540
		CameraEnshaking(1,45)
2541
		CreateSound(363808674, Torso, 6, 1, false)
2542
		for i=0, 0.5, 0.1 / Animation_Speed do
2543
			Swait()
2544
			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)
2545
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
2546
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2547
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2548
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2549
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2550
		end
2551
		MODE = "GoodCop"
2552
sick.SoundId = "rbxassetid://157460916"
2553
sick.TimePosition = 9
2554
Weapon.Parent = Character
2555
Weapon2.Parent = nil
2556
	end
2557
	ATTACK = false
2558
	Rooted = false
2559
end
2560
2561
function Switch2()
2562
	ATTACK = true
2563
	Rooted = true
2564
	if MODE == "GoodCop" then
2565
		for i=0, 0.3, 0.1 / Animation_Speed do
2566
			Swait()
2567
			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)
2568
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2569
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2570
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2571
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2572
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2573
		end
2574
		for i=0, 1, 0.1 / Animation_Speed do
2575
			Swait()
2576
			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)
2577
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2578
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2579
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2580
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2581
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2582
		end
2583
		CreateSound(363808674, Torso, 6, 1, false)
2584
		for i=0, 0.6, 0.1 / Animation_Speed do
2585
			Swait()
2586
			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)
2587
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
2588
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2589
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2590
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2591
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2592
		end
2593
		CreateSound(363808674, Torso, 6, 1, false)
2594
		for i=0, 0.6, 0.1 / Animation_Speed do
2595
			Swait()
2596
			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)
2597
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
2598
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2599
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2600
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2601
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2602
		end
2603
		CreateSound(363808674, Torso, 6, 1, false)
2604
		for i=0, 0.6, 0.1 / Animation_Speed do
2605
			Swait()
2606
			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)
2607
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
2608
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2609
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2610
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2611
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2612
		end
2613
		CreateSound(363808674, Torso, 6, 1, false)
2614
		for i=0, 0.6, 0.1 / Animation_Speed do
2615
			Swait()
2616
			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)
2617
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
2618
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2619
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2620
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2621
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2622
		end
2623
		MODE = "DeadEye"
2624
sick.SoundId = "rbxassetid://1667853651"
2625
sick.TimePosition = 0
2626
Weapon.Parent = nil
2627
Weapon2.Parent = nil
2628
DeadEye.Parent = Character
2629
	elseif MODE == "DeadEye" then
2630
		for i=0, 1, 0.1 / Animation_Speed do
2631
			Swait()
2632
			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)
2633
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2634
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2635
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2636
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2637
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2638
		end
2639
		CameraEnshaking(1,45)
2640
		CreateSound(363808674, Torso, 6, 1, false)
2641
		for i=0, 0.5, 0.1 / Animation_Speed do
2642
			Swait()
2643
			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)
2644
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
2645
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2646
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2647
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2648
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2649
		end
2650
		CameraEnshaking(1,45)
2651
		CreateSound(363808674, Torso, 6, 1, false)
2652
		for i=0, 0.5, 0.1 / Animation_Speed do
2653
			Swait()
2654
			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)
2655
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
2656
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2657
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2658
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2659
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2660
		end
2661
		MODE = "GoodCop"
2662
sick.SoundId = "rbxassetid://157460916"
2663
sick.TimePosition = 9
2664
Weapon.Parent = Character
2665
Weapon2.Parent = nil
2666
DeadEye.Parent = nil
2667
	end
2668
	ATTACK = false
2669
	Rooted = false
2670
end
2671
2672
function Switch3()
2673
	ATTACK = true
2674
	Rooted = true
2675
	if MODE == "GoodCop" then
2676
		for i=0, 0.3, 0.1 / Animation_Speed do
2677
			Swait()
2678
			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)
2679
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2680
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2681
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2682
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2683
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2684
		end
2685
		for i=0, 1, 0.1 / Animation_Speed do
2686
			Swait()
2687
			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)
2688
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2689
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2690
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2691
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2692
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2693
		end
2694
		CreateSound(363808674, Torso, 6, 1, false)
2695
		for i=0, 0.6, 0.1 / Animation_Speed do
2696
			Swait()
2697
			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)
2698
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
2699
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2700
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2701
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2702
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2703
		end
2704
		CreateSound(363808674, Torso, 6, 1, false)
2705
		for i=0, 0.6, 0.1 / Animation_Speed do
2706
			Swait()
2707
			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)
2708
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
2709
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2710
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2711
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2712
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2713
		end
2714
		CreateSound(363808674, Torso, 6, 1, false)
2715
		for i=0, 0.6, 0.1 / Animation_Speed do
2716
			Swait()
2717
			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)
2718
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
2719
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2720
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2721
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2722
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2723
		end
2724
		CreateSound(363808674, Torso, 6, 1, false)
2725
		for i=0, 0.6, 0.1 / Animation_Speed do
2726
			Swait()
2727
			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)
2728
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
2729
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2730
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2731
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2732
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2733
		end
2734
		MODE = "black"
2735
sick.SoundId = "rbxassetid://2435379712"
2736
Weapon.Parent = nil
2737
Weapon2.Parent = nil
2738
DeadEye.Parent = nil
2739
black.Parent = Character
2740
	elseif MODE == "black" then
2741
		for i=0, 1, 0.1 / Animation_Speed do
2742
			Swait()
2743
			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)
2744
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2745
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2746
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2747
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2748
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2749
		end
2750
		CameraEnshaking(1,45)
2751
		CreateSound(363808674, Torso, 6, 1, false)
2752
		for i=0, 0.5, 0.1 / Animation_Speed do
2753
			Swait()
2754
			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)
2755
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
2756
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2757
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2758
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2759
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2760
		end
2761
		CameraEnshaking(1,45)
2762
		CreateSound(363808674, Torso, 6, 1, false)
2763
		for i=0, 0.5, 0.1 / Animation_Speed do
2764
			Swait()
2765
			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)
2766
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
2767
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2768
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2769
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2770
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2771
		end
2772
		MODE = "GoodCop"
2773
sick.SoundId = "rbxassetid://157460916"
2774
sick.TimePosition = 9
2775
Weapon.Parent = Character
2776
Weapon2.Parent = nil
2777
DeadEye.Parent = nil
2778
black.Parent = nil
2779
	end
2780
	ATTACK = false
2781
	Rooted = false
2782
end
2783
2784
2785
--//=================================\\
2786
--||	ATTACK FUNCTIONS AND STUFF
2787
--\\=================================//
2788
2789
local TOBANISH = {}
2790
2791
function Intro()
2792
	ATTACK = true
2793
	Rooted = true
2794
coroutine.resume(coroutine.create(function()
2795
	    wait(7)
2796
2797
        Swait(30)
2798
Weapon.Parent = Character
2799
        Swait(30)
2800
Weapon.Parent = nil
2801
Weapon2.Parent = Character
2802
        Swait(30)
2803
Weapon2.Parent = nil
2804
DeadEye.Parent = Character
2805
        Swait(30)
2806
DeadEye.Parent = nil
2807
Weapon.Parent = Character
2808
		end))
2809
	repeat 
2810
		Swait() 
2811
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2812
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2813
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2814
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2815
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2816
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0 - 2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2817
	until sick.TimePosition > 14
2818
	repeat 
2819
		Swait()
2820
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, -1 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8)
2821
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2822
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 1 * SIZE, 1 * SIZE) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
2823
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8)
2824
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.3 * SIZE, -1 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8)
2825
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -0.3 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed/8)
2826
	until sick.TimePosition > 16
2827
	repeat 
2828
		Swait() 
2829
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, -1 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
2830
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2831
            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, 0.2 / Animation_Speed)
2832
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2833
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.3 * SIZE, -1 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2834
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -0.3 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2835
	until sick.TimePosition > 20.7
2836
	TRANSFORMED = true
2837
	ATTACK = false
2838
	Rooted = false
2839
end
2840
2841
function InsaneCameraText()
2842
	local FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(0.13, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "SNAP!!")
2843
local FACEME = {"PLZZZZ","MAX-LOCAL DANG","HAHAHA","BY NAMECLAN??!","IWANNAEATTOMYUM","AM I PRETTY?","YA HAHAH","PANDORA EDIT??!!","I CAN'T DO IT ANYMORE","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS"}
2844
local INSANITYGUIS = {}
2845
for e = 1, 28 do
2846
    for i = 1, 22 do
2847
        local MURDERFRAME = FRAME:Clone()
2848
        MURDERFRAME.Position = UD2(-0.05+i/30, 0, e/30, 0)
2849
        MURDERFRAME.Parent = WEAPONGUI
2850
        table.insert(INSANITYGUIS,MURDERFRAME)
2851
    end
2852
end
2853
coroutine.resume(coroutine.create(function()
2854
    while true do
2855
        wait()
2856
        coroutine.resume(coroutine.create(function()
2857
            local COLOR = C3(MRANDOM(100,255)/255,0,0)
2858
            local APPEARTEXT = FACEME[MRANDOM(1,#FACEME)]
2859
            local SHOW = ""
2860
            for i = 1,string.len(APPEARTEXT),1 do
2861
                local STRING = string.sub(APPEARTEXT,i,i)
2862
                if MRANDOM(1,2) == 1 then
2863
                    SHOW = SHOW..string.lower(STRING)
2864
                else
2865
                    SHOW = SHOW..STRING
2866
                end
2867
            end
2868
            local PARENT = INSANITYGUIS[MRANDOM(1,#INSANITYGUIS)]
2869
            local TEXT = CreateLabel(PARENT, SHOW, COLOR, 7, SKILLFONT, 1, 2, 1, "THISISYOURFAULTH")
2870
            for i = 1, 15 do
2871
                Swait()
2872
                TEXT.Rotation = MRANDOM(-15,15)
2873
                TEXT.TextTransparency = TEXT.TextTransparency - 1/15
2874
            end
2875
            for i = 1, 15 do
2876
                Swait()
2877
                TEXT.Rotation = MRANDOM(-15,15)
2878
                TEXT.TextTransparency = TEXT.TextTransparency + 1/15
2879
            end
2880
            TEXT:Remove()
2881
        end))
2882
    end
2883
end))
2884
FRAME:remove()
2885
end
2886
2887
2888
function swait(num)
2889
	if num == 0 or num == nil then
2890
		ArtificialHB.Event:wait()
2891
	else
2892
		for i = 0, num do
2893
			ArtificialHB.Event:wait()
2894
		end
2895
	end
2896
end
2897
2898
function chatfunc(text)
2899
	local chat = coroutine.wrap(function()
2900
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
2901
		Character:FindFirstChild("TalkingBillBoard"):destroy()
2902
	end
2903
	local Bill = Instance.new("BillboardGui",Character)
2904
	Bill.Size = UDim2.new(0,100,0,40)
2905
	Bill.StudsOffset = Vector3.new(0,3,0)
2906
	Bill.Adornee = Character.Head
2907
	Bill.Name = "TalkingBillBoard"
2908
	local Hehe = Instance.new("TextLabel",Bill)
2909
	Hehe.BackgroundTransparency = 1
2910
	Hehe.BorderSizePixel = 0
2911
	Hehe.Text = ""
2912
	Hehe.Font = "Fantasy"
2913
	Hehe.TextSize = 40
2914
	Hehe.TextStrokeTransparency = 0
2915
	Hehe.Size = UDim2.new(1,0,0.5,0)
2916
	coroutine.resume(coroutine.create(function()
2917
		while Hehe ~= nil do
2918
			swait()	
2919
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
2920
			Hehe.Rotation = math.random(-5,5)
2921
			Hehe.TextColor3 = Color3.new(50,15,15)
2922
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
2923
		end
2924
	end))
2925
	for i = 1,string.len(text),1 do
2926
		swait()
2927
		Hehe.Text = string.sub(text,1,i)
2928
	end
2929
	swait(90)--Re[math.random(1, 93)]
2930
	for i = 0, 1, .025 do
2931
		swait()
2932
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
2933
		Hehe.TextStrokeTransparency = i
2934
		Hehe.TextTransparency = i
2935
	end
2936
	Bill:Destroy()
2937
	end)
2938
chat()
2939
end
2940
2941
function onChatted(msg)
2942
	chatfunc(msg)
2943
end
2944
2945
Player.Chatted:connect(onChatted)
2946
2947
function printbye(Name)
2948
	local MESSAGES = {"BE GONE FROM HERE AND DONT RETURN, "}
2949
	chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
2950
end
2951
2952
workspace.ChildAdded:connect(function(instance)
2953
    for BANISH = 1, #TOBANISH do
2954
		if TOBANISH[BANISH] ~= nil then
2955
			if instance.Name == TOBANISH[BANISH] then
2956
				coroutine.resume(coroutine.create(function()
2957
					printbye(instance.Name)
2958
					instance:ClearAllChildren()
2959
					Debris:AddItem(instance,0.0005)
2960
				end))
2961
			end
2962
		end
2963
	end
2964
end)
2965
2966
function Banish(Foe)
2967
	if Foe then
2968
		coroutine.resume(coroutine.create(function()
2969
			--if game.Players:FindFirstChild(Foe.Name) then
2970
				table.insert(TOBANISH,Foe.Name)
2971
				printbye(Foe.Name)
2972
			--end
2973
			Foe.Archivable = true
2974
			local CLONE = Foe:Clone()
2975
			Foe:Destroy()
2976
			CLONE.Parent = Effects
2977
			CLONE:BreakJoints()
2978
			local MATERIALS = {"Glass","Neon"}
2979
			for _, c in pairs(CLONE:GetDescendants()) do
2980
				if c:IsA("BasePart") then
2981
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
2982
 						CreateSound(340722848, c, 10, 1, false)
2983
					end
2984
					c.Anchored = true
2985
					c.Transparency = c.Transparency + 0.2
2986
					c.Material = MATERIALS[MRANDOM(1,2)]
2987
					c.Color = C3(0,255,0)
2988
					if c.ClassName == "MeshPart" then
2989
						c.TextureID = ""
2990
					end
2991
					if c:FindFirstChildOfClass("SpecialMesh") then
2992
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2993
					end
2994
					if c:FindFirstChildOfClass("Decal") then
2995
						c:FindFirstChildOfClass("Decal"):remove()
2996
					end
2997
					c.Name = "Banished"
2998
					c.CanCollide = false
2999
				else
3000
					c:remove()
3001
				end
3002
			end
3003
			local A = false
3004
			for i = 1, 35 do
3005
				if A == false then
3006
					A = true
3007
				elseif A == true then
3008
					A = false
3009
				end
3010
				for _, c in pairs(CLONE:GetDescendants()) do
3011
					if c:IsA("BasePart") then
3012
						c.Anchored = true
3013
						c.Material = MATERIALS[MRANDOM(1,2)]
3014
						c.Transparency = c.Transparency + 0.8/35
3015
						if A == false then
3016
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
3017
						elseif A == true then
3018
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
3019
						end
3020
					end
3021
				end
3022
				Swait()
3023
			end
3024
			CLONE:remove()
3025
		end))
3026
	end
3027
end
3028
3029
function CastProperRay(StartPos, EndPos, Distance, Ignore)
3030
	local DIRECTION = CF(StartPos,EndPos).lookVector
3031
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
3032
end
3033
3034
function SpawnTrail(FROM,TO,BIG)
3035
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Trail", VT(0,0,0))
3036
	MakeForm(TRAIL,"Cyl")
3037
	local DIST = (FROM - TO).Magnitude
3038
	if BIG == true then
3039
		TRAIL.Size = VT(0.15,DIST,0.15)
3040
	else
3041
		TRAIL.Size = VT(0.45,DIST,0.45)
3042
	end
3043
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
3044
	coroutine.resume(coroutine.create(function()
3045
		for i = 1, 5 do
3046
			Swait()
3047
			TRAIL.Transparency = TRAIL.Transparency + 0.1
3048
		end
3049
		TRAIL:remove()
3050
	end))
3051
end
3052
3053
local asd = Instance.new("ParticleEmitter")
3054
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
3055
asd.LightEmission = .1
3056
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
3057
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
3058
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
3059
asd.Transparency = bbb
3060
asd.Size = aaa
3061
asd.ZOffset = .9
3062
asd.Acceleration = Vector3.new(0, -15, 0)
3063
asd.LockedToPart = false
3064
asd.EmissionDirection = "Back"
3065
asd.Lifetime = NumberRange.new(1, 2)
3066
asd.Rotation = NumberRange.new(-100, 100)
3067
asd.RotSpeed = NumberRange.new(-100, 100)
3068
asd.Speed = NumberRange.new(10)
3069
asd.Enabled = false
3070
asd.VelocitySpread = 999
3071
3072
function getbloody(victim,amount)
3073
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really black", "Blood", victim.Size)
3074
	PART.CFrame = victim.CFrame
3075
	local HITPLAYERSOUNDS = {"356551938","264486467"}
3076
	Debris:AddItem(PART,5)
3077
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
3078
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
3079
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
3080
	local prtcl = asd:Clone()
3081
	prtcl.Parent = PART
3082
	prtcl:Emit(amount*10)
3083
end
3084
3085
function Kill2(Char)
3086
	local NewCharacter = IT("Model",Effects)
3087
	NewCharacter.Name = "Ow im ded ;-;"
3088
	for _, c in pairs(Char:GetDescendants()) do
3089
		if c:IsA("BasePart") and c.Transparency == 0 then
3090
			if c.Parent == Char then
3091
				getbloody(c,5)
3092
			end
3093
			local SIZE = c.Size
3094
			c:BreakJoints()
3095
			c.Material = "Neon"
3096
			c.Color = C3(1,0,0)
3097
			c.CanCollide = true
3098
			c.Transparency = 0.3
3099
			if c:FindFirstChildOfClass("SpecialMesh") then
3100
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
3101
			end
3102
			if c.Name == "Head" then
3103
				c:ClearAllChildren()
3104
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
3105
			end
3106
			if c.ClassName == "MeshPart" then
3107
				c.TextureID = ""
3108
			end
3109
			if c:FindFirstChildOfClass("BodyPosition") then
3110
				c:FindFirstChildOfClass("BodyPosition"):remove()
3111
			end
3112
			if c:FindFirstChildOfClass("ParticleEmitter") then
3113
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
3114
			end
3115
			c.Parent = NewCharacter
3116
			c.Name = "DeadPart"
3117
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
3118
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
3119
3120
		end
3121
	end
3122
	Char:remove()
3123
	Debris:AddItem(NewCharacter,5)
3124
end
3125
3126
function BulletDetection(FROM,TO,BRUTAL)
3127
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
3128
	coroutine.resume(coroutine.create(function()
3129
		if AIMHIT ~= nil then
3130
			if AIMHIT.Parent ~= Character then
3131
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
3132
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
3133
						if BRUTAL == true then
3134
							Kill2(AIMHIT.Parent)
3135
						else
3136
							getbloody(AIMHIT,15)
3137
							AIMHIT.Parent:BreakJoints()
3138
							if AIMHIT.Name == "Head" then
3139
								AIMHIT.Name = "HEADSHOT"
3140
								AIMHIT:remove()
3141
							end
3142
						end
3143
					else
3144
						if BRUTAL == true then
3145
							Kill2(AIMHIT.Parent.Parent)
3146
							else
3147
							Banish(AIMHIT.Parent.Parent)
3148
						end
3149
					end
3150
				end
3151
			end
3152
		end
3153
	end))
3154
	SpawnTrail(FROM,AIMPOS)
3155
	return AIMHIT,AIMPOS,NORMAL
3156
end
3157
3158
function BulletDetection2(FROM,TO,BRUTAL)
3159
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
3160
	coroutine.resume(coroutine.create(function()
3161
		if AIMHIT ~= nil then
3162
			if AIMHIT.Parent ~= Character then
3163
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
3164
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
3165
						if BRUTAL == true then
3166
							Banish(AIMHIT.Parent)
3167
						else
3168
							getbloody(AIMHIT,15)
3169
							AIMHIT.Parent:BreakJoints()
3170
							if AIMHIT.Name == "Head" then
3171
								AIMHIT.Name = "HEADSHOT"
3172
								AIMHIT:remove()
3173
							end
3174
						end
3175
					else
3176
						if BRUTAL == true then
3177
							Banish(AIMHIT.Parent.Parent)
3178
							else
3179
							Kill2(AIMHIT.Parent.Parent)
3180
						end
3181
					end
3182
				end
3183
			end
3184
		end
3185
	end))
3186
	SpawnTrail(FROM,AIMPOS)
3187
	return AIMHIT,AIMPOS,NORMAL
3188
end
3189
3190
function ApplyAoE2(POSITION,RANGE,ISBANISH)
3191
	local CHILDREN = workspace:GetDescendants()
3192
	for index, CHILD in pairs(CHILDREN) do
3193
		if CHILD.ClassName == "Model" and CHILD ~= Character then
3194
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3195
			if HUM then
3196
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3197
				if TORSO then
3198
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
3199
						if ISBANISH == true then
3200
							Banish(CHILD)
3201
						else
3202
							if ISBANISH == "Gravity" then
3203
								HUM.PlatformStand = true
3204
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
3205
									local grav = Instance.new("BodyPosition",TORSO)
3206
									grav.D = 15
3207
									grav.P = 20000
3208
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
3209
									grav.position = TORSO.Position
3210
									grav.Name = "V3BanishForce"..Player.Name
3211
								else
3212
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
3213
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
3214
								end
3215
							else
3216
								HUM.PlatformStand = false
3217
							end
3218
						end
3219
					elseif ISBANISH == "Gravity" then
3220
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
3221
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
3222
							HUM.PlatformStand = false
3223
						end
3224
					end
3225
				end
3226
			end
3227
		end
3228
	end
3229
end
3230
3231
function CORRUPTEDBURNINGBULLETS()
3232
    ATTACK = true
3233
    Rooted = false
3234
    repeat
3235
        local GYRO = IT("BodyGyro",RootPart)
3236
        GYRO.D = 175
3237
        GYRO.P = 20000
3238
        GYRO.MaxTorque = VT(0,40000,0)
3239
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3240
        if COMBO == 1 then
3241
            COMBO = 2
3242
            for i=0, 0, 0.1 / Animation_Speed do
3243
                Swait()
3244
                GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3245
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3246
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3247
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3248
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3249
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3250
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3251
            end
3252
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3253
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3254
            CreateSound(275326592, LeftHole, 7, 1, false)
3255
            BulletDetection2(LeftHole.Position,Mouse.Hit.p,true)
3256
            for i=0, 0, 0.1 / Animation_Speed do
3257
                Swait()
3258
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3259
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3260
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3261
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3262
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3263
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3264
            end
3265
        elseif COMBO == 2 then
3266
            COMBO = 1
3267
            for i=0, 0.1, 0.1 / Animation_Speed do
3268
                Swait()
3269
                GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3270
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
3271
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
3272
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3273
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3274
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3275
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3276
            end
3277
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3278
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3279
            CreateSound(275326592, RightHole, 7, 1, false)
3280
            BulletDetection2(RightHole.Position,Mouse.Hit.p,true)
3281
            for i=0, 0.1, 0.1 / Animation_Speed do
3282
                Swait()
3283
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
3284
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
3285
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3286
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3287
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3288
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3289
            end
3290
        end
3291
        GYRO:remove()
3292
    until KEYHOLD == false
3293
    ATTACK = false
3294
    Rooted = false
3295
end
3296
3297
function CORRUPTEDLETHALBULLETS()
3298
    ATTACK = true
3299
    Rooted = false
3300
    repeat
3301
        local GYRO = IT("BodyGyro",RootPart)
3302
        GYRO.D = 175
3303
        GYRO.P = 20000
3304
        GYRO.MaxTorque = VT(0,40000,0)
3305
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3306
        if COMBO == 1 then
3307
            COMBO = 2
3308
            for i=0, 0, 0.1 / Animation_Speed do
3309
                Swait()
3310
                GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3311
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3312
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3313
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3314
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3315
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3316
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3317
            end
3318
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3319
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3320
            CreateSound(1590205662, LeftHole, 7, 1, false)
3321
            BulletDetection(LeftHole.Position,Mouse.Hit.p,true)
3322
            for i=0, 0, 0.1 / Animation_Speed do
3323
                Swait()
3324
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3325
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3326
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3327
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3328
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3329
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3330
            end
3331
        elseif COMBO == 2 then
3332
            COMBO = 1
3333
            for i=0, 0.1, 0.1 / Animation_Speed do
3334
                Swait()
3335
                GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3336
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
3337
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
3338
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3339
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3340
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3341
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3342
            end
3343
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3344
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3345
            CreateSound(1590205662, RightHole, 7, 1, false)
3346
            BulletDetection(RightHole.Position,Mouse.Hit.p,true)
3347
            for i=0, 0.1, 0.1 / Animation_Speed do
3348
                Swait()
3349
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
3350
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
3351
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3352
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3353
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3354
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3355
            end
3356
        end
3357
        GYRO:remove()
3358
    until KEYHOLD == false
3359
    ATTACK = false
3360
    Rooted = false
3361
end
3362
3363
function CORRUPTEDLETHALBULLETS2()
3364
    ATTACK = true
3365
    Rooted = false
3366
    repeat
3367
        local GYRO = IT("BodyGyro",RootPart)
3368
        GYRO.D = 175
3369
        GYRO.P = 20000
3370
        GYRO.MaxTorque = VT(0,40000,0)
3371
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3372
            for i=0, 0.5, 0.5 / Animation_Speed do
3373
                Swait()
3374
                GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3375
		turnto(Mouse.Hit.p)
3376
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3377
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3378
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3379
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3380
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3381
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3382
            end
3383
		for i=0, 0.3, 5 / Animation_Speed do
3384
			Swait()
3385
			turnto(Mouse.Hit.p)
3386
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3387
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3388
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3389
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3390
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3391
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3392
		end
3393
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3394
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3395
            CreateSound(1590205662, RightArm, 7, 1, false)
3396
            BulletDetection(RightHole.Position,Mouse.Hit.p,true)
3397
		for i=0, 0.4, 5 / Animation_Speed do
3398
			Swait()
3399
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3400
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
3401
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3402
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3403
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3404
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3405
		end
3406
        GYRO:remove()
3407
    until KEYHOLD == false
3408
    ATTACK = false
3409
    Rooted = false
3410
end
3411
3412
3413
function Corrupted_Burn()
3414
	ATTACK = true
3415
	Rooted = true
3416
	for i=0, 1, 0.1 / Animation_Speed do
3417
		Swait()
3418
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3419
		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)
3420
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3421
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3422
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3423
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3424
	end	
3425
	coroutine.resume(coroutine.create(function()
3426
		local POS = Mouse.Hit.p
3427
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
3428
		MakeForm(RAY,"Cyl")
3429
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Hot pink", "Strike", VT(0,0,0))
3430
		MakeForm(SPHERE,"Ball")
3431
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
3432
		MakeForm(SHIELD,"Ball")
3433
		SHIELD.CFrame = CF(POS)
3434
		RAY.CFrame = CF(POS)
3435
		SPHERE.CFrame = CF(POS)
3436
		CreateSound(440145570, SPHERE, 10, 0.8, false)
3437
		CreateSound(415700134, SPHERE, 10, 0.8, false)
3438
		for i = 1, 200 do
3439
			Swait()
3440
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3441
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
3442
			SPHERE.Size = SPHERE.Size + VT(5,5,5)
3443
			SHIELD.Size = SPHERE.Size + VT(10,10,10)
3444
			ApplyAoE2(SPHERE.Position,SPHERE.Size.X/5,true)
3445
		end	
3446
		for i = 1, 45 do
3447
			Swait()
3448
			RAY.Transparency = RAY.Transparency + 1/45
3449
			SPHERE.Transparency = RAY.Transparency 
3450
			SHIELD.Transparency = SPHERE.Transparency + 1/45
3451
		end
3452
		RAY:remove()
3453
		SHIELD:remove()
3454
		SPHERE:remove()
3455
	end))
3456
	for i=0, 1, 0.1 / Animation_Speed do
3457
		Swait()
3458
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
3459
		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)
3460
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3461
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3462
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3463
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3464
	end
3465
	ATTACK = false
3466
	Rooted = false
3467
end
3468
3469
local Weapon = IT("Model")
3470
Weapon.Name = "Adds"
3471
3472
local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Eon", VT(0,0,0),false)
3473
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
3474
3475
function MagicSpheres(SIZE,WAIT,CFRAME,COLOR,GROW)
3476
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
3477
	local mesh = IT("SpecialMesh",wave)
3478
	mesh.MeshType = "Sphere"
3479
	mesh.Scale = SIZE
3480
	mesh.Offset = VT(0,0,0)
3481
	wave.CFrame = CFRAME
3482
	coroutine.resume(coroutine.create(function(PART)
3483
		for i = 1, WAIT do
3484
			Swait()
3485
			mesh.Scale = mesh.Scale + GROW
3486
			wave.Transparency = wave.Transparency + (1/WAIT)
3487
			if wave.Transparency > 0.99 then
3488
				wave:remove()
3489
			end
3490
		end
3491
	end))
3492
end
3493
3494
function Warp()
3495
	ATTACK = true
3496
	Rooted = true
3497
	UNANCHOR = false
3498
	RootPart.Anchored = true
3499
	MagicSpheres(VT(0,0,0),15,Eon.CFrame,"Really red",VT(2,2,2))
3500
	MagicSpheres(VT(0,0,0),15,Eon.CFrame,"Royal Purple",VT(2,2,2))
3501
	for i=0, 0.5, 0.1 / Animation_Speed do
3502
		Swait()
3503
				WACKYEFFECT({
3504
					Time = 5,
3505
					EffectType = "Round Slash",
3506
					Size = VT(0, 0, 0),
3507
					Size2 = VT(0.01, 0, 0.01),
3508
					Transparency = 0.5,
3509
					Transparency2 = 1,
3510
					CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3511
					MoveToPos = nil,
3512
					RotationX = MRANDOM(-50, 50) / 10,
3513
					RotationY = MRANDOM(-50, 50) / 10,
3514
					RotationZ = MRANDOM(-50, 50) / 10,
3515
					Material = "Neon",
3516
					Color = C3(1, 0, 0),
3517
					SoundID = nil,
3518
					SoundPitch = nil,
3519
					SoundVolume = nil
3520
				})
3521
		MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really black",VT(0.5,0,0.5))
3522
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3523
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3524
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3525
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3526
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3527
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3528
	end
3529
	for i = 1, 10 do
3530
		Swait()
3531
		MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really black",VT(0.5,0,0.5))
3532
	end
3533
	for i=0, 1, 0.1 / Animation_Speed do
3534
		Swait()
3535
				WACKYEFFECT({
3536
					Time = 5,
3537
					EffectType = "Round Slash",
3538
					Size = VT(0, 0, 0),
3539
					Size2 = VT(0.01, 0, 0.01),
3540
					Transparency = 0.5,
3541
					Transparency2 = 1,
3542
					CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3543
					MoveToPos = nil,
3544
					RotationX = MRANDOM(-50, 50) / 10,
3545
					RotationY = MRANDOM(-50, 50) / 10,
3546
					RotationZ = MRANDOM(-50, 50) / 10,
3547
					Material = "Neon",
3548
					Color = C3(1, 0, 0),
3549
					SoundID = nil,
3550
					SoundPitch = nil,
3551
					SoundVolume = nil
3552
				})
3553
		MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Crimson",VT(0.5,0,0.5))
3554
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3555
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3556
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3557
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3558
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3559
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3560
	end
3561
	local ORIGIN = RootPart.Position
3562
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
3563
	for i=0, 1, 0.1 / Animation_Speed do
3564
		Swait()
3565
				WACKYEFFECT({
3566
					Time = 5,
3567
					EffectType = "Round Slash",
3568
					Size = VT(0, 0, 0),
3569
					Size2 = VT(0.01, 0, 0.01),
3570
					Transparency = 0.5,
3571
					Transparency2 = 1,
3572
					CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3573
					MoveToPos = nil,
3574
					RotationX = MRANDOM(-50, 50) / 10,
3575
					RotationY = MRANDOM(-50, 50) / 10,
3576
					RotationZ = MRANDOM(-50, 50) / 10,
3577
					Material = "Neon",
3578
					Color = C3(1, 0, 0),
3579
					SoundID = nil,
3580
					SoundPitch = nil,
3581
					SoundVolume = nil
3582
				})
3583
		MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really black",VT(0.5,0,0.5))
3584
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3585
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3586
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3587
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3588
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3589
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3590
	end
3591
	UNANCHOR = true
3592
	RootPart.Anchored = false
3593
	for i = 1, 10 do
3594
		Swait()
3595
		MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Hot pink",VT(0.5,0,0.5))
3596
	end
3597
	ATTACK = false
3598
	Rooted = false
3599
end
3600
3601
function Neckless()
3602
	local TARGET = Mouse.Target
3603
	if TARGET ~= nil then
3604
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
3605
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
3606
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
3607
			if ROOT and HUM.Health > 0 then
3608
				local FOE = Mouse.Target.Parent
3609
				local HEAD = FOE:FindFirstChild("Head")
3610
				if HEAD then
3611
					ATTACK = true
3612
					Rooted = false
3613
					CharacterFade(C3(0,0,0),150)
3614
					RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
3615
					for _, c in pairs(FOE:GetChildren()) do
3616
						if c.ClassName == "Part" then
3617
							c.Anchored = true
3618
						end
3619
					end
3620
					CreateSound(235097614, Torso, 2, 3, false)
3621
					for i=0, 0.5, 0.1 / Animation_Speed do
3622
						Swait()
3623
						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)
3624
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3625
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3626
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3627
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3628
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3629
					end
3630
					if ROOT.Name == "HumanoidRootPart" then
3631
						ROOT:remove()
3632
					end
3633
					FOE:BreakJoints()
3634
					ApplyDamage(HUM,0,true)
3635
					CreateSound(363808674, HEAD, 5, 1, false)
3636
					ROOT.Anchored = false
3637
					for i=0, 0.5, 0.1 / Animation_Speed do
3638
						Swait()
3639
						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)
3640
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3641
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.65, -1.5) * ANGLES(RAD(130), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3642
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3643
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3644
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3645
					end
3646
					for _, c in pairs(FOE:GetChildren()) do
3647
						if c.ClassName == "Part" then
3648
							c.Anchored = false
3649
						end
3650
					end
3651
					ATTACK = false
3652
					Rooted = false
3653
				end
3654
			end
3655
		end
3656
	end
3657
end
3658
function BraveSpeed()
3659
	CreateSound(235097614, Torso, 0.2, 3, false)
3660
	for i = 1, 7 do
3661
		CharacterFade(C3(0,0,0),25+(i*10))
3662
		RootPart.CFrame = RootPart.CFrame*CF(0,0,-4)
3663
	end
3664
end
3665
function Slashed()
3666
	local TARGET = Mouse.Target
3667
	if TARGET ~= nil then
3668
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
3669
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
3670
			local ROOT = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
3671
			if ROOT and HUM.Health > 0 then
3672
				local FOE = Mouse.Target.Parent
3673
				ATTACK = true
3674
				coroutine.resume(coroutine.create(function()
3675
					repeat
3676
						Swait()
3677
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.05, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
3678
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
3679
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.1) * ANGLES(RAD(50), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3680
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3681
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3682
					until ATTACK == false
3683
				end))
3684
				for i=0, 0.2, 0.1 / Animation_Speed do
3685
					Swait()
3686
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3687
				end
3688
				for i=0, 1.2, 0.1 / Animation_Speed do
3689
					Swait()
3690
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3691
				end
3692
				CreateSound(971125740, LeftArm, 5, 1, false)
3693
				for i=0, 0.1, 0.1 / Animation_Speed do
3694
					Swait()
3695
					WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(1,2,1), Size2 = VT(1,2,1), Transparency = 0.2, Transparency2 = 1, CFrame = LeftArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3696
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3697
				end
3698
				ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(-15), RAD(0), RAD(15))
3699
				WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
3700
				WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
3701
				coroutine.resume(coroutine.create(function()
3702
					for i = 1, 5 do
3703
						Chunks(ROOT)
3704
					end
3705
					local FAKEROOT1 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
3706
					FAKEROOT1.CanCollide = true
3707
					local FAKEROOT2 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
3708
					FAKEROOT2.CanCollide = true
3709
					FAKEROOT1.CFrame = ROOT.CFrame*CF(0,ROOT.Size.Y/4,0)
3710
					FAKEROOT2.CFrame = ROOT.CFrame*CF(0,-ROOT.Size.Y/4,0)
3711
					ROOT:Remove()
3712
					ApplyDamage(HUM,0,true)
3713
				end))
3714
				for i=0, 0.4, 0.1 / Animation_Speed do
3715
					Swait()
3716
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3717
				end
3718
				ATTACK = false
3719
			end
3720
		end
3721
	end
3722
end
3723
function Dirtface()
3724
	local TARGET = Mouse.Target
3725
	if TARGET ~= nil then
3726
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
3727
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
3728
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
3729
			if ROOT and HUM.Health > 0 then
3730
				local FOE = Mouse.Target.Parent
3731
				local HEAD = FOE:FindFirstChild("Head")
3732
				local HITFLOOR = Raycast(ROOT.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.Z, FOE)
3733
				if HEAD and HITFLOOR then
3734
					ATTACK = true
3735
					Rooted = true
3736
					CharacterFade(C3(0,0,0),150)
3737
					RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
3738
					ROOT.Anchored = true
3739
					CreateSound(235097614, Torso, 2, 3, false)
3740
					for i=0, 0.4, 0.1 / Animation_Speed do
3741
						Swait()
3742
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
3743
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
3744
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3745
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3746
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3747
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3748
					end
3749
					for i=0, 0.1, 0.1 / Animation_Speed do
3750
						Swait()
3751
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
3752
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
3753
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3754
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3755
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3756
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3757
					end
3758
					ROOT.Anchored = false
3759
					UNANCHOR = false
3760
					local DEAD = false
3761
					local CFRAME = RootPart.CFrame
3762
					CreateSound(260411131, Torso, 2, 3, false)
3763
					coroutine.resume(coroutine.create(function()
3764
						repeat
3765
							Swait()
3766
							RootPart.CFrame = CFRAME
3767
							HEAD.CFrame = RightArm.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * ANGLES(RAD(-90), RAD(0), RAD(0))
3768
							HEAD.Velocity = VT(0,0,0)
3769
							HUM.PlatformStand = true
3770
						until DEAD == true
3771
					end))
3772
					for i=0, 0.2, 0.1 / Animation_Speed do
3773
						Swait()
3774
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
3775
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
3776
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
3777
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3778
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3779
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3780
					end
3781
					for i=0, 1, 0.1 / Animation_Speed do
3782
						Swait()
3783
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
3784
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * COS(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
3785
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1, 0) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3786
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3787
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3788
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3789
					end
3790
					local ERUPT = function()
3791
						local HITFLOOR,HITPOS = Raycast(HEAD.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.X, FOE)
3792
						if HITFLOOR then
3793
							for i = 1, 5 do
3794
								CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85))
3795
							end
3796
							Chunks(HEAD)
3797
							WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,2,1), Size2 = VT(15,0,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4})
3798
						end
3799
					end
3800
					local ATE = false
3801
					local DEPTH = 1
3802
					coroutine.resume(coroutine.create(function()
3803
						repeat
3804
							Swait()
3805
							RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed)
3806
							Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(-15)), 1 / Animation_Speed)
3807
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1-DEPTH/5, -DEPTH/8) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3808
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3809
							RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
3810
							LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3811
						until ATE == true
3812
					end))
3813
					wait()
3814
					ERUPT()
3815
					wait(2)
3816
					ERUPT()
3817
					DEPTH = 2
3818
					wait(2)
3819
					ERUPT()
3820
					DEPTH = 2.5
3821
					wait(3)
3822
					ERUPT()
3823
					ERUPT()
3824
					HEAD:remove()
3825
					DEAD = true
3826
					ApplyDamage(HUM,0,true)
3827
					wait(0.2)
3828
					ATE = true
3829
					UNANCHOR = true
3830
					ATTACK = false
3831
					Rooted = false
3832
				end
3833
			end
3834
		end
3835
	end
3836
end
3837
3838
3839
function ApplyAoE5(POSITION, RANGE, MINDMG, MAXDMG, FLING, EBANISH)
3840
	local CHILDREN = workspace:GetDescendants()
3841
	for index, CHILD in pairs(CHILDREN) do
3842
		if CHILD.ClassName == "Model" and CHILD ~= Character then
3843
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3844
			if HUM then
3845
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3846
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
3847
					if EBANISH == true then
3848
						Banish(CHILD)
3849
					else
3850
						local DMG = MRANDOM(MINDMG, MAXDMG)
3851
						ApplyDamage(HUM, DMG, TORSO)
3852
					end
3853
					if FLING > 0 then
3854
						for _, c in pairs(CHILD:GetChildren()) do
3855
							if c:IsA("BasePart") then
3856
								local bv = Instance.new("BodyVelocity")
3857
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
3858
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
3859
								bv.Parent = c
3860
								Debris:AddItem(bv, 0.05)
3861
							end
3862
						end
3863
					end
3864
				end
3865
			end
3866
		end
3867
	end
3868
end
3869
3870
local A = IT("Attachment",RightBarrel)
3871
A.Position = VT(0,-2.5,0)
3872
local B = IT("Attachment",RightBarrel)
3873
B.Position = VT(0,2.5,0)
3874
local Trail = IT("Trail",RightBarrel)
3875
Trail.Attachment0 = A
3876
Trail.Attachment1 = B
3877
Trail.Lifetime = 0.2
3878
Trail.Color = ColorSequence.new(BRICKC"Crimson".Color)
3879
Trail.Transparency = NumberSequence.new(0, 1)
3880
Trail.Enabled = false
3881
3882
function Execute()
3883
	ATTACK = true
3884
	Rooted = false
3885
	local Part = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Part", VT(0,1,4),false)
3886
	Part.Color = C3(0,0,0)
3887
	MakeForm(Part,"Wedge")
3888
	Part.CanCollide = true
3889
	CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
3890
	for i=0, 1, 0.1 / Animation_Speed do
3891
		Swait()
3892
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3893
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3894
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3895
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3896
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3897
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3898
	end
3899
	Trail.Enabled = true
3900
	CreateSound(541909867, RightBarrel, 7, 1, false)
3901
	local TOCH = Part.Touched:Connect(function(hit)
3902
		if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
3903
			Banish(hit.Parent)
3904
		end
3905
	end)
3906
	for i=0, 0.35, 0.1 / Animation_Speed do
3907
		Swait()
3908
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
3909
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
3910
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3911
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3912
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3913
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3914
	end
3915
	TOCH:disconnect()
3916
	Trail.Enabled = false
3917
	for i=0, 0.35, 0.1 / Animation_Speed do
3918
		Swait()
3919
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
3920
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
3921
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3922
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3923
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3924
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3925
	end
3926
	Part:remove()
3927
	ATTACK = false
3928
	Rooted = false
3929
end
3930
3931
local DECAL = IT("Decal")
3932
function MakeRing()
3933
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
3934
	local MSH = IT("BlockMesh", RING)
3935
	local TOP = DECAL:Clone()
3936
	local BOTTOM = DECAL:Clone()
3937
	TOP.Parent = RING
3938
	BOTTOM.Parent = RING
3939
	TOP.Face = "Top"
3940
	BOTTOM.Face = "Bottom"
3941
	TOP.Texture = "http://www.roblox.com/asset/?id=647661410"
3942
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=647661410"
3943
	local function REMOVE()
3944
		coroutine.resume(coroutine.create(function()
3945
			local SIZE = MSH.Scale.X
3946
			for i = 1, 35 do
3947
				Swait()
3948
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
3949
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
3950
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
3951
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
3952
			end
3953
			RING:remove()
3954
		end))
3955
	end
3956
	return RING, MSH, REMOVE
3957
end
3958
3959
function ApplyAoE(POSITION,RANGE,ISBANISH)
3960
	local CHILDREN = workspace:GetDescendants()
3961
	for index, CHILD in pairs(CHILDREN) do
3962
		if CHILD.ClassName == "Model" and CHILD ~= Character then
3963
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3964
			if HUM then
3965
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3966
				if TORSO then
3967
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
3968
						if ISBANISH == true then
3969
							Banish(CHILD)
3970
						else
3971
							if ISBANISH == "Gravity" then
3972
								HUM.PlatformStand = true
3973
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
3974
									local grav = Instance.new("BodyPosition",TORSO)
3975
									grav.D = 15
3976
									grav.P = 20000
3977
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
3978
									grav.position = TORSO.Position
3979
									grav.Name = "V3BanishForce"..Player.Name
3980
								else
3981
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
3982
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
3983
								end
3984
							else
3985
								HUM.PlatformStand = false
3986
							end
3987
						end
3988
					elseif ISBANISH == "Gravity" then
3989
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
3990
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
3991
							HUM.PlatformStand = false
3992
						end
3993
					end
3994
				end
3995
			end
3996
		end
3997
	end
3998
end
3999
4000
function Smite()
4001
	local RING, MESH, DELET = MakeRing()
4002
	local POS = Mouse.Hit.p
4003
	RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
4004
	for i = 1, 45 do
4005
		Swait()
4006
		MESH.Scale = MESH.Scale + VT(12, 0, 12)
4007
		RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4008
	end
4009
	local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
4010
	if HITFLOOR then
4011
		local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really black"), "Beam", VT(0, 0, 0), true)
4012
		MakeForm(BEAM, "Cyl")
4013
		local DIST = (RING.Position - HITPOS).Magnitude
4014
		BEAM.Size = VT(0, DIST, 0)
4015
		BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
4016
		for i = 1, 5 do
4017
			WACKYEFFECT({
4018
				EffectType = "Wave",
4019
				Size = VT(25, 0, 25),
4020
				Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
4021
				Transparency = 0,
4022
				Transparency2 = 1,
4023
				CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
4024
				MoveToPos = nil,
4025
				RotationX = 0,
4026
				RotationY = 3,
4027
				RotationZ = 0,
4028
				Material = "Neon",
4029
				Color = C3(1, 0, 0),
4030
				SoundID = nil,
4031
				SoundPitch = nil,
4032
				SoundVolume = nil
4033
			})
4034
			WACKYEFFECT({
4035
				EffectType = "Round Slash",
4036
				Size = VT(3, 0, 3) / 13,
4037
				Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
4038
				Transparency = 0,
4039
				Transparency2 = 1,
4040
				CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
4041
				MoveToPos = nil,
4042
				RotationX = 0,
4043
				RotationY = 0,
4044
				RotationZ = 0,
4045
				Material = "Neon",
4046
			    Color = C3(1, 0, 1),
4047
				SoundID = nil,
4048
				SoundPitch = nil,
4049
				SoundVolume = nil
4050
			})
4051
			WACKYEFFECT({
4052
				Time = 35,
4053
				EffectType = "Sphere",
4054
				Size = VT(22, 22, 22),
4055
				Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
4056
				Transparency = 0,
4057
				Transparency2 = 1,
4058
				CFrame = CF(HITPOS),
4059
				MoveToPos = nil,
4060
				RotationX = 0,
4061
				RotationY = 0,
4062
				RotationZ = 0,
4063
				Material = "Neon",
4064
				Color = C3(0, .7, 0),
4065
				SoundID = 459523898,
4066
				SoundPitch = MRANDOM(9, 12) / 10,
4067
				SoundVolume = 10
4068
			})
4069
		end
4070
		ApplyAoE(HITPOS, 50, true)
4071
		for i = 1, 25 do
4072
			Swait()
4073
			BEAM.Size = BEAM.Size + VT(0.15, 0, 0.15)
4074
			BEAM.Transparency = BEAM.Transparency + 0.04
4075
		end
4076
		BEAM:remove()
4077
	end
4078
	wait(0.2)
4079
	DELET()
4080
end
4081
4082
function CorruptedBurningBeam()
4083
	ATTACK = true
4084
	Rooted = false
4085
	chatfunc("Why Dont You Just Leave My Sights Already")
4086
	local GYRO = IT("BodyGyro", RootPart)
4087
	GYRO.D = 20
4088
	GYRO.P = 4000
4089
	GYRO.MaxTorque = VT(0, 40000, 0)
4090
	local RING, MESH, DELET = MakeRing()
4091
	local POS = RootPart.Position + VT(0, 25, 0)
4092
	RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
4093
	CreateSound(459523787, RING, 8, 1, false)
4094
	local BLASTS = {468991944, 468991990}
4095
	coroutine.resume(coroutine.create(function()
4096
		local E = 0
4097
		repeat
4098
			E = E + 5
4099
			GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
4100
			Swait()
4101
			RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(E), RAD(0))
4102
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
4103
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1 / Animation_Speed)
4104
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4105
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4106
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4107
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4108
		until ATTACK == false
4109
		GYRO:remove()
4110
		DELET()
4111
	end))
4112
	for i = 1, 50 do
4113
		Swait()
4114
		MESH.Scale = MESH.Scale + VT(22, 0, 22)
4115
	end
4116
	for i = 1, 25 do
4117
		Swait()
4118
		WACKYEFFECT({
4119
			Time = 15,
4120
			EffectType = "Sphere",
4121
			Size = VT(4, 4, 4),
4122
			Size2 = VT(0, 0, 0),
4123
			Transparency = 1,
4124
			Transparency2 = 0,
4125
			CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
4126
			MoveToPos = RING.Position,
4127
			RotationX = 0,
4128
			RotationY = 0,
4129
			RotationZ = 0,
4130
			Material = "Neon",
4131
			Color = C3(1, 0, 0),
4132
			SoundID = nil,
4133
			SoundPitch = nil,
4134
			SoundVolume = nil
4135
		})
4136
	end
4137
	local LOOP = 0
4138
	local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Dark indigo"), "Beam", VT(0, 0, 0), true)
4139
	MakeForm(BEAM, "Cyl")
4140
	CreateSound(BLASTS[MRANDOM(1, #BLASTS)], RING, 5, MRANDOM(9, 11) / 10, false)
4141
	repeat
4142
		local DISTANCE = (RING.Position - Mouse.Hit.p).Magnitude
4143
		if DISTANCE < 2000 then
4144
			BEAM.Size = VT(10 + 2 * COS(SINE / 4), DISTANCE, 10 + 2 * COS(SINE / 4))
4145
			BEAM.CFrame = CF(RING.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
4146
			ApplyAoE(Mouse.Hit.p, 35, true)
4147
			WACKYEFFECT({
4148
				Time = 35,
4149
				EffectType = "Sphere",
4150
				Size = VT(10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4)) * 2,
4151
				Size2 = VT(5, 75, 5),
4152
				Transparency = 0,
4153
				Transparency2 = 1,
4154
				CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
4155
				MoveToPos = nil,
4156
				RotationX = 0,
4157
				RotationY = 0,
4158
				RotationZ = 0,
4159
				Material = "Neon",
4160
				Color = C3(0, 0, 0),
4161
				SoundID = nil,
4162
				SoundPitch = MRANDOM(9, 12) / 10,
4163
				SoundVolume = 10
4164
			})
4165
			Swait()
4166
			LOOP = LOOP + 1
4167
		end
4168
	until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
4169
	coroutine.resume(coroutine.create(function()
4170
		for i = 1, 15 do
4171
			Swait()
4172
			BEAM.Size = BEAM.Size - VT(0.8, 0, 0.8)
4173
			BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
4174
		end
4175
		BEAM:remove()
4176
	end))
4177
	ATTACK = false
4178
	Rooted = false
4179
end
4180
4181
function PlanetaryDevastation()
4182
	ATTACK = true
4183
	Rooted = true
4184
	chatfunc("Burn In My Special Hell")
4185
	local SIZE = 1
4186
	local GYRO = IT("BodyGyro", RootPart)
4187
	GYRO.D = 20
4188
	GYRO.P = 4000
4189
	GYRO.MaxTorque = VT(0, 40000, 0)
4190
	local RING, MESH, DELET = MakeRing()
4191
	local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
4192
	RING.CFrame = CF(HITPOS)
4193
	for i = 0, 0.6, 0.1 / Animation_Speed do
4194
		GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
4195
		Swait()
4196
		MESH.Scale = MESH.Scale + VT(53, 0, 53)
4197
		RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4198
		WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
4199
		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)
4200
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
4201
	end
4202
	local BLASTS = {468991944, 468991990}
4203
	coroutine.resume(coroutine.create(function()
4204
		local CFRAME = RootPart.CFrame
4205
		for i = 1, 100 do
4206
			CFRAME = CFRAME * CF(0, 0, -35)
4207
			do
4208
				local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
4209
				if HITFLOOR then
4210
					Swait()
4211
					do
4212
						local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
4213
						coroutine.resume(coroutine.create(function()
4214
							local RING, MESH, DELET = MakeRing()
4215
							RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
4216
							for i = 1, 25 do
4217
								Swait()
4218
								MESH.Scale = MESH.Scale + VT(42, 0, 42)
4219
								RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4220
							end
4221
							ApplyAoE(RING.Position, 65, true)
4222
							local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
4223
							WACKYEFFECT({
4224
								Time = 25,
4225
								EffectType = "Sphere",
4226
								Size = VT(22, 22, 22),
4227
								Size2 = VT(85, 85, 85),
4228
								Transparency = 0,
4229
								Transparency2 = 1,
4230
								CFrame = CF(RING.Position),
4231
								MoveToPos = nil,
4232
								RotationX = 0,
4233
								RotationY = 0,
4234
								RotationZ = 0,
4235
								Material = "Neon",
4236
								Color = C3(1, 0, 0),
4237
								SoundID = BLASTS[MRANDOM(1, #BLASTS)],
4238
								SoundPitch = MRANDOM(9, 12) / 10,
4239
								SoundVolume = 10
4240
							})
4241
							for e = 1, 3 do
4242
								WACKYEFFECT({
4243
									EffectType = "Wave",
4244
									Size = VT(25, 0, 25),
4245
									Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
4246
									Transparency = 0,
4247
									Transparency2 = 1,
4248
									CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
4249
									MoveToPos = nil,
4250
									RotationX = 0,
4251
									RotationY = 3,
4252
									RotationZ = 0,
4253
									Material = "Neon",
4254
									Color = C3(1, 0, 1),
4255
									SoundID = nil,
4256
									SoundPitch = nil,
4257
									SoundVolume = nil
4258
								})
4259
								WACKYEFFECT({
4260
									Time = 35,
4261
									EffectType = "Sphere",
4262
									Size = VT(22, 45, 22),
4263
									Size2 = VT(25, 45 + e * 75, 25),
4264
									Transparency = 0,
4265
									Transparency2 = 1,
4266
									CFrame = CF(RING.Position) * TURN,
4267
									MoveToPos = nil,
4268
									RotationX = 0,
4269
									RotationY = 0,
4270
									RotationZ = 0,
4271
									Material = "Neon",
4272
									Color = C3(0, .5, 0),
4273
									SoundID = nil,
4274
									SoundPitch = MRANDOM(9, 12) / 10,
4275
									SoundVolume = 10
4276
								})
4277
							end
4278
							wait(0.3)
4279
							DELET()
4280
						end))
4281
					end
4282
				end
4283
			end
4284
		end
4285
	end))
4286
	Rooted = false
4287
	DELET()
4288
	GYRO:remove()
4289
	ATTACK = false
4290
	Rooted = false
4291
end
4292
4293
function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
4294
	if FLOOR ~= nil then
4295
		for i = 1, AMOUNT do
4296
			do
4297
				local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
4298
				DEBREE.Material = FLOOR.Material
4299
				DEBREE.Color = FLOOR.Color
4300
				DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
4301
				DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
4302
				coroutine.resume(coroutine.create(function()
4303
					Swait(15)
4304
					DEBREE.Parent = workspace
4305
					DEBREE.CanCollide = true
4306
					Debris:AddItem(DEBREE, SWAIT)
4307
				end))
4308
			end
4309
		end
4310
	end
4311
end
4312
4313
function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
4314
	if FLOOR ~= nil then
4315
		for i = 1, AMOUNT do
4316
			local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
4317
			DEBREE.Material = FLOOR.Material
4318
			DEBREE.Color = FLOOR.Color
4319
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
4320
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
4321
			coroutine.resume(coroutine.create(function()
4322
				Swait(15)
4323
				DEBREE.Parent = workspace
4324
				DEBREE.CanCollide = true
4325
				Debris:AddItem(DEBREE,SWAIT)
4326
			end))
4327
		end
4328
	end
4329
end
4330
4331
function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
4332
	if FLOOR ~= nil then
4333
		coroutine.resume(coroutine.create(function()
4334
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Lime green", "DebreeCenter", VT(0,0,0))
4335
			PART.CFrame = CF(POSITION)
4336
			for i = 1, 45 do
4337
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
4338
				RingPiece.Material = FLOOR.Material
4339
				RingPiece.Color = FLOOR.Color
4340
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
4341
				Debris:AddItem(RingPiece,SWAIT)
4342
			end
4343
			PART:remove()
4344
		end))
4345
	end
4346
end
4347
4348
function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
4349
	if FLOOR ~= nil then
4350
		coroutine.resume(coroutine.create(function()
4351
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
4352
			PART.CFrame = CF(POSITION)
4353
			for i = 1, 45 do
4354
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
4355
				RingPiece.Material = FLOOR.Material
4356
				RingPiece.Color = FLOOR.Color
4357
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
4358
				Debris:AddItem(RingPiece, SWAIT)
4359
			end
4360
			PART:remove()
4361
		end))
4362
	end
4363
end
4364
4365
function BIGSMASH()
4366
	local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 10, 0), Mouse.Hit.p - VT(0, 10, 0)).lookVector, 25, Character)
4367
	chatfunc("Die.")
4368
	if HITFLOOR then
4369
		local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
4370
		CreateSound("1295446488", Torso, 5, 1)
4371
		for i = 1, 5 do
4372
			WACKYEFFECT({
4373
				Time = MRANDOM(15, 35),
4374
				EffectType = "Round Slash",
4375
				Size = VT(0, 0, 0),
4376
				Size2 = VT(0.3, 0, 0.3),
4377
				Transparency = 0.5,
4378
				Transparency2 = 1,
4379
				CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
4380
				MoveToPos = nil,
4381
				RotationX = MRANDOM(-50, 50) / 10,
4382
				RotationY = MRANDOM(-50, 50) / 10,
4383
				RotationZ = MRANDOM(-50, 50) / 10,
4384
				Material = "Neon",
4385
				Color = C3(1, 1, 1),
4386
				SoundID = nil,
4387
				SoundPitch = nil,
4388
				SoundVolume = nil
4389
			})
4390
		end
4391
		ATTACK = true
4392
		Rooted = true
4393
		UNANCHOR = false
4394
		RootPart.Anchored = true
4395
		RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
4396
		for i = 1, 5 do
4397
			WACKYEFFECT({
4398
				Time = MRANDOM(15, 35),
4399
				EffectType = "Round Slash",
4400
				Size = VT(0, 0, 0),
4401
				Size2 = VT(0.3, 0, 0.3),
4402
				Transparency = 0.5,
4403
				Transparency2 = 1,
4404
				CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
4405
				MoveToPos = nil,
4406
				RotationX = MRANDOM(-50, 50) / 10,
4407
				RotationY = MRANDOM(-50, 50) / 10,
4408
				RotationZ = MRANDOM(-50, 50) / 10,
4409
				Material = "Neon",
4410
				Color = C3(1, 1, 1),
4411
				SoundID = nil,
4412
				SoundPitch = nil,
4413
				SoundVolume = nil
4414
			})
4415
		end
4416
		for i = 0, 0.2, 0.1 / Animation_Speed do
4417
			Swait()
4418
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
4419
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
4420
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
4421
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
4422
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
4423
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
4424
		end
4425
		for i = 0, 1, 0.1 / Animation_Speed do
4426
			Swait()
4427
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
4428
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
4429
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
4430
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
4431
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
4432
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
4433
		end
4434
		for i = 1, 10 do
4435
			Swait()
4436
			RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
4437
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
4438
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
4439
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
4440
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
4441
			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.7 / Animation_Speed)
4442
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
4443
		end
4444
		for i = 0, 0.2, 0.1 / Animation_Speed do
4445
			Swait()
4446
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
4447
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
4448
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
4449
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
4450
			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.5 / Animation_Speed)
4451
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
4452
		end
4453
		local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
4454
		if HITFLOOR then
4455
			if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
4456
				local CHILDREN = HITFLOOR.Parent:GetDescendants()
4457
				for index, CHILD in pairs(CHILDREN) do
4458
					if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
4459
						for i = 1, 5 do
4460
							CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
4461
							CHILD:remove()
4462
						end
4463
					end
4464
				end
4465
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
4466
				SOUNDPART.CFrame = CF(HITPOS)
4467
				Debris:AddItem(SOUNDPART, 5)
4468
				CreateSound("130972023", SOUNDPART, 6, 3)
4469
				CreateSound("182765513", SOUNDPART, 6, 1)
4470
				WACKYEFFECT({
4471
					EffectType = "Ring",
4472
					Size = VT(0, 0, 0),
4473
					Size2 = VT(1, 1, 0),
4474
					Transparency = 0.7,
4475
					Transparency2 = 1,
4476
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
4477
					MoveToPos = nil,
4478
					RotationX = 0,
4479
					RotationY = 0,
4480
					RotationZ = 0,
4481
					Material = "Neon",
4482
					Color = C3(1, 1, 1),
4483
					SoundID = nil,
4484
					SoundPitch = nil,
4485
					SoundVolume = nil
4486
				})
4487
			elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
4488
				local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
4489
				for index, CHILD in pairs(CHILDREN) do
4490
					if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
4491
						for i = 1, 5 do
4492
							CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
4493
							CHILD:remove()
4494
						end
4495
					end
4496
				end
4497
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
4498
				SOUNDPART.CFrame = CF(HITPOS)
4499
				Debris:AddItem(SOUNDPART, 5)
4500
				CreateSound("130972023", SOUNDPART, 6, 3)
4501
				CreateSound("182765513", SOUNDPART, 6, 1)
4502
				WACKYEFFECT({
4503
					EffectType = "Ring",
4504
					Size = VT(0, 0, 0),
4505
					Size2 = VT(1, 1, 0),
4506
					Transparency = 0.7,
4507
					Transparency2 = 1,
4508
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
4509
					MoveToPos = nil,
4510
					RotationX = 0,
4511
					RotationY = 0,
4512
					RotationZ = 0,
4513
					Material = "Neon",
4514
					Color = C3(1, 1, 1),
4515
					SoundID = nil,
4516
					SoundPitch = nil,
4517
					SoundVolume = nil
4518
				})
4519
			elseif HITFLOOR.Anchored == false then
4520
				if HITFLOOR.Parent ~= workspace then
4521
					local CHILDREN = HITFLOOR.Parent:GetDescendants()
4522
					for index, CHILD in pairs(CHILDREN) do
4523
						if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
4524
							for i = 1, 5 do
4525
								CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
4526
							end
4527
							CHILD:remove()
4528
						end
4529
					end
4530
				else
4531
					for i = 1, 5 do
4532
						CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
4533
					end
4534
					HITFLOOR:remove()
4535
				end
4536
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
4537
				SOUNDPART.CFrame = CF(HITPOS)
4538
				Debris:AddItem(SOUNDPART, 5)
4539
				CreateSound("130972023", SOUNDPART, 10, 3)
4540
				CreateSound("178452217", SOUNDPART, 6, 1)
4541
				WACKYEFFECT({
4542
					EffectType = "Ring",
4543
					Size = VT(0, 0, 0),
4544
					Size2 = VT(1, 1, 0),
4545
					Transparency = 0.7,
4546
					Transparency2 = 1,
4547
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
4548
					MoveToPos = nil,
4549
					RotationX = 0,
4550
					RotationY = 0,
4551
					RotationZ = 0,
4552
					Material = "Neon",
4553
					Color = C3(1, 1, 1),
4554
					SoundID = nil,
4555
					SoundPitch = nil,
4556
					SoundVolume = nil
4557
				})
4558
			else
4559
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
4560
				SOUNDPART.CFrame = CF(HITPOS)
4561
				Debris:AddItem(SOUNDPART, 5)
4562
				CreateSound("130972023", SOUNDPART, 10, 1)
4563
				CreateSound("130972023", SOUNDPART, 6, 0.7)
4564
				CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
4565
				CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
4566
				ApplyAoE5(HITPOS, 15, 45, 75, 75, true)
4567
				ApplyAoE5(HITPOS, 25, 25, 35, 35, true)
4568
				for i = 1, 5 do
4569
					CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
4570
				end
4571
				for i = 1, 5 do
4572
					CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
4573
				end
4574
			end
4575
		end
4576
		for i = 0, 1.2, 0.1 / Animation_Speed do
4577
			Swait()
4578
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
4579
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
4580
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
4581
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
4582
			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.5 / Animation_Speed)
4583
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
4584
		end
4585
		ATTACK = false
4586
		Rooted = false
4587
		UNANCHOR = true
4588
		RootPart.Anchored = false
4589
	end
4590
end
4591
4592
function calamity()
4593
	ATTACK = true
4594
	Rooted = true
4595
	local GYRO = IT("BodyGyro", RootPart)
4596
	GYRO.D = 15
4597
	GYRO.P = 2000
4598
	GYRO.MaxTorque = VT(0, 4000000, 0)
4599
	CreateSound("341301115", Head, 5, 1.1)
4600
	CreateSound("93724183", Head, 6, 1)
4601
	for i = 1, 200 do
4602
		Swait()
4603
		WACKYEFFECT({
4604
			Time = MRANDOM(5, 15),
4605
			EffectType = "Round Slash",
4606
			Size = VT(0, 0, 0),
4607
			Size2 = VT(0.12, 0, 0.12),
4608
			Transparency = 0.5,
4609
			Transparency2 = 1,
4610
			CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
4611
			MoveToPos = nil,
4612
			RotationX = MRANDOM(-50, 50) / 50,
4613
			RotationY = MRANDOM(-50, 50) / 10,
4614
			RotationZ = MRANDOM(-50, 50) / 50,
4615
			Material = "Neon",
4616
			Color = C3(0, 0, 0),
4617
			SoundID = nil,
4618
			SoundPitch = nil,
4619
			SoundVolume = nil
4620
		})
4621
		WACKYEFFECT({
4622
			Time = MRANDOM(5, 15),
4623
			EffectType = "Round Slash",
4624
			Size = VT(0, 0, 0),
4625
			Size2 = VT(0.1, 0, 0.1),
4626
			Transparency = 0.5,
4627
			Transparency2 = 1,
4628
			CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
4629
			MoveToPos = nil,
4630
			RotationX = MRANDOM(-50, 50) / 50,
4631
			RotationY = MRANDOM(-50, 50) / 10,
4632
			RotationZ = MRANDOM(-50, 50) / 50,
4633
			Material = "Neon",
4634
			Color = C3(.2, 0, 0),
4635
			SoundID = nil,
4636
			SoundPitch = nil,
4637
			SoundVolume = nil
4638
		})
4639
		WACKYEFFECT({
4640
			Time = MRANDOM(5, 15),
4641
			EffectType = "Round Slash",
4642
			Size = VT(0, 0, 0),
4643
			Size2 = VT(0.16, 0, 0.16),
4644
			Transparency = 0.5,
4645
			Transparency2 = 1,
4646
			CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
4647
			MoveToPos = nil,
4648
			RotationX = MRANDOM(-50, 50) / 50,
4649
			RotationY = MRANDOM(-50, 50) / 10,
4650
			RotationZ = MRANDOM(-50, 50) / 50,
4651
			Material = "Neon",
4652
			Color = C3(.3, 0, 0),
4653
			SoundID = nil,
4654
			SoundPitch = nil,
4655
			SoundVolume = nil
4656
		})
4657
		WACKYEFFECT({
4658
			Time = 5,
4659
			EffectType = "Sphere",
4660
			Size = VT(i, i, i) / 150,
4661
			Size2 = VT(0, 0, 0),
4662
			Transparency = 0.5,
4663
			Transparency2 = 1,
4664
			CFrame = Head.CFrame * CF(0, -0.25, -1),
4665
			MoveToPos = nil,
4666
			RotationX = 0,
4667
			RotationY = 0,
4668
			RotationZ = 0,
4669
			Material = "Neon",
4670
			Color = C3(.4, 0, 0),
4671
			SoundID = nil,
4672
			SoundPitch = nil,
4673
			SoundVolume = nil
4674
		})
4675
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4676
		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)
4677
		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)
4678
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
4679
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
4680
		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)
4681
		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)
4682
	end
4683
	GYRO:remove()
4684
	for i = 0, 0.3, 0.1 / Animation_Speed do
4685
		Swait()
4686
		WACKYEFFECT({
4687
			Time = 25,
4688
			EffectType = "Sphere",
4689
			Size = VT(200, 200, 200) / 150,
4690
			Size2 = VT(0, 0, 0),
4691
			Transparency = 0.5,
4692
			Transparency2 = 1,
4693
			CFrame = Head.CFrame * CF(0, -0.25, -1),
4694
			MoveToPos = nil,
4695
			RotationX = 0,
4696
			RotationY = 0,
4697
			RotationZ = 0,
4698
			Material = "Neon",
4699
			Color = C3(.5, 0, .5),
4700
			SoundID = nil,
4701
			SoundPitch = nil,
4702
			SoundVolume = nil
4703
		})
4704
		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)
4705
		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)
4706
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4707
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4708
		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)
4709
		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)
4710
	end
4711
	coroutine.resume(coroutine.create(function()
4712
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Dark Orange", "DOOM", VT(1, 1, 1))
4713
		MakeForm(FIREBALL, "Ball")
4714
		local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
4715
		FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
4716
		for i = 1, 500 do
4717
			Swait()
4718
			FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
4719
			local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
4720
			if HITFLOOR ~= nil then
4721
				break
4722
			end
4723
		end
4724
		CreateSound(325132788, Effects, 8, 1, false)
4725
		for i = 1, 120 do
4726
			Swait()
4727
			WACKYEFFECT({
4728
				Time = 85,
4729
				EffectType = "Sphere",
4730
				Size = FIREBALL.Size,
4731
				Size2 = VT(0, 9000, 0),
4732
				Transparency = 0.5,
4733
				Transparency2 = 1,
4734
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
4735
				MoveToPos = nil,
4736
				RotationX = MRANDOM(-50, 50) / 10,
4737
				RotationY = MRANDOM(-50, 50) / 10,
4738
				RotationZ = MRANDOM(-50, 50) / 10,
4739
				Material = "Neon",
4740
				Color = C3(.6, 0, .6),
4741
				SoundID = nil,
4742
				SoundPitch = nil,
4743
				SoundVolume = nil
4744
			})
4745
			FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
4746
		end
4747
		Swait(5)
4748
		ApplyAoE5(FIREBALL.Position, 435, 65, 65, 600, true)
4749
		for i = 1, 10 do
4750
			WACKYEFFECT({
4751
				Time = 85 + 5 * i,
4752
				EffectType = "Slash",
4753
				Size = VT(9, 0, 9),
4754
				Size2 = VT(32, 0, 32),
4755
				Transparency = 0.5,
4756
				Transparency2 = 1,
4757
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
4758
				MoveToPos = nil,
4759
				RotationX = MRANDOM(-50, 50) / 50,
4760
				RotationY = MRANDOM(-50, 50) / 10,
4761
				RotationZ = MRANDOM(-50, 50) / 50,
4762
				Material = "Neon",
4763
				Color = C3(0, 0, 0),
4764
				SoundID = nil,
4765
				SoundPitch = nil,
4766
				SoundVolume = nil
4767
			})
4768
			WACKYEFFECT({
4769
				Time = 185 + 5 * i,
4770
				EffectType = "Swirl",
4771
				Size = VT(25, 25, 25),
4772
				Size2 = VT(900, 900, 900) + VT(35, 35, 35) * i,
4773
				Transparency = 0.5,
4774
				Transparency2 = 1,
4775
				CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
4776
				MoveToPos = nil,
4777
				RotationX = MRANDOM(-50, 50) / 50,
4778
				RotationY = MRANDOM(-50, 50) / 10,
4779
				RotationZ = MRANDOM(-50, 50) / 50,
4780
				Material = "Neon",
4781
				Color = C3(1, 0.5, 0.5),
4782
				SoundID = nil,
4783
				SoundPitch = nil,
4784
				SoundVolume = nil
4785
			})
4786
			WACKYEFFECT({
4787
				Time = 285 + 5 * i,
4788
				EffectType = "Round Slash",
4789
				Size = VT(6, 0, 6),
4790
				Size2 = VT(22, 0, 22),
4791
				Transparency = 0.5,
4792
				Transparency2 = 1,
4793
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
4794
				MoveToPos = nil,
4795
				RotationX = MRANDOM(-50, 50) / 50,
4796
				RotationY = MRANDOM(-50, 50) / 10,
4797
				RotationZ = MRANDOM(-50, 50) / 50,
4798
				Material = "Neon",
4799
				Color = C3(1, 1, 0),
4800
				SoundID = nil,
4801
				SoundPitch = nil,
4802
				SoundVolume = nil
4803
			})
4804
			WACKYEFFECT({
4805
				Time = 285 + 5 * i,
4806
				EffectType = "Sphere",
4807
				Size = VT(850, 850, 850),
4808
				Size2 = VT(1050, 1050, 1050) + VT(35, 35, 35) * i,
4809
				Transparency = 0.5,
4810
				Transparency2 = 1,
4811
				CFrame = FIREBALL.CFrame,
4812
				MoveToPos = nil,
4813
				RotationX = 0,
4814
				RotationY = 0,
4815
				RotationZ = 0,
4816
				Material = "Neon",
4817
				Color = C3(0, 1, 1),
4818
				SoundID = nil,
4819
				SoundPitch = 0,
4820
				SoundVolume = 0
4821
			})
4822
		end
4823
		wait(1)
4824
		WACKYEFFECT({
4825
			Time = 75,
4826
			EffectType = "Sphere",
4827
			Size = VT(550, 550, 550),
4828
			Size2 = VT(6500, 6500, 6500),
4829
			Transparency = 0.8,
4830
			Transparency2 = 1,
4831
			CFrame = FIREBALL.CFrame,
4832
			MoveToPos = nil,
4833
			RotationX = 0,
4834
			RotationY = 0,
4835
			RotationZ = 0,
4836
			Material = "Neon",
4837
			Color = C3(1, 1, 1),
4838
			SoundID = nil,
4839
			SoundPitch = 0,
4840
			SoundVolume = 0
4841
		})
4842
		for i = 1, 15 do
4843
			Swait()
4844
			ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
4845
			WACKYEFFECT({
4846
				Time = 85,
4847
				EffectType = "Sphere",
4848
				Size = VT(95, 95, 95),
4849
				Size2 = VT(0, 6500, 0),
4850
				Transparency = 0.5,
4851
				Transparency2 = 1,
4852
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
4853
				MoveToPos = nil,
4854
				RotationX = MRANDOM(-50, 50) / 10,
4855
				RotationY = MRANDOM(-50, 50) / 10,
4856
				RotationZ = MRANDOM(-50, 50) / 10,
4857
				Material = "Neon",
4858
				Color = C3(0, 0, 0),
4859
				SoundID = nil,
4860
				SoundPitch = nil,
4861
				SoundVolume = nil
4862
			})
4863
		end
4864
		FIREBALL:remove()
4865
	end))
4866
	WACKYEFFECT({
4867
		Time = 25,
4868
		EffectType = "Ring",
4869
		Size = VT(0, 0, 0),
4870
		Size2 = VT(9.75, 9.75, 0),
4871
		Transparency = 0.7,
4872
		Transparency2 = 1,
4873
		CFrame = Head.CFrame * CF(0, -0.25, -0.75),
4874
		MoveToPos = nil,
4875
		RotationX = 0,
4876
		RotationY = 0,
4877
		RotationZ = 0,
4878
		Material = "Neon",
4879
		Color = C3(1, 0, 0),
4880
		SoundID = nil,
4881
		SoundPitch = nil,
4882
		SoundVolume = nil
4883
	})
4884
	WACKYEFFECT({
4885
		Time = 50,
4886
		EffectType = "Ring",
4887
		Size = VT(0, 0, 0),
4888
		Size2 = VT(35, 35, 0),
4889
		Transparency = 0.7,
4890
		Transparency2 = 1,
4891
		CFrame = Head.CFrame * CF(0, -0.25, -0.75),
4892
		MoveToPos = nil,
4893
		RotationX = 0,
4894
		RotationY = 0,
4895
		RotationZ = 0,
4896
		Material = "Neon",
4897
		Color = C3(.4, .1, 0),
4898
		SoundID = nil,
4899
		SoundPitch = nil,
4900
		SoundVolume = nil
4901
	})
4902
	for i = 0, 0.3, 0.1 / Animation_Speed do
4903
		Swait()
4904
		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)
4905
		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)
4906
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4907
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4908
		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)
4909
		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)
4910
	end
4911
	ATTACK = false
4912
	Rooted = false
4913
end
4914
4915
function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
4916
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
4917
	local mesh = IT("SpecialMesh",wave)
4918
	mesh.MeshType = "Sphere"
4919
	mesh.Scale = SIZE
4920
	mesh.Offset = VT(0,0,0)
4921
	wave.CFrame = CFRAME
4922
	coroutine.resume(coroutine.create(function(PART)
4923
		for i = 1, WAIT do
4924
			Swait()
4925
			mesh.Scale = mesh.Scale + GROW
4926
			wave.Transparency = wave.Transparency + (1/WAIT)
4927
			if wave.Transparency > 0.99 then
4928
				wave:remove()
4929
			end
4930
		end
4931
	end))
4932
end
4933
4934
function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
4935
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
4936
	local mesh = IT("SpecialMesh",wave)
4937
	mesh.MeshType = "FileMesh"
4938
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
4939
	mesh.Scale = SIZE
4940
	mesh.Offset = VT(0,0,0)
4941
	wave.CFrame = CFRAME
4942
	coroutine.resume(coroutine.create(function(PART)
4943
		for i = 1, WAIT do
4944
			Swait()
4945
			mesh.Scale = mesh.Scale + GROW
4946
			if DOESROT == true then
4947
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
4948
			end
4949
			wave.Transparency = wave.Transparency + (0.5/WAIT)
4950
			if wave.Transparency > 0.99 then
4951
				wave:remove()
4952
			end
4953
		end
4954
	end))
4955
end
4956
4957
4958
function ApplyAoE4(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
4959
	local CHILDREN = workspace:GetDescendants()
4960
	for index, CHILD in pairs(CHILDREN) do
4961
		if CHILD.ClassName == "Model" and CHILD ~= Character then
4962
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4963
			if HUM then
4964
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4965
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
4966
					if IZBANISH == true then
4967
						Banish(CHILD)
4968
					else
4969
						local DMG = MRANDOM(MINDMG, MAXDMG)
4970
						ApplyDamage(HUM, DMG, TORSO)
4971
					end
4972
					if FLING > 0 then
4973
						for _, c in pairs(CHILD:GetChildren()) do
4974
							if c:IsA("BasePart") then
4975
								local bv = Instance.new("BodyVelocity")
4976
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
4977
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
4978
								bv.Parent = c
4979
								Debris:AddItem(bv, 0.05)
4980
							end
4981
						end
4982
					end
4983
				end
4984
			end
4985
		end
4986
	end
4987
end
4988
4989
function ApplyAoE6(POSITION, RANGE, MINDMG, MAXDMG, FLING, KILLD)
4990
	local CHILDREN = workspace:GetDescendants()
4991
	for index, CHILD in pairs(CHILDREN) do
4992
		if CHILD.ClassName == "Model" and CHILD ~= Character then
4993
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4994
			if HUM then
4995
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4996
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
4997
					if KILLD == true then
4998
						Kill2(CHILD)
4999
					else
5000
						local DMG = MRANDOM(MINDMG, MAXDMG)
5001
						ApplyDamage(HUM, DMG, TORSO)
5002
					end
5003
					if FLING > 0 then
5004
						for _, c in pairs(CHILD:GetChildren()) do
5005
							if c:IsA("BasePart") then
5006
								local bv = Instance.new("BodyVelocity")
5007
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
5008
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
5009
								bv.Parent = c
5010
								Debris:AddItem(bv, 0.05)
5011
							end
5012
						end
5013
					end
5014
				end
5015
			end
5016
		end
5017
	end
5018
end
5019
5020
function Complete_Control()
5021
ATTACK = true
5022
Rooted = true
5023
        chatfunc("Do Not Try To Get Evade This.")
5024
        CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Crimson",VT(100,100,100))
5025
	    CreateSound("1137548130", Effects, 10, 1)
5026
	    MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
5027
		ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
5028
ATTACK = false
5029
Rooted = false
5030
end
5031
5032
function TomYumTaunt()
5033
	    ATTACK = true
5034
	    Rooted = true
5035
		for i=0, 1, 0.1 / Animation_Speed do
5036
			Swait()
5037
			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)
5038
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
5039
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5040
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5041
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5042
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5043
		end
5044
		CameraEnshaking(1,45)
5045
		CreateSound(363808674, Torso, 6, 1, false)
5046
		for i=0, 0.5, 0.1 / Animation_Speed do
5047
			Swait()
5048
			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)
5049
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
5050
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5051
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5052
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5053
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5054
		end
5055
		CameraEnshaking(1,45)
5056
		CreateSound(363808674, Torso, 6, 1, false)
5057
		for i=0, 0.5, 0.1 / Animation_Speed do
5058
			Swait()
5059
			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)
5060
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
5061
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5062
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5063
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5064
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5065
		end
5066
		ATTACK = false
5067
		Rooted = false
5068
end
5069
5070
function Bullet()
5071
	ATTACK = true
5072
	Rooted = false
5073
	Weapon2.Parent = Character
5074
	for i=0, 0.4, 0.1 / Animation_Speed do
5075
		Swait()
5076
		turnto(Mouse.Hit.p)
5077
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
5078
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5079
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5080
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
5081
			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)
5082
			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)
5083
	end
5084
	repeat
5085
		for i=0, 0.2, 0.1 / Animation_Speed do
5086
			Swait()
5087
			turnto(Mouse.Hit.p)
5088
			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(40)), 1 / Animation_Speed)
5089
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
5090
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5091
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)			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)
5092
			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)
5093
		end
5094
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
5095
		SpawnTrail(Hole.Position,POS)
5096
		ApplyAoE3(POS,1,3,100,20,false)
5097
		if HIT ~= nil then
5098
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
5099
			end
5100
		end
5101
		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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5102
		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(0,0,0), SoundID = 213603013, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
5103
		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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
5104
		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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
5105
		for i=0, 0.3, 0.1 / Animation_Speed do
5106
			Swait()
5107
			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(40)), 1 / Animation_Speed)
5108
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
5109
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(15), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5110
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)			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)
5111
			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)
5112
		end
5113
	until KEYHOLD == false
5114
	Weapon2.Parent = nil
5115
	ATTACK = false
5116
	Rooted = false
5117
end
5118
5119
function Bullet2()
5120
    ATTACK = true
5121
    Rooted = false
5122
    Weapon2.Parent = Character
5123
    repeat
5124
        local GYRO = IT("BodyGyro",RootPart)
5125
        GYRO.D = 175
5126
        GYRO.P = 20000
5127
        GYRO.MaxTorque = VT(0,40000,0)
5128
        GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
5129
            for i=0, 0.5, 0.5 / Animation_Speed do
5130
                Swait()
5131
                GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
5132
		turnto(Mouse.Hit.p)
5133
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
5134
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
5135
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5136
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
5137
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5138
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5139
            end
5140
		for i=0, 0.3, 5 / Animation_Speed do
5141
			Swait()
5142
			turnto(Mouse.Hit.p)
5143
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
5144
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
5145
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5146
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
5147
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5148
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5149
		end
5150
		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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5151
		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(0,0,0), SoundID = 213603013, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
5152
            BulletDetection(Hole.Position,Mouse.Hit.p,true)
5153
		for i=0, 0.4, 5 / Animation_Speed do
5154
			Swait()
5155
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
5156
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
5157
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5158
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
5159
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5160
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5161
		end
5162
        GYRO:remove()
5163
    until KEYHOLD == false
5164
    Weapon2.Parent = nil
5165
    ATTACK = false
5166
    Rooted = false
5167
end
5168
5169
function AttackTemplate()
5170
    ATTACK = true
5171
    Rooted = false
5172
    for i=0, 1, 0.1 / Animation_Speed do
5173
        Swait()
5174
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
5175
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
5176
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
5177
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
5178
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5179
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5180
    end
5181
    ATTACK = false
5182
    Rooted = false
5183
end
5184
 
5185
function GoldenPunch()
5186
    ATTACK = true
5187
    Rooted = false
5188
    local SPEED = Speed
5189
    Speed = 8
5190
    for i=0, 4, 1 / Animation_Speed do
5191
        Swait()
5192
        turnto(Mouse.Hit.p)
5193
        MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Really black",VT(-1/15,-1/15,-1/15))
5194
        MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Really black",VT(-2/15,-2/15,-2/15))
5195
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
5196
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
5197
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
5198
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
5199
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5200
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5201
    end
5202
    for i=0, 0.15, 1 / Animation_Speed do
5203
        Swait()
5204
        turnto(Mouse.Hit.p)
5205
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
5206
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
5207
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5208
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5209
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5210
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5211
    end
5212
    local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Really black", "Punch", VT(50,50,50),false)
5213
    PART.CFrame = RootPart.CFrame * CF(0,0,-25)
5214
    PART.Shape = "Ball"
5215
    local bv = Instance.new("BodyVelocity")
5216
    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5217
    bv.velocity = RootPart.CFrame.lookVector*600
5218
    bv.Parent = PART
5219
    bv.Name = "PROJECTILEVELOCITY"
5220
    CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really black",VT(2.5,0.2,2.5))
5221
    CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really black",VT(3,0.2,3))
5222
    CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really black",VT(2,0.6,2))
5223
    CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really black",VT(2.2,0.6,2.2))
5224
    CreateSound("824687369", Effects, 10, MRANDOM(10, 12) / 10)
5225
    CreateSound("159882598", Effects, 10, MRANDOM(10, 10) / 10)
5226
    coroutine.resume(coroutine.create(function()
5227
        for i = 1, 10 do
5228
            Swait()
5229
            PART.Transparency = PART.Transparency + 0.2/10
5230
            PART.Size = PART.Size + VT(5,5,5)
5231
            ApplyAoE3(PART.Position,35,10,99999,99999,false)
5232
        end
5233
        PART:Destroy()
5234
    end))
5235
    for i=0, 1, 0.1 / Animation_Speed do
5236
        Swait()
5237
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
5238
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
5239
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
5240
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
5241
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
5242
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
5243
    end
5244
    Speed = SPEED
5245
    ATTACK = false
5246
    Rooted = false
5247
end
5248
 
5249
function GoldenGrasp()
5250
    ATTACK = true
5251
    Rooted = false
5252
    local HASGRABBED = false
5253
    local WELD = nil
5254
    local TORS = nil
5255
    local hitting = FIST.Touched:connect(function(hit)
5256
        if hit.Parent:FindFirstChild("Humanoid") then
5257
            if hit.Parent.Humanoid.Health ~= 0 then
5258
                UNANCHOR = false
5259
                TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
5260
                TORS.Anchored = true
5261
                TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
5262
                WELD = weldBetween(RightArm,TORS)
5263
                HASGRABBED = true
5264
                Rooted = true
5265
            end
5266
        end
5267
    end)
5268
    for i=0, 1, 0.1 / Animation_Speed do
5269
        Swait()
5270
        if HASGRABBED == true then
5271
            break
5272
        end
5273
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
5274
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
5275
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
5276
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
5277
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
5278
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
5279
    end
5280
    hitting:disconnect()
5281
    if HASGRABBED == true then
5282
        TORS.Anchored = false
5283
        RootPart.Anchored = true
5284
        for i=0, 2, 0.1 / Animation_Speed do
5285
            Swait()
5286
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5287
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5288
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
5289
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
5290
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
5291
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5292
        end
5293
        CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
5294
        CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
5295
        local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
5296
        SOUNDPART.CFrame = RootPart.CFrame
5297
        Debris:AddItem(SOUNDPART,5)
5298
        CreateSound("1295446488", SOUNDPART, 2, 1)
5299
        for i = 1, 15 do
5300
            Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
5301
        end
5302
        for i=0, 2, 0.1 / Animation_Speed do
5303
            Swait()
5304
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
5305
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5306
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
5307
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
5308
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
5309
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
5310
        end
5311
        for i=0, 0.25, 0.1 / Animation_Speed do
5312
            Swait()
5313
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
5314
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
5315
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
5316
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
5317
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5318
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5319
        end
5320
        if HITFLOOR ~= nil then
5321
            CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
5322
        end
5323
        CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
5324
        WELD:remove()
5325
        for i = 1, 25 do
5326
            Swait()
5327
            killnearest(RootPart.Position,45,100,Torso.CFrame)
5328
            CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
5329
            CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Really black",VT(1,0.4,1))
5330
            CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Really black",VT(2.3,0.3,2.3))
5331
            Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
5332
            Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Really black", 1 + MRANDOM(1,30)/15)
5333
        end
5334
    end
5335
    UNANCHOR = true
5336
    ATTACK = false
5337
    Rooted = false
5338
end
5339
 
5340
function Mach20()
5341
    local ORIGIN = RootPart.Position
5342
    CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
5343
    CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
5344
    local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
5345
    SOUNDPART.CFrame = RootPart.CFrame
5346
    Debris:AddItem(SOUNDPART,5)
5347
    CreateSound("1295446488", SOUNDPART, 2, 1)
5348
    RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
5349
    Swait()
5350
    CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
5351
    CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
5352
    local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
5353
    SOUNDPART.CFrame = RootPart.CFrame
5354
    Debris:AddItem(SOUNDPART,5)
5355
    CreateSound("1295446488", SOUNDPART, 2, 1)
5356
    if MRANDOM(1,8) == 1 then
5357
        ATTACK = true
5358
        Rooted = true
5359
        local FRUITSTABLE = {
5360
            {MeshId = "16190555", TextureId = "16190577", Color = "Really red"},
5361
            {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
5362
            {MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
5363
        }
5364
        local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
5365
        local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
5366
        CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
5367
        FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
5368
        weldBetween(RightArm,FRUITMODEL)
5369
        for i=0, 4, 0.1 / Animation_Speed do
5370
            Swait()
5371
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5372
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5373
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
5374
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
5375
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5376
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5377
        end
5378
        CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
5379
        FRUITMODEL:remove()
5380
        for i = 1, 15 do
5381
            Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
5382
        end
5383
        for i=0, 0.5, 0.1 / Animation_Speed do
5384
            Swait()
5385
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5386
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5387
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
5388
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
5389
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5390
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5391
        end
5392
        ATTACK = false
5393
        Rooted = false
5394
    end
5395
end
5396
 
5397
function ImplosionCollision()
5398
    ATTACK = true
5399
    Rooted = true
5400
    CreateSound("1548599511", Character, 10, 1)
5401
    for i=0, 8, 0.1 / Animation_Speed do
5402
        Swait()
5403
        turnto(Mouse.Hit.p)
5404
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
5405
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
5406
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
5407
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
5408
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5409
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5410
    end
5411
5412
    CreateSound("1548599962", Character, 10, 1)
5413
    for i=0, 0.15, 0.1 / Animation_Speed do
5414
        Swait()
5415
        turnto(Mouse.Hit.p)
5416
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
5417
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
5418
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5419
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5420
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5421
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5422
    end
5423
    MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.04,-0.04,-0.04))
5424
    MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
5425
    coroutine.resume(coroutine.create(function()
5426
        Swait(100)
5427
        for i = 1, 5 do
5428
            MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Really black",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
5429
            CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really black",VT(4.5*i,0.2,4.5*i))
5430
            CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really black",VT(5*i,0.2,5*i))
5431
            CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really black",VT(4*i,0.6,4*i))
5432
            CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really black",VT(5.2*i,0.6,5.2*i))
5433
        end
5434
        ApplyAoE3(RootPart.Position,99999,99999,99999,99999,false)
5435
        for i = 1, 5 do
5436
            CreateSound("824687369", Effects, 10, MRANDOM(5, 8) / 2)
5437
            CreateSound("824687369", Effects, 10, MRANDOM(5, 8) / 3)
5438
        end
5439
        coroutine.resume(coroutine.create(function()
5440
            for i = 1, 50 do
5441
                Swait()
5442
                for i = 1, 1 do
5443
                    Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
5444
                end
5445
                for i = 1, 2 do
5446
                    Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Really black", 1 + MRANDOM(1,30)/3)
5447
                end
5448
            end
5449
        end))
5450
    end))
5451
    for i=0, 4, 0.1 / Animation_Speed do
5452
        Swait()
5453
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
5454
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
5455
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
5456
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
5457
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
5458
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
5459
    end
5460
    ATTACK = false
5461
    Rooted = false
5462
end
5463
5464
--SS--
5465
5466
function VoidedTaunt()
5467
ATTACK = true
5468
Rooted = true
5469
local LAUGHS = {834001699,834001752,834001797,834001828}
5470
CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 30, 1, false)
5471
	coroutine.resume(coroutine.create(function()
5472
        for i=0, 3, 0.1 / Animation_Speed do
5473
            Swait()
5474
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.5) * ANGLES(RAD(0), RAD(180), RAD(0)), 0.2 / Animation_Speed)
5475
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0), RAD(0 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
5476
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40 + 11 * COS(SINE / 1)), RAD(0), RAD(20 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
5477
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40 + 11 * COS(SINE / 1)), RAD(0), RAD(-20 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
5478
            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 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
5479
            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(0)), 0.2 / Animation_Speed)
5480
        end
5481
ATTACK = false
5482
Rooted = false
5483
end))
5484
end
5485
5486
function MagicMissiles()
5487
	ATTACK = true
5488
	Rooted = true
5489
	local SELECTING = true
5490
	local SPOTS = {}
5491
	coroutine.resume(coroutine.create(function()
5492
		local LOOP = 0
5493
		repeat
5494
			LOOP = LOOP + 1
5495
			Swait()
5496
			if LOOP >= 10 then
5497
				LOOP = 0
5498
				for i = 1, #SPOTS do
5499
					if SPOTS[i] ~= nil then
5500
						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})
5501
						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})
5502
					end
5503
				end
5504
			end
5505
			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)
5506
			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)
5507
			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)
5508
			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)
5509
			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)
5510
			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)
5511
		until SELECTING == false
5512
		Rooted = false
5513
		repeat
5514
			LOOP = LOOP + 1
5515
			Swait()
5516
			if LOOP >= 10 then
5517
				LOOP = 0
5518
				for i = 1, #SPOTS do
5519
					if SPOTS[i] ~= nil then
5520
						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})
5521
						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})
5522
					end
5523
				end
5524
			end
5525
			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)
5526
			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)
5527
			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)
5528
			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)
5529
			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)
5530
			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)
5531
		until ATTACK == false
5532
	end))
5533
	repeat
5534
		repeat Swait() until HOLD == true
5535
			local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
5536
			if DIST > 99999 then
5537
				DIST = 99999
5538
			end
5539
			local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
5540
			local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)	
5541
			if HITFLOOR ~= nil then
5542
				table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
5543
				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})
5544
				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})
5545
			end
5546
		repeat Swait() until HOLD == false
5547
	until #SPOTS == 1
5548
	SELECTING = false
5549
	for i = 1, #SPOTS do
5550
		if SPOTS[i] ~= nil then
5551
			local POS = SPOTS[i]
5552
			coroutine.resume(coroutine.create(function()
5553
				local MISSILE = IT("Model",Effects)
5554
				MISSILE.Name = "Missile"
5555
				local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2,2,2))
5556
				MakeForm(BASEPART,"Cyl")
5557
				MISSILE.PrimaryPart = BASEPART
5558
				BASEPART.CFrame = POS*CF(0,-30*3,0)
5559
				local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2,4,2))
5560
				MakeForm(HEAD,"Ball")
5561
				HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
5562
				local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2.5,0.1,2.5))
5563
				MakeForm(TAIL,"Cyl")
5564
				TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
5565
				for i = 1, 10 do
5566
					Swait()
5567
					for _, c in pairs(MISSILE:GetChildren()) do
5568
						if c.ClassName == "Part" then
5569
							c.Transparency = c.Transparency - 1/10
5570
						end
5571
					end
5572
				end
5573
				for i = 1, 15*1.5 do
5574
					Swait()
5575
					MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
5576
				end
5577
				ApplyAoE3(BASEPART.CFrame.p,20,35,45,75,false)
5578
				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})
5579
				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})
5580
				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})
5581
				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})
5582
				MISSILE:remove()
5583
			end))
5584
		end
5585
	end
5586
	wait(0.6)
5587
	ATTACK = false
5588
	Rooted = false
5589
end
5590
5591
local Cooldown1 = false
5592
5593
function BulletRoller()
5594
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
5595
	if HITFLOOR then
5596
		ATTACK = true
5597
		Rooted = true
5598
		local bv = Instance.new("BodyVelocity") 
5599
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5600
		bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1,-4).p).lookVector*175
5601
		bv.Parent = RootPart
5602
		local GYRO = IT("BodyGyro",RootPart)
5603
		GYRO.D = 2
5604
		GYRO.P = 20000
5605
		GYRO.MaxTorque = VT(0,4000000,0)
5606
		GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
5607
		CreateSound(145486992,Torso,10,0.85,false)
5608
		for i=0, 0.05, 0.1 / Animation_Speed do
5609
			Swait()
5610
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
5611
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
5612
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5613
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5614
			if ANIM == "Fall" or ANIM == "Jump" then
5615
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5616
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5617
			else
5618
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
5619
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
5620
			end
5621
		end
5622
		bv:Remove()
5623
		local E = 360/15
5624
		for i = 1, 15 do
5625
			Swait()
5626
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
5627
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
5628
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5629
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5630
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5631
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5632
		end
5633
        Cooldown1 = true
5634
		local LANDED = nil
5635
		local POS = nil
5636
		coroutine.resume(coroutine.create(function()
5637
			repeat
5638
				Swait()
5639
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
5640
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
5641
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5642
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5643
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5644
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5645
			until LANDED ~= nil
5646
		end))
5647
		repeat
5648
			Swait()
5649
			local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
5650
			if HITFLOOR then
5651
				LANDED = HITFLOOR
5652
				POS = HITPOS
5653
			end
5654
		until LANDED ~= nil
5655
		GYRO:remove()
5656
		Swait(4)
5657
	for i=0, 0.5, 0.1 / Animation_Speed do
5658
		Swait()
5659
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
5660
		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)
5661
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5662
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5663
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
5664
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
5665
	end
5666
	local AMMO = 0
5667
	repeat
5668
	AMMO = AMMO + 1
5669
		for i=0, 0.1, 0.05 / Animation_Speed do
5670
			Swait()
5671
			turnto(Mouse.Hit.p)
5672
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
5673
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-75 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5674
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5675
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(179), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5676
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
5677
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
5678
	end
5679
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5680
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5681
            CreateSound(1590205662, RightArm, 7, 1, false)
5682
            BulletDetection(RightHole.Position,Mouse.Hit.p,true)
5683
	Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
5684
		for i=0, 0.075, 0.05 / Animation_Speed do
5685
			Swait()
5686
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
5687
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-85 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5688
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(190), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5689
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(190), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5690
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
5691
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
5692
	end
5693
	until AMMO == 9
5694
		ATTACK = false
5695
		Rooted = false
5696
wait(0.3)
5697
Cooldown1 = false
5698
	end
5699
end
5700
5701
function banra()
5702
	ATTACK = true
5703
	Rooted = false
5704
	for i=0, 0.4, 5 / Animation_Speed do
5705
		Swait()
5706
		turnto(Mouse.Hit.p)
5707
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
5708
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
5709
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5710
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
5711
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5712
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5713
	end
5714
	repeat
5715
		for i=0, 0.2, 5 / Animation_Speed do
5716
			Swait()
5717
			turnto(Mouse.Hit.p)
5718
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
5719
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
5720
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5721
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
5722
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5723
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5724
		end
5725
		local HIT,POS = CastProperRay(RightArm.Position, Mouse.Hit.p, 1000, Character)
5726
		SpawnTrail(RightArm.Position,POS)
5727
		if HIT ~= nil then
5728
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
5729
				Banish(HIT.Parent)
5730
			end
5731
		end
5732
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 1, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = RightArm.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5733
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 1, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 100000})
5734
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(POS,RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
5735
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(POS,RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
5736
		for i=0, 0.3, 5 / Animation_Speed do
5737
			Swait()
5738
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
5739
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
5740
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5741
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
5742
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5743
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5744
		end
5745
	until KEYHOLD == false
5746
	ATTACK = false
5747
	Rooted = false
5748
end
5749
5750
function Punch()
5751
	ATTACK = true
5752
	Rooted = false
5753
	for i=0, 0.2, 0.1 / Animation_Speed do
5754
		Swait()
5755
		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)
5756
		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)
5757
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
5758
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
5759
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5760
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
5761
	end
5762
	VALUE1 = true
5763
	if COMBO == 1 then
5764
		COMBO = 2
5765
		CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
5766
		ApplyAoE3(LeftArm.Position,3,5,30,15,false)
5767
		for i=0, 0.3, 0.1 / Animation_Speed do
5768
			Swait()
5769
			RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
5770
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 2 / Animation_Speed)
5771
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(65)), 2 / Animation_Speed)
5772
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
5773
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
5774
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
5775
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
5776
		end
5777
	elseif COMBO == 2 then
5778
		COMBO = 1
5779
		CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
5780
		ApplyAoE3(RightArm.Position,3,5,30,15,false)
5781
		for i=0, 0.3, 0.1 / Animation_Speed do
5782
			Swait()
5783
			RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
5784
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 2 / Animation_Speed)
5785
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-80)), 2 / Animation_Speed)
5786
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
5787
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
5788
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
5789
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
5790
		end
5791
	end
5792
	VALUE1 = false
5793
	ATTACK = false
5794
	Rooted = false
5795
end
5796
5797
function Kick()
5798
	ATTACK = true
5799
	Rooted = false
5800
		CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
5801
		ApplyAoE3(RightLeg.Position,3,5,30,15,false)
5802
		for i=0, 0.5, 0.1 / Animation_Speed do
5803
			Swait()
5804
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
5805
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
5806
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
5807
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
5808
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
5809
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
5810
		end
5811
		CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
5812
		ApplyAoE3(LeftLeg.Position,3,5,30,15,false)
5813
		for i=0, 0.5, 0.1 / Animation_Speed do
5814
			Swait()
5815
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-45)), 2 / Animation_Speed)
5816
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
5817
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
5818
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
5819
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
5820
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
5821
		end
5822
	ATTACK = false
5823
	Rooted = false
5824
end
5825
--//=================================\\
5826
--||	  ASSIGN THINGS TO KEYS
5827
--\\=================================//
5828
5829
function MouseDown(Mouse)
5830
	HOLD = true
5831
	if ATTACK == false then
5832
	end
5833
end
5834
5835
function MouseUp(Mouse)
5836
HOLD = false
5837
end
5838
5839
function KeyDown(Key)
5840
	KEYHOLD = true
5841
	if Key == "z" and ATTACK == false then
5842
		if MODE == "Killbot" then
5843
			Bullet()
5844
		elseif MODE == "GoodCop" then
5845
			GoldenPunch()
5846
		elseif MODE == "DeadEye" then
5847
			CORRUPTEDLETHALBULLETS2()
5848
		elseif MODE == "black" then
5849
			MagicMissiles()
5850
		end
5851
	end
5852
5853
	if Key == "x" and ATTACK == false then
5854
		if MODE == "black" then
5855
			calamity()
5856
		elseif MODE == "GoodCop" then
5857
			ImplosionCollision()
5858
		elseif MODE == "Killbot" then
5859
			Bullet2()
5860
		elseif MODE == "DeadEye" then
5861
			BulletRoller()
5862
	end
5863
	end
5864
5865
	if Key == "c" and ATTACK == false then
5866
		if MODE == "black" then
5867
		Corrupted_Burn()
5868
		elseif MODE == "GoodCop" then
5869
			Mach20()
5870
	end
5871
	end
5872
5873
	if Key == "v" and ATTACK == false then
5874
		if MODE == "GoodCopt" then
5875
		
5876
		elseif MODE == "black" then
5877
		PlanetaryDevastation()	
5878
	end
5879
	end
5880
5881
	if Key == "t" and ATTACK == false then
5882
		if MODE == "Killbot" then
5883
			
5884
		elseif MODE == "GoodCop" then
5885
			TomYumTaunt()
5886
		elseif MODE == "DeadEye" then
5887
			
5888
		elseif MODE == "black" then
5889
			VoidedTaunt()
5890
		end
5891
	end
5892
5893
	if Key == "q" and ATTACK == false then
5894
		Punch()
5895
	end
5896
5897
	if Key == "e" and ATTACK == false then
5898
		Kick()
5899
	end
5900
5901
	if Key == "f" and ATTACK == false then
5902
		banra()
5903
	end
5904
5905
	if Key == "p" and ATTACK == false then
5906
		Switch()
5907
	end
5908
5909
	if Key == "u" and ATTACK == false then
5910
		Switch2()
5911
	end
5912
5913
	if Key == "y" and ATTACK == false then
5914
		Switch3()
5915
	end
5916
5917
end
5918
5919
function KeyUp(Key)
5920
	KEYHOLD = false
5921
end
5922
5923
	Mouse.Button1Down:connect(function(NEWKEY)
5924
		MouseDown(NEWKEY)
5925
	end)
5926
	Mouse.Button1Up:connect(function(NEWKEY)
5927
		MouseUp(NEWKEY)
5928
	end)
5929
	Mouse.KeyDown:connect(function(NEWKEY)
5930
		KeyDown(NEWKEY)
5931
	end)
5932
	Mouse.KeyUp:connect(function(NEWKEY)
5933
		KeyUp(NEWKEY)
5934
	end)
5935
5936
--//=================================\\
5937
--\\=================================//
5938
5939
5940
function unanchor()
5941
	if UNANCHOR == true then
5942
		g = Character:GetChildren()
5943
		for i = 1, #g do
5944
			if g[i].ClassName == "Part" then
5945
				g[i].Anchored = false
5946
			end
5947
		end
5948
	end
5949
end
5950
5951
5952
--//=================================\\
5953
--||	WRAP THE WHOLE SCRIPT UP
5954
--\\=================================//
5955
5956
Humanoid.Changed:connect(function(Jump)
5957
	if Jump == "Jump" and (Disable_Jump == true) then
5958
		Humanoid.Jump = false
5959
	end
5960
end)
5961
5962
while true do
5963
	Swait()
5964
	script.Parent = WEAPONGUI
5965
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
5966
	    v:Stop();
5967
	end
5968
	ANIMATE.Parent = nil
5969
	SINE = SINE + CHANGE*1.5
5970
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
5971
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
5972
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
5973
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
5974
	HairWeld1.C1 = Clerp(HairWeld1.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 1.5 * SIN(SINE / 12) - 2.5 * COS(SINE / 12)), RAD(4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5975
	HairWeld2.C1 = Clerp(HairWeld2.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 - 1.5 * SIN(SINE / 12) + 2.5 * COS(SINE / 12)), RAD(-4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5976
	HoodWeld.C1 = Clerp(HoodWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 1 / Animation_Speed)
5977
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
5978
		if MODE == "GoodCop" then
5979
		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)
5980
		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)
5981
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5982
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5983
		elseif MODE == "Killbot" then
5984
		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)
5985
		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)
5986
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5987
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5988
		elseif MODE == "DeadEye" then
5989
		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)
5990
		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)
5991
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5992
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5993
		end
5994
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
5995
        if MODE == "GoodCop" then
5996
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5997
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5998
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5999
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6000
        elseif MODE == "Killbot" then
6001
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6002
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6003
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6004
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6005
        elseif MODE == "DeadEye" then
6006
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6007
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6008
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6009
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6010
6011
	end
6012
end
6013
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
6014
		ANIM = "Jump"
6015
		if ATTACK == false then
6016
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6017
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6018
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
6019
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
6020
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
6021
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
6022
	    end
6023
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
6024
		ANIM = "Fall"
6025
		if ATTACK == false then
6026
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6027
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
6028
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
6029
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
6030
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
6031
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
6032
		end
6033
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
6034
		ANIM = "Idle"
6035
		if ATTACK == false then
6036
			if MODE == "GoodCop" then
6037
			Speed = 20
6038
			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)
6039
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
6040
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(100), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6041
			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)
6042
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
6043
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
6044
			elseif MODE == "Killbot" then
6045
			Speed = 10
6046
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-2, -0.6, 0.65 + 0.5 * COS(SINE / 9) + ((1) - 1)) * ANGLES(RAD(0), RAD(25), RAD(0)), 0.6 / Animation_Speed)
6047
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.25 * COS(SINE / 9), -0.1) * ANGLES(RAD(140), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
6048
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.6 / Animation_Speed)
6049
			LeftShoulder.C0 = Clerp(LeftShoulder.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)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
6050
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
6051
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
6052
			elseif MODE == "DeadEye" then
6053
			Speed = 12
6054
			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)
6055
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
6056
			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)
6057
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*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)
6058
			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)
6059
			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)
6060
			if MRANDOM(1,20) == 1 then
6061
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30))), 1)
6062
			end
6063
			elseif MODE == "black" then
6064
			Speed = 16
6065
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
6066
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
6067
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
6068
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
6069
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6070
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6071
			end
6072
		end
6073
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
6074
		ANIM = "Walk"
6075
		if ATTACK == false then
6076
			if MODE == "GoodCop" then
6077
			Speed = 30
6078
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
6079
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
6080
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6081
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
6082
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
6083
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
6084
			elseif MODE == "Killbot" then
6085
			Speed = 10
6086
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-2, -0.6, 0.5 + ((1) - 1)) * ANGLES(RAD(0), RAD(25), RAD(0)), 0.6 / Animation_Speed)
6087
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.1) * ANGLES(RAD(140), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
6088
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
6089
			LeftShoulder.C0 = Clerp(LeftShoulder.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)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
6090
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 2 / Animation_Speed)
6091
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 2 / Animation_Speed)
6092
			elseif MODE == "DeadEye" then
6093
			Speed = 12
6094
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
6095
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
6096
			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)
6097
			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)
6098
			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)
6099
			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)
6100
			if MRANDOM(1,15) == 1 then
6101
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30))), 1)
6102
			end
6103
			elseif MODE == "black" then
6104
			Speed = 16
6105
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
6106
		    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
6107
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.6*SIZE, -0.35*SIZE) * ANGLES(RAD(175), RAD(0 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-35 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
6108
			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)
6109
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6110
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
6111
			end
6112
		end
6113
	end
6114
	unanchor()
6115
	Humanoid.MaxHealth = "inf"
6116
	Humanoid.Health = "inf"
6117
	if Rooted == false then
6118
		Disable_Jump = false
6119
		Humanoid.WalkSpeed = Speed
6120
	elseif Rooted == true then
6121
		Disable_Jump = true
6122
		Humanoid.WalkSpeed = 0
6123
	end
6124
	local MATHS = {"a","o","m","F","e","t","t","y"}
6125
	Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
6126
	if Character:FindFirstChildOfClass("Accessory") then
6127
		Character:FindFirstChildOfClass("Accessory"):remove()
6128
	elseif Character:FindFirstChildOfClass("Hat") then
6129
		Character:FindFirstChildOfClass("Hat"):remove()
6130
	end
6131
	if Head:FindFirstChild("face") then
6132
		Head.face.Texture = "rbxassetid://403870689"
6133
	end
6134
	for _, c in pairs(Character:GetChildren()) do
6135
		if c.ClassName == "Part" and c.Name ~= "Eye" then
6136
			c.Color = C3(21,71,109)
6137
			c.Material = "Neon"
6138
			if c:FindFirstChildOfClass("ParticleEmitter") then
6139
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
6140
			end
6141
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
6142
			c:remove()
6143
		end
6144
	end
6145
end
6146
6147
--//=================================\\
6148
--\\=================================//
6149
6150
6151
6152
6153
6154
--//====================================================\\--
6155
--||			  		 END OF SCRIPT
6156
--\\====================================================//--