View difference between Paste ID: jrgyaqHQ and uLVYPAXX
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||			   CREATED BY SHACKLUSTER EDIT BY NAMECLAN
3
--\\====================================================//--
4
5
wait(0.2)
6
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
7
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
8
do
9
	print("FE Compatibility code by Mokiros")
10
	script.Parent = Player.Character
11
12
	--RemoteEvent for communicating
13
	local Event = Instance.new("RemoteEvent")
14
	Event.Name = "UserInput_Event"
15
16
	--Fake event to make stuff like Mouse.KeyDown work
17
	local function fakeEvent()
18
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
19
		t.connect = t.Connect
20
		return t
21
	end
22
23
	--Creating fake input objects with fake variables
24
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
25
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
26
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
27
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
28
	end}
29
	--Merged 2 functions into one by checking amount of arguments
30
	CAS.UnbindAction = CAS.BindAction
31
32
	--This function will trigger the events that have been :Connect()'ed
33
	local function te(self,ev,...)
34
		local t = m[ev]
35
		if t and t._fakeEvent and t.Function then
36
			t.Function(...)
37
		end
38
	end
39
	m.TrigEvent = te
40
	UIS.TrigEvent = te
41
42
	Event.OnServerEvent:Connect(function(plr,io)
43
	    if plr~=Player then return end
44
		if io.isMouse then
45
			m.Target = io.Target
46
			m.Hit = io.Hit
47
		else
48
			local b = io.UserInputState == Enum.UserInputState.Begin
49
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
50
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
51
			end
52
			for _,t in pairs(CAS.Actions) do
53
				for _,k in pairs(t.Keys) do
54
					if k==io.KeyCode then
55
						t.Function(t.Name,io.UserInputState,io)
56
					end
57
				end
58
			end
59
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
60
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
61
	    end
62
	end)
63
	Event.Parent = NLS([==[
64
	local Player = game:GetService("Players").LocalPlayer
65
	local Event = script:WaitForChild("UserInput_Event")
66
67
	local UIS = game:GetService("UserInputService")
68
	local input = function(io,a)
69
		if a then return end
70
		--Since InputObject is a client-side instance, we create and pass table instead
71
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
72
	end
73
	UIS.InputBegan:Connect(input)
74
	UIS.InputEnded:Connect(input)
75
76
	local Mouse = Player:GetMouse()
77
	local h,t
78
	--Give the server mouse data 30 times every second, but only if the values changed
79
	--If player is not moving their mouse, client won't fire events
80
	while wait(1/30) do
81
		if h~=Mouse.Hit or t~=Mouse.Target then
82
			h,t=Mouse.Hit,Mouse.Target
83
			Event:FireServer({isMouse=true,Target=t,Hit=h})
84
		end
85
	end]==],Player.Character)
86
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
87
end
88
Player = game:GetService("Players").TameDoNotClick
89-
Player = game:GetService("Players").Killerxxt
89+
90
Cam = workspace.CurrentCamera
91
Backpack = Player.Backpack
92
Character = Player.Character
93
Humanoid = Character.Humanoid
94
RootPart = Character["HumanoidRootPart"]
95
Torso = Character["Torso"]
96
Head = Character["Head"]
97
RightArm = Character["Right Arm"]
98
LeftArm = Character["Left Arm"]
99
RightLeg = Character["Right Leg"]
100
LeftLeg = Character["Left Leg"]
101
RootJoint = RootPart["RootJoint"]
102
Neck = Torso["Neck"]
103
RightShoulder = Torso["Right Shoulder"]
104
LeftShoulder = Torso["Left Shoulder"]
105
RightHip = Torso["Right Hip"]
106
LeftHip = Torso["Left Hip"]
107
local TIME = 0
108
local sick = Instance.new("Sound",Torso)
109
110
IT = Instance.new
111
CF = CFrame.new
112
VT = Vector3.new
113
RAD = math.rad
114
C3 = Color3.new
115
UD2 = UDim2.new
116
BRICKC = BrickColor.new
117
ANGLES = CFrame.Angles
118
EULER = CFrame.fromEulerAnglesXYZ
119
COS = math.cos
120
ACOS = math.acos
121
SIN = math.sin
122
ASIN = math.asin
123
ABS = math.abs
124
MRANDOM = math.random
125
FLOOR = math.floor
126
127
--//=================================\\
128
--|| 	      USEFUL VALUES
129
--\\=================================//
130
131
Animation_Speed = 3
132
local FORCERESET = false
133
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
134
local Speed = 16
135
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
136
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
137
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
138
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
139
local DAMAGEMULTIPLIER = 1
140
local ANIM = "Idle"
141
local ATTACK = false
142
local EQUIPPED = false
143
local HOLD = false
144
local COMBO = 1
145
local Rooted = false
146
local SINE = 0
147
local KEYHOLD = false
148
local CHANGE = 2 / Animation_Speed
149
local WALKINGANIM = false
150
local VALUE1 = false
151
local VALUE2 = false
152
local ROBLOXIDLEANIMATION = IT("Animation")
153
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
154
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
155
--ROBLOXIDLEANIMATION.Parent = Humanoid
156
local WEAPONGUI = IT("ScreenGui", PlayerGui)
157
WEAPONGUI.Name = "BanishV3Gui"
158
local Weapon = IT("Model")
159
Weapon.Name = "Adds"
160
local Effects = IT("Folder", Weapon)
161
Effects.Name = "Effects"
162
local ANIMATOR = Humanoid.Animator
163
local ANIMATE = Character:FindFirstChild("Animate")
164
local UNANCHOR = true
165
local TOBANISH = {}
166
script.Parent = PlayerGui
167
168
--//=================================\\
169
--\\=================================//
170
171
172
--//=================================\\
173
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
174
--\\=================================//
175
176
ArtificialHB = Instance.new("BindableEvent", script)
177
ArtificialHB.Name = "ArtificialHB"
178
179
script:WaitForChild("ArtificialHB")
180
181
frame = Frame_Speed
182
tf = 0
183
allowframeloss = false
184
tossremainder = false
185
lastframe = tick()
186
script.ArtificialHB:Fire()
187
188
game:GetService("RunService").Heartbeat:connect(function(s, p)
189
	tf = tf + s
190
	if tf >= frame then
191
		if allowframeloss then
192
			script.ArtificialHB:Fire()
193
			lastframe = tick()
194
		else
195
			for i = 1, math.floor(tf / frame) do
196
				script.ArtificialHB:Fire()
197
			end
198
		lastframe = tick()
199
		end
200
		if tossremainder then
201
			tf = 0
202
		else
203
			tf = tf - frame * math.floor(tf / frame)
204
		end
205
	end
206
end)
207
208
--//=================================\\
209
--\\=================================//
210
211
--//=================================\\
212
--|| 	      SOME FUNCTIONS
213
--\\=================================//
214
215
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
216
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
217
end
218
219
function PositiveAngle(NUMBER)
220
	if NUMBER >= 0 then
221
		NUMBER = 0
222
	end
223
	return NUMBER
224
end
225
226
function NegativeAngle(NUMBER)
227
	if NUMBER <= 0 then
228
		NUMBER = 0
229
	end
230
	return NUMBER
231
end
232
233
function Swait(NUMBER)
234
	if NUMBER == 0 or NUMBER == nil then
235
		ArtificialHB.Event:wait()
236
	else
237
		for i = 1, NUMBER do
238
			ArtificialHB.Event:wait()
239
		end
240
	end
241
end
242
243
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
244
	local NEWMESH = IT(MESH)
245
	if MESH == "SpecialMesh" then
246
		NEWMESH.MeshType = MESHTYPE
247
		if MESHID ~= "nil" and MESHID ~= "" then
248
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
249
		end
250
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
251
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
252
		end
253
	end
254
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
255
	NEWMESH.Scale = SCALE
256
	NEWMESH.Parent = PARENT
257
	return NEWMESH
258
end
259
260
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
261
	local NEWPART = IT("Part")
262
	NEWPART.formFactor = FORMFACTOR
263
	NEWPART.Reflectance = REFLECTANCE
264
	NEWPART.Transparency = TRANSPARENCY
265
	NEWPART.CanCollide = false
266
	NEWPART.Locked = true
