View difference between Paste ID: SkPLinTt and Jg5s7sjj
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
32
IT = Instance.new
33
CF = CFrame.new
34
VT = Vector3.new
35
RAD = math.rad
36
C3 = Color3.new
37
UD2 = UDim2.new
38
BRICKC = BrickColor.new
39
ANGLES = CFrame.Angles
40
EULER = CFrame.fromEulerAnglesXYZ
41
COS = math.cos
42
ACOS = math.acos
43
SIN = math.sin
44
ASIN = math.asin
45
ABS = math.abs
46
MRANDOM = math.random
47
FLOOR = math.floor
48
49
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
50
	local NEWMESH = IT(MESH)
51
	if MESH == "SpecialMesh" then
52
		NEWMESH.MeshType = MESHTYPE
53
		if MESHID ~= "nil" and MESHID ~= "" then
54
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
55
		end
56
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
57
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
58
		end
59
	end
60
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
61
	NEWMESH.Scale = SCALE
62
	NEWMESH.Parent = PARENT
63
	return NEWMESH
64
end
65
66
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
67
	local NEWPART = IT("Part")
68
	NEWPART.formFactor = FORMFACTOR
69
	NEWPART.Reflectance = REFLECTANCE
70
	NEWPART.Transparency = TRANSPARENCY
71
	NEWPART.CanCollide = false
72
	NEWPART.Locked = true
73
	NEWPART.Anchored = true
74
	if ANCHOR == false then
75
		NEWPART.Anchored = false
76
	end
77
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
78
	NEWPART.Name = NAME
79
	NEWPART.Size = SIZE
80
	NEWPART.Position = Torso.Position
81
	NEWPART.Material = MATERIAL
82
	NEWPART:BreakJoints()
83
	NEWPART.Parent = PARENT
84
	return NEWPART
85
end
86
87
--//=================================\\
88
--||		  CUSTOMIZATION
89
--\\=================================//
90
91
Player_Size = 1 --Size of the player.
92
Animation_Speed = 3
93
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
94
95-
local Speed = 16
95+
local Speed = 100
96
local Effects2 = {}
97
98
--//=================================\\
99
--|| 	  END OF CUSTOMIZATION
100
--\\=================================//
101
102
	local function weldBetween(a, b)
103
	    local weldd = Instance.new("ManualWeld")
104
	    weldd.Part0 = a
105
	    weldd.Part1 = b
106
	    weldd.C0 = CFrame.new()
107
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
108
	    weldd.Parent = a
109
	    return weldd
110
	end
111
112
--//=================================\\
113
--|| 	      USEFUL VALUES
114
--\\=================================//
115
116
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
117
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
118
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
119
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
120
local CHANGEDEFENSE = 0
121
local CHANGEDAMAGE = 0
122
local CHANGEMOVEMENT = 0
123
local ANIM = "Idle"
124
local ATTACK = false
125
local EQUIPPED = false
126
local HOLD = false
127
local COMBO = 1
128
local Rooted = false
129
local SINE = 0
130
local KEYHOLD = false
131
local CHANGE = 2 / Animation_Speed
132
local WALKINGANIM = false
133
local WALK = 0
134
local VALUE1 = false
135
local VALUE2 = false
136
local ROBLOXIDLEANIMATION = IT("Animation")
137
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
138
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
139
--ROBLOXIDLEANIMATION.Parent = Humanoid
140
local WEAPONGUI = IT("ScreenGui", PlayerGui)
141
WEAPONGUI.Name = "Weapon GUI"
142
local Weapon = IT("Model")
143
Weapon.Name = "Adds"
144
local HITFLOOR = nil
145
local Effects = IT("Folder", Weapon)
146
Effects.Name = "Effects"
147
local ANIMATOR = Humanoid.Animator
148
local ANIMATE = Character.Animate
149
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
150
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
151
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
152
local HITBLOCKSOUNDS = {"199148933", "199148947"}
153
local UNANCHOR = true
154
155
local SKILLTEXTCOLOR = C3(255,165,0)
156
157
--//=================================\\
158
--\\=================================//
159
160
161
--//=================================\\
162
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
163
--\\=================================//
164
165
ArtificialHB = Instance.new("BindableEvent", script)
166
ArtificialHB.Name = "ArtificialHB"
167
168
script:WaitForChild("ArtificialHB")
169
170
frame = Frame_Speed
171
tf = 0
172
allowframeloss = false
173
tossremainder = false
174
lastframe = tick()
175
script.ArtificialHB:Fire()
176
177
game:GetService("RunService").Heartbeat:connect(function(s, p)
178
	tf = tf + s
179
	if tf >= frame then
180
		if allowframeloss then
181
			script.ArtificialHB:Fire()
182
			lastframe = tick()
183
		else
184
			for i = 1, math.floor(tf / frame) do
185
				script.ArtificialHB:Fire()
186
			end
187
		lastframe = tick()
188
		end
189
		if tossremainder then
190
			tf = 0
191
		else
192
			tf = tf - frame * math.floor(tf / frame)
193
		end
194
	end
195
end)
196
197
--//=================================\\
198
--\\=================================//
199
200
201
202
203
204
--//=================================\\
205
--|| 	      SOME FUNCTIONS
206
--\\=================================//
207
208
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
209
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
210
end
211
212
function PositiveAngle(NUMBER)
213
	if NUMBER >= 0 then
