View difference between Paste ID: ajGe84Zs and ka96xm4a
SHOW: | | - or go back to the newest paste.
1-
script.Name = "Banisher Gun V3 / 1"
1+
2
--||			   EDIT BY VOYQGO
3-
--||			   CREATED BY SHACKLUSTER
3+
4
5
script:ClearAllChildren()
6
wait(0.2)
7
8
Player = game:GetService("Players").LocalPlayer
9
PlayerGui = Player.PlayerGui
10
Cam = workspace.CurrentCamera
11
Backpack = Player.Backpack
12
Character = Player.Character
13
Humanoid = Character.Humanoid
14
Mouse = Player:GetMouse()
15
RootPart = Character["HumanoidRootPart"]
16
Torso = Character["Torso"]
17
Head = Character["Head"]
18
RightArm = Character["Right Arm"]
19
LeftArm = Character["Left Arm"]
20
RightLeg = Character["Right Leg"]
21
LeftLeg = Character["Left Leg"]
22
RootJoint = RootPart["RootJoint"]
23
Neck = Torso["Neck"]
24
RightShoulder = Torso["Right Shoulder"]
25
LeftShoulder = Torso["Left Shoulder"]
26
RightHip = Torso["Right Hip"]
27
LeftHip = Torso["Left Hip"]
28
local TIME = 0
29
local sick = Instance.new("Sound",Torso)
30
31
IT = Instance.new
32
CF = CFrame.new
33
VT = Vector3.new
34
RAD = math.rad
35
C3 = Color3.new
36
UD2 = UDim2.new
37
BRICKC = BrickColor.new
38
ANGLES = CFrame.Angles
39
EULER = CFrame.fromEulerAnglesXYZ
40
COS = math.cos
41
ACOS = math.acos
42
SIN = math.sin
43
ASIN = math.asin
44
ABS = math.abs
45
MRANDOM = math.random
46
FLOOR = math.floor
47
48
--//=================================\\
49
--|| 	      USEFUL VALUES
50
--\\=================================//
51
52
Animation_Speed = 3
53
local FORCERESET = false
54
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
55
local Speed = 16
56
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
57
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
58
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
59
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
60
local DAMAGEMULTIPLIER = 1
61
local ANIM = "Idle"
62
local ATTACK = false
63
local EQUIPPED = false
64
local HOLD = false
65
local COMBO = 1
66
local Rooted = false
67
local SINE = 0
68
local KEYHOLD = false
69
local CHANGE = 2 / Animation_Speed
70
local WALKINGANIM = false
71
local VALUE1 = false
72
local VALUE2 = false
73
local ROBLOXIDLEANIMATION = IT("Animation")
74
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
75
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
76
--ROBLOXIDLEANIMATION.Parent = Humanoid
77
local WEAPONGUI = IT("ScreenGui", PlayerGui)
78
WEAPONGUI.Name = "BanishV3Gui"
79
local Weapon = IT("Model")
80
Weapon.Name = "Adds"
81
local Effects = IT("Folder", Weapon)
82
Effects.Name = "Effects"
83
local ANIMATOR = Humanoid.Animator
84
local ANIMATE = Character:FindFirstChild("Animate")
85
local UNANCHOR = true
86
local TOBANISH = {}
87
script.Parent = PlayerGui
88
89
--//=================================\\
90
--\\=================================//
91
92
93
--//=================================\\
94
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
95
--\\=================================//
96
97
ArtificialHB = Instance.new("BindableEvent", script)
98
ArtificialHB.Name = "ArtificialHB"
99
100
script:WaitForChild("ArtificialHB")
101
102
frame = Frame_Speed
103
tf = 0
104
allowframeloss = false
105
tossremainder = false
106
lastframe = tick()
107
script.ArtificialHB:Fire()
108
109
game:GetService("RunService").Heartbeat:connect(function(s, p)
110
	tf = tf + s
111
	if tf >= frame then
112
		if allowframeloss then
113
			script.ArtificialHB:Fire()
114
			lastframe = tick()
115
		else
116
			for i = 1, math.floor(tf / frame) do
117
				script.ArtificialHB:Fire()
118
			end
119
		lastframe = tick()
120
		end
121
		if tossremainder then
122
			tf = 0
123
		else
124
			tf = tf - frame * math.floor(tf / frame)
125
		end
126
	end
127
end)
128
129
--//=================================\\
130
--\\=================================//
131
132
--//=================================\\
133
--|| 	      SOME FUNCTIONS
134
--\\=================================//
135
136
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
137
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
138
end
139
140
function PositiveAngle(NUMBER)
141
	if NUMBER >= 0 then
