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