View difference between Paste ID: 7QYmBUbK and KUfA1emm
SHOW: | | - or go back to the newest paste.
1
--Thanks to someone they name i will not say is this being traded around.--
2
--If they read this, fuck you.--
3
4
--Anyways Enjoy.--
5
--//====================================================\\--
6
--||    CREATED BY SHACKLUSTER THE EDIT BY XDAVODIOX    ||
7
--\\====================================================//--
8
9
10
--Well that text under this tet is nothing anymore.--
11
--You are a fucking faggot if you leaked this bitch.--
12
13
wait(0.3)
14
15
local Player = game.Players.localPlayer
16
local Character = Player.Character
17
local Humanoid = Character.Humanoid
18
local LeftArm = Character["Left Arm"]
19
local RightArm = Character["Right Arm"]
20
local LeftLeg = Character["Left Leg"]
21
local RightLeg = Character["Right Leg"]
22
local Head = Character.Head
23
local Torso = Character.Torso
24
local RootPart = Character.HumanoidRootPart
25
local RootJoint = RootPart.RootJoint
26
local txt = Instance.new("BillboardGui", Character)
27
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
28
local velocity = RootPart.Velocity.y
29
CV = "Maroon"
30
Player = game.Players.LocalPlayer
31
char = Player.Character
32-
warn("Edit by XDavodioX")
32+
warn("Edit 5mzazatv")
33
34-
txt.Adornee = Character.Head
34+
35-
txt.Name = "_status"
35+
36-
txt.Size = UDim2.new(2, 0, 1.2, 0)
36+
37-
txt.StudsOffset = Vector3.new(-9, 8, 0)
37+
38-
local text = Instance.new("TextLabel", txt)
38+
39-
text.Size = UDim2.new(10, 0, 7, 0)
39+
40-
text.FontSize = "Size24"
40+
41-
text.TextScaled = true
41+
42-
text.TextTransparency = 0
42+
43-
text.BackgroundTransparency = 1
43+
44-
text.TextTransparency = 0
44+
45-
text.TextStrokeTransparency = 1
45+
46-
text.Font = "Code"
46+
47-
v = Instance.new("Part")
47+
48-
v.Name = "ColorBrick"
48+
49-
v.Parent = Player.Character
49+
50-
v.FormFactor = "Symmetric"
50+
51-
v.Anchored = true
51+
52-
v.CanCollide = false
52+
53-
v.BottomSurface = "Smooth"
53+
54-
v.TopSurface = "Smooth"
54+
55-
v.Size = Vector3.new(10, 5, 3)
55+
56-
v.Transparency = 1
56+
57-
v.CFrame = Character.Torso.CFrame
57+
58-
v.BrickColor = BrickColor.new(CV)
58+
59-
v.Transparency = 1
59+
60
        return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
61
    else
62
        return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
63
    end
64
end
65-
local add=15
65+
66
    local p = Instance.new('Part',parent or Weapon)
67
    p.formFactor = 'Custom'
68
    p.Size = Vector3.new(x,y,z)
69
    p.BrickColor = BrickColor.new(color)
70
    p.CanCollide = cc
71
    p.Transparency = tr
72
    p.Anchored = an
73
    p.TopSurface,p.BottomSurface = 0,0
74
    p:BreakJoints''
75
    table.insert(Parts,p)
76-
	text.TextColor3 = color
76+
77
end
78
Weld = function(p0,p1)
79
    local w = Instance.new('Motor',p0)
80
    w.Part0 = p0
81
    w.Part1 = p1
82
    return w 
83
end
84
Mesh = function(par,num,x,y,z)
85
    local msh = 0
86
    if num == 1 then
87
        msh = Instance.new("SpecialMesh",par)
88
        msh.MeshId='rbxasset://fonts/torso.mesh'
89
        msh.TextureId='rbxasset://25701026'
90
    end
91
    if num == 2 then
92
        msh = Instance.new("SpecialMesh",par)
93
        msh.MeshId='rbxasset://fonts/head.mesh'
94
        msh.TextureId='rbxassetid://25701026'
95
    end
96
    msh.Scale = Vector3.new(x,y,z)
97
    return msh
98
end
99
plr=Game.Players.LocalPlayer
100
char=plr.Character
101
for _,v in pairs(char:GetChildren()) do
102
    if v.ClassName=="Part" then
103
        v.Transparency=1
104
    elseif v.ClassName=="Hat" then
105
        v.Handle.Mesh.TextureId='rbxassetid://25701026'
106
        table.insert(Parts,v.Handle)
107
    end
108
end
109
t=Part(1,1,1,'',0,false,false,char)
110
Mesh(t,1,1,1,1)
111
Weld(char.Torso,t)
112
a=Part(1,1,1,'',0,false,false,char)
113
Mesh(a,1,.5,1,1)
114
Weld(char['Right Arm'],a)
115
a=Part(1,1,1,'',0,false,false,char)
116
Mesh(a,1,.5,1,1)
117
Weld(char['Left Arm'],a)
118
l=Part(1,1,1,'',0,false,false,char)
119
Mesh(l,1,.5,1,1)
120
Weld(char['Right Leg'],l)
121
l=Part(1,1,1,'',0,false,false,char)
122
Mesh(l,1,.5,1,1)
123
Weld(char['Left Leg'],l)
124
h=Part(1,1,1,'',0,false,false,char)
125
Mesh(h,2,1,1,1)
126
Weld(char.Head,h)
127
Spawn(function()
128
    while(coroutine.yield())do
129
        for i=1,#Parts do
130
            Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.8)--vertex 4 lyfe
131
        end
132
    end;
133
end);
134
135
char.Head.face:Destroy()
136
137
for i,v in pairs(char:GetChildren()) do
138
	if v.ClassName == "Accessory" then
139
		v:Remove()
140
	elseif v.ClassName == "Shirt" then
141
		v:Remove()
142
	elseif v.ClassName == "Pants" then
143
		v:Remove()
144
	elseif v.ClassName == "ShirtGraphic" then
145
		v:Remove()
146
		end		
147
end
148
149
wait(0.3)
150
151
Player = game:GetService("Players").LocalPlayer
152
PlayerGui = Player.PlayerGui
153
Cam = workspace.CurrentCamera
154
Backpack = Player.Backpack
155
Character = Player.Character
156
Humanoid = Character.Humanoid
157
Mouse = Player:GetMouse()
158
RootPart = Character["HumanoidRootPart"]
159
Torso = Character["Torso"]
160
Head = Character["Head"]
161
RightArm = Character["Right Arm"]
162
LeftArm = Character["Left Arm"]
163
RightLeg = Character["Right Leg"]
164
LeftLeg = Character["Left Leg"]
165
RootJoint = RootPart["RootJoint"]
166
Neck = Torso["Neck"]
167
RightShoulder = Torso["Right Shoulder"]
168
LeftShoulder = Torso["Left Shoulder"]
169
RightHip = Torso["Right Hip"]
170
LeftHip = Torso["Left Hip"]
171
local sick = Instance.new("Sound",Character)
172
sick.SoundId = "rbxassetid://198584962"
173
sick.Looped = true
174
sick.Pitch = 1
175
sick.Volume = 86783
176
sick:Play()
177
178
IT = Instance.new
179
CF = CFrame.new
180
VT = Vector3.new
181
RAD = math.rad
182
C3 = Color3.new
183
UD2 = UDim2.new
184
BRICKC = BrickColor.new
185
ANGLES = CFrame.Angles
186
EULER = CFrame.fromEulerAnglesXYZ
187
COS = math.cos
188
ACOS = math.acos
189
SIN = math.sin
190
ASIN = math.asin
191
ABS = math.abs
192
MRANDOM = math.random
193
FLOOR = math.floor
194
195
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
196
	local NEWMESH = IT(MESH)