267
	NEWPART.Anchored = true
268
	if ANCHOR == false then
269
		NEWPART.Anchored = false
270
	end
271
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
272
	NEWPART.Name = NAME
273
	NEWPART.Size = SIZE
274
	NEWPART.Position = Torso.Position
275
	NEWPART.Material = MATERIAL
276
	NEWPART:BreakJoints()
277
	NEWPART.Parent = PARENT
278
	return NEWPART
279
end
280
281
	local function weldBetween(a, b)
282
	    local weldd = Instance.new("ManualWeld")
283
	    weldd.Part0 = a
284
	    weldd.Part1 = b
285
	    weldd.C0 = CFrame.new()
286
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
287
	    weldd.Parent = a
288
	    return weldd
289
	end
290
291
292
function QuaternionFromCFrame(cf)
293
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
294
	local trace = m00 + m11 + m22
295
	if trace > 0 then 
296
		local s = math.sqrt(1 + trace)
297
		local recip = 0.5 / s
298
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
299
	else
300
		local i = 0
301
		if m11 > m00 then
302
			i = 1
303
		end
304
		if m22 > (i == 0 and m00 or m11) then
305
			i = 2
306
		end
307
		if i == 0 then
308
			local s = math.sqrt(m00 - m11 - m22 + 1)
309
			local recip = 0.5 / s
310
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
311
		elseif i == 1 then
312
			local s = math.sqrt(m11 - m22 - m00 + 1)
313
			local recip = 0.5 / s
314
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
315
		elseif i == 2 then
316
			local s = math.sqrt(m22 - m00 - m11 + 1)
317
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
318
		end
319
	end
320
end
321
 
322
function QuaternionToCFrame(px, py, pz, x, y, z, w)
323
	local xs, ys, zs = x + x, y + y, z + z
324
	local wx, wy, wz = w * xs, w * ys, w * zs
325
	local xx = x * xs
326
	local xy = x * ys
327
	local xz = x * zs
328
	local yy = y * ys
329
	local yz = y * zs
330
	local zz = z * zs
331
	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))
332
end
333
 
334
function QuaternionSlerp(a, b, t)
335
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
336
	local startInterp, finishInterp;
337
	if cosTheta >= 0.0001 then
338
		if (1 - cosTheta) > 0.0001 then
339
			local theta = ACOS(cosTheta)
340
			local invSinTheta = 1 / SIN(theta)
341
			startInterp = SIN((1 - t) * theta) * invSinTheta
342
			finishInterp = SIN(t * theta) * invSinTheta
343
		else
344
			startInterp = 1 - t
345
			finishInterp = t
346
		end
347
	else
348
		if (1 + cosTheta) > 0.0001 then
349
			local theta = ACOS(-cosTheta)
350
			local invSinTheta = 1 / SIN(theta)
351
			startInterp = SIN((t - 1) * theta) * invSinTheta
352
			finishInterp = SIN(t * theta) * invSinTheta
353
		else
354
			startInterp = t - 1
355
			finishInterp = t
356
		end
357
	end
358
	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
359
end
360
361
function Clerp(a, b, t)
362
	local qa = {QuaternionFromCFrame(a)}
363
	local qb = {QuaternionFromCFrame(b)}
364
	local ax, ay, az = a.x, a.y, a.z
365
	local bx, by, bz = b.x, b.y, b.z
366
	local _t = 1 - t
367
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
368
end
369
370
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
371
	local frame = IT("Frame")
372
	frame.BackgroundTransparency = TRANSPARENCY
373
	frame.BorderSizePixel = BORDERSIZEPIXEL
374
	frame.Position = POSITION
375
	frame.Size = SIZE
376
	frame.BackgroundColor3 = COLOR
377
	frame.BorderColor3 = BORDERCOLOR
378
	frame.Name = NAME
379
	frame.Parent = PARENT
380
	return frame
381
end
382
383
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
384
	local label = IT("TextLabel")
385
	label.BackgroundTransparency = 1
386
	label.Size = UD2(1, 0, 1, 0)
387
	label.Position = UD2(0, 0, 0, 0)
388
	label.TextColor3 = TEXTCOLOR
389
	label.TextStrokeTransparency = STROKETRANSPARENCY
390
	label.TextTransparency = TRANSPARENCY
391
	label.FontSize = TEXTFONTSIZE
392
	label.Font = TEXTFONT
393
	label.BorderSizePixel = BORDERSIZEPIXEL
394
	label.TextScaled = false
395
	label.Text = TEXT
396
	label.Name = NAME
397
	label.Parent = PARENT
398
	return label
399
end
400
401
function NoOutlines(PART)
402
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
403
end
404
405
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
406
	local NEWWELD = IT(TYPE)
407
	NEWWELD.Part0 = PART0
408
	NEWWELD.Part1 = PART1
409
	NEWWELD.C0 = C0
410
	NEWWELD.C1 = C1
411
	NEWWELD.Parent = PARENT
412
	return NEWWELD
413
end
414
415
local S = IT("Sound")
416
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
417
	local NEWSOUND = nil
418
	coroutine.resume(coroutine.create(function()
419
		NEWSOUND = S:Clone()
420
		NEWSOUND.Parent = PARENT
421
		NEWSOUND.Volume = VOLUME
422
		NEWSOUND.Pitch = PITCH
423
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
424
		NEWSOUND:play()
425
		if DOESLOOP == true then
426
			NEWSOUND.Looped = true
427
		else
428
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
429
			NEWSOUND:remove()
430
		end
431
	end))
432
	return NEWSOUND
433
end
434
435
function CFrameFromTopBack(at, top, back)
436
	local right = top:Cross(back)
437
	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)
438
end
439
440
--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})
441
function WACKYEFFECT(Table)
442
	local TYPE = (Table.EffectType or "Sphere")
443
	local SIZE = (Table.Size or VT(1,1,1))
444
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
445
	local TRANSPARENCY = (Table.Transparency or 0)
446
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
447
	local CFRAME = (Table.CFrame or Torso.CFrame)
448
	local MOVEDIRECTION = (Table.MoveToPos or nil)
449
	local ROTATION1 = (Table.RotationX or 0)
450
	local ROTATION2 = (Table.RotationY or 0)
451
	local ROTATION3 = (Table.RotationZ or 0)
452
	local MATERIAL = (Table.Material or "Neon")
453
	local COLOR = (Table.Color or C3(1,1,1))
454
	local TIME = (Table.Time or 45)
455
	local SOUNDID = (Table.SoundID or nil)
456
	local SOUNDPITCH = (Table.SoundPitch or nil)
457
	local SOUNDVOLUME = (Table.SoundVolume or nil)
458
	coroutine.resume(coroutine.create(function()
459
		local PLAYSSOUND = false
460
		local SOUND = nil
461
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
462
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
463
			PLAYSSOUND = true
464
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
465
		end
466
		EFFECT.Color = COLOR
467
		local MSH = nil
468
		if TYPE == "Sphere" then
469
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
470
		elseif TYPE == "Block" then
471
			MSH = IT("BlockMesh",EFFECT)
472
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
473
		elseif TYPE == "Wave" then
474
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
475
		elseif TYPE == "Ring" then
476
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
477
		elseif TYPE == "Slash" then
478
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
479
		elseif TYPE == "Round Slash" then
480
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
481
		elseif TYPE == "Swirl" then
482
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
483
		elseif TYPE == "Skull" then
484
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
485
		elseif TYPE == "Crystal" then
486
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
487
		end
488
		if MSH ~= nil then
489
			local MOVESPEED = nil
490
			if MOVEDIRECTION ~= nil then
491
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
492
			end
493
			local GROWTH = SIZE - ENDSIZE
494
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
495
			if TYPE == "Block" then
496
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
497
			else
498
				EFFECT.CFrame = CFRAME
499
			end
500
			for LOOP = 1, TIME+1 do
501
				Swait()
502
				MSH.Scale = MSH.Scale - GROWTH/TIME
503
				if TYPE == "Wave" then
504
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
505
				end
506
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
507
				if TYPE == "Block" then
508
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
509
				else
510
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
511
				end
512
				if MOVEDIRECTION ~= nil then
513
					local ORI = EFFECT.Orientation
514
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
515
					EFFECT.Orientation = ORI
516
				end
517
			end
518
			if PLAYSSOUND == false then
519
				EFFECT:remove()
520
			else
521
				SOUND.Stopped:Connect(function()
522
					EFFECT:remove()
523
				end)
524
			end
525
		else
526
			if PLAYSSOUND == false then
527
				EFFECT:remove()
528
			else
529
				repeat Swait() until SOUND.Playing == false
530
				EFFECT:remove()
531
			end
532
		end
533
	end))
