View difference between Paste ID: rDSLkYbz and UmaEyA0r
SHOW: | | - or go back to the newest paste.
1
script.Name = "Banisher Gun V3 / 1"
2
--//====================================================\\--
3-
--||			   CREATED BY SHACKLUSTER
3+
--||			   EDIT BY 	VOYQGO
4
--\\====================================================//--
5
6
script:ClearAllChildren()
7
wait(0.2)
8
9
Player = game:GetService("Players").LocalPlayer
10
PlayerGui = Player.PlayerGui
11
Cam = workspace.CurrentCamera
12
Backpack = Player.Backpack
13
Character = Player.Character
14
Humanoid = Character.Humanoid
15
Mouse = Player:GetMouse()
16
RootPart = Character["HumanoidRootPart"]
17
Torso = Character["Torso"]
18
Head = Character["Head"]
19
RightArm = Character["Right Arm"]
20
LeftArm = Character["Left Arm"]
21
RightLeg = Character["Right Leg"]
22
LeftLeg = Character["Left Leg"]
23
RootJoint = RootPart["RootJoint"]
24
Neck = Torso["Neck"]
25
RightShoulder = Torso["Right Shoulder"]
26
LeftShoulder = Torso["Left Shoulder"]
27
RightHip = Torso["Right Hip"]
28
LeftHip = Torso["Left Hip"]
29
local TIME = 0
30
local sick = Instance.new("Sound",Torso)
31
32
IT = Instance.new
33
CF = CFrame.new
34
VT = Vector3.new
35
RAD = math.rad
36
C3 = Color3.new
37
UD2 = UDim2.new
38
BRICKC = BrickColor.new
39
ANGLES = CFrame.Angles
40
EULER = CFrame.fromEulerAnglesXYZ
41
COS = math.cos
42
ACOS = math.acos
43
SIN = math.sin
44
ASIN = math.asin
45
ABS = math.abs
46
MRANDOM = math.random
47
FLOOR = math.floor
48
--//=================================\\
49
--|| 	      USEFUL VALUES
50
--\\=================================//
51
52
Animation_Speed = 3
53
local FORCERESET = false
54
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
55
local Speed = 16
56
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
57
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
58
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
59
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
60
local DAMAGEMULTIPLIER = 1
61
local ANIM = "Idle"
62
local ATTACK = false
63
local EQUIPPED = false
64
local HOLD = false
65
local COMBO = 1
66
local Rooted = false
67
local SINE = 0
68
local KEYHOLD = false
69
local CHANGE = 2 / Animation_Speed
70
local WALKINGANIM = false
71
local VALUE1 = false
72
local VALUE2 = false
73
local ROBLOXIDLEANIMATION = IT("Animation")
74
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
75
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
76
--ROBLOXIDLEANIMATION.Parent = Humanoid
77
local WEAPONGUI = IT("ScreenGui", PlayerGui)
78
WEAPONGUI.Name = "BanishV3Gui"
79
local Weapon = IT("Model")
80
Weapon.Name = "Adds"
81
local Effects = IT("Folder", Weapon)
82
Effects.Name = "Effects"
83
local ANIMATOR = Humanoid.Animator
84
local ANIMATE = Character:FindFirstChild("Animate")
85
local UNANCHOR = true
86
local TOBANISH = {}
87
script.Parent = PlayerGui
88
89
--//=================================\\
90
--\\=================================//
91
92
93
--//=================================\\
94
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
95
--\\=================================//
96
97
ArtificialHB = Instance.new("BindableEvent", script)
98
ArtificialHB.Name = "ArtificialHB"
99
100
script:WaitForChild("ArtificialHB")
101
102
frame = Frame_Speed
103
tf = 0
104
allowframeloss = false
105
tossremainder = false
106
lastframe = tick()
107
script.ArtificialHB:Fire()
108
109
game:GetService("RunService").Heartbeat:connect(function(s, p)
110
	tf = tf + s
111
	if tf >= frame then
112
		if allowframeloss then
113
			script.ArtificialHB:Fire()
114
			lastframe = tick()
115
		else
116
			for i = 1, math.floor(tf / frame) do
117
				script.ArtificialHB:Fire()
118
			end
119
		lastframe = tick()
120
		end
121
		if tossremainder then
122
			tf = 0
123
		else
124
			tf = tf - frame * math.floor(tf / frame)
125
		end
126
	end
127
end)
128
129
--//=================================\\
130
--\\=================================//
131
132
--//=================================\\
133
--|| 	      SOME FUNCTIONS
134
--\\=================================//
135
136
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
137
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
138
end
139
140
function PositiveAngle(NUMBER)
141
	if NUMBER >= 0 then
142
		NUMBER = 0
143
	end
144
	return NUMBER
145
end
146
147
function NegativeAngle(NUMBER)
148
	if NUMBER <= 0 then
149
		NUMBER = 0
150
	end
151
	return NUMBER
152
end
153
154
function Swait(NUMBER)
155
	if NUMBER == 0 or NUMBER == nil then
156
		ArtificialHB.Event:wait()
157
	else
158
		for i = 1, NUMBER do
159
			ArtificialHB.Event:wait()
160
		end
161
	end
162
end
163
164
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
165
	local NEWMESH = IT(MESH)
166
	if MESH == "SpecialMesh" then
167
		NEWMESH.MeshType = MESHTYPE
168
		if MESHID ~= "nil" and MESHID ~= "" then
169
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
170
		end
171
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
172
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
173
		end
174
	end
175
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
176
	NEWMESH.Scale = SCALE
177
	NEWMESH.Parent = PARENT
178
	return NEWMESH
179
end
180
181
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
182
	local NEWPART = IT("Part")
183
	NEWPART.formFactor = FORMFACTOR
184
	NEWPART.Reflectance = REFLECTANCE
185
	NEWPART.Transparency = TRANSPARENCY
186
	NEWPART.CanCollide = false
187
	NEWPART.Locked = true
188
	NEWPART.Anchored = true
189
	if ANCHOR == false then
190
		NEWPART.Anchored = false
191
	end
192
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
193
	NEWPART.Name = NAME
194
	NEWPART.Size = SIZE
195
	NEWPART.Position = Torso.Position
196
	NEWPART.Material = MATERIAL
197
	NEWPART:BreakJoints()
