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