534
end
535
536
function MakeForm(PART,TYPE)
537
	if TYPE == "Cyl" then
538
		local MSH = IT("CylinderMesh",PART)
539
	elseif TYPE == "Ball" then
540
		local MSH = IT("SpecialMesh",PART)
541
		MSH.MeshType = "Sphere"
542
	elseif TYPE == "Wedge" then
543
		local MSH = IT("SpecialMesh",PART)
544
		MSH.MeshType = "Wedge"
545
	end
546
end
547
548
function SpawnTrail(FROM,TO,BIG)
549
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
550
	MakeForm(TRAIL,"Cyl")
551
	local DIST = (FROM - TO).Magnitude
552
	if BIG == true then
553
		TRAIL.Size = VT(5,DIST,5)
554
	else
555
		TRAIL.Size = VT(5,DIST,5)
556
	end
557
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
558
	coroutine.resume(coroutine.create(function()
559
		for i = 1, 5 do
560
			Swait()
561
			TRAIL.Transparency = TRAIL.Transparency + 0.1
562
		end
563
		TRAIL:remove()
564
	end))
565
end
566
567
Debris = game:GetService("Debris")
568
569
function CastProperRay(StartPos, EndPos, Distance, Ignore)
570
	local DIRECTION = CF(StartPos,EndPos).lookVector
571
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
572
end
573
574
function turnto(position)
575
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
576
end
577
local asd = Instance.new("ParticleEmitter")
578
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
579
asd.LightEmission = .1
580
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
581
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
582
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
583
asd.Transparency = bbb
584
asd.Size = aaa
585
asd.ZOffset = .9
586
asd.Acceleration = Vector3.new(0, -15, 0)
587
asd.LockedToPart = false
588
asd.EmissionDirection = "Back"
589
asd.Lifetime = NumberRange.new(1, 2)
590
asd.Rotation = NumberRange.new(-100, 100)
591
asd.RotSpeed = NumberRange.new(-100, 100)
592
asd.Speed = NumberRange.new(10)
593
asd.Enabled = false
594
asd.VelocitySpread = 999
595
596
function getbloody(victim,amount)
597
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
598
	PART.CFrame = victim.CFrame
599
	local HITPLAYERSOUNDS = {"356551938","264486467"}
600
	Debris:AddItem(PART,5)
601
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
602
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
603
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
604
	local prtcl = asd:Clone()
605
	prtcl.Parent = PART
606
	prtcl:Emit(amount*10)
607
end
608
609
local Particle = IT("ParticleEmitter",nil)
610
Particle.Enabled = false
611
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
612
Particle.LightEmission = 0.5
613
Particle.Rate = 150
614
Particle.ZOffset = 1
615
Particle.Rotation = NumberRange.new(-180, 180)
616
Particle.RotSpeed = NumberRange.new(-180, 180)
617
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
618
Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
619
620
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
621
function ParticleEmitter(Table)
622
	local PRTCL = Particle:Clone()
623
	local Speed = Table.Speed or 5
624
	local Drag = Table.Drag or 0
625
	local Size1 = Table.Size1 or 1
626
	local Size2 = Table.Size2 or 5
627
	local Lifetime1 = Table.Lifetime1 or 1
628
	local Lifetime2 = Table.Lifetime2 or 1.5
629
	local Parent = Table.Parent or Torso
630
	local Emit = Table.Emit or 100
631
	local Offset = Table.Offset or 360
632
	local Acel = Table.Acel or VT(0,0,0)
633
	local Enabled = Table.Enabled or false
634
	PRTCL.Parent = Parent
635
	PRTCL.Size = NumberSequence.new(Size1,Size2)
636
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
637
	PRTCL.Speed = NumberRange.new(Speed)
638
	PRTCL.VelocitySpread = Offset
639
	PRTCL.Drag = Drag
640
	PRTCL.Acceleration = Acel
641
	if Enabled == false then
642
		PRTCL:Emit(Emit)
643
		Debris:AddItem(PRTCL,Lifetime2)
644
	else
645
		PRTCL.Enabled = true
646
	end
647
	return PRTCL
648
end
649
650
function R_RANDOM(CFRAME,DIST)
651
	return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
652
end
653
654
function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
655
	coroutine.resume(coroutine.create(function()
656
		local FADE = IT("Model",Effects)
657
		if PARENT ~= nil then
658
			FADE.Parent = PARENT
659
		end
660
		FADE.Name = "FadingEffect"
661
		for _, c in pairs(Character:GetChildren()) do
662
			if c.ClassName == "Part" then
663
				c.CanCollide = false
664
				local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Lime green"), c.Name, c.Size, true)
665
				FADER.CFrame = c.CFrame
666
				FADER.Color = COLOR
667
				if FADER.Name == "Head" then
668
					Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
669
				elseif FADER.Name == "HumanoidRootPart" then
670
					FADE.PrimaryPart = FADER
671
					FADER.Transparency = 1
672
				end
673
			end
674
		end
675
		local TRANS = 0.25/TIMER
676
		local DIST = nil
677
		if MOVEDIRECTION ~= nil then
678
			DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
679
		end
680
		for i = 1, TIMER do
681
			Swait()
682
			for _, c in pairs(FADE:GetChildren()) do
683
				if c.ClassName == "Part" then
684
					c.Transparency = c.Transparency + TRANS
685
				end
686
			end
687
			if MOVEDIRECTION ~= nil then
688
				local ORI = FADE.PrimaryPart.Orientation
689
				FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
690
			end
691
		end
692
		FADE:remove()
693
	end))
694
end
695
696
697
--//=================================\\
698
--||	     WEAPON CREATION
699
--\\=================================//
700
701
local SIZE = 1.25
702
703
local Particle = IT("ParticleEmitter",nil)
704
Particle.Enabled = false
705
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
706
Particle.LightEmission = 0.5
707
Particle.Rate = 150
708
Particle.ZOffset = 0.2
709
Particle.Rotation = NumberRange.new(-180, 180)
710
Particle.RotSpeed = NumberRange.new(-180, 180)
711
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
712
Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
713
714
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
715
function ParticleEmitter(Table)
716
	local PRTCL = Particle:Clone()
717
	local Speed = Table.Speed or 5
718
	local Drag = Table.Drag or 0
719
	local Size1 = Table.Size1 or 1
720
	local Size2 = Table.Size2 or 5
721
	local Lifetime1 = Table.Lifetime1 or 1
722
	local Lifetime2 = Table.Lifetime2 or 1.5
723
	local Parent = Table.Parent or Torso
724
	local Emit = Table.Emit or 100
725
	local Offset = Table.Offset or 360
726
	local Acel = Table.Acel or VT(0,0,0)
727
	local Enabled = Table.Enabled or false
728
	PRTCL.Parent = Parent
729
	PRTCL.Size = NumberSequence.new(Size1,Size2)
730
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
731
	PRTCL.Speed = NumberRange.new(Speed)
732
	PRTCL.VelocitySpread = Offset
733
	PRTCL.Drag = Drag
734
	PRTCL.Acceleration = Acel
735
	if Enabled == false then
736
		PRTCL:Emit(Emit)
737
		Debris:AddItem(PRTCL,Lifetime2)
738
	else
739
		PRTCL.Enabled = true
740
	end
741
	return PRTCL