198
	NEWPART.Parent = PARENT
199
	return NEWPART
200
end
201
202
	local function weldBetween(a, b)
203
	    local weldd = Instance.new("ManualWeld")
204
	    weldd.Part0 = a
205
	    weldd.Part1 = b
206
	    weldd.C0 = CFrame.new()
207
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
208
	    weldd.Parent = a
209
	    return weldd
210
	end
211
212
213
function QuaternionFromCFrame(cf)
214
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
215
	local trace = m00 + m11 + m22
216
	if trace > 0 then 
217
		local s = math.sqrt(1 + trace)
218
		local recip = 0.5 / s
219
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
220
	else
221
		local i = 0
222
		if m11 > m00 then
223
			i = 1
224
		end
225
		if m22 > (i == 0 and m00 or m11) then
226
			i = 2
227
		end
228
		if i == 0 then
229
			local s = math.sqrt(m00 - m11 - m22 + 1)
230
			local recip = 0.5 / s
231
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
232
		elseif i == 1 then
233
			local s = math.sqrt(m11 - m22 - m00 + 1)
234
			local recip = 0.5 / s
235
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
236
		elseif i == 2 then
237
			local s = math.sqrt(m22 - m00 - m11 + 1)
238
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
239
		end
240
	end
241
end
242
 
243
function QuaternionToCFrame(px, py, pz, x, y, z, w)
244
	local xs, ys, zs = x + x, y + y, z + z
245
	local wx, wy, wz = w * xs, w * ys, w * zs
246
	local xx = x * xs
247
	local xy = x * ys
248
	local xz = x * zs
249
	local yy = y * ys
250
	local yz = y * zs
251
	local zz = z * zs
252
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
253
end
254
 
255
function QuaternionSlerp(a, b, t)
256
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
257
	local startInterp, finishInterp;
258
	if cosTheta >= 0.0001 then
259
		if (1 - cosTheta) > 0.0001 then
260
			local theta = ACOS(cosTheta)
261
			local invSinTheta = 1 / SIN(theta)
262
			startInterp = SIN((1 - t) * theta) * invSinTheta
263
			finishInterp = SIN(t * theta) * invSinTheta
264
		else
265
			startInterp = 1 - t
266
			finishInterp = t
267
		end
268
	else
269
		if (1 + cosTheta) > 0.0001 then
270
			local theta = ACOS(-cosTheta)
271
			local invSinTheta = 1 / SIN(theta)
272
			startInterp = SIN((t - 1) * theta) * invSinTheta
273
			finishInterp = SIN(t * theta) * invSinTheta
274
		else
275
			startInterp = t - 1
276
			finishInterp = t
277
		end
278
	end
279
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
280
end
281
282
function Clerp(a, b, t)
283
	local qa = {QuaternionFromCFrame(a)}
284
	local qb = {QuaternionFromCFrame(b)}
285
	local ax, ay, az = a.x, a.y, a.z
286
	local bx, by, bz = b.x, b.y, b.z
287
	local _t = 1 - t
288
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
289
end
290
291
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
292
	local frame = IT("Frame")
293
	frame.BackgroundTransparency = TRANSPARENCY
294
	frame.BorderSizePixel = BORDERSIZEPIXEL
295
	frame.Position = POSITION
296
	frame.Size = SIZE
297
	frame.BackgroundColor3 = COLOR
298
	frame.BorderColor3 = BORDERCOLOR
299
	frame.Name = NAME
300
	frame.Parent = PARENT
301
	return frame
302
end
303
304
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
305
	local label = IT("TextLabel")
306
	label.BackgroundTransparency = 1
307
	label.Size = UD2(1, 0, 1, 0)
308
	label.Position = UD2(0, 0, 0, 0)
309
	label.TextColor3 = TEXTCOLOR
310
	label.TextStrokeTransparency = STROKETRANSPARENCY
311
	label.TextTransparency = TRANSPARENCY
312
	label.FontSize = TEXTFONTSIZE
313
	label.Font = TEXTFONT
314
	label.BorderSizePixel = BORDERSIZEPIXEL
315
	label.TextScaled = false
316
	label.Text = TEXT
317
	label.Name = NAME
318
	label.Parent = PARENT
319
	return label
320
end
321
322
function NoOutlines(PART)
323
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
324
end
325
326
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
327
	local NEWWELD = IT(TYPE)
328
	NEWWELD.Part0 = PART0
329
	NEWWELD.Part1 = PART1
330
	NEWWELD.C0 = C0
331
	NEWWELD.C1 = C1
332
	NEWWELD.Parent = PARENT
333
	return NEWWELD
334
end
335
336
local S = IT("Sound")
337
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
338
	local NEWSOUND = nil
339
	coroutine.resume(coroutine.create(function()
340
		NEWSOUND = S:Clone()
341
		NEWSOUND.Parent = PARENT
342
		NEWSOUND.Volume = VOLUME
343
		NEWSOUND.Pitch = PITCH
344
		NEWSOUND.SoundId = "1753701701"..ID
345
		NEWSOUND:play()
346
		if DOESLOOP == true then
347
			NEWSOUND.Looped = true
348
		else
349
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
350
			NEWSOUND:remove()
351
		end
352
	end))
353
	return NEWSOUND
354
end
355
356
function CFrameFromTopBack(at, top, back)
357
	local right = top:Cross(back)
358
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
359
end
360
361
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
362
function WACKYEFFECT(Table)
363
	local TYPE = (Table.EffectType or "Sphere")
364
	local SIZE = (Table.Size or VT(1,1,1))
365
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
366
	local TRANSPARENCY = (Table.Transparency or 0)
367
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
368
	local CFRAME = (Table.CFrame or Torso.CFrame)
369
	local MOVEDIRECTION = (Table.MoveToPos or nil)
370
	local ROTATION1 = (Table.RotationX or 0)
371
	local ROTATION2 = (Table.RotationY or 0)
372
	local ROTATION3 = (Table.RotationZ or 0)
373
	local MATERIAL = (Table.Material or "Neon")
374
	local COLOR = (Table.Color or C3(1,1,1))
375
	local TIME = (Table.Time or 45)
376
	local SOUNDID = (Table.SoundID or nil)
377
	local SOUNDPITCH = (Table.SoundPitch or nil)