214
		NUMBER = 0
215
	end
216
	return NUMBER
217
end
218
219
function NegativeAngle(NUMBER)
220
	if NUMBER <= 0 then
221
		NUMBER = 0
222
	end
223
	return NUMBER
224
end
225
226
function Swait(NUMBER)
227
	if NUMBER == 0 or NUMBER == nil then
228
		ArtificialHB.Event:wait()
229
	else
230
		for i = 1, NUMBER do
231
			ArtificialHB.Event:wait()
232
		end
233
	end
234
end
235
236
function QuaternionFromCFrame(cf)
237
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
238
	local trace = m00 + m11 + m22
239
	if trace > 0 then 
240
		local s = math.sqrt(1 + trace)
241
		local recip = 0.5 / s
242
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
243
	else
244
		local i = 0
245
		if m11 > m00 then
246
			i = 1
247
		end
248
		if m22 > (i == 0 and m00 or m11) then
249
			i = 2
250
		end
251
		if i == 0 then
252
			local s = math.sqrt(m00 - m11 - m22 + 1)
253
			local recip = 0.5 / s
254
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
255
		elseif i == 1 then
256
			local s = math.sqrt(m11 - m22 - m00 + 1)
257
			local recip = 0.5 / s
258
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
259
		elseif i == 2 then
260
			local s = math.sqrt(m22 - m00 - m11 + 1)
261
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
262
		end
263
	end
264
end
265
 
266
function QuaternionToCFrame(px, py, pz, x, y, z, w)
267
	local xs, ys, zs = x + x, y + y, z + z
268
	local wx, wy, wz = w * xs, w * ys, w * zs
269
	local xx = x * xs
270
	local xy = x * ys
271
	local xz = x * zs
272
	local yy = y * ys
273
	local yz = y * zs
274
	local zz = z * zs
275
	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))
276
end
277
 
278
function QuaternionSlerp(a, b, t)
279
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
280
	local startInterp, finishInterp;
281
	if cosTheta >= 0.0001 then
282
		if (1 - cosTheta) > 0.0001 then
283
			local theta = ACOS(cosTheta)
284
			local invSinTheta = 1 / SIN(theta)
285
			startInterp = SIN((1 - t) * theta) * invSinTheta
286
			finishInterp = SIN(t * theta) * invSinTheta
287
		else
288
			startInterp = 1 - t
289
			finishInterp = t
290
		end
291
	else
292
		if (1 + cosTheta) > 0.0001 then
293
			local theta = ACOS(-cosTheta)
294
			local invSinTheta = 1 / SIN(theta)
295
			startInterp = SIN((t - 1) * theta) * invSinTheta
296
			finishInterp = SIN(t * theta) * invSinTheta
297
		else
298
			startInterp = t - 1
299
			finishInterp = t
300
		end
301
	end
302
	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
303
end
304
305
function Clerp(a, b, t)
306
	local qa = {QuaternionFromCFrame(a)}
307
	local qb = {QuaternionFromCFrame(b)}
308
	local ax, ay, az = a.x, a.y, a.z
309
	local bx, by, bz = b.x, b.y, b.z
310
	local _t = 1 - t
311
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
312
end
313
314
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
315
	local frame = IT("Frame")
316
	frame.BackgroundTransparency = TRANSPARENCY
317
	frame.BorderSizePixel = BORDERSIZEPIXEL
318
	frame.Position = POSITION
319
	frame.Size = SIZE
320
	frame.BackgroundColor3 = COLOR
321
	frame.BorderColor3 = BORDERCOLOR
322
	frame.Name = NAME
323
	frame.Parent = PARENT
324
	return frame
325
end
326
327
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
328
	local label = IT("TextLabel")
329
	label.BackgroundTransparency = 1
330
	label.Size = UD2(1, 0, 1, 0)
331
	label.Position = UD2(0, 0, 0, 0)
332
	label.TextColor3 = TEXTCOLOR
333
	label.TextStrokeTransparency = STROKETRANSPARENCY
334
	label.TextTransparency = TRANSPARENCY
335
	label.FontSize = TEXTFONTSIZE
336
	label.Font = TEXTFONT
337
	label.BorderSizePixel = BORDERSIZEPIXEL
338
	label.TextScaled = false
339
	label.Text = TEXT
340
	label.Name = NAME
341
	label.Parent = PARENT
342
	return label
343
end
344
345
function NoOutlines(PART)
346
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
347
end
348
349
350
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
351
	local NEWWELD = IT(TYPE)
352
	NEWWELD.Part0 = PART0
