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