742
end
743
744
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
745
PRT.Color = C3(1,1,1)
746
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
747
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "15724132", VT(1,1,1)*SIZE, VT(0,0,0))
748
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
749
PRT.Color = C3(0, 111, 0)
750
MakeForm(PRT,"Ball")
751
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
752
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
753
PRT.Color = C3(0, 111, 0)
754
MakeForm(PRT,"Ball")
755
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
756
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
757
PRT.Color = C3(0, 111, 0)
758
MakeForm(PRT,"Ball")
759
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
760
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
761
PRT.Color = C3(0, 111, 0)
762
MakeForm(PRT,"Ball")
763
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
764
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
765
PRT.Color = C3(0, 111, 0)
766
MakeForm(PRT,"Ball")
767
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
768
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
769
PRT.Color = C3(0, 111, 0)
770
MakeForm(PRT,"Ball")
771
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
772
773
774
775
776
local LASTPART = Head
777
for i = 1, 20 do
778
	local MATH = (1-(i/25))
779
	if LASTPART == Head then
780
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
781
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
782
		LASTPART = Horn
783
		Horn.Color = C3((i*3-3)/0,0,0)
784
	else
785
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
786
		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))
787
		LASTPART = Horn
788
		Horn.Color = C3((i*3-3)/0,127,0)
789
	end
790
end
791
local LASTPART = Head
792
for i = 1, 20 do
793
	local MATH = (1-(i/25))
794
	if LASTPART == Head then
795
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
796
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
797
		LASTPART = Horn
798
		Horn.Color = C3((i*3-3)/0,0,0)
799
	else
800
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
801
		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))
802
		LASTPART = Horn
803
		Horn.Color = C3((i*3-3)/0,127,0)
804
	end
805
end
806
807
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
808
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
809
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
810
MakeForm(Part,"Wedge")
811
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
812
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
813
MakeForm(Part,"Wedge")
814
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
815
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
816
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
817
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
818
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
819
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
820
MakeForm(Part,"Cyl")
821
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
822
for i = 1, 8 do
823
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
824
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
825
end
826
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
827
MakeForm(Part,"Cyl")
828
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
829
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
830
MakeForm(Part,"Ball")
831
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
832
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
833
MakeForm(Part,"Wedge")
834
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
835
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
836
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
837
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
838
MakeForm(Part,"Cyl")
839
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
840
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
841
MakeForm(Part,"Cyl")
842
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
843
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
844
MakeForm(Part,"Cyl")
845
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
846
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
847
MakeForm(Part,"Wedge")
848
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
849
local LASTPART = Handle
850
for i = 1, 10 do
851
	if LASTPART == Handle then
852
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
853
		LASTPART = Part
854
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
855
	else
856
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
857
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
858
		LASTPART = Part
859
	end
860
end
861
862
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
863
MakeForm(Barrel,"Cyl")
864
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
865
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
866
MakeForm(Part,"Cyl")
867
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
868
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
869
MakeForm(Part,"Wedge")
870
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
871
local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
872
MakeForm(Hole2,"Cyl")
873
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
874
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
875
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
876
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
877
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
878
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
879
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
880
coroutine.resume(coroutine.create(function()
881
	while wait() do
882
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
883
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
884
	end
885
end))
886
887
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
888
--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)})
889
890
for _, c in pairs(Weapon:GetDescendants()) do
891
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
892
		c.Material = "Glass"
893
		c.Color = C3(0,0,0)
894
	elseif c.ClassName == "Part" and c.Name == "Eye" then
895
		c.Color = C3(0,1,0)
896
		c.Material = "Neon"
897
	end
898
end
899
900
Weapon.Parent = Character
901
for _, c in pairs(Weapon:GetChildren()) do
902
	if c.ClassName == "Part" then
903
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
904
	end
905
end
906
907
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
908
PRT.Color = C3(0,0,0)
909
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
910
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
911
912
	if Character:FindFirstChildOfClass("Accessory") then
913
		Character:FindFirstChildOfClass("Accessory"):remove()
914
	elseif Character:FindFirstChildOfClass("Hat") then
915
		Character:FindFirstChildOfClass("Hat"):remove()
916
	end
917
	if Head:FindFirstChild("face") then
918
		Head.face.Texture = "rbxassetid://403870689"
919
			if Character:FindFirstChildOfClass("Accessory") then
920
		Character:FindFirstChildOfClass("Accessory"):remove()
921
	elseif Character:FindFirstChildOfClass("Hat") then
922
		Character:FindFirstChildOfClass("Hat"):remove()
923
			end
924
				if Character:FindFirstChildOfClass("Accessory") then
925
		Character:FindFirstChildOfClass("Accessory"):remove()
926
	elseif Character:FindFirstChildOfClass("Hat") then
927
		Character:FindFirstChildOfClass("Hat"):remove()
928
				end
929
					if Character:FindFirstChildOfClass("Accessory") then
930
		Character:FindFirstChildOfClass("Accessory"):remove()
931
	elseif Character:FindFirstChildOfClass("Hat") then
932
		Character:FindFirstChildOfClass("Hat"):remove()
933
					end
934
						if Character:FindFirstChildOfClass("Accessory") then
935
		Character:FindFirstChildOfClass("Accessory"):remove()
936
	elseif Character:FindFirstChildOfClass("Hat") then
937
		Character:FindFirstChildOfClass("Hat"):remove()
938
						end
939
							if Character:FindFirstChildOfClass("Accessory") then
940
		Character:FindFirstChildOfClass("Accessory"):remove()
941
	elseif Character:FindFirstChildOfClass("Hat") then
942
		Character:FindFirstChildOfClass("Hat"):remove()
943
	end
944
		end
945
946
function ParticleEmitter(Table)
947
	local PRTCL = Particle:Clone()
948
	local Speed = Table.Speed or 5
949
	local Drag = Table.Drag or 0
950
	local Size1 = Table.Size1 or 1
951
	local Size2 = Table.Size2 or 5
952
	local Lifetime1 = Table.Lifetime1 or 1
953
	local Lifetime2 = Table.Lifetime2 or 1.5
954
	local Parent = Table.Parent or Torso
955
	local Emit = Table.Emit or 100
956
	local Offset = Table.Offset or 360
957
	local Acel = Table.Acel or VT(0,0,0)
958
	local Enabled = Table.Enabled or false
959
	PRTCL.Parent = Parent
960
	PRTCL.Size = NumberSequence.new(Size1,Size2)
961
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
962
	PRTCL.Speed = NumberRange.new(Speed)
963
	PRTCL.VelocitySpread = Offset
964
	PRTCL.Drag = Drag
965
	PRTCL.Acceleration = Acel
966
	if Enabled == false then
967
		PRTCL:Emit(Emit)
968
		Debris:AddItem(PRTCL,Lifetime2)
969
	else
970
		PRTCL.Enabled = true
971
	end
972
	return PRTCL
973
end
974
975
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
976
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
977
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
978
MakeForm(Part,"Wedge")
979
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
980
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
981
MakeForm(Part,"Wedge")
982
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
983
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
984
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
985
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
986
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
987
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
988
MakeForm(Part,"Cyl")
989
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
990
for i = 1, 8 do
991
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
992
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
993
end
994
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
995
MakeForm(Part,"Cyl")
996
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
997
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
998
MakeForm(Part,"Ball")
999
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1000
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1001
MakeForm(Part,"Wedge")
1002
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1003
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1004
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1005
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1006
MakeForm(Part,"Cyl")
1007
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1008
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1009
MakeForm(Part,"Cyl")
1010
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1011
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1012
MakeForm(Part,"Cyl")
1013
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1014
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1015
MakeForm(Part,"Wedge")
1016
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1017
local LASTPART = Handle
1018
for i = 1, 10 do
1019
	if LASTPART == Handle then
1020
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1021
		LASTPART = Part
1022
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1023
	else
1024
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1025
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1026
		LASTPART = Part
1027
	end
1028
end
1029
1030
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
1031
MakeForm(Barrel,"Cyl")
1032
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1033
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
1034
MakeForm(Part,"Cyl")
1035
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1036
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1037
MakeForm(Part,"Wedge")
1038
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1039
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1040
MakeForm(Hole,"Cyl")
1041
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1042
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1043
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1044
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1045
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1046
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1047
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1048
coroutine.resume(coroutine.create(function()
1049
	while wait() do
1050
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1051
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1052
	end
1053
end))
1054
1055
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)})
1056
--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)})
1057
1058
for _, c in pairs(Weapon:GetDescendants()) do
1059
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1060
		c.Material = "Glass"
1061
		c.Color = C3(0.05,0.05,0.05)