353
	NEWWELD.Part1 = PART1
354
	NEWWELD.C0 = C0
355
	NEWWELD.C1 = C1
356
	NEWWELD.Parent = PARENT
357
	return NEWWELD
358
end
359
360
function CreateSound(ID, PARENT, VOLUME, PITCH)
361
	local NEWSOUND = nil
362
	coroutine.resume(coroutine.create(function()
363
		NEWSOUND = IT("Sound", PARENT)
364
		NEWSOUND.Volume = VOLUME
365
		NEWSOUND.Pitch = PITCH
366
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
367
		Swait()
368
		NEWSOUND:play()
369
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
370
	end))
371
	return NEWSOUND
372
end
373
374
function CFrameFromTopBack(at, top, back)
375
	local right = top:Cross(back)
376
	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)
377
end
378
379
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
380
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Deep orange"), "Effect", VT(1,1,1), true)
381
	local mesh = IT("SpecialMesh",wave)
382
	mesh.MeshType = "FileMesh"
383
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
384
	mesh.Scale = SIZE
385
	mesh.Offset = VT(0,0,-SIZE.X/8)
386
	wave.CFrame = CFRAME
387
	coroutine.resume(coroutine.create(function(PART)
388
		for i = 1, WAIT do
389
			Swait()
390
			mesh.Scale = mesh.Scale + GROW
391
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
392
			if DOESROT == true then
393
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
394
			end
395
			wave.Transparency = wave.Transparency + (0.5/WAIT)
396
			if wave.Transparency > 0.99 then
397
				wave:remove()
398
			end
399
		end
400
	end))
401
end
402
403
function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
404
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Deep orange"), "Effect", VT(1,1,1), true)
405
	local mesh = IT("SpecialMesh",wave)
406
	mesh.MeshType = "FileMesh"
407
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
408
	mesh.Scale = SIZE
409
	--mesh.Offset = VT(0,0,-SIZE.X/8)
410
	wave.CFrame = CFRAME
411
	coroutine.resume(coroutine.create(function(PART)
412
		for i = 1, WAIT do
413
			Swait()
414
			mesh.Scale = mesh.Scale + GROW
415
			--mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
416
			if DOESROT == true then
417
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
418
			end
419
			wave.Transparency = wave.Transparency + (0.5/WAIT)
420
			if wave.Transparency > 0.99 then
421
				wave:remove()
422
			end
423
		end
424
	end))
425
end
426
427
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
428
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Deep orange"), "Effect", VT(1,1,1), true)
429
	local mesh = IT("SpecialMesh",wave)
430
	mesh.MeshType = "FileMesh"
431
	mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
432
	mesh.Scale = SIZE
433
	wave.CFrame = CFRAME
434
	coroutine.resume(coroutine.create(function(PART)
435
		for i = 1, WAIT do
436
			Swait()
437
			mesh.Scale = mesh.Scale + GROW
438
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
439
			if DOESROT == true then
440
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
441
			end
442
			wave.Transparency = wave.Transparency + (0.5/WAIT)
443
			if wave.Transparency > 0.99 then
444
				wave:remove()
445
			end
446
		end
447
	end))
448
end
449
450
451
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
452
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Deep orange"), "Effect", VT(1,1,1), true)
453
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
454
	wave.CFrame = CFRAME
455
	coroutine.resume(coroutine.create(function(PART)
456
		for i = 1, WAIT do
457
			Swait()
458
			mesh.Scale = mesh.Scale * GROW
459
			wave.Transparency = wave.Transparency + (0.5/WAIT)
460
			if wave.Transparency > 0.99 then
461
				wave:remove()
462
			end
463
		end
464
	end))
465
end
466
467
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
468
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Deep orange"), "Effect", VT(1,1,1), true)
469
	local mesh = IT("SpecialMesh",wave)
470
	mesh.MeshType = "Sphere"
471
	mesh.Scale = SIZE
472
	mesh.Offset = VT(0,0,0)
473
	wave.CFrame = CFRAME
474
	coroutine.resume(coroutine.create(function(PART)
475
		for i = 1, WAIT do
476
			Swait()
477
			mesh.Scale = mesh.Scale + GROW
478
			wave.Transparency = wave.Transparency + (1/WAIT)
479
			if wave.Transparency > 0.99 then
480
				wave:remove()
481
			end
482
		end
483
	end))
484
end
485
486
function MakeForm(PART,TYPE)
487
	if TYPE == "Cyl" then
488
		local MSH = IT("CylinderMesh",PART)
489
	elseif TYPE == "Ball" then
490
		local MSH = IT("SpecialMesh",PART)
491
		MSH.MeshType = "Sphere"
492
	elseif TYPE == "Wedge" then
493
		local MSH = IT("SpecialMesh",PART)
494
		MSH.MeshType = "Wedge"
495
	end
496
end
497
498
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
499
	if FLOOR ~= nil then