197
	if MESH == "SpecialMesh" then
198
		NEWMESH.MeshType = MESHTYPE
199
		if MESHID ~= "nil" and MESHID ~= "" then
200
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
201
		end
202
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
203
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
204
		end
205
	end
206
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
207
	NEWMESH.Scale = SCALE
208
	NEWMESH.Parent = PARENT
209
	return NEWMESH
210
end
211
212
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
213
	local NEWPART = IT("Part")
214
	NEWPART.formFactor = FORMFACTOR
215
	NEWPART.Reflectance = REFLECTANCE
216
	NEWPART.Transparency = TRANSPARENCY
217
	NEWPART.CanCollide = false
218
	NEWPART.Locked = true
219
	NEWPART.Anchored = true
220
	if ANCHOR == false then
221
		NEWPART.Anchored = false
222
	end
223
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
224
	NEWPART.Name = NAME
225
	NEWPART.Size = SIZE
226
	NEWPART.Position = Torso.Position
227
	NEWPART.Material = MATERIAL
228
	NEWPART:BreakJoints()
229
	NEWPART.Parent = PARENT
230
	return NEWPART
231
end
232
233
234
function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
235
	local NEWPART = IT("Part")
236
	NEWPART.formFactor = FORMFACTOR
237
	NEWPART.Reflectance = REFLECTANCE
238
	NEWPART.Transparency = TRANSPARENCY
239
	NEWPART.CanCollide = false
240
	NEWPART.Locked = true
241
	NEWPART.Anchored = true
242
	if ANCHOR == false then
243
		NEWPART.Anchored = false
244
	end
245
	NEWPART.Name = NAME
246
	NEWPART.Size = SIZE
247
	NEWPART.Position = Torso.Position
248
	NEWPART.Material = MATERIAL
249
	NEWPART:BreakJoints()
250
	NEWPART.Parent = PARENT
251
	return NEWPART
252
end
253
254
--//=================================\\
255
--||		  CUSTOMIZATION
256
--\\=================================//
257
258
Player_Size = 1 --Size of the player.
259
Animation_Speed = 6
260
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
261
262
local Speed = 500
263
local Effects2 = {}
264
265
local Rainbow = { --This is the main color set. Try to use more than just a few, make it fade in order as well
266
"Crimson", 
267
"Bright red", 
268
"Neon orange", 
269
"Deep orange", 
270
"Bright yellow", 
271
"New Yeller", 
272
"Br. yellowish green", 
273
"Lime green", 
274
"Sea green", 
275
"Bright bluish green",
276
"Bright blue", 
277
"Lavender",
278
"Royal purple",
279
"Eggplant",
280
"Hot pink"
281
}
282
283
--//=================================\\
284
--|| 	  END OF CUSTOMIZATION
285
--\\=================================//
286
287
	local function weldBetween(a, b)
288
	    local weldd = Instance.new("ManualWeld")
289
	    weldd.Part0 = a
290
	    weldd.Part1 = b
291
	    weldd.C0 = CFrame.new()
292
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
293
	    weldd.Parent = a
294
	    return weldd
295
	end
296
297
--//=================================\\
298
--|| 	      USEFUL VALUES
299
--\\=================================//
300
301
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
302
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
303
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
304
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
305
local CHANGEDEFENSE = 0
306
local CHANGEDAMAGE = 0
307
local CHANGEMOVEMENT = 0
308
local ANIM = "Idle"
309
local ATTACK = false
310
local EQUIPPED = false
311
local HOLD = false
312
local COMBO = 1
313
local Rooted = false
314
local SINE = 0
315
local KEYHOLD = false
316
local CHANGE = 2 / Animation_Speed
317
local WALKINGANIM = false
318
local WALK = 0
319
local VALUE1 = false
320
local VALUE2 = false
321
local ROBLOXIDLEANIMATION = IT("Animation")
322
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
323
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
324
--ROBLOXIDLEANIMATION.Parent = Humanoid
325
local WEAPONGUI = IT("ScreenGui", PlayerGui)
326
WEAPONGUI.Name = "Weapon GUI"
327
local Weapon = IT("Model")
328
Weapon.Name = "Adds"
329
local HITFLOOR = nil
330
local Effects = IT("Folder", Weapon)
331
Effects.Name = "Effects"
332
local ANIMATOR = Humanoid.Animator
333
local ANIMATE = Character.Animate
334
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
335
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
336
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
337
local HITBLOCKSOUNDS = {"199148933", "199148947"}
338
local UNANCHOR = true
339
340
rainbowNumber = 1
341
342
local SKILLTEXTCOLOR = BrickColor.new(Rainbow[rainbowNumber]).Color
343
344
--//=================================\\
345
--\\=================================//
346
347
348
349
350
--//=================================\\
351
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
352
--\\=================================//
353
354
ArtificialHB = Instance.new("BindableEvent", script)
355
ArtificialHB.Name = "ArtificialHB"
356
357
script:WaitForChild("ArtificialHB")
358
359
frame = Frame_Speed
360
tf = 0
361
allowframeloss = false
362
tossremainder = false
363
lastframe = tick()
364
script.ArtificialHB:Fire()
365
366
game:GetService("RunService").Heartbeat:connect(function(s, p)
367
	tf = tf + s
368
	if tf >= frame then
369
		if allowframeloss then
370
			script.ArtificialHB:Fire()
371
			lastframe = tick()
372
		else
373
			for i = 1, math.floor(tf / frame) do
374
				script.ArtificialHB:Fire()
375
			end
376
		lastframe = tick()
377
		end
378
		if tossremainder then
379
			tf = 0
380
		else
381
			tf = tf - frame * math.floor(tf / frame)
382
		end
383
	end
384
end)
385
386
--//=================================\\
387
--\\=================================//
388
389
390
391
--//=================================\\
392
--|| 	      SOME FUNCTIONS
393
--\\=================================//
394
395
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
396
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
397
end
398
399
function PositiveAngle(NUMBER)
400
	if NUMBER >= 0 then
401
		NUMBER = 0
402
	end
403
	return NUMBER
404
end
405
406
function NegativeAngle(NUMBER)
407
	if NUMBER <= 0 then
408
		NUMBER = 0
409
	end
410
	return NUMBER
