View difference between Paste ID: 1geHWAKc and BBaxjs92
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||			   CREATED BY SHACKLUSTER
3
--\\====================================================//--
4
5
6
7
wait(0.2)
8
9
10
11
Player = game:GetService("Players").LocalPlayer
12
PlayerGui = Player.PlayerGui
13
Cam = workspace.CurrentCamera
14
Backpack = Player.Backpack
15
Character = Player.Character
16
Humanoid = Character.Humanoid
17
Mouse = Player:GetMouse()
18
RootPart = Character["HumanoidRootPart"]
19
Torso = Character["Torso"]
20
Head = Character["Head"]
21
RightArm = Character["Right Arm"]
22
LeftArm = Character["Left Arm"]
23
RightLeg = Character["Right Leg"]
24
LeftLeg = Character["Left Leg"]
25
RootJoint = RootPart["RootJoint"]
26
Neck = Torso["Neck"]
27
RightShoulder = Torso["Right Shoulder"]
28
LeftShoulder = Torso["Left Shoulder"]
29
RightHip = Torso["Right Hip"]
30
LeftHip = Torso["Left Hip"]
31
local sick = Instance.new("Sound",Character)
32
sick.SoundId = "rbxassetid://853707984"
33
sick.Looped = true
34
sick.Pitch = 1
35
sick.Volume = 1
36
sick:Play()
37
38
IT = Instance.new
39
CF = CFrame.new
40
VT = Vector3.new
41
RAD = math.rad
42
C3 = Color3.new
43
UD2 = UDim2.new
44
BRICKC = BrickColor.new
45
ANGLES = CFrame.Angles
46
EULER = CFrame.fromEulerAnglesXYZ
47
COS = math.cos
48
ACOS = math.acos
49
SIN = math.sin
50
ASIN = math.asin
51
ABS = math.abs
52
MRANDOM = math.random
53
FLOOR = math.floor
54
55
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
56
	local NEWMESH = IT(MESH)
57
	if MESH == "SpecialMesh" then
58
		NEWMESH.MeshType = MESHTYPE
59
		if MESHID ~= "nil" and MESHID ~= "" then
60
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
61
		end
62
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
63
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
64
		end
65
	end
66
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
67
	NEWMESH.Scale = SCALE
68
	NEWMESH.Parent = PARENT
69
	return NEWMESH
70
end
71
72
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
73
	local NEWPART = IT("Part")
74
	NEWPART.formFactor = FORMFACTOR
75
	NEWPART.Reflectance = REFLECTANCE
76
	NEWPART.Transparency = TRANSPARENCY
77
	NEWPART.CanCollide = false
78
	NEWPART.Locked = true
79
	NEWPART.Anchored = true
80
	if ANCHOR == false then
81
		NEWPART.Anchored = false
82
	end
83
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
84
	NEWPART.Name = NAME
85
	NEWPART.Size = SIZE
86
	NEWPART.Position = Torso.Position
87
	NEWPART.Material = MATERIAL
88
	NEWPART:BreakJoints()
89
	NEWPART.Parent = PARENT
90
	return NEWPART
91
end
92
93
--//=================================\\
94
--||		  CUSTOMIZATION
95
--\\=================================//
96
97
Player_Size = 1 --Size of the player.
98
Animation_Speed = 3
99
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
100
101
local Speed = 16
102
local Effects2 = {}
103
104
--//=================================\\
105
--|| 	  END OF CUSTOMIZATION
106
--\\=================================//
107
108
	local function weldBetween(a, b)
109
	    local weldd = Instance.new("ManualWeld")
110
	    weldd.Part0 = a
111
	    weldd.Part1 = b
112
	    weldd.C0 = CFrame.new()
113
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
114
	    weldd.Parent = a
115
	    return weldd
116
	end
117
118
function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
119
local acs = Instance.new("Part")
120
acs.CanCollide = false
121
acs.Anchored = false
122
acs.Size = Vector3.new(0,0,0)
123
acs.CFrame = attachmentpart.CFrame
124
acs.Parent = Character
125
acs.BrickColor = color
126
    local meshs = Instance.new("SpecialMesh")