500
		coroutine.resume(coroutine.create(function()
501
			local PART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
502
			PART.CFrame = CF(POSITION)
503
			for i = 1, 45 do
504
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
505
				RingPiece.Material = FLOOR.Material
506
				RingPiece.Color = FLOOR.Color
507
				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)))
508
				Debris:AddItem(RingPiece,SWAIT/100)
509
			end
510
			PART:remove()
511
		end))
512
	end
513
end
514
515
function CheckTableForString(Table, String)
516
	for i, v in pairs(Table) do
517
		if string.find(string.lower(String), string.lower(v)) then
518
			return true
519
		end
520
	end
521
	return false
522
end
523
524
function CheckIntangible(Hit)
525
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
526
	if Hit and Hit.Parent then
527
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
528
			return true
529
		end
530
	end
531
	return false
532
end
533
534
Debris = game:GetService("Debris")
535
536
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
537
	local Direction = CFrame.new(StartPos, Vec).lookVector
538
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
539
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
540
	if RayHit and CheckIntangible(RayHit) then
541
		if DelayIfHit then
542
			wait()
543
		end
544
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
545
	end
546
	return RayHit, RayPos, RayNormal
547
end
548
549
function turnto(position)
550
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
551
end
552
553
--//=================================\\
554
--||	     WEAPON CREATION
555
--\\=================================//
556
557
local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
558
local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
559
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
560
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
561
562
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
563
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
564
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
565
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
566
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
567
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
568
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
569
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
570
571
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
572
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
573
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
574
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
575
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
576
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
577
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
578
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
579
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
580
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
581
582
for _, c in pairs(Weapon:GetChildren()) do
583
	if c.ClassName == "Part" then
584
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
585
	end
586
end
587
588
Weapon.Parent = Character
589
590
Humanoid.Died:connect(function()
591
	ATTACK = true
592
end)
593
594
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")
595
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")
596
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
597
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
598
local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") 
599
local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") 
600
local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.01, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")  
601
602
603
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Mini Nuke", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
604
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] RKO OUTTA NOWHERE", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
605
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Teleportation", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
606
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Kim Jong Un's Nuke", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
607
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] Destruction", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text5")
608
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[R] Roll' Em", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text6")
609
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[E] Apocalypse", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text7")
610
611
--//=================================\\
612
--||	     DAMAGE FUNCTIONS
613
--\\=================================//
614
615
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
616
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
617
	STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
618
	local BODYGYRO = IT("BodyGyro", STATPART)
619
	local BODYPOSITION = IT("BodyPosition", STATPART)
620
	BODYPOSITION.P = 2000
621
	BODYPOSITION.D = 100
622
	BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
623
	BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
624
	game:GetService("Debris"):AddItem(STATPART ,5)
625
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
626
	BILLBOARDGUI.Adornee = STATPART
627
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
628
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
629
	BILLBOARDGUI.AlwaysOnTop = false
630
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
631
	TEXTLABEL.BackgroundTransparency = 1
632
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
633
	TEXTLABEL.Text = TEXT
634
	TEXTLABEL.Font = "SciFi"
635
	TEXTLABEL.FontSize="Size42"
636
	TEXTLABEL.TextColor3 = ("255,215,0")
637
	TEXTLABEL.TextStrokeTransparency = 1
638
	TEXTLABEL.TextScaled = true
639
	TEXTLABEL.TextWrapped = true
640
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
641
		if LABELTYPE == "Normal" then
642
			for i = 1, 30 do
643
				Swait()
644
				STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
645
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
646
			end
647
		elseif LABELTYPE == "Debuff" then
648
			for i = 1, 30 do
649
				Swait()
650
				STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
651
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
652
			end
653
		elseif LABELTYPE == "Shock" then
654
			local ORIGIN = STATPART.Position
655
			for i = 1, 30 do
656
				Swait()
657
				STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
658
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
659
			end
660
		end
661
		THEPART.Parent = nil
662
	end),STATPART, BODYPOSITION, TEXTLABEL)
663
end
664
665
--//=================================\\
666
--||			DAMAGING
667
--\\=================================//
668
669
function killnearest(position,range,maxstrength,direction)
670
	for i,v in ipairs(workspace:GetChildren()) do
671
	local body = v:GetChildren()
672
		for part = 1, #body do
673
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
674
				if(body[part].Position - position).Magnitude < range then
675
					if v.ClassName == "Model" then
676
						--v:BreakJoints()
677
					end
678
					local POS = position
679
					coroutine.resume(coroutine.create(function()
680
						body[part].Anchored = true
681
						body[part].Parent = Effects
682
						body[part].CanCollide = true
683
						local SIZE = body[part].Size
684
						body[part].Material = "Neon"
685
						CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
686
						for i = 1, 75 do
687
							Swait()
688
							body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
689
							body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
690
						end
691
						coroutine.resume(coroutine.create(function()
692
							while true do
693
								Swait()
694
								body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
695
								body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
696
							end
697
						end))
698
						body[part].Anchored = false
699
						body[part].Velocity = direction.lookVector*maxstrength
700
					end))