411
end
412
413
function Swait(NUMBER)
414
	if NUMBER == 0 or NUMBER == nil then
415
		ArtificialHB.Event:wait()
416
	else
417
		for i = 1, NUMBER do
418
			ArtificialHB.Event:wait()
419
		end
420
	end
421
end
422
423
function QuaternionFromCFrame(cf)
424
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
425
	local trace = m00 + m11 + m22
426
	if trace > 0 then 
427
		local s = math.sqrt(1 + trace)
428
		local recip = 0.5 / s
429
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
430
	else
431
		local i = 0
432
		if m11 > m00 then
433
			i = 1
434
		end
435
		if m22 > (i == 0 and m00 or m11) then
436
			i = 2
437
		end
438
		if i == 0 then
439
			local s = math.sqrt(m00 - m11 - m22 + 1)
440
			local recip = 0.5 / s
441
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
442
		elseif i == 1 then
443
			local s = math.sqrt(m11 - m22 - m00 + 1)
444
			local recip = 0.5 / s
445
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
446
		elseif i == 2 then
447
			local s = math.sqrt(m22 - m00 - m11 + 1)
448
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
449
		end
450
	end
451
end
452
 
453
function QuaternionToCFrame(px, py, pz, x, y, z, w)
454
	local xs, ys, zs = x + x, y + y, z + z
455
	local wx, wy, wz = w * xs, w * ys, w * zs
456
	local xx = x * xs
457
	local xy = x * ys
458
	local xz = x * zs
459
	local yy = y * ys
460
	local yz = y * zs
461
	local zz = z * zs
462
	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))
463
end
464
 
465
function QuaternionSlerp(a, b, t)
466
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
467
	local startInterp, finishInterp;
468
	if cosTheta >= 0.0001 then
469
		if (1 - cosTheta) > 0.0001 then
470
			local theta = ACOS(cosTheta)
471
			local invSinTheta = 1 / SIN(theta)
472
			startInterp = SIN((1 - t) * theta) * invSinTheta
473
			finishInterp = SIN(t * theta) * invSinTheta
474
		else
475
			startInterp = 1 - t
476
			finishInterp = t
477
		end
478
	else
479
		if (1 + cosTheta) > 0.0001 then
480
			local theta = ACOS(-cosTheta)
481
			local invSinTheta = 1 / SIN(theta)
482
			startInterp = SIN((t - 1) * theta) * invSinTheta
483
			finishInterp = SIN(t * theta) * invSinTheta
484
		else
485
			startInterp = t - 1
486
			finishInterp = t
487
		end
488
	end
489
	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
490
end
491
492
function Clerp(a, b, t)
493
	local qa = {QuaternionFromCFrame(a)}
494
	local qb = {QuaternionFromCFrame(b)}
495
	local ax, ay, az = a.x, a.y, a.z
496
	local bx, by, bz = b.x, b.y, b.z
497
	local _t = 1 - t
498
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
499
end
500
501
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
502
	local frame = IT("Frame")
503
	frame.BackgroundTransparency = TRANSPARENCY
504
	frame.BorderSizePixel = BORDERSIZEPIXEL
505
	frame.Position = POSITION
506
	frame.Size = SIZE
507
	frame.BackgroundColor3 = COLOR
508
	frame.BorderColor3 = BORDERCOLOR
509
	frame.Name = NAME
510
	frame.Parent = PARENT
511
	return frame
512
end
513
514
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
515
	local label = IT("TextLabel")
516
	label.BackgroundTransparency = 1
517
	label.Size = UD2(1, 0, 1, 0)
518
	label.Position = UD2(0, 0, 0, 0)
519
	label.TextColor3 = TEXTCOLOR
520
	label.TextStrokeTransparency = STROKETRANSPARENCY
521
	label.TextTransparency = TRANSPARENCY
522
	label.FontSize = TEXTFONTSIZE
523
	label.Font = TEXTFONT
524
	label.BorderSizePixel = BORDERSIZEPIXEL
525
	label.TextScaled = false
526
	label.Text = TEXT
527
	label.Name = NAME
528
	label.Parent = PARENT
529
	return label
530
end
531
532
function NoOutlines(PART)
533
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
534
end
535
536
537
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
538
	local NEWWELD = IT(TYPE)
539
	NEWWELD.Part0 = PART0
540
	NEWWELD.Part1 = PART1
541
	NEWWELD.C0 = C0
542
	NEWWELD.C1 = C1
543
	NEWWELD.Parent = PARENT
544
	return NEWWELD
545
end
546
547
function CreateSound(ID, PARENT, VOLUME, PITCH)
548
	local NEWSOUND = nil
549
	coroutine.resume(coroutine.create(function()
550
		NEWSOUND = IT("Sound", PARENT)
551
		NEWSOUND.Volume = VOLUME
552
		NEWSOUND.Pitch = PITCH
553
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
554
		Swait()
555
		NEWSOUND:play()
556
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
557
	end))
558
	return NEWSOUND
559
end
560
561
function CFrameFromTopBack(at, top, back)
562
	local right = top:Cross(back)
563
	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)
564
end
565
566
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
567
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
568
	local mesh = IT("SpecialMesh",wave)
569
	mesh.MeshType = "FileMesh"
570
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
571
	mesh.Scale = SIZE
572
	mesh.Offset = VT(0,0,-SIZE.X/8)
573
	wave.CFrame = CFRAME
574
	coroutine.resume(coroutine.create(function(PART)
575
		for i = 1, WAIT do
576
			Swait()
577
			mesh.Scale = mesh.Scale + GROW
578
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
579
			if DOESROT == true then
580
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
581
			end
582
			wave.Transparency = wave.Transparency + (0.5/WAIT)
583
			if wave.Transparency > 0.99 then
584
				wave:remove()
585
			end
586
		end
587
	end))
588
end
589
590
function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
591
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
592
	local mesh = IT("SpecialMesh",wave)
593
	mesh.MeshType = "FileMesh"
594
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
595
	mesh.Scale = SIZE
596
	--mesh.Offset = VT(0,0,-SIZE.X/8)
597
	wave.CFrame = CFRAME
598
	coroutine.resume(coroutine.create(function(PART)
599
		for i = 1, WAIT do
600
			Swait()
601
			mesh.Scale = mesh.Scale + GROW
602
			--mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
603
			if DOESROT == true then
604
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
605
			end
606
			wave.Transparency = wave.Transparency + (0.5/WAIT)
607
			if wave.Transparency > 0.99 then
608
				wave:remove()
609
			end
610
		end
611
	end))
612
end
613
614
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
615
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
616
	local mesh = IT("SpecialMesh",wave)
617
	mesh.MeshType = "FileMesh"
618
	mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
619
	mesh.Scale = SIZE
620
	wave.CFrame = CFRAME
621
	coroutine.resume(coroutine.create(function(PART)
622
		for i = 1, WAIT do
623
			Swait()
624
			mesh.Scale = mesh.Scale + GROW
625
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
626
			if DOESROT == true then
627
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
628
			end
629
			wave.Transparency = wave.Transparency + (0.5/WAIT)
630
			if wave.Transparency > 0.99 then
631
				wave:remove()
632
			end
633
		end
634
	end))
