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