1062
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1063
		c.Color = C3(0,1,0)
1064
		c.Material = "Neon"
1065
	end
1066
end
1067
1068
Weapon.Parent = Character
1069
for _, c in pairs(Weapon:GetChildren()) do
1070
	if c.ClassName == "Part" then
1071
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1072
	end
1073
end
1074
1075
local SKILLTEXTCOLOR = C3(0,1,0)
1076
local SKILLFONT = "Antique"
1077
local SKILLTEXTSIZE = 7
1078
1079
Humanoid.Died:connect(function()
1080
	ATTACK = true
1081
end)
1082
1083
1084
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1085
--[[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")
1086
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")
1087
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")
1088
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")
1089
]]
1090
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
1091
--[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
1092
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
1093
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
1094
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
1095
]]
1096
function printbye(Name)
1097
	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, "}
1098
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1099
end
1100
1101
workspace.ChildAdded:connect(function(instance)
1102
    for BANISH = 1, #TOBANISH do
1103
		if TOBANISH[BANISH] ~= nil then
1104
			if instance.Name == TOBANISH[BANISH] then
1105
				coroutine.resume(coroutine.create(function()
1106
					printbye(instance.Name)
1107
					instance:ClearAllChildren()
1108
					Debris:AddItem(instance,0.0005)
1109
				end))
1110
			end
1111
		end
1112
	end
1113
end)
1114
1115
--//=================================\\
1116
--||			DAMAGING
1117
--\\=================================//
1118
1119
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
1120
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1121
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1122
	wave.CFrame = CFRAME
1123
	coroutine.resume(coroutine.create(function(PART)
1124
		for i = 1, WAIT do
1125
			Swait()
1126
			mesh.Scale = mesh.Scale + GROW
1127
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1128
			if DOESROT == true then
1129
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1130
			end
1131
			wave.Transparency = wave.Transparency + (0.5/WAIT)
1132
			if wave.Transparency > 0.99 then
1133
				wave:remove()
1134
			end
1135
		end
1136
	end))
1137
end
1138
1139
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
1140
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1141
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
1142
	wave.CFrame = CFRAME
1143
	coroutine.resume(coroutine.create(function(PART)
1144
		for i = 1, WAIT do
1145
			Swait()
1146
			mesh.Scale = mesh.Scale + GROW
1147
			if DOESROT == true then
1148
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1149
			end
1150
			wave.Transparency = wave.Transparency + (0.5/WAIT)
1151
			if wave.Transparency > 0.99 then
1152
				wave:remove()
1153
			end
1154
		end
1155
	end))
1156
end
1157
1158
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
1159
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
1160
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
1161
	wave.CFrame = CFRAME
1162
	coroutine.resume(coroutine.create(function(PART)
1163
		for i = 1, WAIT do
1164
			Swait()
1165
			mesh.Scale = mesh.Scale + GROW
1166
			wave.Transparency = wave.Transparency + (1/WAIT)
1167
			if wave.Transparency > 0.99 then
1168
				wave:remove()
1169
			end
1170
		end
1171
	end))
1172
end
1173
1174
function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
1175
	local mesh = nil
1176
	if KIND == "Base" then
1177
 		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
1178
	elseif KIND == "Thin" then
1179
 		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
1180
	elseif KIND == "Round" then
1181
 		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
1182
	end
1183
	wave.CFrame = CFRAME
1184
	coroutine.resume(coroutine.create(function(PART)
1185
		for i = 1, WAIT do
1186
			Swait()
1187
			mesh.Scale = mesh.Scale + GROW/10
1188
			wave.Transparency = wave.Transparency + (0.5/WAIT)
1189
			if wave.Transparency > 0.99 then
1190
				wave:remove()
1191
			end
1192
		end
1193
	end))
1194
end
1195
1196
function Ragdoll(Character2, CharTorso, Headless, Velocity)
1197
	local svch = Character2
1198
	Character2:BreakJoints()
1199
	local hum = Character2:findFirstChild("Humanoid")
1200
	local q = Character2:GetChildren()
1201
	local CLONE = IT("Model", Effects)
1202
	for i = 1, #q do
1203
		if q[i].ClassName == "Accessory" and Headless == true then
1204
			q[i]:remove()
1205
		elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
1206
			q[i].Parent = CLONE
1207
		elseif q[i].ClassName ~= "Humanoid" then
1208
			q[i]:remove()
1209
		end
1210
	end
1211
	local chrclone = CLONE
1212
	local ch = chrclone:GetChildren()
1213
	local i
1214
	for i = 1, #ch do
1215
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
1216
			ch[i]:remove()
1217
		end
1218
	end
1219
	local function Scan(ch)
1220
		local e
1221
		for e = 1, #ch do
1222
			Scan(ch[e]:GetChildren())
1223
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
1224
				ch[e]:remove()
1225
			end
1226
		end
1227
	end
1228
	Character2:remove()
1229
	local NEWHUM = IT("Humanoid")
1230
	NEWHUM.Name = "Corpse"
1231
	NEWHUM.Health = 0
1232
	NEWHUM.MaxHealth = 0
1233
	NEWHUM.PlatformStand = true
1234
	NEWHUM.Parent = CLONE
1235
	NEWHUM.DisplayDistanceType = "None"
1236
	Scan(chrclone:GetChildren())
1237
	local ch = Character2:GetChildren()
1238
	local i
1239
	for i = 1, #ch do
1240
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1241
			ch[i]:remove()
1242
		end
1243
	end
1244
	local ch = Character2:GetChildren()
1245
	local i
1246
	for i = 1, #ch do
1247
		if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1248
			ch[i]:remove()
1249
		end
1250
	end
1251
	Character2 = chrclone
1252
	local Torso2 = Character2.Torso
1253
	local movevector = Vector3.new()
1254
	if Torso2 then
1255
		movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
1256
		local Head = Character2:FindFirstChild("Head")
1257
		if Head then
1258
			local Neck = Instance.new("Weld")
1259
			Neck.Name = "Neck"
1260
			Neck.Part0 = Torso2
1261
			Neck.Part1 = Head
1262
			Neck.C0 = CFrame.new(0, 1.5, 0)
1263
			Neck.C1 = CFrame.new()
1264
			Neck.Parent = Torso2
1265
			if Headless == true then
1266
				Head.Transparency = 1
1267
				Head:ClearAllChildren()
1268
			end
1269
		end
1270
		local Limb = Character2:FindFirstChild("Right Arm")
1271
		if Limb then
1272
			Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
1273
			local Joint = Instance.new("Glue")
1274
			Joint.Name = "RightShoulder"
1275
			Joint.Part0 = Torso2
1276
			Joint.Part1 = Limb
1277
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1278
			Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1279
			Joint.Parent = Torso2
1280
			local B = Instance.new("Part")
1281
			B.TopSurface = 0
1282
			B.BottomSurface = 0
1283
			B.formFactor = "Symmetric"
1284
			B.Size = Vector3.new(1, 1, 1)
1285
			B.Transparency = 1
1286
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1287
			B.Parent = Character2
1288
			local W = Instance.new("Weld")
1289
			W.Part0 = Limb
1290
			W.Part1 = B
1291
			W.C0 = CFrame.new(0, -0.5, 0)
1292
			W.Parent = Limb
1293
		end
1294
		local Limb = Character2:FindFirstChild("Left Arm")
1295
		if Limb then
1296
			Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
1297
			local Joint = Instance.new("Glue")
1298
			Joint.Name = "LeftShoulder"
1299
			Joint.Part0 = Torso2
1300
			Joint.Part1 = Limb
1301
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1302
			Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1303
			Joint.Parent = Torso2
1304
			local B = Instance.new("Part")
1305
			B.TopSurface = 0
1306
			B.BottomSurface = 0
1307
			B.formFactor = "Symmetric"
1308
			B.Size = Vector3.new(1, 1, 1)
1309
			B.Transparency = 1
1310
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1311
			B.Parent = Character2
1312
			local W = Instance.new("Weld")
1313
			W.Part0 = Limb
1314
			W.Part1 = B
1315
			W.C0 = CFrame.new(0, -0.5, 0)
1316
			W.Parent = Limb
1317
		end