127
    meshs.MeshId = mesh
128
    meshs.TextureId = texture
129
    meshs.Parent = acs
130
    meshs.Scale = scale
131
    meshs.Offset = offset
132
weldBetween(attachmentpart,acs)
133
end
134
135
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
136
if TYPE == "Gem" then
137
	local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
138
	acs.Anchored = false
139
    acs.CanCollide = false
140
	acs.CFrame = PART.CFrame
141
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
142
weldBetween(PART,acs)
143
elseif TYPE == "Skull" then
144
	local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
145
	acs.Anchored = false
146
    acs.CanCollide = false
147
	acs.CFrame = PART.CFrame
148
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
149
weldBetween(PART,acs)
150
elseif TYPE == "Eye" then
151
	local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
152
	acs.Anchored = false
153
    acs.CanCollide = false
154
	acs.CFrame = PART.CFrame
155
	local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
156
weldBetween(PART,acs)
157
end
158
end
159
160
--//=================================\\
161
--|| 	      USEFUL VALUES
162
--\\=================================//
163
164
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
165
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
166
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
167
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
168
local CHANGEDEFENSE = 0
169
local CHANGEDAMAGE = 0
170
local CHANGEMOVEMENT = 0
171
local ANIM = "Idle"
172
local ATTACK = false
173
local EQUIPPED = false
174
local HOLD = false
175
local COMBO = 1
176
local Rooted = false
177
local SINE = 0
178
local KEYHOLD = false
179
local CHANGE = 2 / Animation_Speed
180
local WALKINGANIM = false
181
local WALK = 0
182
local VALUE1 = false
183
local HITFLOOR = nil
184
local VALUE2 = false
185
local ROBLOXIDLEANIMATION = IT("Animation")
186
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
187
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
188
--ROBLOXIDLEANIMATION.Parent = Humanoid
189
local WEAPONGUI = IT("ScreenGui", PlayerGui)
190
WEAPONGUI.Name = "Weapon GUI"
191
local Weapon = IT("Model")
192
Weapon.Name = "Adds"
193
local Delete = IT("Model",Character)
194
Delete.Name = "Banlist"
195
local Effects = IT("Folder", Weapon)
196
Effects.Name = "Effects"
197
local ANIMATOR = Humanoid.Animator
198
local ANIMATE = Character.Animate
199
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
200
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
201
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
202
local HITBLOCKSOUNDS = {"199148933", "199148947"}
203
local UNANCHOR = true
204
205
local SKILLTEXTCOLOR = C3(0,0,0)
206
207
--//=================================\\
208
--\\=================================//
209
210
211
--//=================================\\
212
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
213
--\\=================================//
214
215
ArtificialHB = Instance.new("BindableEvent", script)
216
ArtificialHB.Name = "ArtificialHB"
217
218
script:WaitForChild("ArtificialHB")
219
220
frame = Frame_Speed
221
tf = 0
222
allowframeloss = false
223
tossremainder = false
224
lastframe = tick()
225
script.ArtificialHB:Fire()
226
227
game:GetService("RunService").Heartbeat:connect(function(s, p)
228
	tf = tf + s
229
	if tf >= frame then
230
		if allowframeloss then
231
			script.ArtificialHB:Fire()
232
			lastframe = tick()
233
		else
234
			for i = 1, math.floor(tf / frame) do
235
				script.ArtificialHB:Fire()
236
			end
237
		lastframe = tick()
238
		end
239
		if tossremainder then
240
			tf = 0
241
		else
242
			tf = tf - frame * math.floor(tf / frame)
243
		end
244
	end
245
end)
246
247
--//=================================\\
248
--\\=================================//
249
250
251
252
253
254
--//=================================\\
255
--|| 	      SOME FUNCTIONS
256
--\\=================================//
257
258
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
259
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
260
end
261
262
function PositiveAngle(NUMBER)
263
	if NUMBER >= 0 then