378
	local SOUNDVOLUME = (Table.SoundVolume or nil)
379
	coroutine.resume(coroutine.create(function()
380
		local PLAYSSOUND = false
381
		local SOUND = nil
382
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
383
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
384
			PLAYSSOUND = true
385
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
386
		end
387
		EFFECT.Color = COLOR
388
		local MSH = nil
389
		if TYPE == "Sphere" then
390
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
391
		elseif TYPE == "Block" then
392
			MSH = IT("BlockMesh",EFFECT)
393
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
394
		elseif TYPE == "Wave" then
395
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
396
		elseif TYPE == "Ring" then
397
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
398
		elseif TYPE == "Slash" then
399
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
400
		elseif TYPE == "Round Slash" then
401
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
402
		elseif TYPE == "Swirl" then
403
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
404
		elseif TYPE == "Skull" then
405
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
406
		elseif TYPE == "Crystal" then
407
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
408
		end
409
		if MSH ~= nil then
410
			local MOVESPEED = nil
411
			if MOVEDIRECTION ~= nil then
412
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
413
			end
414
			local GROWTH = SIZE - ENDSIZE
415
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
416
			if TYPE == "Block" then
417
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
418
			else
419
				EFFECT.CFrame = CFRAME
420
			end
421
			for LOOP = 1, TIME+1 do
422
				Swait()
423
				MSH.Scale = MSH.Scale - GROWTH/TIME
424
				if TYPE == "Wave" then
425
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
426
				end
427
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
428
				if TYPE == "Block" then
429
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
430
				else
431
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
432
				end
433
				if MOVEDIRECTION ~= nil then
434
					local ORI = EFFECT.Orientation
435
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
436
					EFFECT.Orientation = ORI
437
				end
438
			end
439
			if PLAYSSOUND == false then
440
				EFFECT:remove()
441
			else
442
				SOUND.Stopped:Connect(function()
443
					EFFECT:remove()
444
				end)
445
			end
446
		else
447
			if PLAYSSOUND == false then
448
				EFFECT:remove()
449
			else
450
				repeat Swait() until SOUND.Playing == false
451
				EFFECT:remove()
452
			end
453
		end
454
	end))
455
end
456
457
local asd = Instance.new("ParticleEmitter")
458
asd.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0))
459
asd.LightEmission = .1
460
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
461
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
462
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
463
asd.Transparency = bbb
464
asd.Size = aaa
465
asd.ZOffset = .9
466
asd.Acceleration = Vector3.new(0, -15, 0)
467
asd.LockedToPart = false
468
asd.EmissionDirection = "Back"
469
asd.Lifetime = NumberRange.new(1, 2)
470-
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
470+
asd.Rotation = NumberRange.new(-100, 100)
471
asd.RotSpeed = NumberRange.new(-100, 100)
472
asd.Speed = NumberRange.new(10)
473
asd.Enabled = false
474
asd.VelocitySpread = 999
475
476
function MakeForm(PART,TYPE)
477
	if TYPE == "Cyl" then
478
		local MSH = IT("CylinderMesh",PART)
479
	elseif TYPE == "Ball" then
480
		local MSH = IT("SpecialMesh",PART)
481
		MSH.MeshType = "Sphere"
482
	elseif TYPE == "Wedge" then
483
		local MSH = IT("SpecialMesh",PART)
484
		MSH.MeshType = "Wedge"
485
	end
486
end
487
488
function SpawnTrail(FROM,TO,BIG)
489
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
490
	MakeForm(TRAIL,"Cyl")
491
	local DIST = (FROM - TO).Magnitude
492
	if BIG == true then
493
		TRAIL.Size = VT(0.5,DIST,0.5)
494
	else
495
		TRAIL.Size = VT(0.25,DIST,0.25)
496
	end
497
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
498
	coroutine.resume(coroutine.create(function()
499
		for i = 1, 5 do
500
			Swait()
501
			TRAIL.Transparency = TRAIL.Transparency + 0.1
502
		end
503
		TRAIL:remove()
504
	end))
505
end
506
507
Debris = game:GetService("Debris")
508
509
function CastProperRay(StartPos, EndPos, Distance, Ignore)
510
	local DIRECTION = CF(StartPos,EndPos).lookVector
511
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
512-
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
512+
513
514
function turnto(position)
515
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
516
end
517
518
local EyeSizes={
519
	NumberSequenceKeypoint.new(0,1,0),
520
	NumberSequenceKeypoint.new(1,0,0)
521
}
522
local EyeTrans={
523
	NumberSequenceKeypoint.new(0,0.8,0),
524
	NumberSequenceKeypoint.new(1,1,0)
525
}
526
527
528
local PE=Instance.new("ParticleEmitter",nil)
529
PE.LightEmission=.8
530
PE.Color = ColorSequence.new(BRICKC("Really blue").Color)
531
PE.Size=NumberSequence.new(EyeSizes)
532
PE.Transparency=NumberSequence.new(EyeTrans)
533
PE.Lifetime=NumberRange.new(0.35,1.5)
534
PE.Rotation=NumberRange.new(0,360)
535
PE.Rate=999
536
PE.VelocitySpread = 10000
537
PE.Acceleration = Vector3.new(0,0,0)
538
PE.Drag = 5
539
PE.Speed = NumberRange.new(0,0,0)
540
PE.Texture="http://www.roblox.com/asset/?id=1351966707"
541
PE.ZOffset = -0
542
PE.Name = "PE"
543
PE.Enabled = false
544-
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
544+
545
546-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
546+
function particles(art)
547
	local PARTICLES = PE:Clone()
548
	PARTICLES.Parent = art
549-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.3,0.2),false)
549+
550
551
--//=================================\\
552-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.3,0.3),false)
552+
553
--\\=================================//
554-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.5,0.5),false)
554+
555
local Particle = IT("ParticleEmitter",nil)
556-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.4,0.4,0.4),false)
556+
557
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
558
Particle.LightEmission = 0.5
559
Particle.Rate = 150
560-
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0,0.35,0.41),false)
560+
561
Particle.Rotation = NumberRange.new(-180, 180)
562
Particle.RotSpeed = NumberRange.new(-180, 180)
563-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.38,0.41,0.38),false)
563+
564
Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0))
565
566-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.37,0.5,0.37),false)
566+
567
function ParticleEmitter(Table)
568
	local PRTCL = Particle:Clone()