142
		NUMBER = 0
143
	end
144
	return NUMBER
145
end
146
147
function NegativeAngle(NUMBER)
148
	if NUMBER <= 0 then
149
		NUMBER = 0
150
	end
151
	return NUMBER
152
end
153
154
function Swait(NUMBER)
155
	if NUMBER == 0 or NUMBER == nil then
156
		ArtificialHB.Event:wait()
157
	else
158
		for i = 1, NUMBER do
159
			ArtificialHB.Event:wait()
160
		end
161
	end
162
end
163
164
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
165
	local NEWMESH = IT(MESH)
166
	if MESH == "SpecialMesh" then
167
		NEWMESH.MeshType = MESHTYPE
168
		if MESHID ~= "nil" and MESHID ~= "" then
169
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
170
		end
171
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
172
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
173
		end
174
	end
175
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
176
	NEWMESH.Scale = SCALE
177
	NEWMESH.Parent = PARENT
178
	return NEWMESH
179
end
180
181
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
182
	local NEWPART = IT("Part")
183
	NEWPART.formFactor = FORMFACTOR
184
	NEWPART.Reflectance = REFLECTANCE
185
	NEWPART.Transparency = TRANSPARENCY
186
	NEWPART.CanCollide = false
187
	NEWPART.Locked = true
188
	NEWPART.Anchored = true
189
	if ANCHOR == false then
190
		NEWPART.Anchored = false
191
	end
192
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
193
	NEWPART.Name = NAME
194
	NEWPART.Size = SIZE
195
	NEWPART.Position = Torso.Position
196
	NEWPART.Material = MATERIAL
197
	NEWPART:BreakJoints()
198
	NEWPART.Parent = PARENT
199
	return NEWPART
200
end
201
202
	local function weldBetween(a, b)
203
	    local weldd = Instance.new("ManualWeld")
204
	    weldd.Part0 = a
205
	    weldd.Part1 = b
206
	    weldd.C0 = CFrame.new()
207
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
208
	    weldd.Parent = a
209
	    return weldd
210
	end
211
212
213
function QuaternionFromCFrame(cf)
214
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
215
	local trace = m00 + m11 + m22
216
	if trace > 0 then 
217
		local s = math.sqrt(1 + trace)
218
		local recip = 0.5 / s
219
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
220
	else
221
		local i = 0
222
		if m11 > m00 then
223
			i = 1
224
		end
225
		if m22 > (i == 0 and m00 or m11) then
226
			i = 2
227
		end
228
		if i == 0 then
229
			local s = math.sqrt(m00 - m11 - m22 + 1)
230
			local recip = 0.5 / s
231
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
232
		elseif i == 1 then
233
			local s = math.sqrt(m11 - m22 - m00 + 1)
234
			local recip = 0.5 / s
235
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
236
		elseif i == 2 then
237
			local s = math.sqrt(m22 - m00 - m11 + 1)
238
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
239
		end
240
	end
241
end
242
 
243
function QuaternionToCFrame(px, py, pz, x, y, z, w)
244
	local xs, ys, zs = x + x, y + y, z + z
245
	local wx, wy, wz = w * xs, w * ys, w * zs
246
	local xx = x * xs
247
	local xy = x * ys
248
	local xz = x * zs
249
	local yy = y * ys
250
	local yz = y * zs
251
	local zz = z * zs
252
	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))
253
end
254
 
255
function QuaternionSlerp(a, b, t)
256
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
257
	local startInterp, finishInterp;
258
	if cosTheta >= 0.0001 then
259
		if (1 - cosTheta) > 0.0001 then
260
			local theta = ACOS(cosTheta)
261
			local invSinTheta = 1 / SIN(theta)
262
			startInterp = SIN((1 - t) * theta) * invSinTheta
263
			finishInterp = SIN(t * theta) * invSinTheta
264
		else
265
			startInterp = 1 - t
266
			finishInterp = t
267
		end
268
	else
269
		if (1 + cosTheta) > 0.0001 then
270
			local theta = ACOS(-cosTheta)
271
			local invSinTheta = 1 / SIN(theta)
272
			startInterp = SIN((t - 1) * theta) * invSinTheta
273
			finishInterp = SIN(t * theta) * invSinTheta
274
		else
275
			startInterp = t - 1
276
			finishInterp = t
277
		end
278
	end
279
	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
280
end
281
282
function Clerp(a, b, t)
283
	local qa = {QuaternionFromCFrame(a)}