1318
		local Limb = Character2:FindFirstChild("Right Leg")
1319
		if Limb then
1320
			Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
1321
			local Joint = Instance.new("Glue")
1322
			Joint.Name = "RightHip"
1323
			Joint.Part0 = Torso2
1324
			Joint.Part1 = Limb
1325
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1326
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1327
			Joint.Parent = Torso2
1328
			local B = Instance.new("Part")
1329
			B.TopSurface = 0
1330
			B.BottomSurface = 0
1331
			B.formFactor = "Symmetric"
1332
			B.Size = Vector3.new(1, 1, 1)
1333
			B.Transparency = 1
1334
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1335
			B.Parent = Character2
1336
			local W = Instance.new("Weld")
1337
			W.Part0 = Limb
1338
			W.Part1 = B
1339
			W.C0 = CFrame.new(0, -0.5, 0)
1340
			W.Parent = Limb
1341
		end
1342
		local Limb = Character2:FindFirstChild("Left Leg")
1343
		if Limb then
1344
			Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
1345
			local Joint = Instance.new("Glue")
1346
			Joint.Name = "LeftHip"
1347
			Joint.Part0 = Torso2
1348
			Joint.Part1 = Limb
1349
			Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1350
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1351
			Joint.Parent = Torso2
1352
			local B = Instance.new("Part")
1353
			B.TopSurface = 0
1354
			B.BottomSurface = 0
1355
			B.formFactor = "Symmetric"
1356
			B.Size = Vector3.new(1, 1, 1)
1357
			B.Transparency = 1
1358
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1359
			B.Parent = Character2
1360
			local W = Instance.new("Weld")
1361
			W.Part0 = Limb
1362
			W.Part1 = B
1363
			W.C0 = CFrame.new(0, -0.5, 0)
1364
			W.Parent = Limb
1365
		end
1366
		local Bar = Instance.new("Part")
1367
		Bar.TopSurface = 0
1368
		Bar.BottomSurface = 0
1369
		Bar.formFactor = "Symmetric"
1370
		Bar.Size = Vector3.new(1, 1, 1)
1371
		Bar.Transparency = 1
1372
		Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1373
		Bar.Parent = Character2
1374
		local Weld = Instance.new("Weld")
1375
		Weld.Part0 = Torso2
1376
		Weld.Part1 = Bar
1377
		Weld.C0 = CFrame.new(0, 0.5, 0)
1378
		Weld.Parent = Torso2
1379
	end
1380
	Character2.Parent = Weapon
1381
	if movevector ~= Vector3.new() then
1382
		for i = 1, 10 do
1383
			Torso2.Velocity = movevector * Velocity
1384
		end
1385
	end
1386
	Character2.Name = "Corpse"
1387
	return Character2, Torso2
1388
end
1389
1390
function Banish(Foe)
1391
	if Foe then
1392
		coroutine.resume(coroutine.create(function()
1393
			--if game.Players:FindFirstChild(Foe.Name) then
1394
				table.insert(TOBANISH,Foe.Name)
1395
				printbye(Foe.Name)
1396
			--end
1397
			Foe.Archivable = true
1398
			local CLONE = Foe:Clone()
1399
			Foe:Destroy()
1400
			CLONE.Parent = Effects
1401
			CLONE:BreakJoints()
1402
			local MATERIALS = {"Glass","Neon"}
1403
			for _, c in pairs(CLONE:GetDescendants()) do
1404
				if c:IsA("BasePart") then
1405
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1406
 						CreateSound(340722848, c, 10, 1, false)
1407
					end
1408
					c.Anchored = true
1409
					c.Transparency = c.Transparency + 0.2
1410
					c.Material = MATERIALS[MRANDOM(1,2)]
1411
					c.Color = C3(0,1,0)
1412
					if c.ClassName == "MeshPart" then
1413
						c.TextureID = ""
1414
					end
1415
					if c:FindFirstChildOfClass("SpecialMesh") then
1416
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1417
					end
1418
					if c:FindFirstChildOfClass("Decal") then
1419
						c:FindFirstChildOfClass("Decal"):remove()
1420
					end
1421
					c.Name = "Banished"
1422
					c.CanCollide = false
1423
				else
1424
					c:remove()
1425
				end
1426
			end
1427
			local A = false
1428
			for i = 1, 35 do
1429
				if A == false then
1430
					A = true
1431
				elseif A == true then
1432
					A = false
1433
				end
1434
				for _, c in pairs(CLONE:GetDescendants()) do
1435
					if c:IsA("BasePart") then
1436
						c.Anchored = true
1437
						c.Material = MATERIALS[MRANDOM(1,2)]
1438
						c.Transparency = c.Transparency + 0.8/35
1439
						if A == false then
1440
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1441
						elseif A == true then
1442
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1443
						end
1444
					end
1445
				end
1446
				Swait()
1447
			end
1448
			CLONE:remove()
1449
		end))
1450
	end
1451
end
1452
1453
function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
1454
	local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
1455
	if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
1456
		if HITFLOOR.Name == "BloodPuddle" then
1457
			local DIST = (Position - HITFLOOR.Position).Magnitude
1458
			if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
1459
				HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
1460
			end
1461
		elseif HITFLOOR.Anchored == true then
1462
			do
1463
				local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(2, 0, 2))
1464
				BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
1465
				MakeForm(BLOOD, "Cyl")
1466
				coroutine.resume(coroutine.create(function()
1467
					Swait(75)
1468
					while true do
1469
						Swait()
1470
						BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
1471
						if BLOOD.Size.Z < 0.051 then
1472
							BLOOD:remove()
1473
							break
1474
						end
1475
					end
1476
				end))
1477
			end
1478
		end
1479
	end
1480
end
1481
1482
function SprayBlood(POSITION, DIRECTION, BloodSize)
1483
	local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(1, 1, 1), false)
1484
	BLOOD.CFrame = CF(POSITION)
1485
	MakeForm(BLOOD, "Ball")
1486
	local bv = Instance.new("BodyVelocity", BLOOD)
1487
	bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1488
	bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
1489
	bv.Name = "MOVE"
1490
	Debris:AddItem(bv, 0.05)
1491
	coroutine.resume(coroutine.create(function()
1492
		local HASTOUCHEDGROUND = false
1493
		local HIT = BLOOD.Touched:Connect(function(hit)
1494
			if hit.Anchored == true then
1495
				HASTOUCHEDGROUND = true
1496
				PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
1497
			end
1498
		end)
1499
		wait(5)
1500
		if HASTOUCHEDGROUND == false then
1501
			BLOOD:remove()
1502
		end
1503
	end))
1504
end
1505
function ApplyDamage(Humanoid, Damage, TorsoPart)
1506
	local defence = Instance.new("BoolValue", Humanoid.Parent)
1507
	defence.Name = "HitBy" .. Player.Name
1508
	game:GetService("Debris"):AddItem(defence, 0.001)
1509
	Damage = Damage * DAMAGEMULTIPLIER
1510
	if Humanoid.Health ~= 0 then
1511
		local CritChance = MRANDOM(1, 100)
1512
		if Damage > Humanoid.Health then
1513
			Damage = math.ceil(Humanoid.Health)
1514
			if Damage == 0 then
1515
				Damage = 0.1
1516
			end
1517
		end
1518
		Humanoid.Health = Humanoid.Health - Damage
1519
		StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
1520
	end
1521
end
1522
1523
function ApplyAoE(POSITION,RANGE,ISBANISH)
1524
	local CHILDREN = workspace:GetDescendants()
1525
	for index, CHILD in pairs(CHILDREN) do
1526
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1527
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1528
			if HUM then
1529
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1530
				if TORSO then
1531
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1532
						if ISBANISH == true then
1533
							Banish(CHILD)
1534
						else
1535
							if ISBANISH == "Gravity" then
1536
								HUM.PlatformStand = true
1537
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1538
									local grav = Instance.new("BodyPosition",TORSO)
1539
									grav.D = 15
1540
									grav.P = 20000
1541
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1542
									grav.position = TORSO.Position
1543
									grav.Name = "V3BanishForce"..Player.Name
1544
								else
1545
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1546
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1547
								end
1548
							else
1549
								HUM.PlatformStand = false
1550
							end
1551
						end