264
		NUMBER = 0
265
	end
266
	return NUMBER
267
end
268
269
function NegativeAngle(NUMBER)
270
	if NUMBER <= 0 then
271
		NUMBER = 0
272
	end
273
	return NUMBER
274
end
275
276
function Swait(NUMBER)
277
	if NUMBER == 0 or NUMBER == nil then
278
		ArtificialHB.Event:wait()
279
	else
280
		for i = 1, NUMBER do
281
			ArtificialHB.Event:wait()
282
		end
283
	end
284
end
285
286
function QuaternionFromCFrame(cf)
287
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
288
	local trace = m00 + m11 + m22
289
	if trace > 0 then 
290
		local s = math.sqrt(1 + trace)
291
		local recip = 0.5 / s
292
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
293
	else
294
		local i = 0
295
		if m11 > m00 then
296
			i = 1
297
		end
298
		if m22 > (i == 0 and m00 or m11) then
299
			i = 2
300
		end
301
		if i == 0 then
302
			local s = math.sqrt(m00 - m11 - m22 + 1)
303
			local recip = 0.5 / s
304
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
305
		elseif i == 1 then
306
			local s = math.sqrt(m11 - m22 - m00 + 1)
307
			local recip = 0.5 / s
308
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
309
		elseif i == 2 then
310
			local s = math.sqrt(m22 - m00 - m11 + 1)
311
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
312
		end
313
	end
314
end
315
 
316
function QuaternionToCFrame(px, py, pz, x, y, z, w)
317
	local xs, ys, zs = x + x, y + y, z + z
318
	local wx, wy, wz = w * xs, w * ys, w * zs
319
	local xx = x * xs
320
	local xy = x * ys
321
	local xz = x * zs
322
	local yy = y * ys
323
	local yz = y * zs
324
	local zz = z * zs
325
	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))
326
end
327
 
328
function QuaternionSlerp(a, b, t)
329
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
330
	local startInterp, finishInterp;
331
	if cosTheta >= 0.0001 then
332
		if (1 - cosTheta) > 0.0001 then
333
			local theta = ACOS(cosTheta)
334
			local invSinTheta = 1 / SIN(theta)
335
			startInterp = SIN((1 - t) * theta) * invSinTheta
336
			finishInterp = SIN(t * theta) * invSinTheta
337
		else
338
			startInterp = 1 - t
339
			finishInterp = t
340
		end
341
	else
342
		if (1 + cosTheta) > 0.0001 then
343
			local theta = ACOS(-cosTheta)
344
			local invSinTheta = 1 / SIN(theta)
345
			startInterp = SIN((t - 1) * theta) * invSinTheta
346
			finishInterp = SIN(t * theta) * invSinTheta
347
		else
348
			startInterp = t - 1
349
			finishInterp = t
350
		end
351
	end
352
	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
353
end
354
355
function Clerp(a, b, t)
356
	local qa = {QuaternionFromCFrame(a)}
357
	local qb = {QuaternionFromCFrame(b)}
358
	local ax, ay, az = a.x, a.y, a.z
359
	local bx, by, bz = b.x, b.y, b.z
360
	local _t = 1 - t
361
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
362
end
363
364
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
365
	local frame = IT("Frame")
366
	frame.BackgroundTransparency = TRANSPARENCY
367
	frame.BorderSizePixel = BORDERSIZEPIXEL
368
	frame.Position = POSITION
369
	frame.Size = SIZE
370
	frame.BackgroundColor3 = COLOR
371
	frame.BorderColor3 = BORDERCOLOR
372
	frame.Name = NAME
373
	frame.Parent = PARENT
374
	return frame
375
end
376
377
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
378
	local label = IT("TextLabel")
379
	label.BackgroundTransparency = 1
380
	label.Size = UD2(1, 0, 1, 0)
381
	label.Position = UD2(0, 0, 0, 0)
382
	label.TextColor3 = TEXTCOLOR
383
	label.TextStrokeTransparency = STROKETRANSPARENCY