284
	local qb = {QuaternionFromCFrame(b)}
285
	local ax, ay, az = a.x, a.y, a.z
286
	local bx, by, bz = b.x, b.y, b.z
287
	local _t = 1 - t
288
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
289
end
290
291
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
292
	local frame = IT("Frame")
293
	frame.BackgroundTransparency = TRANSPARENCY
294
	frame.BorderSizePixel = BORDERSIZEPIXEL
295
	frame.Position = POSITION
296
	frame.Size = SIZE
297
	frame.BackgroundColor3 = COLOR
298
	frame.BorderColor3 = BORDERCOLOR
299
	frame.Name = NAME
300
	frame.Parent = PARENT
301
	return frame
302
end
303
304
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
305
	local label = IT("TextLabel")
306
	label.BackgroundTransparency = 1
307
	label.Size = UD2(1, 0, 1, 0)
308
	label.Position = UD2(0, 0, 0, 0)
309
	label.TextColor3 = TEXTCOLOR
310
	label.TextStrokeTransparency = STROKETRANSPARENCY
311
	label.TextTransparency = TRANSPARENCY
312
	label.FontSize = TEXTFONTSIZE
313
	label.Font = TEXTFONT
314
	label.BorderSizePixel = BORDERSIZEPIXEL
315
	label.TextScaled = false
316
	label.Text = TEXT
317
	label.Name = NAME
318
	label.Parent = PARENT
319
	return label
320
end
321
322
function NoOutlines(PART)
323
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
324
end
325
326
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
327
	local NEWWELD = IT(TYPE)
328
	NEWWELD.Part0 = PART0
329
	NEWWELD.Part1 = PART1
330
	NEWWELD.C0 = C0
331
	NEWWELD.C1 = C1
332
	NEWWELD.Parent = PARENT
333
	return NEWWELD
334
end
335
336
local S = IT("Sound")
337
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
338
	local NEWSOUND = nil
339
	coroutine.resume(coroutine.create(function()
340
		NEWSOUND = S:Clone()
341
		NEWSOUND.Parent = PARENT
342
		NEWSOUND.Volume = VOLUME
343
		NEWSOUND.Pitch = PITCH
344
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
345
		NEWSOUND:play()
346
		if DOESLOOP == true then
347
			NEWSOUND.Looped = true
348
		else
349
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
350
			NEWSOUND:remove()
351
		end
352
	end))
353
	return NEWSOUND
354
end
355
356
function CFrameFromTopBack(at, top, back)
357
	local right = top:Cross(back)
358
	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)
359
end
360
361
--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})
362
function WACKYEFFECT(Table)
363
	local TYPE = (Table.EffectType or "Sphere")
364
	local SIZE = (Table.Size or VT(1,1,1))
365
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
366
	local TRANSPARENCY = (Table.Transparency or 0)
367
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
368
	local CFRAME = (Table.CFrame or Torso.CFrame)
369
	local MOVEDIRECTION = (Table.MoveToPos or nil)
370
	local ROTATION1 = (Table.RotationX or 0)
371
	local ROTATION2 = (Table.RotationY or 0)
372
	local ROTATION3 = (Table.RotationZ or 0)
373
	local MATERIAL = (Table.Material or "Neon")
374
	local COLOR = (Table.Color or C3(1,1,1))
375
	local TIME = (Table.Time or 45)
376
	local SOUNDID = (Table.SoundID or nil)
377
	local SOUNDPITCH = (Table.SoundPitch or nil)
378
	local SOUNDVOLUME = (Table.SoundVolume or nil)