569-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.7,0.4),false)
569+
570
	local Drag = Table.Drag or 0
571
	local Size1 = Table.Size1 or 1
572-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.4,0.2),false)
572+
573
	local Lifetime1 = Table.Lifetime1 or 1
574-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.35,0.35,0.35),false)
574+
575
	local Parent = Table.Parent or Torso
576
	local Emit = Table.Emit or 100
577-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.5),false)
577+
578
	local Acel = Table.Acel or VT(0,0,0)
579
	local Enabled = Table.Enabled or false
580-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.45),false)
580+
581
	PRTCL.Size = NumberSequence.new(Size1,Size2)
582
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
583-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
583+
584
	PRTCL.VelocitySpread = Offset
585
	PRTCL.Drag = Drag
586
	PRTCL.Acceleration = Acel
587
	if Enabled == false then
588
		PRTCL:Emit(Emit)
589-
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.2,0),false)
589+
590
	else
591
		PRTCL.Enabled = true
592
	end
593-
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.05,0),false)
593+
594
end
595
596
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
597
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
598
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
599-
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.15,2,0.15),false)
599+
600
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
601
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
602-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.25,1,0.25),false)
602+
603
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
604
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
605-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0.1,0.2),false)
605+
606
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
607
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
608-
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.125,0,0.125),false)
608+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
609
MakeForm(Part,"Cyl")
610
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
611-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0,0),false)
611+
612
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
613
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
614-
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Brown", "Eye", VT(0,0,0),false)
614+
615
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
616
MakeForm(Part,"Cyl")
617
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
618
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
619
MakeForm(Part,"Ball")
620
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
621
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
622
MakeForm(Part,"Wedge")
623
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
624
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
625
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
626
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
627
MakeForm(Part,"Cyl")
628
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
629
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
630-
		c.Color = C3(0,0,0)
630+
631
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
632-
		c.Color = C3(1,0,0)
632+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
633
MakeForm(Part,"Cyl")
634
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
635
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
636
MakeForm(Part,"Wedge")
637
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
638
local LASTPART = Handle
639
for i = 1, 10 do
640
	if LASTPART == Handle then
641
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
642
		LASTPART = Part
643
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
644-
local SKILLTEXTCOLOR = C3(1,0,0)
644+
645
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
646
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
647
		LASTPART = Part
648
	end
649
end
650
651
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
652
MakeForm(Barrel,"Cyl")
653
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
654
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
655
MakeForm(Part,"Cyl")
656
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
657
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
658-
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
658+
659
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
660
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
661
MakeForm(Hole,"Cyl")
662
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
663
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
664
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
665
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
666
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
667
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
668
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
669
coroutine.resume(coroutine.create(function()
670
	while wait() do
671
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
672
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
673
	end
674
end))
675
676
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)})
677
--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)})
678
679
for _, c in pairs(Weapon:GetDescendants()) do
680
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
681
		c.Material = "Glass"
682
		c.Color = C3(255, 0, 0)
683
	elseif c.ClassName == "Part" and c.Name == "Eye" then
684
		c.Color = C3(255, 0, 0)
685
		c.Material = "Neon"
686
	end
687
end
688
689
Weapon.Parent = Character
690
for _, c in pairs(Weapon:GetChildren()) do
691
	if c.ClassName == "Part" then
692
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
693
	end
694
end
695
696
local SKILLTEXTCOLOR = C3(255, 0, 0)
697
local SKILLFONT = "Antique"
698
local SKILLTEXTSIZE = 7
699
700
Humanoid.Died:connect(function()
701
	ATTACK = true
702
end)
703
704
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")
705
--[[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")
706
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")
707
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")
708-
					c.Color = C3(1,0,0)
708+
709
]]
710
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] GO TO HELL", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
711
--[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
712
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
713
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
714
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
715
]]
716
function printbye(Name)
717
	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, "}
718
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
719
end
720
721
workspace.ChildAdded:connect(function(instance)
722
    for BANISH = 1, #TOBANISH do
723
		if TOBANISH[BANISH] ~= nil then
724
			if instance.Name == TOBANISH[BANISH] then
725
				coroutine.resume(coroutine.create(function()
726
					printbye(instance.Name)
727
					instance:ClearAllChildren()
728
					Debris:AddItem(instance,0.0005)
729
				end))
730
			end
731
		end
732
	end
733
end)
734
workspace.ChildAdded:connect(function(instance)
735
    for BANISH = 1, #TOBANISH do
736
		if TOBANISH[BANISH] ~= nil then
737
			if instance.Name == TOBANISH[BANISH] then
738
				coroutine.resume(coroutine.create(function()
739
					printbye(instance.Name)
740
					instance:ClearAllChildren()
741
					Debris:AddItem(instance,0.0005)
742
				end))
743
			end
744
		end
745
	end
746
end)
747
748
local Back = CreatePart(0, Character, "Neon", 0, 0, "Really red", "Wing", VT(1,1,0.35),false)
749
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
750
751
local ANGLE = 35
752
for i = 1, 5 do
753
	local Wing = CreatePart(0, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false)
754
	local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
755
	local Wing2 = CreatePart(0, Character, "Neon", 0, 0, "Really black", "Wing", VT(0.25,1,0.25),false)
756
	CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
757
	ANGLE = ANGLE - 15
758
	table.insert(LEFTWINGS,WingWeld)
759
end
760
ANGLE = 35
761
for i = 1, 5 do
762
	local Wing = CreatePart(0, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false)
763
	local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
764
	local Wing2 = CreatePart(0, Character, "Neon", 0, 0, "Really black", "Wing", VT(0.25,1,0.25),false)
765
	CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
766
	ANGLE = ANGLE - 15
767
	table.insert(RIGHTWINGS,WingWeld)