1552
					elseif ISBANISH == "Gravity" then
1553
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1554
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1555
							HUM.PlatformStand = false
1556
						end
1557
					end
1558
				end
1559
			end
1560
		end
1561
	end
1562
end
1563
1564
function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
1565
	local dmg = math.random(min,max)
1566
	for i,v in ipairs(workspace:GetChildren()) do
1567
	if v:FindFirstChild("HitBy"..Player.Name) == nil then
1568
		local body = v:GetChildren()
1569
			for part = 1, #body do
1570
				if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1571
					if(body[part].Position - position).Magnitude < radius then
1572
						if v.ClassName == "Model" then
1573
							if v:FindFirstChildOfClass("Humanoid") then
1574
								if CanBeDodgedByJumping == true then
1575
									if body[part].Position.Y < position.Y+5 then
1576
										ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
1577
									end
1578
								else
1579
									ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
1580
								end
1581
								local bv = Instance.new("BodyVelocity") 
1582
								bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1583
								bv.velocity = RootPart.CFrame.lookVector*maxstrength
1584
								bv.Parent = body[part]
1585
								Debris:AddItem(bv,0.2)
1586
							end
1587
						end
1588
					end
1589
				end
1590
			end
1591
		end
1592
		if v:FindFirstChild("HitBy"..Player.Name) then
1593
			v:FindFirstChild("HitBy"..Player.Name):remove()
1594
		end
1595
	end
1596
end
1597
1598
1599
--//=================================\\
1600
--||	ATTACK FUNCTIONS AND STUFF
1601
--\\=================================//
1602
1603
function ShadowCloak()
1604
	if ANIM ~= "Fall" and ANIM ~= "Jump" then
1605
		ATTACK = true
1606
		Rooted = false
1607
		UNANCHOR = false
1608
		FADERS = false
1609
		coroutine.resume(coroutine.create(function()
1610
			coroutine.resume(coroutine.create(function()
1611
				for i=1, 25 do
1612
					Swait()
1613
					RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
1614
				end
1615
			end))
1616
			repeat
1617
				Swait()
1618
				BLADE.Transparency = Torso.Transparency
1619
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1620
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
1621
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1622
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1623
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
1624
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
1625
			until ATTACK == false
1626
		end))
1627
		WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
1628
		WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
1629
		for i = 1, 50 do
1630
			Swait()
1631
			CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
1632
			for index, CHILD in pairs(Character:GetChildren()) do
1633
				if CHILD:IsA("BasePart") then
1634
					CHILD.Transparency = CHILD.Transparency + 1/50
1635
				elseif CHILD:IsA("Accessory") then
1636
					CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
1637
				end
1638
			end
1639
		end
1640
		for i = 1, 25 do
1641
			Swait()
1642
			CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
1643
		end
1644
		RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
1645
		for i = 1, 5 do
1646
			WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
1647
		end
1648
		ApplyAoE(Torso.Position,15,12,22,150,false)
1649
		CreateSound(331666014,Torso,5,1,false)
1650
		for i = 1, 12 do
1651
			Swait()
1652
			CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
1653
		end
1654
		for i = 1, 50 do
1655
			Swait()
1656
			CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
1657
			for index, CHILD in pairs(Character:GetChildren()) do
1658
				if CHILD:IsA("BasePart") then
1659
					CHILD.Transparency = CHILD.Transparency - 1/50
1660
				elseif CHILD:IsA("Accessory") then
1661
					CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
1662
				end
1663
			end
1664
		end
1665
		UNANCHOR = true
1666
		ATTACK = false
1667
		Rooted = false
1668
		FADERS = true
1669
	end
1670
end
1671
1672
function Neck_Snap()
1673
	ATTACK = true
1674
	Rooted = false
1675
	local TARGET, HUM, WLD
1676
	local HIT = RightArm.Touched:Connect(function(hit)
1677
		if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
1678
			local H = hit.Parent:FindFirstChildOfClass("Humanoid")
1679
			if H.Health > 0 then
1680
				local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
1681
				if TORSO then
1682
					HUM = H
1683
					TARGET = TORSO
1684
					H.PlatformStand = true
1685
					CreateSound("260411131", TORSO, 10, 1)
1686
					WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1687
				end
1688
			end
1689
		end
1690
	end)
1691
	for i = 0, 1, 0.1 / Animation_Speed do
1692
		Swait()
1693
		if TARGET ~= nil then
1694
			break
1695
		end
1696
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
1697
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
1698
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1699
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1700
		if ANIM == "Idle" then
1701
			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.5 / Animation_Speed)
1702
			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.5 / Animation_Speed)
1703
		elseif ANIM == "Walk" then
1704
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1705
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1706
		elseif ANIM == "Jump" or ANIM == "Fall" then
1707
			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)
1708
			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)
1709
		end
1710
	end
1711
	HIT:disconnect()
1712
	if TARGET ~= nil then
1713
		if TARGET.Name == "Torso" then
1714
			for i = 0, 2, 0.1 / Animation_Speed do
1715
				Swait()
1716
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1717
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1718
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1719
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1720
				if ANIM == "Idle" then
1721
					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.5 / Animation_Speed)
1722
					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.5 / Animation_Speed)
1723
				elseif ANIM == "Walk" then
1724
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1725
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1726
				elseif ANIM == "Jump" or ANIM == "Fall" then
1727
					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)
1728
					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)
1729
				end
1730
			end
1731
			WLD:remove()
1732
			local HEAD = TARGET.Parent:FindFirstChild("Head")
1733
			if HEAD then
1734
				UNANCHOR = false
1735
				RootPart.Anchored = true
1736
				local HD = HEAD:Clone()
1737
				HD.Name = "FakeHead"
1738
				for i = 1, 7 do
1739
					SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
1740
				end
1741
				local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
1742
				local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1743
				HD.Parent = RAGDOLL
1744
				CreateSound("264486467", RAGTORSO, 10, 1)
1745
				local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1746
				for i = 0, 2, 0.1 / Animation_Speed do
1747
					Swait()
1748
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1749
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1750
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1751
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1752
					if ANIM == "Idle" then
1753
						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.5 / Animation_Speed)
1754
						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.5 / Animation_Speed)
1755
					elseif ANIM == "Walk" then
1756
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1757
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1758
					elseif ANIM == "Jump" or ANIM == "Fall" then
1759
						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)
1760
						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)
1761
					end
1762
				end
1763
				HEADWELD:remove()
1764
				for i = 0, 0.5, 0.1 / Animation_Speed do
1765
					Swait()
1766
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1767
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1768
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1769
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1770
					if ANIM == "Idle" then
1771
						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.5 / Animation_Speed)
1772
						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.5 / Animation_Speed)
1773
					elseif ANIM == "Walk" then
1774
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1775
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1776
					elseif ANIM == "Jump" or ANIM == "Fall" then
1777
						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)
1778
						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)
1779
					end
1780
				end
1781
				CreateSound("907333406", Torso, 10, 1)
1782
				for i = 0, 0.25, 0.1 / Animation_Speed do
1783
					Swait()
1784
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1785
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1786
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1787
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1788
					if ANIM == "Idle" then
1789
						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.5 / Animation_Speed)
1790
						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.5 / Animation_Speed)
1791
					elseif ANIM == "Walk" then
1792
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1793
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1794
					elseif ANIM == "Jump" or ANIM == "Fall" then
1795
						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)
1796
						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)
1797
					end
1798
				end
1799
				RAGWELD:remove()
1800
				local bv = Instance.new("BodyVelocity")
1801
				bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1802
				bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
1803
				bv.Parent = RAGTORSO
1804
				Debris:AddItem(bv, 0.05)
1805
				Debris:AddItem(RAGDOLL, 5)
1806
				for i = 0, 0.15, 0.1 / Animation_Speed do
1807
					Swait()
1808
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1809
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1810
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1811
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1812
					if ANIM == "Idle" then
1813
						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.5 / Animation_Speed)
1814
						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.5 / Animation_Speed)
1815
					elseif ANIM == "Walk" then
1816
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1817
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1818
					elseif ANIM == "Jump" or ANIM == "Fall" then
1819
						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)
1820
						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)
1821
					end
1822
				end
1823
				UNANCHOR = true