384
	label.TextTransparency = TRANSPARENCY
385
	label.FontSize = TEXTFONTSIZE
386
	label.Font = TEXTFONT
387
	label.BorderSizePixel = BORDERSIZEPIXEL
388
	label.TextScaled = false
389
	label.Text = TEXT
390
	label.Name = NAME
391
	label.Parent = PARENT
392
	return label
393
end
394
395
function NoOutlines(PART)
396
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
397
end
398
399
400
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
401
	local NEWWELD = IT(TYPE)
402
	NEWWELD.Part0 = PART0
403
	NEWWELD.Part1 = PART1
404
	NEWWELD.C0 = C0
405
	NEWWELD.C1 = C1
406
	NEWWELD.Parent = PARENT
407
	return NEWWELD
408
end
409
410
local SOUND = IT("Sound",nil)
411
412
function CreateSound(ID, PARENT, VOLUME, PITCH)
413
	local NEWSOUND = nil
414
	coroutine.resume(coroutine.create(function()
415
		NEWSOUND = SOUND:Clone()
416
		NEWSOUND.Parent = PARENT
417
		NEWSOUND.Volume = VOLUME
418
		NEWSOUND.Pitch = PITCH
419
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
420
		Swait()
421
		NEWSOUND:play()
422
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
423
	end))
424
	return NEWSOUND
425
end
426
427
function CFrameFromTopBack(at, top, back)
428
	local right = top:Cross(back)
429
	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)
430
end
431
432
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
433
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
434
	local mesh = IT("SpecialMesh",wave)
435
	mesh.MeshType = "FileMesh"
436
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
437
	mesh.Scale = SIZE
438
	mesh.Offset = VT(0,0,-SIZE.X/8)
439
	wave.CFrame = CFRAME
440
	coroutine.resume(coroutine.create(function(PART)
441
		for i = 1, WAIT do
442
			Swait()
443
			mesh.Scale = mesh.Scale + GROW
444
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
445
			if DOESROT == true then
446
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
447
			end
448
			wave.Transparency = wave.Transparency + (0.5/WAIT)
449
			if wave.Transparency > 0.99 then
450
				wave:remove()
451
			end
452
		end
453
	end))
454
end
455
456
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
457
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
458
	local mesh = IT("SpecialMesh",wave)
459
	mesh.MeshType = "Sphere"
460
	mesh.Scale = SIZE
461
	mesh.Offset = VT(0,0,0)
462
	wave.CFrame = CFRAME
463
	coroutine.resume(coroutine.create(function(PART)
464
		for i = 1, WAIT do
465
			Swait()
466
			mesh.Scale = mesh.Scale + GROW
467
			wave.Transparency = wave.Transparency + (1/WAIT)
468
			if wave.Transparency > 0.99 then
469
				wave:remove()
470
			end
471
		end
472
	end))
473
end
474
475
function MakeForm(PART,TYPE)
476
	if TYPE == "Cyl" then
477
		local MSH = IT("CylinderMesh",PART)
478
	elseif TYPE == "Ball" then
479
		local MSH = IT("SpecialMesh",PART)
480
		MSH.MeshType = "Sphere"
481
	elseif TYPE == "Wedge" then
482
		local MSH = IT("SpecialMesh",PART)
483
		MSH.MeshType = "Wedge"
484
	end
485
end
486
487
function CheckTableForString(Table, String)
488
	for i, v in pairs(Table) do
489
		if string.find(string.lower(String), string.lower(v)) then
490
			return true
491
		end
492
	end
493
	return false
494
end
495
496
function CheckIntangible(Hit)
497
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
498
	if Hit and Hit.Parent then
499
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
500
			return true
501
		end
502
	end
503
	return false
504
end
505
506
Debris = game:GetService("Debris")
507
508
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
509
	local Direction = CFrame.new(StartPos, Vec).lookVector
510
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
511
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
512
	if RayHit and CheckIntangible(RayHit) then
513
		if DelayIfHit then
514
			wait()
515
		end