379
	coroutine.resume(coroutine.create(function()
380
		local PLAYSSOUND = false
381
		local SOUND = nil
382
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
383
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
384
			PLAYSSOUND = true
385
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
386
		end
387
		EFFECT.Color = COLOR
388
		local MSH = nil
389
		if TYPE == "Sphere" then
390
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
391
		elseif TYPE == "Block" then
392
			MSH = IT("BlockMesh",EFFECT)
393
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
394
		elseif TYPE == "Wave" then
395
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
396
		elseif TYPE == "Ring" then
397
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
398
		elseif TYPE == "Slash" then
399
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
400
		elseif TYPE == "Round Slash" then
401
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
402
		elseif TYPE == "Swirl" then
403
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
404
		elseif TYPE == "Skull" then
405
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
406
		elseif TYPE == "Crystal" then
407
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
408
		end
409
		if MSH ~= nil then
410
			local MOVESPEED = nil
411
			if MOVEDIRECTION ~= nil then
412
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
413
			end
414
			local GROWTH = SIZE - ENDSIZE
415
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
416
			if TYPE == "Block" then
417
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
418
			else
419
				EFFECT.CFrame = CFRAME
420
			end
421
			for LOOP = 1, TIME+1 do
422
				Swait()
423
				MSH.Scale = MSH.Scale - GROWTH/TIME
424
				if TYPE == "Wave" then
425
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
426
				end
427
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
428
				if TYPE == "Block" then
429
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
430
				else
431
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
432
				end
433
				if MOVEDIRECTION ~= nil then
434
					local ORI = EFFECT.Orientation
435
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
436
					EFFECT.Orientation = ORI
437
				end
438
			end
439
			if PLAYSSOUND == false then
440
				EFFECT:remove()
441
			else
442
				SOUND.Stopped:Connect(function()
443
					EFFECT:remove()
444
				end)
445
			end
446
		else
447
			if PLAYSSOUND == false then
448
				EFFECT:remove()
449
			else
450
				repeat Swait() until SOUND.Playing == false
451
				EFFECT:remove()
452
			end
453
		end
454
	end))
455
end
456
457
function MakeForm(PART,TYPE)
458
	if TYPE == "Cyl" then
459
		local MSH = IT("CylinderMesh",PART)
460
	elseif TYPE == "Ball" then
461
		local MSH = IT("SpecialMesh",PART)
462
		MSH.MeshType = "Sphere"
463
	elseif TYPE == "Wedge" then
464
		local MSH = IT("SpecialMesh",PART)
465
		MSH.MeshType = "Wedge"
466
	end
467
end
468
469
function SpawnTrail(FROM,TO,BIG)
470
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
471
	MakeForm(TRAIL,"Cyl")
472
	local DIST = (FROM - TO).Magnitude
473
	if BIG == true then
474
		TRAIL.Size = VT(0.5,DIST,0.5)
475
	else
476
		TRAIL.Size = VT(0.25,DIST,0.25)
477
	end
478
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
479
	coroutine.resume(coroutine.create(function()
480
		for i = 1, 5 do
481
			Swait()
482
			TRAIL.Transparency = TRAIL.Transparency + 0.1
483
		end
484
		TRAIL:remove()
485
	end))
486
end
487
488
Debris = game:GetService("Debris")
489
490
function CastProperRay(StartPos, EndPos, Distance, Ignore)
491
	local DIRECTION = CF(StartPos,EndPos).lookVector
492
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
493
end
494
495
function turnto(position)
496
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
497
end
498
499
--//=================================\\
500
--||	     WEAPON CREATION
501
--\\=================================//
502
503
local Particle = IT("ParticleEmitter",nil)
504
Particle.Enabled = false
505
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
506
Particle.LightEmission = 0.5
507
Particle.Rate = 150
508
Particle.ZOffset = 0.2
509
Particle.Rotation = NumberRange.new(-180, 180)
510
Particle.RotSpeed = NumberRange.new(-180, 180)
511
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
512
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
513
514
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
515
function ParticleEmitter(Table)
516
	local PRTCL = Particle:Clone()
517
	local Speed = Table.Speed or 5
518
	local Drag = Table.Drag or 0
519
	local Size1 = Table.Size1 or 1
520
	local Size2 = Table.Size2 or 5
521
	local Lifetime1 = Table.Lifetime1 or 1
522
	local Lifetime2 = Table.Lifetime2 or 1.5
523
	local Parent = Table.Parent or Torso
524
	local Emit = Table.Emit or 100
525
	local Offset = Table.Offset or 360
526
	local Acel = Table.Acel or VT(0,0,0)
527
	local Enabled = Table.Enabled or false
528
	PRTCL.Parent = Parent
529
	PRTCL.Size = NumberSequence.new(Size1,Size2)
530
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
531
	PRTCL.Speed = NumberRange.new(Speed)
532
	PRTCL.VelocitySpread = Offset
533
	PRTCL.Drag = Drag
534
	PRTCL.Acceleration = Acel
535
	if Enabled == false then
536
		PRTCL:Emit(Emit)
537
		Debris:AddItem(PRTCL,Lifetime2)
538
	else
539
		PRTCL.Enabled = true
540
	end
541
	return PRTCL