701
				end
702
			end
703
		end
704
		if v.ClassName == "Part" then
705
			if v.Anchored == false and (v.Position - position).Magnitude < range then
706
				local POS = position
707
				coroutine.resume(coroutine.create(function()
708
					v.Anchored = true
709
					v.Parent = Effects
710
					local SIZE = v.Size
711
					v.Material = "Neon"
712
					CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
713
					for i = 1, 75 do
714
						Swait()
715
						v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
716
						v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
717
					end
718
					coroutine.resume(coroutine.create(function()
719
						while true do
720
							Swait()
721
							v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
722
							v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
723
						end
724
					end))
725
					v.Anchored = false
726
					v.Velocity = direction.lookVector*maxstrength
727
				end))
728
			end
729
		end
730
	end
731
end
732
733
--//=================================\\
734
--||	ATTACK FUNCTIONS AND STUFF
735
--\\=================================//
736
737
function AttackTemplate()
738
	ATTACK = true
739
	Rooted = false
740
	for i=0, 1, 0.1 / Animation_Speed do
741
		Swait()
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
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
745
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
746
		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)
747
		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)
748
	end
749
	ATTACK = false
750
	Rooted = false
751
end
752
753
function DeathAgreement()
754
	ATTACK = true
755
	Rooted = false
756
	local SPEED = Speed
757
	Speed = 8
758
	CreateSound("357202141", RightArm, 10, 1.1)
759
	for i=0, 0, 0.01 / Animation_Speed do
760
		Swait()
761
		turnto(Mouse.Hit.p)
762
		MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Deep orange",VT(-1/15,-1/15,-1/15))
763
		MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Deep orange",VT(-2/15,-2/15,-2/15))
764
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
765
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
766
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
767
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
768
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
769
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
770
	end
771
	for i=0, 0, 0.01 / Animation_Speed do
772
		Swait()
773
		turnto(Mouse.Hit.p)
774
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
775
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
776
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
777
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
778
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
779
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
780
	end
781
	local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Deep orange", "Punch", VT(50,50,50),false)
782
	PART.CFrame = RootPart.CFrame * CF(0,0,-25)
783
	PART.Shape = "Ball"
784
	local bv = Instance.new("BodyVelocity") 
785
	bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
786
	bv.velocity = RootPart.CFrame.lookVector*600
787
	bv.Parent = PART
788
	bv.Name = "PROJECTILEVELOCITY"
789
	CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(3,0.2,3))
790
	CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(2.2,0.6,2.2))
791
	CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
792
	coroutine.resume(coroutine.create(function()
793
		for i = 1, 3 do
794
			Swait()
795
			PART.Transparency = PART.Transparency + 0.2/10
796
			PART.Size = PART.Size + VT(5,5,5)
797
			killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
798
		end
799
		PART:Destroy()
800
	end))
801
	for i=0, 0, 0.01 / Animation_Speed do
802
		Swait()
803
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
804
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
805
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
806
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
807
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
808
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
809
	end
810
	Speed = SPEED
811
	ATTACK = false
812
	Rooted = false
813
end
814
815
function GrabTime()
816
	ATTACK = true
817
	Rooted = false
818
	local HASGRABBED = false
819
	local WELD = nil
820
	local TORS = nil
821
	local hitting = FIST.Touched:connect(function(hit)
822
    local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Deep orange", "Sound", VT(0,0,0))
823
		SOUNDPART.CFrame = RootPart.CFrame
824
		Debris:AddItem(SOUNDPART,5)
825
		CreateSound("184210861", SOUNDPART, 2, 1) 
826
		if hit.Parent:FindFirstChild("Humanoid") then
827
			if hit.Parent.Humanoid.Health ~= 0 then
828
				UNANCHOR = false
829
				TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
830
				TORS.Anchored = true
831
				TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
832
           		WELD = weldBetween(RightArm,TORS)
833
				HASGRABBED = true
834
				Rooted = true
835
			end
836
		end
837
	end)
838
	for i=0, 1, 0.1 / Animation_Speed do
839
		Swait()
840
		if HASGRABBED == true then
841
			break
842
		end
843
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
844
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
845
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
846
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
847
		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)), 2 / Animation_Speed)
848
		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)), 2 / Animation_Speed)
849
	end
850
	hitting:disconnect()
851
	if HASGRABBED == true then
852
		TORS.Anchored = false
853
        RootPart.Anchored = true
854
		for i=0, 2, 0.1 / Animation_Speed do
855
			Swait()
856
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
857
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
858
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
859
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
860
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
861
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
862
		end
863
		CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
864
		CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
865
		for i = 1, 2 do
866
			Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
867
		end
868
		for i=0, 2, 0.1 / Animation_Speed do
869
			Swait()
870
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
871
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
872
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
873
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
874
			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)
875
			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)
876
		end
877
		for i=0, 0.25, 0.1 / Animation_Speed do
