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