1824
				RootPart.Anchored = false
1825
			end
1826
		else
1827
			UNANCHOR = false
1828
			RootPart.Anchored = true
1829
			for i = 0, 0.5, 0.1 / Animation_Speed do
1830
				Swait()
1831
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1832
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1833
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1834
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1835
				if ANIM == "Idle" then
1836
					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.5 / Animation_Speed)
1837
					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.5 / Animation_Speed)
1838
				elseif ANIM == "Walk" then
1839
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1840
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1841
				elseif ANIM == "Jump" or ANIM == "Fall" then
1842
					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)
1843
					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)
1844
				end
1845
			end
1846
			for i = 0, 0.25, 0.1 / Animation_Speed do
1847
				Swait()
1848
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1849
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1850
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1851
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1852
				if ANIM == "Idle" then
1853
					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.5 / Animation_Speed)
1854
					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.5 / Animation_Speed)
1855
				elseif ANIM == "Walk" then
1856
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1857
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1858
				elseif ANIM == "Jump" or ANIM == "Fall" then
1859
					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)
1860
					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)
1861
				end
1862
			end
1863
			WLD:remove()
1864
			TARGET.Parent:BreakJoints()
1865
			for _, c in pairs(TARGET.Parent:GetChildren()) do
1866
				if c:IsA("BasePart") then
1867
					local bv = Instance.new("BodyVelocity")
1868
					bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1869
					bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
1870
					bv.Parent = c
1871
					Debris:AddItem(bv, 0.05)
1872
				end
1873
			end
1874
			for i = 0, 0.15, 0.1 / Animation_Speed do
1875
				Swait()
1876
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1877
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1878
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1879
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1880
				if ANIM == "Idle" then
1881
					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.5 / Animation_Speed)
1882
					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.5 / Animation_Speed)
1883
				elseif ANIM == "Walk" then
1884
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1885
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1886
				elseif ANIM == "Jump" or ANIM == "Fall" then
1887
					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)
1888
					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)
1889
				end
1890
			end
1891
			UNANCHOR = true
1892
			RootPart.Anchored = false
1893
		end
1894
	end
1895
	ATTACK = false
1896
	Rooted = false
1897
end
1898
1899
function Banisher_Bullet()
1900
	ATTACK = true
1901
	Rooted = false
1902
	for i=0, 0.4, 0.1 / Animation_Speed do
1903
		Swait()
1904
		turnto(Mouse.Hit.p)
1905
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
1906
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1907
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1908
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1909
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1910
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1911
	end
1912
	repeat
1913
		for i=0, 0.2, 0.1 / Animation_Speed do
1914
			Swait()
1915
			turnto(Mouse.Hit.p)
1916
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
1917
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1918
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1919
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1920
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1921
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1922
		end
1923
		local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
1924
		SpawnTrail(Hole2.Position,POS)
1925
		if HIT ~= nil then
1926
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1927
				Banish(HIT.Parent)
1928
			end
1929
		end
1930
			local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1931
		SpawnTrail(Hole.Position,POS)
1932
		if HIT ~= nil then
1933
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1934
				Banish(HIT.Parent)
1935
			end
1936
		end
1937
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1938
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1939
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1940
		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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1941
		for i=0, 0.3, 0.1 / Animation_Speed do
1942
			Swait()
1943
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
1944
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1945
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1946
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1947
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1948
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1949
		end
1950
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(5,5,5).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1951
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1952
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1953
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1954
	until KEYHOLD == false
1955
	ATTACK = false
1956
	Rooted = false
1957
end
1958
1959
function AttackTemplate()
1960
	ATTACK = true
1961
	Rooted = false
1962
	for i=0, 1, 0.1 / Animation_Speed do
1963
		Swait()
1964
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1965
		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)
1966
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1967
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1968
		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)
1969
		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)
1970
	end
1971
	ATTACK = false
1972
	Rooted = false
1973
end
1974
1975
--//=================================\\
1976
--||	  ASSIGN THINGS TO KEYS
1977
--\\=================================//
1978
1979
function MouseDown(Mouse)
1980
	if ATTACK == false then
1981
	end
1982
end
1983
1984
function MouseUp(Mouse)
1985
HOLD = false
1986
end
1987
1988
function KeyDown(Key)
1989
	KEYHOLD = true
1990
	if Key == "z" and ATTACK == false then
1991
		Banisher_Bullet()
1992
	end
1993
1994
	if Key == "b" and ATTACK == false then
1995
                Neck_Snap()
1996
	end
1997
1998
	if Key == "c" and ATTACK == false then
1999
                ShadowCloak()
2000
	end
2001
2002
	if Key == "v" and ATTACK == false then
2003
	end
2004
2005
	if Key == "x" and ATTACK == false then
2006
	end
2007
end
2008
2009
function KeyUp(Key)
2010
	KEYHOLD = false
2011
end
2012
2013
	Mouse.Button1Down:connect(function(NEWKEY)
2014
		MouseDown(NEWKEY)
2015
	end)
2016
	Mouse.Button1Up:connect(function(NEWKEY)
2017
		MouseUp(NEWKEY)
2018
	end)
2019
	Mouse.KeyDown:connect(function(NEWKEY)
2020
		KeyDown(NEWKEY)
2021
	end)
2022
	Mouse.KeyUp:connect(function(NEWKEY)
2023
		KeyUp(NEWKEY)
2024
	end)
2025
2026
--//=================================\\
2027
--\\=================================//
2028
2029
2030
function unanchor()
2031
	if UNANCHOR == true then
2032
		g = Character:GetChildren()
2033
		for i = 1, #g do
2034
			if g[i].ClassName == "Part" then
2035
				g[i].Anchored = false
2036
			end
2037
		end
2038
	end
2039
end
2040
2041
2042
--//=================================\\
2043
--||	WRAP THE WHOLE SCRIPT UP
2044
--\\=================================//
2045
2046
Humanoid.Changed:connect(function(Jump)
2047
	if Jump == "Jump" and (Disable_Jump == true) then
2048
		Humanoid.Jump = false
2049
	end
2050
end)
2051
2052
local CONNECT = nil
2053
2054
while true do
2055
	Swait()
2056
	ANIMATE.Parent = nil
2057
	if Character:FindFirstChildOfClass("Humanoid") == nil then
2058
		Humanoid = IT("Humanoid",Character)
2059
	end
2060
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2061
	    v:Stop();
2062
	end
2063
	SINE = SINE + CHANGE
2064
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2065
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2066
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2067
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2068
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2069
		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)
2070
		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)
2071
		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)
2072
		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)
2073
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2074
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2075
		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)
2076
		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)
2077
		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)
2078
	end
2079
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2080
		ANIM = "Jump"
2081
		if ATTACK == false then
2082
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
2083
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2084
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2085
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2086
			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)
2087
			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)
2088
	    end
2089
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2090
		ANIM = "Fall"
2091
		if ATTACK == false then
2092
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
2093
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2094
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2095
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2096
			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)
2097
			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)
2098
		end
2099
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2100
		ANIM = "Idle"
2101
		if ATTACK == false then
2102
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
2103
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2104
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2105
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2106
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2107
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2108
		end
2109
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2110
		ANIM = "Walk"
2111
		if ATTACK == false then
2112
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
2113
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2114
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2115
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2116
			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)
2117
			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)
2118
		end
2119
	end
2120
	unanchor()
2121
	Humanoid.MaxHealth = "inf"
2122
	Humanoid.Health = "inf"
2123
	if Rooted == false then
2124
		Disable_Jump = false
2125
		Humanoid.WalkSpeed = Speed
2126
	elseif Rooted == true then
2127
		Disable_Jump = true
2128
		Humanoid.WalkSpeed = 0
2129
	end
2130
	sick.Parent = Torso
2131
	sick:resume()
2132
	sick.Volume = 5
2133
	sick.Pitch = 1
2134
	sick.SoundId = "rbxassetid://933032912"
2135
	sick.Name = "BanishV3Music"
2136
end
2137
2138
--//=================================\\
2139
--\\=================================//
2140
2141
2142
2143
2144
2145
--//====================================================\\--
2146
--||			  		 END OF SCRIPT
2147
--\\====================================================//--