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