516
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
517
	end
518
	return RayHit, RayPos, RayNormal
519
end
520
521
function turnto(position)
522
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
523
end
524
525
--//=================================\\
526
--||	     WEAPON CREATION
527
--\\=================================//
528
529
local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
530
local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "10604848", "10605252", VT(1,1,1), VT(0, 2.7, 0))
531
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-0.8,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
532
533
for _, c in pairs(Weapon:GetChildren()) do
534
	if c.ClassName == "Part" then
535
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
536
	end
537
end
538
539
Weapon.Parent = Character
540
541
Humanoid.Died:connect(function()
542
	ATTACK = true
543
end)
544
545
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
546
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
547
548
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK+HOLD] Ban Slam", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
549
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Teleport", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 2")
550
551
--//=================================\\
552
--||			DAMAGING
553
--\\=================================//
554
555
function BAN(CHARACTER)
556
	local BANFOLDER = IT("Folder",Effects)
557
	local naeeym2 = Instance.new("BillboardGui",BANFOLDER)
558
	naeeym2.AlwaysOnTop = false
559
	naeeym2.Size = UDim2.new(5,35,2,35)
560
	naeeym2.StudsOffset = Vector3.new(0,1,0)
561
	naeeym2.Name = "AAAA"
562
	local tecks2 = Instance.new("TextLabel",naeeym2)
563
	tecks2.BackgroundTransparency = 1
564
	tecks2.TextScaled = true
565
	tecks2.BorderSizePixel = 0
566
	tecks2.Text = "BANNED"
567
	tecks2.Font = "Code"
568
	tecks2.TextSize = 30
569
	tecks2.TextStrokeTransparency = 1
570
	tecks2.TextColor3 = Color3.new(1,0,0)
571
	tecks2.TextStrokeColor3 = Color3.new(1,0,0)
572
	tecks2.Size = UDim2.new(1,0,0.5,0)
573
	tecks2.Parent = naeeym2
574
	for i,v in ipairs(CHARACTER:GetChildren()) do
575
		if v.ClassName == "Part" or v.ClassName == "MeshPart" then
576
			if v.Name ~= "HumanoidRootPart" then
577
				local BOD = v:Clone()
578
				BOD.CanCollide = false
579
				BOD.Anchored = true
580
				BOD.CFrame = v.CFrame
581
				BOD.Parent = BANFOLDER
582
				BOD.Material = "Neon"
583
				BOD.Color = C3(1,0,0)
584
				if BOD:FindFirstChildOfClass("Decal") then
585
					BOD:FindFirstChildOfClass("Decal"):remove()
586
				end
587
				if BOD.Name == "Head" then
588
					naeeym2.Adornee = BOD
589
				end
590
				if BOD.ClassName == "MeshPart" then
591
					BOD.TextureID = ""
592
				end
593
			end
594
		end
595
	end
596
	CHARACTER:remove()
597
	coroutine.resume(coroutine.create(function()
598
		for i = 1, 50 do
599
			Swait()
600
			for i,v in ipairs(BANFOLDER:GetChildren()) do
601
				if v.ClassName == "Part" or v.ClassName == "MeshPart" then
602
					v.Transparency = 1
603
				end
604
				naeeym2.Enabled = false
605
			end
606
			Swait()
607
			for i,v in ipairs(BANFOLDER:GetChildren()) do
608
				if v.ClassName == "Part" or v.ClassName == "MeshPart" then
609
					v.Transparency = 0
610
				end
611
				naeeym2.Enabled = true
612
			end
613
		end
614
		BANFOLDER:remove()
615
	end))
616
end
617
618
function BANNEAREST(POS,RANGE)
619
	for i,v in ipairs(workspace:GetChildren()) do
620
	local body = v:GetChildren()
621
		for part = 1, #body do
622
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
623
				if(body[part].Position - POS).Magnitude < RANGE then
624
					if v:FindFirstChildOfClass("Humanoid") then
625
						BAN(v)
626
						if game.Players:FindFirstChild(v.Name) then