878
			Swait()
879
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
880
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
881
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
882
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
883
			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)
884
			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)
885
		end
886
		if HITFLOOR ~= nil then
887
			CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
888
		end
889
		CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
890
		WELD:remove()
891
		for i = 1, 2 do
892
			Swait()
893
			killnearest(RootPart.Position,45,100,Torso.CFrame)
894
			CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
895
			CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Lime green",VT(1,0.4,1))
896
			CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Lime green",VT(2.3,0.3,2.3))
897
			Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
898
			Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Deep orange", 1 + MRANDOM(1,30)/15)
899
		end
900
	end
901
	UNANCHOR = true
902
	ATTACK = false
903
	Rooted = false
904
end
905
906
function MaxSpeed()
907
	local ORIGIN = RootPart.Position
908
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
909
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
910
	local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Deep orange", "Sound", VT(0,0,0))
911
	SOUNDPART.CFrame = RootPart.CFrame
912
	Debris:AddItem(SOUNDPART,5)
913
	CreateSound("357202032", SOUNDPART, 2, 1)
914
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
915
	Swait()
916
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
917
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
918
	local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Deep orange", "Sound", VT(0,0,0))
919
	SOUNDPART.CFrame = RootPart.CFrame
920
	Debris:AddItem(SOUNDPART,5)
921
	CreateSound("1295446488", SOUNDPART, 2, 1)
922
	if MRANDOM(1,8) == 1 then
923
		print'hi'
924
		for i=0, 0.5, 0.1 / Animation_Speed do
925
			Swait()
926
			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)
927
			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)
928
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
929
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
930
			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)
931
			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)
932
		end
933
		ATTACK = false
934
		Rooted = false
935
	end
936
end
937
938
function GreenUltimate()
939
	ATTACK = true
940
	Rooted = true
941
	CreateSound("358080470", RightArm, 10, 0.8)
942
	for i=0, 0, 0.1 / Animation_Speed do
943
		Swait()
944
		turnto(Mouse.Hit.p)
945
		CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Lime green",VT(0.2,0,0.2))
946
		Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1.1)
947
		MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
948
		MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Lime green",VT(0.001,0.001,2),0)
949
		MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15))
950
		MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15))
951
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
952
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
953
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
954
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
955
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
956
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
957
	end
958
	for i=0, 0.15, 0 / Animation_Speed do
959
		Swait()
960
		turnto(Mouse.Hit.p)
961
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
962
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
963
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
964
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
965
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
966
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
967
	end
968
	MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Lime green",VT(-0.04,-0.04,-0.04))
969
	MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
970
	coroutine.resume(coroutine.create(function()
971
		Swait(100)
972
		for i = 1, 1 do
973
			MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Lime green",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
974
			CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(4.5*i,0.2,4.5*i))
975
			CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(5*i,0.2,5*i))
976
			CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(4*i,0.6,4*i))
977
			CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(5.2*i,0.6,5.2*i))
978
		end
979
		killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
980
		for i = 1, 2 do
981
			CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
982
			CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
983
		end
984
		coroutine.resume(coroutine.create(function()
985
			for i = 1, 2 do
986
				Swait()
987
				for i = 1, 1 do
988
					Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
989
				end
990
				for i = 1, 1 do
991
					Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1 + MRANDOM(1,30)/3)
992
				end
993
			end
994
		end))
995
	end))
996
	for i=0, 2, 0.1 / Animation_Speed do
997
		Swait()
998
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
999
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
1000
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1001
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1002
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
1003
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
1004
	end
1005
	ATTACK = false
1006
	Rooted = false
1007
end
1008
1009
--//=================================\\
1010
--||	  ASSIGN THINGS TO KEYS
1011
--\\=================================//
1012
1013
function MouseDown(Mouse)
1014
	if ATTACK == false then
1015
	end
1016
end
1017
1018
function MouseUp(Mouse)
1019
HOLD = false
1020
end
1021
1022
function KeyDown(Key)
1023
	KEYHOLD = true
1024
	if Key == "z" and ATTACK == false then
1025
		DeathAgreement()
1026
	end
1027
1028
	if Key == "b" and ATTACK == false then
1029
		GrabTime()
1030
	end
1031
1032
	if Key == "c" and ATTACK == false then
1033
		MaxSpeed()
1034
	end
1035
1036
	if Key == "x" and ATTACK == false then
1037
		GreenUltimate()
1038
	end
1039
1040
    if Key == "q" and ATTACK == false then
1041
          DeathAgreement()
1042
wait(0.001)
1043
          DeathAgreement()
1044
wait(0.001)
1045
          DeathAgreement()
1046
wait(0.001)
1047
          DeathAgreement()
1048
wait(0.001)
1049
          DeathAgreement()
1050
wait(0.001)
1051
          DeathAgreement()
1052
wait(0.001)
1053
          DeathAgreement()
1054
wait(0.001)
1055
          DeathAgreement()
1056
wait(0.001)
1057
          DeathAgreement()