768
end
769
770
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Hood", VT(1,1,1),false)
771
PRT.Color = C3(workspace.ChildAdded:connect(function(instance)
772
    for BANISH = 1, #TOBANISH do
773
		if TOBANISH[BANISH] ~= nil then
774
			if instance.Name == TOBANISH[BANISH] then
775
				coroutine.resume(coroutine.create(function()
776
					printbye(instance.Name)
777
					instance:ClearAllChildren()
778
					Debris:AddItem(instance,0.0005)
779
				end))
780
			end
781
		end
782
	end
783
end)
784
workspace.ChildAdded:connect(function(instance)
785
    for BANISH = 1, #TOBANISH do
786
		if TOBANISH[BANISH] ~= nil then
787
			if instance.Name == TOBANISH[BANISH] then
788
				coroutine.resume(coroutine.create(function()
789
					printbye(instance.Name)
790
					instance:ClearAllChildren()
791
					Debris:AddItem(instance,0.0005)
792
				end))
793
			end
794
		end
795-
function Banisher_Bullet()
795+
796
end)
797
798
local Back = CreatePart(0, Character, "Neon", 0, 0, "Really red", "Wing", VT(1,1,0.35),false)
799
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
800
801
local ANGLE = 35
802
for i = 1, 5 do
803
	local Wing = CreatePart(0, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false)
804
	local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
805
	local Wing2 = CreatePart(0, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false)
806
	CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
807
	ANGLE = ANGLE - 15
808
	table.insert(LEFTWINGS,WingWeld)
809
end
810
ANGLE = 35
811
for i = 1, 5 do
812
	local Wing = CreatePart(0, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false)
813
	local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
814
	local Wing2 = CreatePart(0, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false)
815
	CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
816
	ANGLE = ANGLE - 15
817
	table.insert(RIGHTWINGS,WingWeld)
818
end
819
820
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
821
PRT.Color = C3(0,0,0)
822
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
823
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
824
825
for i = 1, 8 do
826-
		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})
826+
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
827-
		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})
827+
828-
		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})
828+
829-
		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})
829+
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
830
MakeForm(Part,"Wedge")
831
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
832
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
833
MakeForm(Part,"Cyl")
834
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
835
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
836
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
837
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
838
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
839
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
840
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
841
local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
842
MakeForm(LeftBarrel,"Cyl")
843
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
844
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
845
MakeForm(Part,"Wedge")
846
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
847
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
848
MakeForm(LeftHole,"Cyl")
849
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
850
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
851
MakeForm(Eye,"Ball")
852
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
853
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
854
MakeForm(Eye,"Ball")
855
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
856
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
857
MakeForm(Eye,"Ball")
858
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
859
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
860
MakeForm(Eye,"Ball")
861
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)
862
local A = IT("Attachment",Torso)
863
A.Position = VT(1,1.3,0)
864
A.Orientation = VT(-0.098, -89.999, 0.227)
865
local B = IT("Attachment",Torso)
866
B.Position = VT(-1.3,-0.6,0)
867
B.Orientation = VT(-88.911, -68.808, 158.782)
868
local ChainLink = IT("Beam",Torso)
869
ChainLink.Texture = "rbxassetid://343533707"
870
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
871
ChainLink.TextureSpeed = 1
872
ChainLink.FaceCamera = true
873
ChainLink.Width0 = 1
874
ChainLink.Width1 = 1
875
ChainLink.TextureLength = 3
876
ChainLink.Attachment0 = A
877
ChainLink.Attachment1 = B
878
ChainLink.CurveSize0 = 1.6
879
ChainLink.CurveSize1 = 1.6
880
ChainLink.FaceCamera = true
881
ChainLink.Transparency = NumberSequence.new(0)
882
local ChainLink = IT("Beam",Torso)
883
ChainLink.Texture = "rbxassetid://343533707"
884
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
885
ChainLink.TextureSpeed = 1
886
ChainLink.FaceCamera = true
887
ChainLink.Width0 = 1
888
ChainLink.Width1 = 1
889
ChainLink.TextureLength = 3
890
ChainLink.Attachment0 = B
891
ChainLink.Attachment1 = A
892
ChainLink.CurveSize0 = 1.6
893
ChainLink.CurveSize1 = 1.6
894
ChainLink.FaceCamera = true
895
ChainLink.Transparency = NumberSequence.new(0)
896
local A = IT("Attachment",Torso)
897
A.Position = VT(1.3,-0.85,0)
898
A.Orientation = VT(-0.098, -89.999, 0.227)
899
local B = IT("Attachment",Torso)
900
B.Position = VT(-1,2,0)
901
B.Orientation = VT(-88.911, -68.808, 158.782)
902
local ChainLink = IT("Beam",Torso)
903
ChainLink.Texture = "rbxassetid://343533707"
904
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
905
ChainLink.TextureSpeed = 1
906
ChainLink.FaceCamera = true
907
ChainLink.Width0 = 1
908
ChainLink.Width1 = 1
909
ChainLink.TextureLength = 3
910
ChainLink.Attachment0 = A
911
ChainLink.Attachment1 = B
912
ChainLink.CurveSize0 = 1.3
913
ChainLink.CurveSize1 = 1.3
914
ChainLink.FaceCamera = true
915
ChainLink.Transparency = NumberSequence.new(0)
916
local ChainLink = IT("Beam",Torso)
917
ChainLink.Texture = "rbxassetid://343533707"
918
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
919
ChainLink.TextureSpeed = 1
920
ChainLink.FaceCamera = true
921
ChainLink.Width0 = 1
922
ChainLink.Width1 = 1
923
ChainLink.TextureLength = 3
924
ChainLink.Attachment0 = B
925
ChainLink.Attachment1 = A
926
ChainLink.CurveSize0 = 1.3
927
ChainLink.CurveSize1 = 1.3
928
ChainLink.FaceCamera = true
929
ChainLink.Transparency = NumberSequence.new(0)
930
931
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
932
PRT.LockedToPart = true
933
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
934
PRT.LockedToPart = true
935
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
936
PRT.LockedToPart = true
937
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
938
PRT.LockedToPart = true
939
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
940
PRT.LockedToPart = true
941
for _, c in pairs(Character:GetDescendants()) do
942
	if c and c.Parent then
943
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
944
			local ACCESSORY = c.Parent
945
			c.Parent = Character
946
			if c then
947
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
948
					weldBetween(Head,c)
949
				else
950
					weldBetween(Torso,c)
951
				end
952
			end
953
			ACCESSORY:remove()
954
		elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
955
			c.Material = "Neon"
956
			c.Color = C3(1,1,1)
957
			if c:FindFirstChildOfClass("SpecialMesh") then
958
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
959
			end
960
			if c == Head then