627
							local Value = IT("BoolValue",Delete)
628
							Value.Name = v.Name
629
						end
630
					end
631
				end
632
			end
633
		end
634
	end
635
end
636
637
--//=================================\\
638
--||	ATTACK FUNCTIONS AND STUFF
639
--\\=================================//
640
641
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
642
	if FLOOR ~= nil then
643
		coroutine.resume(coroutine.create(function()
644
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
645
			PART.CFrame = CF(POSITION)
646
			for i = 1, 45 do
647
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
648
				RingPiece.Material = FLOOR.Material
649
				RingPiece.Color = FLOOR.Color
650
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
651
				Debris:AddItem(RingPiece,SWAIT/100)
652
			end
653
			PART:remove()
654
		end))
655
	end
656
end
657
658
function BANSLAM()
659
	ATTACK = true
660
	Rooted = false
661
	repeat
662
		for i=0, 0.000000002, 0.000000001 / Animation_Speed do
663
			Swait()
664
			HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)),2 / Animation_Speed)
665
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 7) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
666
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
667
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
668
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
669
			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(25)), 2 / Animation_Speed)
670
			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(25)), 2 / Animation_Speed)
671
		end
672
		for i=0, 0.0000008, 0.0000001 / Animation_Speed do
673
			Swait()
674
			HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
675
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
676
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
677
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
678
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
679
			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(25)), 0.5 / Animation_Speed)
680
			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(25)), 0.5 / Animation_Speed)
681
		end
682-
		for i=0, 0.08, 0.1 / Animation_Speed do
682+
		for i=0, 0.0000008, 0.00000000000001 / Animation_Speed do
683
			Swait()
684
			HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
685
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
686
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
687
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
688
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
689
			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(25)), 0.5 / Animation_Speed)
690
			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(25)), 0.5 / Animation_Speed)
691
		end
692
		CreateSound("147722910", Effects, 10, 1)
693
		BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,25)
694
		if HITFLOOR ~= nil then
695
			CreateSound("289842971", HandlePart, 10, 1)
696
			CreateSound("289842971", HandlePart, 10, 1)
697
			CreateSound("289842971", HandlePart, 10, 1)
698
			CreateSound("289842971", HandlePart, 10, 1)
699
			CreateDebreeRing(HITFLOOR,RootPart.CFrame*CF(0,-5,-6).p,5,VT(8,8,8),35)
700
		end
701
		CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,2,"Really red",VT(0,3,0))
702
		CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really red",VT(0,3,0))
703
		for i=0, 0.1, 0.1 / Animation_Speed do
704
			Swait()
705
			HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
706
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
707
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
708
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
709
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
710
			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(25)), 0.5 / Animation_Speed)
711
			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(25)), 0.5 / Animation_Speed)
712
		end
713
		if HOLD == true then
714
			for i=0, 0.0000000000008, 0.00000001 / Animation_Speed do
715
				Swait()
716
				if HOLD == false then
717
					break
718
				end
719
				HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
720
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
721
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
722
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
723
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
724
				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(25)), 0.5 / Animation_Speed)
725
				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(25)), 0.5 / Animation_Speed)
726
			end
727
		end
728
	until HOLD == false
729
	for i=0, 1, 0.0000000000001 / Animation_Speed do
730
		Swait()
731
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
732
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
733
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
734
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
735
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
736
		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(25)), 0.5 / Animation_Speed)
737
		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(25)), 0.5 / Animation_Speed)
738
	end
739
	for i=0, 5, 0.000000001 / Animation_Speed do
740
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
741
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
742
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
743
		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)
744
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
745
		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)
746
		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)
747
	end
748
	ATTACK = false
749
	Rooted = false
750
end
751
752
--//=================================\\
753
--||	  ASSIGN THINGS TO KEYS
754
--\\=================================//
755
756
function MouseDown(Mouse)
757
	HOLD = true
758
	if ATTACK == false then
759
		BANSLAM()
760
	end