635
end
636
637
638
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
639
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
640
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
641
	wave.CFrame = CFRAME
642
	coroutine.resume(coroutine.create(function(PART)
643
		for i = 1, WAIT do
644
			Swait()
645
			mesh.Scale = mesh.Scale * GROW
646
			wave.Transparency = wave.Transparency + (0.5/WAIT)
647
			if wave.Transparency > 0.99 then
648
				wave:remove()
649
			end
650
		end
651
	end))
652
end
653
654
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
655
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
656
	local mesh = IT("SpecialMesh",wave)
657
	mesh.MeshType = "Sphere"
658
	mesh.Scale = SIZE
659
	mesh.Offset = VT(0,0,0)
660
	wave.CFrame = CFRAME
661
	coroutine.resume(coroutine.create(function(PART)
662
		for i = 1, WAIT do
663
			Swait()
664
			mesh.Scale = mesh.Scale + GROW
665
			wave.Transparency = wave.Transparency + (1/WAIT)
666
			if wave.Transparency > 0.99 then
667
				wave:remove()
668
			end
669
		end
670
	end))
671
end
672
673
function MakeForm(PART,TYPE)
674
	if TYPE == "Cyl" then
675
		local MSH = IT("CylinderMesh",PART)
676
	elseif TYPE == "Ball" then
677
		local MSH = IT("SpecialMesh",PART)
678
		MSH.MeshType = "Sphere"
679
	elseif TYPE == "Wedge" then
680
		local MSH = IT("SpecialMesh",PART)
681
		MSH.MeshType = "Wedge"
682
	end
683
end
684
685
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
686
	if FLOOR ~= nil then
687
		coroutine.resume(coroutine.create(function()
688
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
689
			PART.CFrame = CF(POSITION)
690
			for i = 1, 45 do
691
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
692
				RingPiece.Material = FLOOR.Material
693
				RingPiece.Color = FLOOR.Color
694
				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)))
695
				Debris:AddItem(RingPiece,SWAIT/100)
696
			end
697
			PART:remove()
698
		end))
699
	end
700
end
701
702
function CheckTableForString(Table, String)
703
	for i, v in pairs(Table) do
704
		if string.find(string.lower(String), string.lower(v)) then
705
			return true
706
		end
707
	end
708
	return false
709
end
710
711
function CheckIntangible(Hit)
712
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
713
	if Hit and Hit.Parent then
714
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
715
			return true
716
		end
717
	end
718
	return false
719
end
720
721
Debris = game:GetService("Debris")
722
723
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
724
	local Direction = CFrame.new(StartPos, Vec).lookVector
725
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
726
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
727
	if RayHit and CheckIntangible(RayHit) then
728
		if DelayIfHit then
729
			wait()
730
		end
731
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
732
	end
733
	return RayHit, RayPos, RayNormal
734
end
735
736
function turnto(position)
737
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
738
end
739
740
--//=================================\\
741
--||	     WEAPON CREATION
742
--\\=================================//
743
local FIST = CreatePart1(3, Weapon, "Neon", 0, 0, "Neon Gauntlet Part1", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
744
Light = Instance.new("PointLight",FIST)
745
Light.Brightness = 0.85
746
touchCounter = 0
747
local cR=255
748
local cG=0
749
local cB=0
750
local flg5=1 local omgidk=1
751
local add=7.5
752
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
753
	if omgidk>10000 then omgidk=0 end
754
	omgidk=omgidk+1
755
	if cR>=255 then flg5=1 end
756
	if cG>=255 then flg5=2 end
757
	if cB>=255 then flg5=3 end
758
	if flg5==1 then cR=cR-add cG=cG+add end
759
	if flg5==2 then cG=cG-add cB=cB+add end
760
	if flg5==3 then cB=cB-add cR=cR+add end
761
	color=Color3.fromRGB(cR,cG,cB)
762
	Light.Color = color
763
end)
764
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))
765
local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
766
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))
767
768
local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
769
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))
770
local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
771
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))
772
local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
773
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))
774
local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
775
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))
776
777
local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
778
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))
779
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
780
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))
781
local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
782
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))
783
local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
784
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))
785
local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
786
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))
787
touchCounter = 0
788
local cR=255
789
local cG=0
790
local cB=0
791
local flg5=1 local omgidk=1
792
local add=7.5
793
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
794
	if omgidk>10000 then omgidk=0 end
795
	omgidk=omgidk+1
796
	if cR>=255 then flg5=1 end
797
	if cG>=255 then flg5=2 end
798
	if cB>=255 then flg5=3 end
799
	if flg5==1 then cR=cR-add cG=cG+add end
800
	if flg5==2 then cG=cG-add cB=cB+add end
801
	if flg5==3 then cB=cB-add cR=cR+add end
802
	color=Color3.fromRGB(cR,cG,cB)
803
	local d = Weapon:FindFirstChild("Neon Gauntlet Part")
804
	if d then
805
		d.Color = color
806
	end
807
	local d = Weapon:FindFirstChild("Neon Gauntlet Part1")
808
	if d then
809
		d.Color = color
810
	end
811
end)
812
for _, c in pairs(Weapon:GetChildren()) do
813
	if c.ClassName == "Part" then
814
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
815
	end
816
end
817
818
Weapon.Parent = Character
819
820
local BODY = {}
821
822
for _, c in pairs(Character:GetChildren()) do
823
	if c.ClassName == "Part" then
824
		table.insert(BODY,{c,Character})
825
		for _, q in pairs(c:GetChildren()) do
826
			if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then
827
				table.insert(BODY,{q,c})
828
			end
829
		end
830
	end
831
end
832
833
function refit()
834
	Character.Parent = workspace
835
	for e = 1, #BODY do
836
		if BODY[e] ~= nil then
837
			local STUFF = BODY[e]
838
			local PART = STUFF[1]
839
			local PARENT = STUFF[2]
840
			PART.Parent = PARENT
841
		end
842
	end
843
end
844
845
Humanoid.HealthChanged:connect(function()
846
	Humanoid.Parent = nil
847
	Humanoid.MaxHealth = "inf"
848
	Humanoid.Health = "inf"
849
	refit()
850
	Humanoid.Parent = Character
851
end)
852
853
Humanoid.Died:connect(function()
854
	Humanoid.Parent = nil
855
	Humanoid.MaxHealth = "inf"
856
	Humanoid.Health = "inf"
857
	refit()
858
	Humanoid.Parent = Character
859
end)
860
861
Humanoid.Died:connect(function()
862
	ATTACK = true
863
end)
864
865
function onTouched(brick)
866
    local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
867
    if humn then
868
       humn.Health = -1
869
    end
