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