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