1058
wait(0.001)
1059
          DeathAgreement()
1060
wait(0.001)
1061
          DeathAgreement()
1062
wait(0.001)
1063
          DeathAgreement()
1064
wait(0.001)
1065
          DeathAgreement()
1066
wait(0.001)
1067
          DeathAgreement()
1068
wait(0.001)
1069
          DeathAgreement()
1070
wait(0.001)
1071
          DeathAgreement()
1072
wait(0.001)
1073
          DeathAgreement()
1074
wait(0.001)
1075
          DeathAgreement()
1076
wait(0.001)
1077
          DeathAgreement()
1078
wait(0.001)
1079
          DeathAgreement()
1080
wait(0.001)
1081
          DeathAgreement()
1082
wait(0.001)
1083
          DeathAgreement()
1084
wait(0.001)
1085
          DeathAgreement()
1086
wait(0.001)
1087
          DeathAgreement()
1088
wait(0.001)
1089
          DeathAgreement()
1090
wait(0.001)
1091
          DeathAgreement()
1092
wait(0.001)
1093
          DeathAgreement()
1094
wait(0.001)
1095
        GreenUltimate()
1096
     end
1097
    if Key == "e" and ATTACK == false then
1098
        GreenUltimate()
1099
wait(1)
1100
        GreenUltimate()
1101
wait(1)
1102
        GreenUltimate()
1103
wait(1)
1104
        GreenUltimate()
1105
wait(1)
1106
        GreenUltimate()
1107
wait(1)
1108
     end
1109
    if Key == "r" and ATTACK == false then
1110
          DeathAgreement()
1111
wait(0.0000001)
1112
          DeathAgreement()
1113
wait(0.0000001)
1114
          DeathAgreement()
1115
wait(0.0000001)
1116
          DeathAgreement()
1117
wait(0.0000001)
1118
          DeathAgreement()
1119
wait(0.0000001)
1120
          DeathAgreement()
1121
wait(0.0000001)
1122
          DeathAgreement()
1123
wait(0.0000001)
1124
          DeathAgreement()
1125
wait(0.0000001)
1126
          DeathAgreement()
1127
wait(0.0000001)
1128
          DeathAgreement()
1129
wait(0.0000001)
1130
          DeathAgreement()
1131
wait(0.0000001)
1132
          DeathAgreement()
1133
wait(0.0000001)
1134
          DeathAgreement()
1135
wait(0.0000001)
1136
          DeathAgreement()
1137
wait(0.0000001)
1138
          DeathAgreement()
1139
wait(0.0000001)
1140
          DeathAgreement()
1141
wait(0.0000001)
1142
          DeathAgreement()
1143
wait(0.0000001)
1144
          DeathAgreement()
1145
wait(0.0000001)
1146
          DeathAgreement()
1147
wait(0.0000001)
1148
          DeathAgreement()
1149
wait(0.0000001)
1150
          DeathAgreement()
1151
wait(0.0000001)
1152
          DeathAgreement()
1153
wait(0.0000001)
1154
          DeathAgreement()
1155
wait(0.0000001)
1156
          DeathAgreement()
1157
wait(0.0000001)
1158
          DeathAgreement()
1159
wait(0.0000001)
1160
          DeathAgreement()
1161
wait(0.0000001)
1162
          DeathAgreement()
1163
wait(0.0000001)
1164
          DeathAgreement()
1165
wait(0.0000001)
1166
          DeathAgreement()
1167
wait(0.0000001)
1168
          DeathAgreement()
1169
wait(0.0000001)
1170
          DeathAgreement()
1171
wait(0.0000001)
1172
          DeathAgreement()
1173
wait(0.0000001)
1174
          DeathAgreement()
1175
wait(0.0000001)
1176
          DeathAgreement()
1177
wait(0.0000001)
1178
          DeathAgreement()
1179
wait(0.0000001)
1180
          DeathAgreement()
1181
wait(0.0000001)
1182
          DeathAgreement()
1183
wait(0.0000001)
1184
          DeathAgreement()
1185
wait(0.0000001)
1186
          DeathAgreement()
1187
wait(0.0000001)
1188
          DeathAgreement()
1189
wait(0.0000001)
1190
          DeathAgreement()
1191
wait(0.0000001)
1192
          DeathAgreement()
1193
wait(0.0000001)
1194
          DeathAgreement()
1195
wait(0.0000001)
1196
          DeathAgreement()
1197
wait(0.0000001)
1198
          DeathAgreement()
1199
wait(0.0000001)
1200
          DeathAgreement()
1201
wait(0.0000001)
1202
          DeathAgreement()
1203
wait(0.0000001)
1204
          DeathAgreement()
1205
wait(0.0000001)
1206
          DeathAgreement()
1207
wait(0.0000001)
1208
          DeathAgreement()
1209
wait(0.0000001)
1210
          DeathAgreement()
1211
wait(0.0000001)
1212
          DeathAgreement()