961
				if c:FindFirstChild("face") then
962
					c.face:remove()
963
				end
964
			end
965
		elseif c.ClassName == "Part" and c.Name == "Eye" then
966
			c.Color = C3(1,1,1)
967
			c.Material = "Neon"
968
		elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
969
			c:remove()
970
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
971
			c:remove()
972
		end
973
	end
974
end
975
976
local BODY = {}
977
for _, c in pairs(Character:GetDescendants()) do
978
	if c:IsA("BasePart") and c.Name ~= "Handle" then
979
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
980
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
981
		end
982
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
983
	elseif c:IsA("JointInstance") then
984
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
985
	end
986
end
987
for e = 1, #BODY do
988
	if BODY[e] ~= nil then
989
		local STUFF = BODY[e]
990
		local PART = STUFF[1]
991
		local PARENT = STUFF[2]
992
		local MATERIAL = STUFF[3]
993
		local COLOR = STUFF[4]
994
		local TRANSPARENCY = STUFF[5]
995
		if PART.ClassName == "Part" and PART ~= RootPart then
996
			PART.Material = MATERIAL
997
			PART.Color = COLOR
998
			PART.Transparency = TRANSPARENCY
999
		end
1000
		PART.AncestryChanged:Connect(function()
1001
			PART.Parent = PARENT
1002
		end)
1003
	end
1004
end
1005
function refit()
1006
	Character.Parent = workspace
1007
	for e = 1, #BODY do
1008
		if BODY[e] ~= nil then
1009
			local STUFF = BODY[e]
1010
			local PART = STUFF[1]
1011
			local PARENT = STUFF[2]
1012
			local MATERIAL = STUFF[3]
1013
			local COLOR = STUFF[4]
1014
			local TRANSPARENCY = STUFF[5]
1015
			if PART:IsA("BasePart") and PART ~= RootPart then
1016
				PART.Material = MATERIAL
1017
				PART.Color = COLOR
1018
				PART.Transparency = 0
1019
			end
1020
			if PART.Parent ~= PARENT then
1021
				Humanoid:remove()
1022
				PART.Parent = PARENT
1023
				Humanoid = IT("Humanoid",Character)
1024
			end
1025
		end
1026
	end
1027
end
1028
1029
Humanoid.Died:connect(function()
1030
	refit()
1031
end)
1032
1033
--//=================================\\
1034
--||			DAMAGING
1035
--\\=================================//
1036
1037
function KillChildren(v)
1038
	v:BreakJoints()
1039
	for _, c in pairs(v:GetChildren()) do
1040
		if c:IsA("BasePart") then
1041
			if c.Transparency < 1 then
1042
				if c:FindFirstChildOfClass("Decal") then
1043
					c:FindFirstChildOfClass("Decal"):remove()
1044
				end
1045
				particles(c)
1046
				c.PE.Enabled = true
1047
				c.Parent = Effects
1048
				c.CanCollide = false
1049
				c.Material = "Neon"
1050
				c.Color = C3(1,1,1)
1051
				c.Transparency = 1
1052
				local grav = Instance.new("BodyPosition",c)
1053
				grav.P = 20000
1054
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1055
				grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
1056
				grav.Name = "GravityForce"
1057
				coroutine.resume(coroutine.create(function()
1058
					for i = 1, 20 do
1059
						Swait()
1060
						c.Transparency = c.Transparency + 1/20
1061
					end
1062
					c.PE.Enabled = false
1063
					Debris:AddItem(c,2)
1064
				end))
1065
			end
1066
		end
1067
	end
1068
end
1069
1070
function Kill(Char)
1071
	local NewCharacter = Instance.new("Model",Effects)
1072
	NewCharacter.Name = "Ow im ded ;-;"
1073
	for _, c in pairs(Char:GetDescendants()) do
1074
		if c:IsA("BasePart") and c.Transparency == 0 then
1075
			if c.Parent == Char then
1076
			end
1077
			c:BreakJoints()
1078
			c.Material = "Neon"
1079
			c.Color = C3(1,1,1)                               
1080
			c.CanCollide = true
1081
			c.Transparency = 0
1082
			if c:FindFirstChildOfClass("SpecialMesh") then
1083
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1084
			end
1085
			if c.Name == "Head" then
1086
				c:ClearAllChildren()
1087
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1088
			end
1089
			if c.ClassName == "MeshPart" then
1090
				c.TextureID = ""
1091
			end
1092
			if c:FindFirstChildOfClass("BodyPosition") then
1093
				c:FindFirstChildOfClass("BodyPosition"):remove()
1094
			end
1095
			if c:FindFirstChildOfClass("ParticleEmitter") then
1096
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1097
			end
1098
			c.Parent = NewCharacter
1099
			c.Name = "DeadPart"
1100
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1101
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1102
		end
1103
	end
1104
	Char:remove()
1105
	Debris:AddItem(NewCharacter,5)
1106
end
1107
function Banish(Foe)
1108
	if Foe then
1109
		coroutine.resume(coroutine.create(function()
1110
			--if game.Players:FindFirstChild(Foe.Name) then
1111
				table.insert(TOBANISH,Foe.Name)
1112
				printbye(Foe.Name)
1113
			--end
1114
			Foe.Archivable = true
1115
			local CLONE = Foe:Clone()
1116
			Foe:Destroy()
1117
			CLONE.Parent = Effects
1118
			CLONE:BreakJoints()
1119
			local MATERIALS = {"Glass","Neon"}
1120
			for _, c in pairs(CLONE:GetDescendants()) do
1121
				if c:IsA("BasePart") then
1122
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1123
 						CreateSound(340722848, c, 10, 1, false)
1124
					end
1125
					c.Anchored = true
1126
					c.Transparency = c.Transparency + 0.2
1127
					c.Material = MATERIALS[MRANDOM(1,2)]
1128
					c.Color = C3(0,0,0)
1129
					if c.ClassName == "MeshPart" then
1130
						c.TextureID = ""
1131
					end
1132
					if c:FindFirstChildOfClass("SpecialMesh") then
1133
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1134
					end
1135
					if c:FindFirstChildOfClass("Decal") then
1136
						c:FindFirstChildOfClass("Decal"):remove()
1137
					end
1138
					c.Name = "Banished"
1139
					c.CanCollide = false
1140
				else
1141
					c:remove()
1142
				end
1143
			end
1144
			local A = false
1145
			for i = 1, 35 do
1146
				if A == false then
1147
					A = true
1148
				elseif A == true then
1149
					A = false
1150
				end
1151
				for _, c in pairs(CLONE:GetDescendants()) do
1152
					if c:IsA("BasePart") then
1153
						c.Anchored = true
1154
						c.Material = MATERIALS[MRANDOM(1,2)]
1155
						c.Transparency = c.Transparency + 0.8/35
1156
						if A == false then
1157
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1158
						elseif A == true then
1159
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1160
						end
1161
					end
1162
				end
1163
				Swait()
1164
			end
1165
			CLONE:remove()
1166
		end))