542
end
543
544
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
545
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
546
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
547
MakeForm(Part,"Wedge")
548
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
549
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
550
MakeForm(Part,"Wedge")
551
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
552
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
553
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
554
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
555
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
556
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
557
MakeForm(Part,"Cyl")
558
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
559
for i = 1, 8 do
560
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
561
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
562
end
563
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
564
MakeForm(Part,"Cyl")
565
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
566
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
567
MakeForm(Part,"Ball")
568
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
569
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
570
MakeForm(Part,"Wedge")
571
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
572
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
573
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
574
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
575
MakeForm(Part,"Cyl")
576
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
577
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
578
MakeForm(Part,"Cyl")
579
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
580
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
581
MakeForm(Part,"Cyl")
582
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
583
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
584
MakeForm(Part,"Wedge")
585
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
586
local LASTPART = Handle
587
for i = 1, 10 do
588
	if LASTPART == Handle then
589
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
590
		LASTPART = Part
591
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
592
	else
593
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
594
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
595
		LASTPART = Part
596
	end
597
end
598
599
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
600
MakeForm(Barrel,"Cyl")
601
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
602
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
603
MakeForm(Part,"Cyl")
604
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
605
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
606
MakeForm(Part,"Wedge")
607
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
608
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
609
MakeForm(Hole,"Cyl")
610
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
611
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
612
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
613
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
614
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
615
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
616
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
617
coroutine.resume(coroutine.create(function()
618
	while wait() do
619
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
620
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
621
	end
622
end))
623
624
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
625
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
626
627
for _, c in pairs(Weapon:GetDescendants()) do
628
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
629
		c.Material = "Glass"
630
		c.Color = C3(0,0,0)
631
	elseif c.ClassName == "Part" and c.Name == "Eye" then
632
		c.Color = C3(1,0,0)
633
		c.Material = "Neon"
634
	end
635
end
636
637
Weapon.Parent = Character
638
for _, c in pairs(Weapon:GetChildren()) do
639
	if c.ClassName == "Part" then
640
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
641
	end
642
end
643
644
local SKILLTEXTCOLOR = C3(1,0,0)
645
local SKILLFONT = "Antique"
646
local SKILLTEXTSIZE = 7
647
648
Humanoid.Died:connect(function()
649
	ATTACK = true
650
end)
651
652
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
653
--[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
654
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
655
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
656
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
657
]]
658
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
659
--[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
660
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
661
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
662
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
663
]]
664
function printbye(Name)
665
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
666
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
667
end
668
669
workspace.ChildAdded:connect(function(instance)
670
    for BANISH = 1, #TOBANISH do
671
		if TOBANISH[BANISH] ~= nil then
672
			if instance.Name == TOBANISH[BANISH] then
673
				coroutine.resume(coroutine.create(function()
674
					printbye(instance.Name)
675
					instance:ClearAllChildren()
676
					Debris:AddItem(instance,0.0005)
677
				end))
678
			end
679
		end
680
	end
681
end)
682
683
--//=================================\\
684
--||			DAMAGING
685
--\\=================================//
686
687
function Banish(Foe)
688
	if Foe then
689
		coroutine.resume(coroutine.create(function()
690
			--if game.Players:FindFirstChild(Foe.Name) then
691
				table.insert(TOBANISH,Foe.Name)
692
				printbye(Foe.Name)
693
			--end
694
			Foe.Archivable = true
695
			local CLONE = Foe:Clone()
696
			Foe:Destroy()
697
			CLONE.Parent = Effects
698
			CLONE:BreakJoints()
699
			local MATERIALS = {"Glass","Neon"}
700
			for _, c in pairs(CLONE:GetDescendants()) do
701
				if c:IsA("BasePart") then
702
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
703
 						CreateSound(340722848, c, 10, 1, false)
704
					end
705
					c.Anchored = true
706
					c.Transparency = c.Transparency + 0.2
707
					c.Material = MATERIALS[MRANDOM(1,2)]
708
					c.Color = C3(1,0,0)
709
					if c.ClassName == "MeshPart" then
710
						c.TextureID = ""
711
					end
712
					if c:FindFirstChildOfClass("SpecialMesh") then
713
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
714
					end
715
					if c:FindFirstChildOfClass("Decal") then
716
						c:FindFirstChildOfClass("Decal"):remove()
717
					end
718
					c.Name = "Banished"
719
					c.CanCollide = false
720
				else
721
					c:remove()
722
				end
723
			end
724
			local A = false
725
			for i = 1, 35 do
726
				if A == false then
727
					A = true
728
				elseif A == true then
729
					A = false
730
				end
731
				for _, c in pairs(CLONE:GetDescendants()) do
732
					if c:IsA("BasePart") then
733
						c.Anchored = true
734
						c.Material = MATERIALS[MRANDOM(1,2)]
735
						c.Transparency = c.Transparency + 0.8/35
736
						if A == false then
737
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
738
						elseif A == true then
739
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
740
						end
741
					end
742
				end
743
				Swait()
744
			end
745
			CLONE:remove()
746
		end))