870
end
871
872
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")
873
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")
874
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")
875
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")
876
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") 
877
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") 
878
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")
879
880
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Ultra Punch", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
881
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] Punish", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
882
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Dash", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
883
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[Q] Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
884
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[G] R.I.P World", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text5")
885
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[R] Destruction", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text6")
886
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T] Apocalypse", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text7")
887
888
--//=================================\\
889
--||	     DAMAGE FUNCTIONS
890
--\\=================================//
891
892
function onTouched(Torso)
893
    local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
894
    if humn then
895
       humn.Health = -1
896
    end
897
end
898
899
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
900
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
901
	STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
902
	local BODYGYRO = IT("BodyGyro", STATPART)
903
	local BODYPOSITION = IT("BodyPosition", STATPART)
904
	BODYPOSITION.P = 2000
905
	BODYPOSITION.D = 100
906
	BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
907
	BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
908
	game:GetService("Debris"):AddItem(STATPART ,5)
909
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
910
	BILLBOARDGUI.Adornee = STATPART
911
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
912
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
913
	BILLBOARDGUI.AlwaysOnTop = false
914
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
915
	TEXTLABEL.BackgroundTransparency = 1
916
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
917
	TEXTLABEL.Text = TEXT
918
	TEXTLABEL.Font = "SciFi"
919
	TEXTLABEL.FontSize="Size42"
920
	TEXTLABEL.TextColor3 = COLOR
921
	TEXTLABEL.TextStrokeTransparency = 1
922
	TEXTLABEL.TextScaled = true
923
	TEXTLABEL.TextWrapped = true
924
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
925
		if LABELTYPE == "Normal" then
926
			for i = 1, 30 do
927
				Swait()
928
				STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
929
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
930
			end
931
		elseif LABELTYPE == "Debuff" then
932
			for i = 1, 30 do
933
				Swait()
934
				STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
935
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
936
			end
937
		elseif LABELTYPE == "Shock" then
938
			local ORIGIN = STATPART.Position
939
			for i = 1, 30 do
940
				Swait()
941
				STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
942
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
943
			end
944
		end
945
		THEPART.Parent = nil
946
	end),STATPART, BODYPOSITION, TEXTLABEL)
947
end
948
949
--//=================================\\
950
--||			DAMAGING
951
--\\=================================//
952
953
function killnearest(position,range,maxstrength,direction)
954
	for i,v in ipairs(workspace:GetChildren()) do
955
	local body = v:GetChildren()
956
		for part = 1, #body do
957
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
958
				if(body[part].Position - position).Magnitude < range then
959
					if v.ClassName == "Model" then
960
						--v:BreakJoints()
961
					end
962
					local POS = position
963
					coroutine.resume(coroutine.create(function()
964
						body[part].Anchored = true
965
						body[part].Parent = Effects
966
						body[part].CanCollide = true
967
						local SIZE = body[part].Size
968
						body[part].Material = "Neon"
969
						CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
970
						for i = 1, 75 do
971
							Swait()
972
							body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
973
							body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
974
						end
975
						coroutine.resume(coroutine.create(function()
976
							while true do
977
								Swait()
978
								body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
979
								body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
980
							end
981
						end))
982
						body[part].Anchored = false
983
						body[part].Velocity = direction.lookVector*maxstrength
984
					end))
985
				end
986
			end
987
		end
988
		if v.ClassName == "Part" then
989
			if v.Anchored == false and (v.Position - position).Magnitude < range then
990
				local POS = position
991
				coroutine.resume(coroutine.create(function()
992
					v.Anchored = true
993
					v.Parent = Effects
994
					local SIZE = v.Size
995
					v.Material = "Neon"
996
					CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
997
					for i = 1, 75 do
998
						Swait()
999
						v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1000
						v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1001
					end
1002
					coroutine.resume(coroutine.create(function()
1003
						while true do
1004
							Swait()
1005
							v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1006
							v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1007
						end
1008
					end))
1009
					v.Anchored = false
1010
					v.Velocity = direction.lookVector*maxstrength
1011
				end))
1012
			end
1013
		end
1014
	end
1015
end
1016
1017
--//=================================\\
1018
--||	ATTACK FUNCTIONS AND STUFF
1019
--\\=================================//
1020
1021
function AttackTemplate()
1022
	ATTACK = true
1023
	Rooted = false
1024
	for i=0, 1, 0.1 / Animation_Speed do
1025
		Swait()
1026
		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)
1027
		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)
1028
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1029
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1030
		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)
1031
		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)
1032
	end
1033
	ATTACK = false
1034
	Rooted = false
1035
end
1036
1037
function UltraPunch()
1038
	ATTACK = true
1039
	Rooted = false
1040
	local SPEED = Speed
1041
	Speed = 8
1042
	CreateSound("214876666", RightArm, 7.5, 0.8)
1043
	for i=0, 0, 0.1 / Animation_Speed do
1044
		Swait()
1045
		turnto(Mouse.Hit.p)
1046
		MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15))
1047
		MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15))
1048
		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)
1049
		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)
1050
		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)
1051
		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)
1052
		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)
1053
		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)
1054
	end
1055
	for i=0, 0, 0.1 / Animation_Speed do
1056
		Swait()
1057
		turnto(Mouse.Hit.p)
1058
		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)
1059
		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)
1060
		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)
1061
		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)
1062
		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)
1063
		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)
1064
	end
1065
	local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Maroon", "Punch", VT(50,50,50),false)
1066
	PART.CFrame = RootPart.CFrame * CF(0,0,-25)
1067
	PART.Shape = "Ball"
1068
	local bv = Instance.new("BodyVelocity") 
1069
	bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1070
	bv.velocity = RootPart.CFrame.lookVector*600
1071
	bv.Parent = PART
1072
	bv.Name = "PROJECTILEVELOCITY"
1073
	CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2.5,0.2,2.5))
1074
	CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(3,0.2,3))
1075
	CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2,0.6,2))
1076
	CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(2.2,0.6,2.2))
1077
	CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
1078
	coroutine.resume(coroutine.create(function()
1079
		for i = 1, 11 do
1080
			Swait()
1081
			PART.Transparency = PART.Transparency + 0.2/10
1082
			PART.Size = PART.Size + VT(5,5,5)
1083
			killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
1084
		end
1085
		PART:Destroy()
1086
	end))
1087
	for i=0, 0, 0.1 / Animation_Speed do
1088
		Swait()
1089
		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)
1090
		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)
1091
		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)
1092
		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)
1093
		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)
1094
		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)
1095
	end
1096
	Speed = SPEED
1097
	ATTACK = false
1098
	Rooted = false
1099
end
1100
1101
function Punish()
1102
	Animation_Speed = 1
1103
	ATTACK = true
1104
	Rooted = false
1105
	local HASGRABBED = false
1106
	local WELD = nil
1107
	local TORS = nil
1108
	local hitting = FIST.Touched:connect(function(hit) 
1109
		if hit.Parent:FindFirstChild("Humanoid") then
1110
			if hit.Parent.Humanoid.Health ~= 0 then
1111
				UNANCHOR = false
1112
				TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
1113
				TORS.Anchored = true
1114
				TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
1115
           		WELD = weldBetween(RightArm,TORS)
1116
				HASGRABBED = true
1117
				Rooted = true
1118
			end
1119
		end
1120
	end)