761
end
762
763
function MouseUp(Mouse)
764
HOLD = false
765
end
766
767
function KeyDown(Key)
768
	KEYHOLD = true
769
	if Key == "b" and ATTACK == false then
770
		local pos = RootPart.Position
771
		RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
772
		CreateSound("769380905", Torso, 10, 1)
773
	end
774
775
	if Key == "t" then
776
		CreateSound("1058417264", Head, 10, 1)
777
		Delete:ClearAllChildren()
778
	end
779
end
780
781
function KeyUp(Key)
782
	KEYHOLD = false
783
end
784
785
	Mouse.Button1Down:connect(function(NEWKEY)
786
		MouseDown(NEWKEY)
787
	end)
788
	Mouse.Button1Up:connect(function(NEWKEY)
789
		MouseUp(NEWKEY)
790
	end)
791
	Mouse.KeyDown:connect(function(NEWKEY)
792
		KeyDown(NEWKEY)
793
	end)
794
	Mouse.KeyUp:connect(function(NEWKEY)
795
		KeyUp(NEWKEY)
796
	end)
797
798
--//=================================\\
799
--\\=================================//
800
801
802
function unanchor()
803
	if UNANCHOR == true then
804
		g = Character:GetChildren()
805
		for i = 1, #g do
806
			if g[i].ClassName == "Part" then
807
				g[i].Anchored = false
808
			end
809
		end
810
	end
811
end
812
813
814
--//=================================\\
815
--||	WRAP THE WHOLE SCRIPT UP
816
--\\=================================//
817
818
Humanoid.Changed:connect(function(Jump)
819
	if Jump == "Jump" and (Disable_Jump == true) then
820
		Humanoid.Jump = false
821
	end
822
end)
823
824
Speed = 23
825
826
while true do
827
	Swait()
828
	ANIMATE.Parent = nil
829
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
830
	IDLEANIMATION:Play()
831
	SINE = SINE + CHANGE
832
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
833
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
834
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
835
	HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
836
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
837
	if ATTACK == false then
838
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
839
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
840
	end
841
	if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACK == false then
842
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
843
		Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
844
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
845
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
846
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or (ATTACK == true) then
847
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
848
		Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
849
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
850
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
851
	end
852
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
853
		ANIM = "Jump"
854
		if ATTACK == false then
855
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
856
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
857
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
858
			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)
859
			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)
860
	       end
861
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
862
		ANIM = "Fall"
863
		if ATTACK == false then
864
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
865
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
866
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
867
			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)
868
			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)
869
		end
870
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
871
		ANIM = "Idle"
872
		if ATTACK == false then
873
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
874
			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)
875
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
876
			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)
877
			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)
878
		end
879
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
880
		ANIM = "Walk"
881
		WALK = WALK + 1 / Animation_Speed
882
		if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
883
			WALK = 0
884
			if WALKINGANIM == true then
885
				WALKINGANIM = false
886
			elseif WALKINGANIM == false then
887
				WALKINGANIM = true
888
			end
889
		end
890
		--RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
891
		--LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
892
		if ATTACK == false then
893
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
894
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
895
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
896
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
897
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
898
		end
899
	end
900
	unanchor()
901
	Humanoid.MaxHealth = "inf"
902
	Humanoid.Health = "inf"
903
	if Rooted == false then
904
		Disable_Jump = false
905
		Humanoid.WalkSpeed = Speed
906
	elseif Rooted == true then
907
		Disable_Jump = true
908
		Humanoid.WalkSpeed = 0
909
	end
910
	local MATHS = {"0","1"}
911
	Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
912
	Humanoid.PlatformStand = false
913
	local GAME = game.Players:GetChildren()
914
		for PLAYER = 1, #GAME do
915
		local PLAY = GAME[PLAYER]
916
		if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then
917
			PLAY.Character:remove()
918
		end
919
	end
920
end
921
922
--//=================================\\
923
--\\=================================//
924
925
926
927
928
929
--//====================================================\\--
930
--||			  		 END OF SCRIPT
931
--\\====================================================//--