747
	end
748
end
749
750
function ApplyAoE(POSITION,RANGE,ISBANISH)
751
	local CHILDREN = workspace:GetDescendants()
752
	for index, CHILD in pairs(CHILDREN) do
753
		if CHILD.ClassName == "Model" and CHILD ~= Character then
754
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
755
			if HUM then
756
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
757
				if TORSO then
758
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
759
						if ISBANISH == true then
760
							Banish(CHILD)
761
						else
762
							if ISBANISH == "Gravity" then
763
								HUM.PlatformStand = true
764
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
765
									local grav = Instance.new("BodyPosition",TORSO)
766
									grav.D = 15
767
									grav.P = 20000
768
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
769
									grav.position = TORSO.Position
770
									grav.Name = "V3BanishForce"..Player.Name
771
								else
772
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
773
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
774
								end
775
							else
776
								HUM.PlatformStand = false
777
							end
778
						end
779
					elseif ISBANISH == "Gravity" then
780
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
781
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
782
							HUM.PlatformStand = false
783
						end
784
					end
785
				end
786
			end
787
		end
788
	end
789
end
790
791
--//=================================\\
792
--||	ATTACK FUNCTIONS AND STUFF
793
--\\=================================//
794
795
function Intro()
796
	ATTACK = true
797
	Rooted = true
798
	local HITFLOOR, HITPOS = Raycast(VT(0,250,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 500, Character)
799
	RootPart.CFrame = CF(HITPOS+VT(0,3,0))
800
	local ORB = CreatePart(3, Head, "Cobblestone", 0, 0, "Really red", "Seal", VT(1,1,1))
801
	MakeForm(ORB,"Ball")
802
	local ORB2 = CreatePart(3, Head, "Neon", 0, 0.9, "Really red", "Seal", VT(1,1,1)*1.1)
803
	MakeForm(ORB2,"Ball")
804
	ORB.CFrame = CF(HITPOS+VT(0,3,0))
805
	ORB2.CFrame = CF(HITPOS+VT(0,3,0))
806
	for _, c in pairs(Character:GetChildren()) do
807
		if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
808
			c.Transparency = 1
809
		end
810
	end
811
	for i=0, 1, 0.1 / Animation_Speed do
812
		Swait()
813
		ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
814
		ORB2.CFrame = ORB.CFrame
815
		for _, c in pairs(Character:GetChildren()) do
816
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
817
				c.Transparency = 1
818
			elseif c.ClassName == "Accessory" then
819
				c:remove()
820
			end
821
		end
822
		for _, c in pairs(SCYTHE:GetChildren()) do
823
			if c.ClassName == "Part" then
824
				c.Transparency = 1
825
				c.Color = C3(0,0,0)
826
			end
827
		end
828
		Player:ClearCharacterAppearance()
829
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
830
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
831
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
832
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.75, 0.25, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
833
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
834
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
835
	end
836
	repeat 
837
		Swait() 
838
		ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
839
		ORB2.CFrame = ORB.CFrame
840
	until sick.TimePosition > 12
841
	CreateSound("134978657", Effects, 5, 1)
842
	repeat 
843
		Swait()
844
 		if MRANDOM(1,5) == 1 then 
845
			local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
846
			SPHERE.CFrame = CF(HITPOS) * CF(MRANDOM(-15,15),-5,MRANDOM(-15,15))
847
			MakeForm(SPHERE,"Ball")
848
			coroutine.resume(coroutine.create(function()
849
				for i = 1, 100 do
850
					Swait()
851
					SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
852
					SPHERE.Transparency = (i/100)
853
				end
854
				SPHERE:remove()
855
			end))
856
		end
857
		ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
858
		ORB2.CFrame = ORB.CFrame
859
		CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
860
	until sick.TimePosition > 24
861
	CreateSound("135017578", Effects, 5, 1)
862
	repeat 
863
		Swait()
864
 		if MRANDOM(1,5) == 1 then 
865
			local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
866
			SPHERE.CFrame = CF(HITPOS) * CF(MRANDOM(-15,15),-5,MRANDOM(-15,15))
867
			MakeForm(SPHERE,"Ball")
868
			coroutine.resume(coroutine.create(function()
869
				for i = 1, 100 do
870
					Swait()
871
					SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
872
					SPHERE.Transparency = (i/100)
873
				end
874
				SPHERE:remove()
875
			end))
876
		end
877
		ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
878
		ORB2.CFrame = ORB.CFrame
879
		if MRANDOM(1,5) == 1 then 
880
			CreateRing(VT(0,0,0),false,0,MRANDOM(150,250),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0))