1121
	for i=0, 2, 0.1 / Animation_Speed do
1122
		Swait()
1123
		if HASGRABBED == true then
1124
			break
1125
		end
1126
		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)
1127
		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)
1128
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1129
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1130
		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)
1131
		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)
1132
	end
1133
	hitting:disconnect()
1134
	if HASGRABBED == true then
1135
		TORS.Anchored = false
1136
        RootPart.Anchored = true
1137
		for i=0, 1.6, 0.1 / Animation_Speed do
1138
			Swait()
1139
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1140
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1141
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1142
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1143
			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)
1144
			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)
1145
		end
1146
		CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
1147
		CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
1148
		local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
1149
		SOUNDPART.CFrame = RootPart.CFrame
1150
		Debris:AddItem(SOUNDPART,5)
1151
		CreateSound("357202073", SOUNDPART, 0, 1)
1152
		for i = 1, 16 do
1153
			Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
1154
		end
1155
		for i=0, 1.6, 0.1 / Animation_Speed do
1156
			Swait()
1157
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1158
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1159
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1160
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1161
			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)
1162
			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)
1163
		end
1164
		for i=0, 0.4, 0.1 / Animation_Speed do
1165
			Swait()
1166
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
1167
			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)
1168
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1169
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1170
			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)
1171
			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)
1172
		end
1173
		if HITFLOOR ~= nil then
1174
			CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
1175
		end
1176
		CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
1177
		WELD:remove()
1178
		for i = 1, 26 do
1179
			Swait()
1180
			killnearest(RootPart.Position,45,100,Torso.CFrame)
1181
			CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
1182
			CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(1,0.4,1))
1183
			CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(2.3,0.3,2.3))
1184
			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)
1185
			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))),"Maroon", 1 + MRANDOM(1,30)/15)
1186
		end
1187
	end
1188
	UNANCHOR = true
1189
	ATTACK = false
1190
	Rooted = false
1191
	Animation_Speed = 8
1192
end
1193
1194
function Dash()
1195
	local ORIGIN = RootPart.Position
1196
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
1197
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
1198
	local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
1199
	SOUNDPART.CFrame = RootPart.CFrame
1200
	Debris:AddItem(SOUNDPART,5)
1201
	CreateSound("357202032", SOUNDPART, 0, 1)
1202
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
1203
	Swait()
1204
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
1205
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
1206
	local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
1207
	SOUNDPART.CFrame = RootPart.CFrame
1208
	Debris:AddItem(SOUNDPART,5)
1209
	CreateSound("1295446488", SOUNDPART, 2.5, 1)
1210
		for i=0, 0.5, 0.1 / Animation_Speed do
1211
			Swait()
1212
			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)
1213
			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)
1214
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1215
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1216
			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)
1217
			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)
1218
		end
1219
		ATTACK = false
1220
		Rooted = false
1221
	end
1222
function Begoner9000()
1223
	ATTACK = true
1224
	Rooted = true
1225
	CreateSound("255679384", RightArm, 8, 1)
1226
	for i=0, 0, 0.1 / Animation_Speed do
1227
		Swait()
1228
		turnto(Mouse.Hit.p)
1229
		CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(0.2,0,0.2))
1230
		Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1.1)
1231
		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)
1232
		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),"Maroon",VT(0.001,0.001,2),0)
1233
		MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15))
1234
		MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15))
1235
		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)
1236
		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)
1237
		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)
1238
		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)
1239
		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)
1240
		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)
1241
	end
1242
	for i=0, 0, 0.1 / Animation_Speed do
1243
		Swait()
1244
		turnto(Mouse.Hit.p)
1245
		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)
1246
		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)
1247
		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)
1248
		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)
1249
		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)
1250
		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)
1251
	end
1252
	MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Maroon",VT(-0.04,-0.04,-0.04))
1253
	MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
1254
	coroutine.resume(coroutine.create(function()
1255
		Swait(0.01)
1256
		for i = 1, 2 do
1257
			MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Maroon",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
1258
			CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4.5*i,0.2,4.5*i))
1259
			CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4*i,0.6,4*i))
1260
		end
1261
		killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
1262
		for i = 1, 3 do
1263
			CreateSound("414517163", Effects, 3.5, 0.8)
1264
			CreateSound("414517163", Effects, 3.5, 0.8)
1265
		end
1266
		coroutine.resume(coroutine.create(function()
1267
			for i = 1, 3 do
1268
				Swait()
1269
				for i = 1, 1 do
1270
					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)
1271
				end
1272
				for i = 1, 2 do
1273
					Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1 + MRANDOM(1,30)/3)
1274
				end
1275
			end
1276
		end))
1277
	end))
1278
	for i=0, 0, 0.1 / Animation_Speed do
1279
		Swait()
1280
		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)
1281
		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)
1282
		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)
1283
		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)
1284
		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)
1285
		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)
1286
	end
1287
	ATTACK = false
1288
	Rooted = false
1289
end
1290
1291
--//=================================\\
1292
--||	  ASSIGN THINGS TO KEYS
1293
--\\=================================//
1294
1295
function MouseDown(Mouse)
1296
	if ATTACK == false then
1297
	end
1298
end
1299
1300
function MouseUp(Mouse)
1301
HOLD = false
1302
end
1303
1304
function KeyDown(Key)
1305
	KEYHOLD = true
1306
	if Key == "e" and ATTACK == false then
1307
		UltraPunch()
1308
	end
1309
1310
	if Key == "f" and ATTACK == false then
1311
		Punish()
1312
	end
1313
1314
	if Key == "c" and ATTACK == false then
1315
		Dash()
1316
	end
1317
1318
	if Key == "q" and ATTACK == false then
1319
		Begoner9000()()
1320
	end
1321
1322
	if Key == "t" and ATTACK == false then
1323
		Begoner9000()
1324
wait(0.43)
1325
		Begoner9000()
1326
wait(0.43)
1327
		Begoner9000()
1328
wait(0.43)
1329
		Begoner9000()
1330
wait(0.43)
1331
		Begoner9000()
1332
wait(0.43)
1333
		Begoner9000()
1334
wait(0.43)
1335
		Begoner9000()
1336
wait(0.43)
1337
		Begoner9000()
1338
wait(0.43)
1339
		Begoner9000()
1340
wait(0.43)
1341
		Begoner9000()
1342
	end
1343
1344
	if Key == "g" and ATTACK == false then
1345
		Begoner9000()
1346
		UltraPunch()
1347
wait(0.0001)
1348
		Begoner9000()
1349
		UltraPunch()
1350
wait(0.0001)
1351
		Begoner9000()
1352
		UltraPunch()
1353
wait(0.0001)
1354
		Begoner9000()
1355
		UltraPunch()
1356
wait(0.0001)
1357
		Begoner9000()
1358
		UltraPunch()
1359
wait(0.0001)
1360
		Begoner9000()