1213
wait(0.0000001)
1214
          DeathAgreement()
1215
wait(0.0000001)
1216
          DeathAgreement()
1217
wait(0.0000001)
1218
          DeathAgreement()
1219
wait(0.0000001)
1220
          DeathAgreement()
1221
wait(0.0000001)
1222
          DeathAgreement()
1223
wait(0.0000001)
1224
          DeathAgreement()
1225
wait(0.0000001)
1226
          DeathAgreement()
1227
wait(0.0000001)
1228
          DeathAgreement()
1229
wait(0.0000001)
1230
          DeathAgreement()
1231
wait(0.0000001)
1232
     end
1233
1234
	if Key == "p" and ATTACK == false then
1235
		if Speed == 16 then
1236
			Speed = 150
1237
		elseif Speed == 150 then
1238
			Speed = 16
1239
		end
1240
	end
1241
end
1242
1243
function KeyUp(Key)
1244
	KEYHOLD = false
1245
end
1246
1247
	Mouse.Button1Down:connect(function(NEWKEY)
1248
		MouseDown(NEWKEY)
1249
	end)
1250
	Mouse.Button1Up:connect(function(NEWKEY)
1251
		MouseUp(NEWKEY)
1252
	end)
1253
	Mouse.KeyDown:connect(function(NEWKEY)
1254
		KeyDown(NEWKEY)
1255
	end)
1256
	Mouse.KeyUp:connect(function(NEWKEY)
1257
		KeyUp(NEWKEY)
1258
	end)
1259
1260
--//=================================\\
1261
--\\=================================//
1262
1263
1264
function unanchor()
1265
	if UNANCHOR == true then
1266
		g = Character:GetChildren()
1267
		for i = 1, #g do
1268
			if g[i].ClassName == "Part" then
1269
				g[i].Anchored = false
1270
			end
1271
		end
1272
	end
1273
end
1274
1275
1276
--//=================================\\
1277
--||	WRAP THE WHOLE SCRIPT UP
1278
--\\=================================//
1279
1280
Humanoid.Changed:connect(function(Jump)
1281
	if Jump == "Jump" and (Disable_Jump == true) then
1282
		Humanoid.Jump = false
1283
	end
1284
end)
1285
1286
while true do
1287
	Swait()
1288
	ANIMATE.Parent = nil
1289
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1290
	IDLEANIMATION:Play()
1291
	SINE = SINE + CHANGE
1292
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1293
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1294
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1295
	HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
1296
	local WALKSPEEDVALUE = 0
1297
	if Speed < 35 then
1298
		WALKSPEEDVALUE = 6
1299
	else
1300
		WALKSPEEDVALUE = 3
1301
	end
1302
	if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
1303
		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 * (1) / Animation_Speed)
1304
		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)
1305
		if Speed < 35 then
1306
			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(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
1307
			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(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
1308
		else
1309
			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(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
1310
			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(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
1311
		end
1312
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
1313
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1314
		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)
1315
		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)
1316
		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)
1317
	end
1318
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1319
		ANIM = "Jump"
1320
		if ATTACK == false then
1321
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1322
			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)
1323
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1324
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1325
			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)
1326
			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)
1327
	    end
1328
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1329
		ANIM = "Fall"
1330
		if ATTACK == false then
1331
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1332
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1333
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1334
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1335
			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)
1336
			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)
1337
		end
1338
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1339
		ANIM = "Idle"
1340
		if ATTACK == false then
1341
			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)
1342
			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)
1343
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1344
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1345
			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)
1346
			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)
1347
		end
1348
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
1349
		ANIM = "Walk"
1350
		WALK = WALK + 1 / Animation_Speed
1351
		if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
1352
			WALK = 0
1353
			if WALKINGANIM == true then
1354
				WALKINGANIM = false
1355
			elseif WALKINGANIM == false then
1356
				WALKINGANIM = true
1357
			end
1358
		end
1359
		--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)
1360
		--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)
1361
		if ATTACK == false then
1362
			if Speed < 35 then
1363
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1364
				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)
1365
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1366
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1367
				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)
1368
				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)
1369
			else
1370
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1371
				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)
1372
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1373
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1374
				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)
1375
				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)
1376
			end
1377
		end
1378
	end
1379
	unanchor()
1380
	Humanoid.MaxHealth = "inf"
1381
	Humanoid.Health = "inf"
1382
	if Rooted == false then
1383
		Disable_Jump = false
1384
		Humanoid.WalkSpeed = Speed
1385
	elseif Rooted == true then
1386
		Disable_Jump = true
1387
		Humanoid.WalkSpeed = 0
1388
	end
1389
	local MATHS = {"0","1"}
1390
	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)]
1391
	Humanoid.PlatformStand = false
1392
end
1393
1394
--//=================================\\
1395
--\\=================================//
1396
1397
1398
1399
1400
1401
--//====================================================\\--
1402
--||			  		 END OF SCRIPT
1403
--\\====================================================//--