1167
	end
1168
end
1169
1170
function Banish(Foe)
1171
	if Foe then
1172
		coroutine.resume(coroutine.create(function()
1173
			--if game.Players:FindFirstChild(Foe.Name) then
1174
				table.insert(TOBANISH,Foe.Name)
1175
				printbye(Foe.Name)
1176
			--end
1177
			Foe.Archivable = true
1178
			local CLONE = Foe:Clone()
1179
			Foe:Destroy()
1180
			CLONE.Parent = Effects
1181
			CLONE:BreakJoints()
1182
			local MATERIALS = {"Glass","Neon"}
1183
			for _, c in pairs(CLONE:GetDescendants()) do
1184
				if c:IsA("BasePart") then
1185
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1186
 						CreateSound(340722848, c, 10, 1, false)
1187
					end
1188
					c.Anchored = true
1189
					c.Transparency = c.Transparency + 0.2
1190
					c.Material = MATERIALS[MRANDOM(1,2)]
1191
					c.Color = C3(0,0,0)
1192
					if c.ClassName == "MeshPart" then
1193
						c.TextureID = ""
1194
					end
1195
					if c:FindFirstChildOfClass("SpecialMesh") then
1196
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1197
					end
1198
					if c:FindFirstChildOfClass("Decal") then
1199
						c:FindFirstChildOfClass("Decal"):remove()
1200
					end
1201
					c.Name = "Banished"
1202
					c.CanCollide = false
1203
				else
1204
					c:remove()
1205
				end
1206
			end
1207
			local A = false
1208
			for i = 1, 35 do
1209
				if A == false then
1210
					A = true
1211
				elseif A == true then
1212
					A = false
1213
				end
1214
				for _, c in pairs(CLONE:GetDescendants()) do
1215
					if c:IsA("BasePart") then
1216
						c.Anchored = true
1217
						c.Material = MATERIALS[MRANDOM(1,2)]
1218
						c.Transparency = c.Transparency + 0.8/35
1219
						if A == false then
1220
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1221
						elseif A == true then
1222
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1223
						end
1224
					end
1225
				end
1226
				Swait()
1227
			end
1228
			CLONE:remove()
1229
		end))
1230
	end
1231
end
1232
1233
function ApplyAoE(POSITION,RANGE,ISBANISH)
1234
	local CHILDREN = workspace:GetDescendants()
1235
	for index, CHILD in pairs(CHILDREN) do
1236
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1237
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1238
			if HUM then
1239
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1240
				if TORSO then
1241
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1242
						if ISBANISH == true then
1243
							Banish(CHILD)
1244
						else
1245
							if ISBANISH == "Gravity" then
1246
								HUM.PlatformStand = true
1247
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1248
									local grav = Instance.new("BodyPosition",TORSO)
1249
									grav.D = 15
1250
									grav.P = 20000
1251
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1252
									grav.position = TORSO.Position
1253
									grav.Name = "V3BanishForce"..Player.Name
1254
								else
1255
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1256
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1257
								end
1258
							else
1259
								HUM.PlatformStand = false
1260
							end
1261
						end
1262
					elseif ISBANISH == "Gravity" then
1263
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1264
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1265
							HUM.PlatformStand = false
1266
						end
1267
					end
1268
				end
1269
			end
1270
		end
1271
	end
1272
end
1273
1274
--//=================================\\
1275
--||	ATTACK FUNCTIONS AND STUFF
1276
--\\=================================//
1277
1278
function Execute()
1279
	ATTACK = true
1280
	Rooted = false
1281
	for i=0, 0.4, 0.1 / Animation_Speed do
1282
		Swait()
1283
		turnto(Mouse.Hit.p)
1284
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1285
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1286
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1287
	end	
1288
	repeat
1289
		for i=0, 0.2, 0.1 / Animation_Speed do
1290
			Swait()
1291
			turnto(Mouse.Hit.p)
1292
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1293
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1294
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1295
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1296
		end
1297
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1298
		SpawnTrail(Hole.Position,POS)
1299
		if HIT ~= nil then
1300
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1301
				Kill(HIT.Parent)
1302
				wait(0.3)
1303
				KillChildren(HIT.Parent)
1304
			end
1305
		end
1306
		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(3,0,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1307
		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,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1308
		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,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1309
		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,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1310
		for i=0, 0.3, 0.1 / Animation_Speed do
1311
			Swait()
1312
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1313
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1314
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1315
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1316
		end
1317
	until KEYHOLD == false
1318
	ATTACK = false
1319
	Rooted = false
1320
end
1321
1322
function Warp()
1323
	for e = 1, #BODY do
1324
		if BODY[e] ~= nil then
1325
			local STUFF = BODY[e]
1326
			local PART = STUFF[1]
1327
			if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
1328
				local PRT = PART:Clone()
1329
				PRT.Anchored = true
1330
				PRT.CanCollide = false
1331
				PRT.Material = "Neon"
1332
				PRT.Color = C3(1,1,1)
1333
				PRT.Name = "WarpEffect"
1334
				PRT.Parent = Effects
1335
				PRT.CFrame = PART.CFrame
1336
				PRT:BreakJoints()
1337
				if PRT:FindFirstChildOfClass("Sound") then
1338
					PRT:FindFirstChildOfClass("Sound"):remove()
1339
				end
1340
				if PRT:FindFirstChildOfClass("Decal") then
1341
					PRT:FindFirstChildOfClass("Decal"):remove()
1342
				end
1343
				coroutine.resume(coroutine.create(function()
1344
					for i = 1, 100 do
1345
						Swait()
1346
						PRT.Transparency = PRT.Transparency + 1/100
1347
					end
1348
					PRT:remove()
1349
				end))
1350
			end
1351
		end
1352
	end
1353
	CreateSound(217767125, Torso, 10, 1)
1354
	local POS = RootPart.Orientation
1355
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
1356
	RootPart.Orientation = POS
1357
	RootJoint.Parent = RootPart
1358
			WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Eyes.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
1359
	ATTACK = false
1360
	Rooted = false
1361
end
1362
function Banish()
1363
	ATTACK = true
1364
	Rooted = false
1365
	for i=0, 0.4, 0.1 / Animation_Speed do
1366
		Swait()
1367
		turnto(Mouse.Hit.p)
1368
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1369
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1370
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1371
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1372
		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)