1361
		UltraPunch()
1362
wait(0.0001)
1363
		Begoner9000()
1364
		UltraPunch()
1365
wait(0.0001)
1366
		Begoner9000()
1367
		UltraPunch()
1368
wait(0.0001)
1369
		Begoner9000()
1370
		UltraPunch()
1371
wait(0.0001)
1372
		Begoner9000()
1373
		UltraPunch()
1374
wait(0.0001)
1375
		Begoner9000()
1376
		UltraPunch()
1377
wait(0.0001)
1378
		Begoner9000()
1379
		UltraPunch()
1380
wait(0.0001)
1381
		Begoner9000()
1382
		UltraPunch()
1383
wait(0.0001)
1384
		Begoner9000()
1385
		UltraPunch()
1386
wait(0.0001)
1387
		Begoner9000()
1388
		UltraPunch()
1389
wait(0.0001)
1390
		Begoner9000()
1391
		UltraPunch()
1392
wait(0.0001)
1393
		Begoner9000()
1394
		UltraPunch()
1395
wait(0.0001)
1396
		Begoner9000()
1397
		UltraPunch()
1398
wait(0.0001)
1399
		Begoner9000()
1400
		UltraPunch()
1401
wait(0.0001)
1402
		Begoner9000()
1403
		UltraPunch()
1404
wait(0.0001)
1405
		Begoner9000()
1406
		UltraPunch()
1407
wait(0.0001)
1408
		Begoner9000()
1409
		UltraPunch()
1410
wait(0.0001)
1411
		Begoner9000()
1412
		UltraPunch()
1413
wait(0.0001)
1414
		Begoner9000()
1415
		UltraPunch()
1416
wait(0.0001)
1417
		Begoner9000()
1418
		UltraPunch()
1419
wait(0.0001)
1420
		Begoner9000()
1421
		UltraPunch()
1422
wait(0.0001)
1423
		Begoner9000()
1424
		UltraPunch()
1425
wait(0.0001)
1426
		Begoner9000()
1427
		UltraPunch()
1428
wait(0.0001)
1429
		Begoner9000()
1430
		UltraPunch()
1431
wait(0.0001)
1432
		Begoner9000()
1433
		UltraPunch()
1434
wait(0.0001)
1435
		Begoner9000()
1436
		UltraPunch()
1437
wait(0.0001)
1438
		Begoner9000()
1439
		UltraPunch()
1440
wait(0.0001)
1441
		Begoner9000()
1442
		UltraPunch()
1443
wait(0.0001)
1444
		Begoner9000()
1445
		UltraPunch()
1446
wait(0.0001)
1447
		Begoner9000()
1448
		UltraPunch()
1449
wait(0.0001)
1450
		Begoner9000()
1451
		UltraPunch()
1452
wait(0.0001)
1453
		Begoner9000()
1454
		UltraPunch()
1455
wait(0.0001)
1456
		Begoner9000()
1457
		UltraPunch()
1458
wait(0.0001)
1459
		Begoner9000()
1460
		UltraPunch()
1461
wait(0.0001)
1462
		Begoner9000()
1463
		UltraPunch()
1464
wait(0.0001)
1465
		Begoner9000()
1466
		UltraPunch()
1467
wait(0.0001)
1468
		Begoner9000()
1469
		UltraPunch()
1470
wait(0.0001)
1471
		Begoner9000()
1472
		UltraPunch()
1473
wait(0.0001)
1474
		Begoner9000()
1475
		UltraPunch()
1476
wait(0.0001)
1477
		Begoner9000()
1478
		UltraPunch()
1479
wait(0.0001)
1480
		Begoner9000()
1481
		UltraPunch()
1482
wait(0.0001)
1483
		Begoner9000()
1484
		UltraPunch()
1485
wait(0.0001)
1486
		Begoner9000()
1487
		UltraPunch()
1488
wait(0.0001)
1489
		Begoner9000()
1490
		UltraPunch()
1491
wait(0.0001)
1492
		Begoner9000()
1493
		UltraPunch()
1494
wait(0.0001)
1495
		Begoner9000()
1496
		UltraPunch()
1497
wait(0.0001)
1498
		Begoner9000()
1499
		UltraPunch()
1500
wait(0.0001)
1501
		Begoner9000()
1502
		UltraPunch()
1503
wait(0.0001)
1504
		Begoner9000()
1505
		UltraPunch()
1506
wait(0.0001)
1507
		Begoner9000()
1508
		UltraPunch()
1509
wait(0.0001)
1510
		Begoner9000()
1511
		UltraPunch()
1512
wait(0.0001)
1513
		Begoner9000()
1514
		UltraPunch()
1515
wait(0.0001)
1516
		Begoner9000()
1517
		UltraPunch()
1518
wait(0.0001)
1519
		Begoner9000()
1520
		UltraPunch()
1521
wait(0.0001)
1522
		Begoner9000()
1523
		UltraPunch()
1524
wait(0.0001)
1525
		Begoner9000()
1526
		UltraPunch()
1527
wait(0.0001)
1528
		Begoner9000()
1529
		UltraPunch()
1530
wait(0.0001)
1531
		Begoner9000()
1532
		UltraPunch()
1533
wait(0.0001)
1534
		Begoner9000()
1535
		UltraPunch()
1536
wait(0.0001)
1537
		Begoner9000()
1538
		UltraPunch()
1539
wait(0.0001)
1540
		Begoner9000()
1541
		UltraPunch()
1542
wait(0.0001)
1543
		Begoner9000()
1544
		UltraPunch()
1545
wait(0.0001)
1546
		Begoner9000()
1547
		UltraPunch()
1548
wait(0.0001)
1549
		Begoner9000()
1550
		UltraPunch()
1551
wait(0.0001)
1552
		Begoner9000()
1553
		UltraPunch()
1554
wait(0.0001)
1555
		Begoner9000()
1556
		UltraPunch()
1557
wait(0.0001)
1558
		Begoner9000()
1559
		UltraPunch()
1560
wait(0.0001)
1561
		Begoner9000()
1562
		UltraPunch()
1563
wait(0.0001)
1564
		Begoner9000()
1565
		UltraPunch()
1566
wait(0.0001)
1567
		Begoner9000()
1568
		UltraPunch()
1569
wait(0.0001)
1570
		Begoner9000()
1571
		UltraPunch()
1572
wait(0.0001)
1573
		Begoner9000()
1574
		UltraPunch()
1575
wait(0.0001)
1576
		Begoner9000()
1577
		UltraPunch()
1578
wait(0.0001)
1579
		Begoner9000()
1580
		UltraPunch()
1581
wait(0.0001)
1582
		Begoner9000()
1583
		UltraPunch()
1584
wait(0.0001)
1585
		Begoner9000()
1586
		UltraPunch()
1587
wait(0.0001)
1588
		Begoner9000()
1589
		UltraPunch()
1590
wait(0.0001)
1591
		Begoner9000()
1592
		UltraPunch()
1593
wait(0.0001)
1594
		Begoner9000()
1595
		UltraPunch()