881
		end
882
		if MRANDOM(1,5) == 1 then 
883
			CreateRing(VT(0,0,0),false,0,MRANDOM(15,25),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(3,3,0))
884
		end
885
		CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
886
	until sick.TimePosition > 34.5
887
	repeat 
888
		Swait() 
889
		ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
890
		ORB2.CFrame = ORB.CFrame
891
		MagicSphere(VT(0,0,0),15,ORB.CFrame,"Really red",VT(1,15,1))
892
		if MRANDOM(1,5) == 1 then 
893
			CreateRing(VT(0,0,0),false,0,MRANDOM(150,250),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0))
894
		end
895
		CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
896
	until sick.TimePosition > 36
897
	MagicSphere(VT(0,0,0),15,CF(HITPOS),"Really red",VT(5,5,5))
898
	MagicSphere(VT(0,0,0),15,CF(HITPOS),"Really red",VT(2.5,2.5,2.5))
899
	MagicSphere(VT(0,0,0),15,CF(HITPOS),"Really red",VT(0.5,0.5,0.5))
900
	CreateSound("2691586", Effects, 5, 1)
901
	CreateSound("181384451", Effects, 10, 0.6)
902
	ORB:remove()
903
	ORB2:remove()
904
	tecks2.TextTransparency = 0
905
	repeat
906
		Swait()
907
		for _, c in pairs(Character:GetChildren()) do
908
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
909
				c.Transparency = 0
910
				c.Color = C3(0,0,0)
911
			elseif c.ClassName == "Accessory" then
912
				c:remove()
913
			end
914
		end
915
		for _, c in pairs(Weapon:GetChildren()) do
916
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
917
				c.Transparency = 0
918
			end
919
		end
920
		for _, c in pairs(HANDFOLDER:GetChildren()) do
921
			if c.ClassName == "Part" then
922
				c.Transparency = 0
923
				c.Color = C3(0,0,0)
924
			end
925
		end
926
		CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
927
		--CreateRing(VT(0,0,0),false,0,150,CF(HITPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(0.2,0.2,0))
928
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
929
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
930
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
931
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
932
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
933
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
934
	until sick.TimePosition > 42
935
	HandleWeld.Part0 = RightArm
936
	for i=0, 1, 0.1 / Animation_Speed do
937
		Swait()
938
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
939
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
940
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
941
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
942
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
943
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
944
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
945
	end
946
	for i = 1, 100 do
947
		Swait()
948
		CreateRing(VT(0,0,0),false,0,150,HitBox.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(0.2,0.2,0))
949
		for _, c in pairs(SCYTHE:GetChildren()) do
950
			if c.ClassName == "Part" then
951
				if c.Material ~= Enum.Material.Neon then
952
					c.Transparency = c.Transparency - 0.01
953
				end
954
				c.Color = C3(0,0,0)
955
			end
956
		end
957
	end
958
	HandleWeld.Part0 = Torso
959
	TRANSFORMED = true
960
	ATTACK = false
961
	Rooted = false
962
end
963
function Banisher_Bullet()
964
	ATTACK = true
965
	Rooted = false
966
	for i=0, 0.4, 0.1 / Animation_Speed do
967
		Swait()
968
		turnto(Mouse.Hit.p)
969
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
970
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
971
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
972
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
973
		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)
974
		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)
975
	end
976
	repeat
977
		for i=0, 0.2, 0.1 / Animation_Speed do
978
			Swait()
979
			turnto(Mouse.Hit.p)
980
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
981
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
982
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
983
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
984
			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)
985
			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)
986
		end
987
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
988
		SpawnTrail(Hole.Position,POS)
989
		if HIT ~= nil then
990
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
991
				Banish(HIT.Parent)
992
			end
993
		end
994
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
995
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
996
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
997
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
998
		for i=0, 0.3, 0.1 / Animation_Speed do
999
			Swait()
1000
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1001
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1002
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1003
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1004
			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)
1005
			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)
1006
		end
1007
	until KEYHOLD == false
1008
	ATTACK = false
1009
	Rooted = false
1010
end
1011
1012
function AttackTemplate()
1013
	ATTACK = true
1014
	Rooted = false