1373
		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)
1374
	end
1375
	repeat
1376
		for i=0, 0.2, 0.1 / Animation_Speed do
1377
			Swait()
1378
			turnto(Mouse.Hit.p)
1379
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1380
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1381
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1382
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1383
			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)
1384
			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)
1385
		end
1386
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1387
		SpawnTrail(Hole.Position,POS)
1388
		if HIT ~= nil then
1389
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1390
				Banish(HIT.Parent)
1391
			end
1392
		end
1393
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0	,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1394
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1395
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1396
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1397
		for i=0, 0.3, 0.1 / Animation_Speed do
1398
			Swait()
1399
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1400
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1401
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1402
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1403
			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)
1404
			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)
1405
		end
1406
	until KEYHOLD == false
1407
	ATTACK = false
1408
	Rooted = false
1409
end
1410
1411
function AttackTemplate()
1412
	ATTACK = true
1413
	Rooted = false
1414
	for i=0, 1, 0.1 / Animation_Speed do
1415
		Swait()
1416
		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)
1417
		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)
1418
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1419
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1420
		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)
1421
		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)
1422
	end
1423
	ATTACK = false
1424
	Rooted = false
1425
end
1426
1427
--//=================================\\
1428
--||	  ASSIGN THINGS TO KEYS
1429
--\\=================================//
1430
1431
function MouseDown(Mouse)
1432
	if ATTACK == false then
1433
	end
1434
end
1435
1436
function MouseUp(Mouse)
1437
HOLD = false
1438
end
1439
1440
function KeyDown(Key)
1441
	KEYHOLD = true
1442
	if Key == "z" and ATTACK == false then
1443
		Banisher_Bullet()
1444
	end
1445
1446
	if Key == "b" and ATTACK == false then
1447
	end
1448
1449
	if Key == "c" and ATTACK == false then
1450
	end
1451
1452
	if Key == "v" and ATTACK == false then
1453
	end
1454
1455
	if Key == "x" and ATTACK == false then
1456
	end
1457
end
1458
1459
function KeyUp(Key)
1460
	KEYHOLD = false
1461
end
1462
1463
	Mouse.Button1Down:connect(function(NEWKEY)
1464
		MouseDown(NEWKEY)
1465
	end)
1466
	Mouse.Button1Up:connect(function(NEWKEY)
1467
		MouseUp(NEWKEY)
1468
	end)
1469
	Mouse.KeyDown:connect(function(NEWKEY)
1470
		KeyDown(NEWKEY)
1471
	end)
1472
	Mouse.KeyUp:connect(function(NEWKEY)
1473
		KeyUp(NEWKEY)
1474
	end)
1475
1476
--//=================================\\
1477
--\\=================================//
1478
1479
1480
function unanchor()
1481
	if UNANCHOR == true then
1482
		g = Character:GetChildren()
1483
		for i = 1, #g do
1484
			if g[i].ClassName == "Part" then
1485
				g[i].Anchored = false
1486
			end
1487
		end
1488
	end
1489
end
1490
1491
1492
--//=================================\\
1493
--||	WRAP THE WHOLE SCRIPT UP
1494
--\\=================================//
1495
1496
Humanoid.Changed:connect(function(Jump)
1497
	if Jump == "Jump" and (Disable_Jump == true) then
1498
		Humanoid.Jump = false
1499
	end
1500
end)
1501
1502
local CONNECT = nil
1503
1504
while true do
1505
	Swait()
1506
	ANIMATE.Parent = nil
1507
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1508
		Humanoid = IT("Humanoid",Character)
1509
	end
1510
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1511
	    v:Stop();
1512
	end
1513
	SINE = SINE + CHANGE
1514
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1515
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1516
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1517
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1518
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1519
		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)
1520
		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)
1521
		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)
1522
		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)
1523
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1524
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1525
		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)
1526
		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)
1527
		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)
1528
	end
1529
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1530
		ANIM = "Jump"
1531
		if ATTACK == false then
1532
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1533
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1534
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1535
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1536
			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)
1537
			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)
1538
	    end
1539
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1540
		ANIM = "Fall"
1541
		if ATTACK == false then
1542
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1543
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1544
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1545
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1546
			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)
1547
			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)
1548
		end
1549
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1550
		ANIM = "Idle"
1551
		if ATTACK == false then
1552
			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)
1553
			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)
1554
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1555
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1556
			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)
1557
			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)
1558
		end
1559
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1560
		ANIM = "Walk"
1561
		if ATTACK == false then
1562
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1563
			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)
1564
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1565
			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)
1566
			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)
1567
			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)
1568
		end
1569
	end
1570
	unanchor()
1571
	Humanoid.MaxHealth = "inf"
1572
	Humanoid.Health = "inf"
1573
	if Rooted == false then
1574
		Disable_Jump = false
1575
		Humanoid.WalkSpeed = Speed
1576
	elseif Rooted == true then
1577
		Disable_Jump = true
1578
		Humanoid.WalkSpeed = 0
1579
	end
1580
	sick.Parent = Torso
1581
	sick:resume()
1582
	sick.Volume = 5
1583
	sick.Pitch = 1
1584
	sick.SoundId = "https://www.roblox.com/library/1753701701/The-Muffin-Song-FULL-VERSION"
1585
	sick.Name = "BanishV3Music"
1586
end
1587
1588
--//=================================\\
1589
--\\=================================//
1590
1591
1592
1593
1594
1595
--//====================================================\\--
1596
--||			  		 END OF SCRIPT
1597
--\\====================================================//--