1596
wait(0.0001)
1597
		Begoner9000()
1598
		UltraPunch()
1599
wait(0.0001)
1600
		Begoner9000()
1601
		UltraPunch()
1602
wait(0.0001)
1603
		Begoner9000()
1604
		UltraPunch()
1605
wait(0.0001)
1606
		Begoner9000()
1607
		UltraPunch()
1608
wait(0.0001)
1609
		Begoner9000()
1610
		UltraPunch()
1611
wait(0.0001)
1612
		Begoner9000()
1613
		UltraPunch()
1614
wait(0.0001)
1615
		Begoner9000()
1616
		UltraPunch()
1617
wait(0.0001)
1618
		Begoner9000()
1619
		UltraPunch()
1620
wait(0.0001)
1621
		Begoner9000()
1622
		UltraPunch()
1623
wait(0.0001)
1624
		Begoner9000()
1625
		UltraPunch()
1626
wait(0.0001)
1627
		Begoner9000()
1628
		UltraPunch()
1629
wait(0.0001)
1630
		Begoner9000()
1631
		UltraPunch()
1632
wait(0.0001)
1633
		Begoner9000()
1634
		UltraPunch()
1635
wait(0.0001)
1636
		Begoner9000()
1637
		UltraPunch()
1638
wait(0.0001)
1639
		Begoner9000()
1640
		UltraPunch()
1641
wait(0.0001)
1642
		Begoner9000()
1643
		UltraPunch()
1644
	end
1645
1646
	if Key == "r" and ATTACK == false then
1647
		UltraPunch()
1648
wait(0.0002)
1649
		UltraPunch()
1650
wait(0.0002)
1651
		UltraPunch()
1652
wait(0.0002)
1653
		UltraPunch()
1654
wait(0.0002)
1655
		UltraPunch()
1656
wait(0.0002)
1657
		UltraPunch()
1658
wait(0.0002)
1659
		UltraPunch()
1660
wait(0.0002)
1661
		UltraPunch()
1662
wait(0.0002)
1663
		UltraPunch()
1664
wait(0.0002)
1665
		UltraPunch()
1666
wait(0.0002)
1667
		UltraPunch()
1668
wait(0.0002)
1669
		UltraPunch()
1670
wait(0.0002)
1671
		UltraPunch()
1672
wait(0.0002)
1673
		UltraPunch()
1674
wait(0.0002)
1675
		UltraPunch()
1676
wait(0.0002)
1677
		UltraPunch()
1678
wait(0.0002)
1679
		UltraPunch()
1680
wait(0.0002)
1681
		UltraPunch()
1682
wait(0.0002)
1683
		UltraPunch()
1684
wait(0.0002)
1685
		UltraPunch()
1686
wait(0.0002)
1687
		UltraPunch()
1688
wait(0.0002)
1689
		UltraPunch()
1690
	end
1691
1692
	if Key == "p" and ATTACK == false then
1693
		if Speed == 16 then
1694
			Speed = 150
1695
		elseif Speed == 150 then
1696
			Speed = 16
1697
		end
1698
	end
1699
end
1700
1701
function KeyUp(Key)
1702
	KEYHOLD = false
1703
end
1704
1705
	Mouse.Button1Down:connect(function(NEWKEY)
1706
		MouseDown(NEWKEY)
1707
	end)
1708
	Mouse.Button1Up:connect(function(NEWKEY)
1709
		MouseUp(NEWKEY)
1710
	end)
1711
	Mouse.KeyDown:connect(function(NEWKEY)
1712
		KeyDown(NEWKEY)
1713
	end)
1714
	Mouse.KeyUp:connect(function(NEWKEY)
1715
		KeyUp(NEWKEY)
1716
	end)
1717
1718
--//=================================\\
1719
--\\=================================//
1720
1721
1722
function unanchor()
1723
	if UNANCHOR == true then
1724
		g = Character:GetChildren()
1725
		for i = 1, #g do
1726
			if g[i].ClassName == "Part" then
1727
				g[i].Anchored = false
1728
			end
1729
		end
1730
	end
1731
end
1732
1733
1734
--//=================================\\
1735
--||	WRAP THE WHOLE SCRIPT UP
1736
--\\=================================//
1737
1738
Humanoid.Changed:connect(function(Jump)
1739
	if Jump == "Jump" and (Disable_Jump == true) then
1740
		Humanoid.Jump = false
1741
	end
1742
end)
1743
1744
while true do
1745
	Swait()
1746
	ANIMATE.Parent = nil
1747
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1748
	IDLEANIMATION:Play()
1749
	SINE = SINE + CHANGE
1750
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1751
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1752
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1753
	HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
1754
	local WALKSPEEDVALUE = 0
1755
	if Speed < 35 then
1756
		WALKSPEEDVALUE = 48
1757
	else
1758
		WALKSPEEDVALUE = 48
1759
	end
1760
	if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
1761
		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)
1762
		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)
1763
		if Speed < 35 then
1764
			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)
1765
			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)
1766
		else
1767
			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)
1768
			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)
1769
		end
1770
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
1771
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1772
		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)
1773
		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)
1774
		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)
1775
	end
1776
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1777
		ANIM = "Jump"
1778
		if ATTACK == false then
1779
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1780
			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)
1781
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1782
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1783
			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)
1784
			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)
1785
	    end
1786
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1787
		ANIM = "Fall"
1788
		if ATTACK == false then
1789
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1790
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1791
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1792
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1793
			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)
1794
			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)
1795
		end
1796
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1797
		ANIM = "Idle"
1798
		if ATTACK == false then
1799
			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)
1800
			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)
1801
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1802
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1803
			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)
1804
			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)
1805
		end
1806
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
1807
		ANIM = "Walk"
1808
		WALK = WALK + 1 / Animation_Speed
1809
		if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
1810
			WALK = 0
1811
			if WALKINGANIM == true then
1812
				WALKINGANIM = false
1813
			elseif WALKINGANIM == false then
1814
				WALKINGANIM = true
1815
			end
1816
		end
1817
		--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)
1818
		--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)
1819
		if ATTACK == false then
1820
			if Speed < 35 then
1821
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1822
				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)
1823
				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)
1824
				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)
1825
				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)
1826
				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)
1827
			else
1828
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1829
				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)
1830
				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)
1831
				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)
1832
				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)
1833
				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)
1834
			end
1835
		end
1836
	end
1837
	unanchor()
1838
	Humanoid.MaxHealth = "inf"
1839
	Humanoid.Health = "inf"
1840
	if Rooted == false then
1841
		Disable_Jump = false
1842
		Humanoid.WalkSpeed = Speed
1843
	elseif Rooted == true then
1844
		Disable_Jump = true
1845
		Humanoid.WalkSpeed = 0
1846
	end
1847
	local MATHS = {"0","1"}
1848
	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)]
1849
	Humanoid.PlatformStand = false
1850
end
1851
1852
1853
--//====================================================\\--
1854
--||			  		 END OF SCRIPT
1855
--\\====================================================//--