1015
	for i=0, 1, 0.1 / Animation_Speed do
1016
		Swait()
1017
		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)
1018
		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)
1019
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1020
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1021
		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)
1022
		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)
1023
	end
1024
	ATTACK = false
1025
	Rooted = false
1026
end
1027
1028
--//=================================\\
1029
--||	  ASSIGN THINGS TO KEYS
1030
--\\=================================//
1031
1032
function MouseDown(Mouse)
1033
	if ATTACK == false then
1034
	end
1035
end
1036
1037
function MouseUp(Mouse)
1038
HOLD = false
1039
end
1040
1041
function KeyDown(Key)
1042
	KEYHOLD = true
1043
	if Key == "z" and ATTACK == false then
1044
		Banisher_Bullet()
1045
	end
1046
1047
	if Key == "b" and ATTACK == false then
1048
	end
1049
1050
	if Key == "c" and ATTACK == false then
1051
	end
1052
1053
	if Key == "v" and ATTACK == false then
1054
	end
1055
1056
	if Key == "x" and ATTACK == false then
1057
	end
1058
end
1059
1060
function KeyUp(Key)
1061
	KEYHOLD = false
1062
end
1063
1064
	Mouse.Button1Down:connect(function(NEWKEY)
1065
		MouseDown(NEWKEY)
1066
	end)
1067
	Mouse.Button1Up:connect(function(NEWKEY)
1068
		MouseUp(NEWKEY)
1069
	end)
1070
	Mouse.KeyDown:connect(function(NEWKEY)
1071
		KeyDown(NEWKEY)
1072
	end)
1073
	Mouse.KeyUp:connect(function(NEWKEY)
1074
		KeyUp(NEWKEY)
1075
	end)
1076
1077
--//=================================\\
1078
--\\=================================//
1079
1080
1081
function unanchor()
1082
	if UNANCHOR == true then
1083
		g = Character:GetChildren()
1084
		for i = 1, #g do
1085
			if g[i].ClassName == "Part" then
1086
				g[i].Anchored = false
1087
			end
1088
		end
1089
	end
1090
end
1091
1092
1093
--//=================================\\
1094
--||	WRAP THE WHOLE SCRIPT UP
1095
--\\=================================//
1096
1097
Humanoid.Changed:connect(function(Jump)
1098
	if Jump == "Jump" and (Disable_Jump == true) then
1099
		Humanoid.Jump = false
1100
	end
1101
end)
1102
1103
local CONNECT = nil
1104
1105
while true do
1106
	Swait()
1107
	ANIMATE.Parent = nil
1108
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1109
		Humanoid = IT("Humanoid",Character)
1110
	end
1111
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1112
	    v:Stop();
1113
	end
1114
	SINE = SINE + CHANGE
1115
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1116
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1117
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1118
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1119
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1120
		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)
1121
		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)
1122
		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)
1123
		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)
1124
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1125
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1126
		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)
1127
		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)
1128
		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)
1129
	end
1130
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1131
		ANIM = "Jump"
1132
		if ATTACK == false then
1133
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1134
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1135
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1136
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1137
			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)
1138
			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)
1139
	    end
1140
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1141
		ANIM = "Fall"
1142
		if ATTACK == false then
1143
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1144
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1145
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1146
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1147
			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)
1148
			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)
1149
		end
1150
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1151
		ANIM = "Idle"
1152
		if ATTACK == false then
1153
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
1154
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
1155
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1156
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1157
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1158
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1159
		end
1160
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1161
		ANIM = "Walk"
1162
		if ATTACK == false then
1163
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1164
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1165
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1166
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
1167
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
1168
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
1169
		end
1170
	end
1171
	unanchor()
1172
	Humanoid.MaxHealth = "inf"
1173
	Humanoid.Health = "inf"
1174
	if Rooted == false then
1175
		Disable_Jump = false
1176
		Humanoid.WalkSpeed = Speed
1177
	elseif Rooted == true then
1178
		Disable_Jump = true
1179
		Humanoid.WalkSpeed = 0
1180
	end
1181
	sick.Parent = Torso
1182
	sick:resume()
1183
	sick.Volume = 5
1184
	sick.Pitch = 1
1185
	sick.SoundId = "rbxassetid://924339757"
1186
	sick.Name = "BanishV3Music"
1187
end
1188
1189
--//=================================\\
1190
--\\=================================//
1191
1192
1193
1194
1195
1196
--//====================================================\\--
1197
--||			  		 END OF SCRIPT
1198
--\\====================================================//--