View difference between Paste ID: ifEXVGbF and kpLt3z1r
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
local plr = game:GetService('Players').LocalPlayer
13
local char = plr.Character
14
PlayerGui = Player.PlayerGui
15
Cam = workspace.CurrentCamera
16
Backpack = Player.Backpack
17
Character = Player.Character
18
Humanoid = Character.Humanoid
19
Mouse = Player:GetMouse()
20
RootPart = Character["HumanoidRootPart"]
21
Torso = Character["Torso"]
22
Head = Character["Head"]
23
RightArm = Character["Right Arm"]
24
LeftArm = Character["Left Arm"]
25
RightLeg = Character["Right Leg"]
26
LeftLeg = Character["Left Leg"]
27
RootJoint = RootPart["RootJoint"]
28
Neck = Torso["Neck"]
29
RightShoulder = Torso["Right Shoulder"]
30
LeftShoulder = Torso["Left Shoulder"]
31
RightHip = Torso["Right Hip"]
32
LeftHip = Torso["Left Hip"]
33
local chitter = Instance.new("Sound",Head)
34
chitter.SoundId = "rbxassetid://342425836"
35
chitter.Pitch = 1
36
chitter.Volume = 2
37
stab = false
38
foodism = 1500
39
40
IT = Instance.new
41
CF = CFrame.new
42
VT = Vector3.new
43
RAD = math.rad
44
C3 = Color3.new
45
UD2 = UDim2.new
46
BRICKC = BrickColor.new
47
ANGLES = CFrame.Angles
48
EULER = CFrame.fromEulerAnglesXYZ
49
COS = math.cos
50
ACOS = math.acos
51
SIN = math.sin
52
ASIN = math.asin
53
ABS = math.abs
54
MRANDOM = math.random
55
FLOOR = math.floor
56
57
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
58
	local NEWMESH = IT(MESH)
59
	if MESH == "SpecialMesh" then
60
		NEWMESH.MeshType = MESHTYPE
61
		if MESHID ~= "nil" and MESHID ~= "" then
62
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
63
		end
64
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
65
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
66
		end
67
	end
68
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
69
	NEWMESH.Scale = SCALE
70
	NEWMESH.Parent = PARENT
71
	return NEWMESH
72
end
73
CV="Eggplant"
74
    p = game.Players.LocalPlayer
75
    char = p.Character
76
    local txt = Instance.new("BillboardGui", char)
77
    txt.Adornee = char .Head
78
    txt.Name = "_status"
79
    txt.Size = UDim2.new(2, 0, 1.2, 0)
80
    txt.StudsOffset = Vector3.new(-9, 8, 0)
81
    local text = Instance.new("TextLabel", txt)
82
    text.Size = UDim2.new(10, 0, 7, 0)
83
    text.FontSize = "Size24"
84
    text.TextScaled = true
85
    text.TextTransparency = 0
86
    text.BackgroundTransparency = 1
87
    text.TextTransparency = 0
88
    text.TextStrokeTransparency = 0
89
    text.Font = "Fantasy"
90
    text.TextStrokeColor3 = Color3.new(255,0,0)
91
 
92
    v=Instance.new("Part")
93
    v.Name = "ColorBrick"
94
    v.Parent=p.Character
95
    v.FormFactor="Symmetric"
96
    v.Anchored=true
97
    v.CanCollide=false
98
    v.BottomSurface="Smooth"
99
    v.TopSurface="Smooth"
100
    v.Size=Vector3.new(10,5,3)
101
    v.Transparency=1
102
    v.CFrame=char.Torso.CFrame
103
    v.BrickColor=BrickColor.new(CV)
104
    v.Transparency=1
105
    text.TextColor3 = Color3.new(0,0,0)
106
    v.Shape="Block"
107
    wait()
108
    text.Text = "Loading Ghoul..."
109
    wait(2)
110
    text.Text = "Kaneki Ken!";
111
        wait(3)
112
        text.TextColor3 = Color3.new(255,0,0)  
113
        
114
115
char.Head.face.Texture = "rbxassetid://751185492"
116
char:WaitForChild"Body Colors"
117
char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
118
char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
119
char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
120
char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
121
char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
122
char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
123
124
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
125
	local NEWPART = IT("Part")
126
	NEWPART.formFactor = FORMFACTOR
127
	NEWPART.Reflectance = REFLECTANCE
128
	NEWPART.Transparency = TRANSPARENCY
129
	NEWPART.CanCollide = false
130
	NEWPART.Locked = true
131
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
132
	NEWPART.Name = NAME
133
	NEWPART.Size = SIZE
134
	NEWPART.Position = Torso.Position
135
	NEWPART.Material = MATERIAL
136
	NEWPART:BreakJoints()
137
	NEWPART.Parent = PARENT
138
	return NEWPART
139
end
140
141
KG = Instance.new("Sound", game.Players.LocalPlayer.Character)
142
KG.Volume = 3
143
KG.SoundId = "rbxassetid://1590718550"
144
KG.Looped = true
145
KG:Play()
146
147
--//=================================\\
148
--||		  CUSTOMIZATION
149
--\\=================================//
150
151
Class_Name = "Template"
152
Weapon_Name = "Add-ons"
153
154
Custom_Colors = {
155
	Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
156
	Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
157
158
	Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
159
	Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
160
	Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
161
	Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
162
	Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
163
164
	Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
165
	Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
166
	Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
167
	Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
168
	Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
169
}
170
171
172
Player_Size = 1 --Size of the player.
173
Animation_Speed = 3
174
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
175
176
local Speed = 16
177
local Effects2 = {}
178-
createbodypart("Eye","Really red",Head,VT(0.2, -0.1, -0.55),VT(5,5,3))
178+
179-
createbodypart("Eye","Really red",Head,VT(-0.2, -0.1, -0.55),VT(5,5,3))
179+
180-
createbodypart("Eye","Really red",Head,VT(0.3, 0.15, -0.55),VT(3,3,2))
180+
181-
createbodypart("Eye","Really red",Head,VT(-0.3, 0.15, -0.55),VT(3,3,2))
181+
182-
createbodypart("Eye","Really red",Head,VT(0.1, 0.25, -0.55),VT(3,3,2))
182+
183-
createbodypart("Eye","Really red",Head,VT(-0.1, 0.25, -0.55),VT(3,3,2))
183+
184-
createbodypart("Eye","Really red",Head,VT(0.3, 0.3, -0.55),VT(2,2,1))
184+
185-
createbodypart("Eye","Really red",Head,VT(-0.3, 0.3, -0.55),VT(2,2,1))
185+
186
	    weldd.Part1 = b
187
	    weldd.C0 = CFrame.new()
188
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
189
	    weldd.Parent = a
190
	    return weldd
191
	end
192
193
function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
194
local acs = Instance.new("Part")
195
acs.CanCollide = false
196
acs.Anchored = false
197
acs.Size = Vector3.new(0,0,0)
198
acs.CFrame = attachmentpart.CFrame
199
acs.Parent = Character
200
acs.BrickColor = color
201
    local meshs = Instance.new("SpecialMesh")
202
    meshs.MeshId = mesh
203
    meshs.TextureId = texture
204
    meshs.Parent = acs
205
    meshs.Scale = scale
206
    meshs.Offset = offset
207
weldBetween(attachmentpart,acs)
208
end
209
210
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
211
if TYPE == "Gem" then
212
	local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
213
	acs.Anchored = false
214
    acs.CanCollide = false
215
	acs.CFrame = PART.CFrame
216
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
217
weldBetween(PART,acs)
218
elseif TYPE == "Skull" then
219
	local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
220
	acs.Anchored = false
221
    acs.CanCollide = false
222
	acs.CFrame = PART.CFrame
223
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
224
weldBetween(PART,acs)
225
elseif TYPE == "Eye" then
226
	local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
227
	acs.Anchored = false
228
    acs.CanCollide = false
229
	acs.CFrame = PART.CFrame
230
	local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
231
weldBetween(PART,acs)
232
end
233
end
234
235
236
237
--//=================================\\
238
--|| 	      USEFUL VALUES
239
--\\=================================//
240
241
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
242
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
243
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
244
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
245
local CO1 = 0
246
local CO2 = 0
247
local CO3 = 0
248
local CO4 = 0
249
local CHANGEDEFENSE = 0
250
local CHANGEDAMAGE = 0
251
local CHANGEMOVEMENT = 0
252
local ANIM = "Idle"
253
local ATTACK = false
254
local EQUIPPED = false
255
local HOLD = false
256
local COMBO = 1
257
local LASTPOINT = nil
258
local BLCF = nil
259
local SCFR = nil
260
local STAGGERHITANIM = false
261
local STAGGERANIM = false
262
local STUNANIM = false
263
local CRITCHANCENUMBER = 0
264
local IDLENUMBER = 0
265
local DONUMBER = 0
266
local HANDIDLE = false
267
local SINE = 0
268
local CHANGE = 2 / Animation_Speed
269
local WALKINGANIM = false
270
local WALK = 0
271
local DISABLEJUMPING = false
272
local HASBEENBLOCKED = false
273
local STUNDELAYNUMBER = 0
274
local MANADELAYNUMBER = 0
275
local SECONDARYMANADELAYNUMBER = 0
276
local ROBLOXIDLEANIMATION = IT("Animation")
277
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
278
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
279
--ROBLOXIDLEANIMATION.Parent = Humanoid
280
local WEAPONGUI = IT("ScreenGui", nil)
281
WEAPONGUI.Name = "Weapon GUI"
282
local WEAPONTOOL = IT("HopperBin", nil)
283
WEAPONTOOL.Name = Weapon_Name
284
local Weapon = IT("Model")
285
Weapon.Name = Weapon_Name
286
local Effects = IT("Folder", Weapon)
287
Effects.Name = "Effects"
288
local ANIMATOR = Humanoid.Animator
289
local ANIMATE = Character.Animate
290
local HITPLAYERSOUNDS = {"199149137", "199149186", "199149221", "199149235", "199149269", "199149297"}
291
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
292
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
293
local HITBLOCKSOUNDS = {"199148933", "199148947"}
294
local UNANCHOR = true
295
296
--//=================================\\
297
--\\=================================//
298
299
--//=================================\\
300
--||			  STATS
301
--\\=================================//
302
303
if Character:FindFirstChild("Stats") ~= nil then
304
Character:FindFirstChild("Stats").Parent = nil
305
end
306
307
local Stats = IT("Folder", nil)
308
Stats.Name = "Stats"
309
local ChangeStat = IT("Folder", Stats)
310
ChangeStat.Name = "ChangeStat"
311
local Defense = IT("NumberValue", Stats)
312
Defense.Name = "Defense"
313
Defense.Value = 1
314
local Movement = IT("NumberValue", Stats)
315
Movement.Name = "Movement"
316
Movement.Value = 1
317
local Damage = IT("NumberValue", Stats)
318
Damage.Name = "Damage"
319
Damage.Value = 1
320
local Mana = IT("NumberValue", Stats)
321
Mana.Name = "Mana"
322
Mana.Value = 0
323
local SecondaryMana = IT("NumberValue", Stats)
324
SecondaryMana.Name = "SecondaryMana"
325
SecondaryMana.Value = 0
326
local CanCrit = IT("BoolValue", Stats)
327
CanCrit.Name = "CanCrit"
328
CanCrit.Value = false
329
local CritChance = IT("NumberValue", Stats)
330
CritChance.Name = "CritChance"
331
CritChance.Value = 20
332
local CanPenetrateArmor = IT("BoolValue", Stats)
333
CanPenetrateArmor.Name = "CanPenetrateArmor"
334
CanPenetrateArmor.Value = false
335
local AntiTeamKill = IT("BoolValue", Stats)
336
AntiTeamKill.Name = "AntiTeamKill"
337
AntiTeamKill.Value = false
338
local Rooted = IT("BoolValue", Stats)
339
Rooted.Name = "Rooted"
340
Rooted.Value = false
341
local Block = IT("BoolValue", Stats)
342
Block.Name = "Block"
343
Block.Value = false
344
local RecentEnemy = IT("ObjectValue", Stats)
345
RecentEnemy.Name = "RecentEnemy"
346
RecentEnemy.Value = nil
347
local StaggerHit = IT("BoolValue", Stats)
348
StaggerHit.Name = "StaggerHit"
349
StaggerHit.Value = false
350
local Stagger = IT("BoolValue", Stats)
351
Stagger.Name = "Stagger"
352
Stagger.Value = false
353
local Stun = IT("BoolValue", Stats)
354
Stun.Name = "Stun"
355
Stun.Value = false
356
local StunValue = IT("NumberValue", Stats)
357
StunValue.Name = "StunValue"
358
StunValue.Value = 0
359
360
361
--//=================================\\
362
--\\=================================//
363
364
365
366
367
368
--//=================================\\
369
--|| 	     DEBUFFS / BUFFS
370
--\\=================================//
371
372
local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
373
DEFENSECHANGE1.Name = "ChangeDefense"
374
DEFENSECHANGE1.Value = 0
375
376
local MOVEMENTCHANGE1 = IT("NumberValue", nil)
377
MOVEMENTCHANGE1.Name = "ChangeMovement"
378
MOVEMENTCHANGE1.Value = 0
379
380
--//=================================\\
381
--\\=================================//
382
383
384
385
386
387
--//=================================\\
388
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
389
--\\=================================//
390
391
ArtificialHB = Instance.new("BindableEvent", script)
392
ArtificialHB.Name = "ArtificialHB"
393
394
script:WaitForChild("ArtificialHB")
395
396
frame = Frame_Speed
397
tf = 0
398
allowframeloss = false
399
tossremainder = false
400
lastframe = tick()
401
script.ArtificialHB:Fire()
402
403
game:GetService("RunService").Heartbeat:connect(function(s, p)
404
	tf = tf + s
405
	if tf >= frame then
406
		if allowframeloss then
407
			script.ArtificialHB:Fire()
408
			lastframe = tick()
409
		else
410
			for i = 1, math.floor(tf / frame) do
411
				script.ArtificialHB:Fire()
412
			end
413
		lastframe = tick()
414
		end
415
		if tossremainder then
416
			tf = 0
417
		else
418
			tf = tf - frame * math.floor(tf / frame)
419
		end
420
	end
421
end)
422
423
--//=================================\\
424
--\\=================================//
425
426
427
428
429
430
--//=================================\\
431
--|| 	      SOME FUNCTIONS
432
--\\=================================//
433
434
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
435
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
436
end
437
438
function PositiveAngle(NUMBER)
439
	if NUMBER >= 0 then
440
		NUMBER = 0
441
	end
442
	return NUMBER
443
end
444
445
function NegativeAngle(NUMBER)
446
	if NUMBER <= 0 then
447
		NUMBER = 0
448
	end
449
	return NUMBER
450
end
451
452
function Swait(NUMBER)
453
	if NUMBER == 0 or NUMBER == nil then
454
		ArtificialHB.Event:wait()
455
	else
456
		for i = 1, NUMBER do
457
			ArtificialHB.Event:wait()
458
		end
459
	end
460
end
461
462
function QuaternionFromCFrame(cf)
463
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
464
	local trace = m00 + m11 + m22
465
	if trace > 0 then 
466
		local s = math.sqrt(1 + trace)
467
		local recip = 0.5 / s
468
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
469
	else
470
		local i = 0
471
		if m11 > m00 then
472
			i = 1
473
		end
474
		if m22 > (i == 0 and m00 or m11) then
475
			i = 2
476
		end
477
		if i == 0 then
478
			local s = math.sqrt(m00 - m11 - m22 + 1)
479
			local recip = 0.5 / s
480
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
481
		elseif i == 1 then
482
			local s = math.sqrt(m11 - m22 - m00 + 1)
483
			local recip = 0.5 / s
484
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
485
		elseif i == 2 then
486
			local s = math.sqrt(m22 - m00 - m11 + 1)
487
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
488
		end
489
	end
490
end
491
 
492
function QuaternionToCFrame(px, py, pz, x, y, z, w)
493
	local xs, ys, zs = x + x, y + y, z + z
494
	local wx, wy, wz = w * xs, w * ys, w * zs
495
	local xx = x * xs
496
	local xy = x * ys
497
	local xz = x * zs
498
	local yy = y * ys
499
	local yz = y * zs
500
	local zz = z * zs
501
	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))
502
end
503
 
504
function QuaternionSlerp(a, b, t)
505
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
506
	local startInterp, finishInterp;
507
	if cosTheta >= 0.0001 then
508
		if (1 - cosTheta) > 0.0001 then
509
			local theta = ACOS(cosTheta)
510
			local invSinTheta = 1 / SIN(theta)
511
			startInterp = SIN((1 - t) * theta) * invSinTheta
512
			finishInterp = SIN(t * theta) * invSinTheta
513
		else
514
			startInterp = 1 - t
515
			finishInterp = t
516
		end
517
	else
518
		if (1 + cosTheta) > 0.0001 then
519
			local theta = ACOS(-cosTheta)
520
			local invSinTheta = 1 / SIN(theta)
521
			startInterp = SIN((t - 1) * theta) * invSinTheta
522
			finishInterp = SIN(t * theta) * invSinTheta
523
		else
524
			startInterp = t - 1
525
			finishInterp = t
526
		end
527
	end
528
	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
529
end
530
531
function Clerp(a, b, t)
532
	local qa = {QuaternionFromCFrame(a)}
533
	local qb = {QuaternionFromCFrame(b)}
534
	local ax, ay, az = a.x, a.y, a.z
535
	local bx, by, bz = b.x, b.y, b.z
536
	local _t = 1 - t
537
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
538
end
539
540
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
541
	local frame = IT("Frame")
542
	frame.BackgroundTransparency = TRANSPARENCY
543
	frame.BorderSizePixel = BORDERSIZEPIXEL
544
	frame.Position = POSITION
545
	frame.Size = SIZE
546
	frame.BackgroundColor3 = COLOR
547
	frame.BorderColor3 = BORDERCOLOR
548
	frame.Name = NAME
549
	frame.Parent = PARENT
550
	return frame
551
end
552
553
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
554
	local label = IT("TextLabel")
555
	label.BackgroundTransparency = 1
556
	label.Size = UD2(1, 0, 1, 0)
557
	label.Position = UD2(0, 0, 0, 0)
558
	label.TextColor3 = C3(255, 255, 255)
559-
local limb1a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
559+
560
	label.TextTransparency = TRANSPARENCY
561
	label.FontSize = TEXTFONTSIZE
562
	label.Font = TEXTFONT
563-
local limb1b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
563+
564
	label.TextScaled = true
565
	label.Text = TEXT
566
	label.Name = NAME
567-
local limb1c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
567+
568
	return label
569
end
570
571
function NoOutlines(PART)
572-
local limb2a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
572+
573
end
574
575
576-
local limb2b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
576+
577
	local NEWWELD = IT(TYPE)
578
	NEWWELD.Part0 = PART0
579
	NEWWELD.Part1 = PART1
580-
local limb2c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
580+
581
	NEWWELD.C1 = C1
582
	NEWWELD.Parent = PARENT
583
	return NEWWELD
584
end
585-
local limb3a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
585+
586
function CreateSound(ID, PARENT, VOLUME, PITCH)
587
	coroutine.resume(coroutine.create(function()
588
		local NEWSOUND = IT("Sound", PARENT)
589-
local limb3b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
589+
590
		NEWSOUND.Pitch = PITCH
591
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
592
		Swait()
593-
local limb3c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
593+
594
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
595
	end))
596
end
597
598-
local limb4a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
598+
599
	local right = top:Cross(back)
600
	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)
601
end
602-
local limb4b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
602+
603
--//=================================\\
604
--||	     WEAPON CREATION
605
--\\=================================//
606-
local limb4c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
606+
607
--limbs--------------
608
609
local limb1a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
610
local mesh = Instance.new("SpecialMesh",limb1a)
611
mesh.MeshType = "Sphere"
612
local limbweld1a = CreateWeldOrSnapOrMotor("Weld", limb1a, Torso, limb1a, CF(1 * Player_Size, 1.2 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-45), RAD(25), RAD(0)), CF(0, 0, 0))
613
local limb1b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
614
local mesh = Instance.new("SpecialMesh",limb1b)
615
mesh.MeshType = "Sphere"
616
local limbweld1b = CreateWeldOrSnapOrMotor("Weld", limb1b, limb1a, limb1b, CF(0* Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
617
local limb1c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
618
local mesh = Instance.new("SpecialMesh",limb1c)
619
mesh.MeshType = "Sphere"
620
local limbweld1c = CreateWeldOrSnapOrMotor("Weld", limb1c, limb1b, limb1c, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), CF(0, 0, 0))
621
622
local limb2a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
623
local mesh = Instance.new("SpecialMesh",limb2a)
624
mesh.MeshType = "Sphere"
625
local limbweld2a = CreateWeldOrSnapOrMotor("Weld", limb2a, Torso, limb2a, CF(-1 * Player_Size, 1.2 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-45), RAD(-25), RAD(0)), CF(0, 0, 0))
626
local limb2b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
627
local mesh = Instance.new("SpecialMesh",limb2b)
628
mesh.MeshType = "Sphere"
629
local limbweld2b = CreateWeldOrSnapOrMotor("Weld", limb2b, limb2a, limb2b, CF(0* Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
630
local limb2c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
631
local mesh = Instance.new("SpecialMesh",limb2c)
632
mesh.MeshType = "Sphere"
633
local limbweld2c = CreateWeldOrSnapOrMotor("Weld", limb2c, limb2b, limb2c, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), CF(0, 0, 0))
634
635
local limb3a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
636
local mesh = Instance.new("SpecialMesh",limb3a)
637
mesh.MeshType = "Sphere"
638
local limbweld3a = CreateWeldOrSnapOrMotor("Weld", limb3a, Torso, limb3a, CF(-1 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(-25), RAD(90)), CF(0, 0, 0))
639-
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
639+
local limb3b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
640
local mesh = Instance.new("SpecialMesh",limb3b)
641
mesh.MeshType = "Sphere"
642
local limbweld3b = CreateWeldOrSnapOrMotor("Weld", limb3b, limb3a, limb3b, CF(-0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(0)), CF(0, 0, 0))
643
local limb3c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
644
local mesh = Instance.new("SpecialMesh",limb3c)
645
mesh.MeshType = "Sphere"
646
local limbweld3c = CreateWeldOrSnapOrMotor("Weld", limb3c, limb3b, limb3c, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), CF(0, 0, 0))
647
648
local limb4a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
649
local mesh = Instance.new("SpecialMesh",limb4a)
650
mesh.MeshType = "Sphere"
651
local limbweld4a = CreateWeldOrSnapOrMotor("Weld", limb4a, Torso, limb4a, CF(1 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(25), RAD(-90)), CF(0, 0, 0))
652
local limb4b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
653
local mesh = Instance.new("SpecialMesh",limb4b)
654
mesh.MeshType = "Sphere"
655
local limbweld4b = CreateWeldOrSnapOrMotor("Weld", limb4b, limb4a, limb4b, CF(0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(-25), RAD(0)), CF(0, 0, 0))
656
local limb4c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,1*Player_Size,3*Player_Size))
657
local mesh = Instance.new("SpecialMesh",limb4c)
658
mesh.MeshType = "Sphere"
659
local limbweld4c = CreateWeldOrSnapOrMotor("Weld", limb4c, limb4b, limb4c, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), CF(0, 0, 0))
660
661
---------------------
662
663
for _, c in pairs(Weapon:GetChildren()) do
664
	if c.ClassName == "Part" then
665
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
666
	end
667
end
668
669
Weapon.Parent = Character
670
671
Humanoid.Died:connect(function()
672
	ATTACK = true
673
end)
674
675
print(Class_Name.." loaded.")
676
677
--//=================================\\
678
--\\=================================//
679
680
681
682
683
684
--//=================================\\
685
--||	     DAMAGE FUNCTIONS
686
--\\=================================//
687
688
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
689
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really red", "Effect", VT())
690
	STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
691
	local BODYGYRO = IT("BodyGyro", STATPART)
692
	local BODYPOSITION = IT("BodyPosition", STATPART)
693
	BODYPOSITION.P = 2000
694
	BODYPOSITION.D = 100
695
	BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
696
	if LABELTYPE == "Normal" then
697
		BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
698
	elseif LABELTYPE == "Debuff" then
699
		BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
700
	elseif LABELTYPE == "Interruption" then
701
		BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
702
	end
703
	game:GetService("Debris"):AddItem(STATPART ,5)
704
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
705
	BILLBOARDGUI.Adornee = STATPART
706
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
707
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
708
	BILLBOARDGUI.AlwaysOnTop = false
709
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
710
	TEXTLABEL.BackgroundTransparency = 1
711
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
712
	TEXTLABEL.Text = TEXT
713
	TEXTLABEL.Font = "Antique"
714
	TEXTLABEL.FontSize="Size42"
715
	TEXTLABEL.TextColor3 = COLOR
716
	TEXTLABEL.TextStrokeTransparency = 1
717
	TEXTLABEL.TextScaled = true
718
	TEXTLABEL.TextWrapped = true
719
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
720
		wait(0.2)
721
		for i=1, 5 do
722
			wait()
723
			THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
724
		end
725
		wait(1.2)
726
		for i=1, 5 do
727
			wait()
728
			THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
729
			THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
730
			THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
731
		end
732
		THEPART.Parent = nil
733
	end),STATPART, BODYPOSITION, TEXTLABEL)
734
end
735
736
local asd = Instance.new("ParticleEmitter")
737
asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
738
asd.LightEmission = .1
739
asd.Size = NumberSequence.new(0.2)
740
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
741
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
742
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
743
asd.Transparency = bbb
744
asd.Size = aaa
745
asd.ZOffset = .9
746
asd.Acceleration = Vector3.new(0, -5, 0)
747
asd.LockedToPart = false
748
asd.EmissionDirection = "Back"
749
asd.Lifetime = NumberRange.new(1, 2)
750
asd.Rotation = NumberRange.new(-100, 100)
751
asd.RotSpeed = NumberRange.new(-100, 100)
752
asd.Speed = NumberRange.new(2)
753
asd.Enabled = false
754
asd.VelocitySpread = 10000
755
756
function getbloody(victim,amount)
757
local prtcl = asd:Clone()
758
prtcl.Parent = victim
759
prtcl:Emit(amount)
760
end
761
762
function dealdamage(hit,maxstrength,beserk)
763
	if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
764
		local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
765
		if humanoid.Health == "inf" then
766
			StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "inf, skid", C3(255/255, 0, 0))
767
			humanoid.Health = 0
768
		end
769
		if humanoid.Health > 0 and humanoid.MaxHealth ~= "inf" then
770
			if beserk == true then
771
				humanoid.Health = 0
772
			else
773
				if humanoid.MaxHealth ~= "inf" then
774
					getbloody(hit,3)
775
					CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], hit, 1.2, MRANDOM(7, 12) / 10)
776
					hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
777
					local dmg = humanoid.MaxHealth/5
778
					if math.random(1,5) == 1 then
779
						humanoid.Health = humanoid.Health - dmg*3
780
						StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*3, C3(255/255, 0, 0))
781
					else
782
						humanoid.Health = humanoid.Health - dmg
783
						StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
784
					end
785
					local defence = Instance.new("BoolValue",hit.Parent)
786
					defence.Name = ("HitBy"..Player.Name)
787
					game:GetService("Debris"):AddItem(defence, 0.5)
788
				elseif humanoid.MaxHealth == "inf" then
789
					humanoid.Health = 0
790
					getbloody(hit,50)
791
				end
792
			end
793
		elseif humanoid.MaxHealth == "inf" then
794
			StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "inf, skid", C3(255/255, 0, 0))
795
			humanoid.Health = 0
796
		end
797
	end
798
end
799
800
--//=================================\\
801
--||	ATTACK FUNCTIONS AND STUFF
802
--\\=================================//
803
804
805
function Attack()
806
	stab = true
807
	local Animation_Speed2 = Animation_Speed/2
808
	for i=0, 1, 0.1 / Animation_Speed2 do
809
		Swait()
810
		limbweld1a.C0 = Clerp(limbweld1a.C0, CF(1 * Player_Size, 0.8 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-10), RAD(25), RAD(0)), 0.4 / Animation_Speed2)
811
		limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0 * Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
812
		limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
813
814
		limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-1 * Player_Size, 0.8 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-10), RAD(-25), RAD(0)), 0.4 / Animation_Speed2)
815
		limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0 * Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
816
		limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
817
818
		limbweld3a.C0 = Clerp(limbweld3a.C0, CF(-0.6 * Player_Size, -0.65 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
819
		limbweld3b.C0 = Clerp(limbweld3b.C0, CF(-0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(0)), 0.4 / Animation_Speed2)
820
		limbweld3c.C0 = Clerp(limbweld3c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
821
822
		limbweld4a.C0 = Clerp(limbweld4a.C0, CF(0.6 * Player_Size, -0.65 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(-90)), 0.4 / Animation_Speed2)
823
		limbweld4b.C0 = Clerp(limbweld4b.C0, CF(0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(-25), RAD(0)), 0.4 / Animation_Speed2)
824
		limbweld4c.C0 = Clerp(limbweld4c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
825
	end
826
	CreateSound("1112042117", Torso, 1, MRANDOM(9, 11) / 10)
827
	local paw1 = limb1c.Touched:Connect(function(hit)
828
		dealdamage(hit,5)
829
	end) 
830
	local paw2 = limb2c.Touched:Connect(function(hit)
831
		dealdamage(hit,5)
832
	end)
833
	local paw3 = limb3c.Touched:Connect(function(hit)
834
		dealdamage(hit,5)
835
	end)
836
	local paw4 = limb4c.Touched:Connect(function(hit)
837
		dealdamage(hit,5)
838
	end)
839
	for i=0, 1, 0.1 / Animation_Speed2 do
840
		Swait()
841
		limbweld1a.C0 = Clerp(limbweld1a.C0, CF(1 * Player_Size, 1.6 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(-75), RAD(25), RAD(0)), 0.4 / Animation_Speed2)
842
		limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0.4 * Player_Size, 1.2 * Player_Size, 0.8 * Player_Size) * ANGLES(RAD(60), RAD(-15), RAD(0)), 0.4 / Animation_Speed2)
843
		limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
844
845
		limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-1 * Player_Size, 1.6 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(-75), RAD(-25), RAD(0)), 0.4 / Animation_Speed2)
846
		limbweld2b.C0 = Clerp(limbweld2b.C0, CF(-0.4 * Player_Size, 1.2 * Player_Size, 0.8 * Player_Size) * ANGLES(RAD(60), RAD(15), RAD(0)), 0.4 / Animation_Speed2)
847
		limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
848
849
		limbweld3a.C0 = Clerp(limbweld3a.C0, CF(-1.4 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(-50), RAD(90)), 0.4 / Animation_Speed2)
850
		limbweld3b.C0 = Clerp(limbweld3b.C0, CF(-0.6* Player_Size, 1 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(50), RAD(25), RAD(0)), 0.4 / Animation_Speed2)
851
		limbweld3c.C0 = Clerp(limbweld3c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
852
853
		limbweld4a.C0 = Clerp(limbweld4a.C0, CF(1.4 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(50), RAD(-90)), 0.4 / Animation_Speed2)
854
		limbweld4b.C0 = Clerp(limbweld4b.C0, CF(0.6* Player_Size, 1 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(50), RAD(-25), RAD(0)), 0.4 / Animation_Speed2)
855
		limbweld4c.C0 = Clerp(limbweld4c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
856
	end
857
	paw1:disconnect()
858
	paw2:disconnect()
859
	paw3:disconnect()
860
	paw4:disconnect()
861
	stab = false
862
end
863
864
function Weld2(to, from, c1)
865
    local New_Weld = Instance.new('Motor', to)
866
    New_Weld.Part0 = from
867
    New_Weld.Part1 = to
868
    New_Weld.C1 = c1
869
	New_Weld.Name = "GrabWeld"
870
    return New_Weld
871
end
872
873
function grabandfeed()
874
	ATTACK = true
875
	local victim = nil
876
	local tors = nil
877
	local wld = nil
878
	for i=0, 1, 0.1 / Animation_Speed do
879
		Swait()
880
		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(-25)), 0.15 / Animation_Speed)
881
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
882
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
883
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
884
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
885
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
886
	end
887
	local hitting = RightArm.Touched:connect(function(hit) 
888
		if hit.Parent:FindFirstChild("Humanoid") then
889
			if hit.Parent.Humanoid.Health ~= 0 then
890
				UNANCHOR = false
891
           	 	victim = hit.Parent.Humanoid
892
           	 	RootPart.Anchored = true
893
           		if hit.Parent:FindFirstChild("Torso") then
894
           		 	wld=Weld2(RightArm,hit.Parent.Torso,CF(0,-1.5,0)*ANGLES(-RAD(90),RAD(180),0))
895
           			RootPart.Anchored = true
896
					tors = hit.Parent:FindFirstChild("Torso")
897
           		elseif hit.Parent:FindFirstChild("UpperTorso") then
898
          			wld=Weld2(RightArm,hit.Parent.UpperTorso,CF(0,-1.5,0)*ANGLES(-RAD(90),RAD(180),0))
899
           			RootPart.Anchored = true
900
					tors = hit.Parent:FindFirstChild("UpperTorso")
901
           		end
902
			end
903
		end
904
	end)
905
	for i=0, 1, 0.1 / Animation_Speed do
906
        Swait()
907
        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(55)), 0.15 / Animation_Speed)
908
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.45 / Animation_Speed)
909
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
910
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
911
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
912
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
913
	end
914
	if victim ~= nil then
915
		Rooted = true
916
		local Animation_Speed2 = Animation_Speed*2
917
		for i= 0, 1, 0.1 / Animation_Speed2 do
918
			Swait()
919
	        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(55)), 0.15 / Animation_Speed2)
920
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(-25)), 0.45 / Animation_Speed2)
921
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
922
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed2)
923
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed2)
924
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed2)
925
		end
926
		for i= 0, 1, 0.1 / Animation_Speed2 do
927
			Swait()
928
	        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(55)), 0.15 / Animation_Speed2)
929
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(45), RAD(0), RAD(-25)), 0.45 / Animation_Speed2)
930
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
931
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed2)
932
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed2)
933
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed2)
934
		end
935
		CreateSound("264486467", tors, 1, MRANDOM(9, 11) / 10)
936
		CreateSound("230346233", Head, 6, 0.7)
937
		getbloody(tors,150)
938
		Swait(40)
939
		tors.Anchored = true
940
		tors.Transparency = 1
941
		game:GetService("Debris"):AddItem(tors, 5)
942
		foodism = foodism + victim.Health
943
		victim.Health = 0
944
		Rooted = false
945
	end
946
	UNANCHOR = true
947
	if wld ~= nil then
948
		wld:remove()
949
	end
950
	hitting:disconnect()
951
	ATTACK = false
952
end
953
954
function roar()
955
	ATTACK = true
956
	Rooted = true
957
	for i=0, 1.3, 0.1 / Animation_Speed do
958
        Swait()
959
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.1 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
960
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
961
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(120), RAD(-15), RAD(-70)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
962
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(120), RAD(15), RAD(70)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
963
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
964
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
965
	end
966
	CreateSound("180140312", Head, 6, 1)
967
	for i=0, 3, 0.1 / Animation_Speed do
968
        Swait()
969
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.1 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
970
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
971
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(120), RAD(15), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*2)
972
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(120), RAD(-15), RAD(-100)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*2)
973
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
974
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
975
	end
976
	Rooted = false
977
	ATTACK = false
978
end
979
980
--//=================================\\
981
--\\=================================//
982
983
984
985
--//=================================\\
986
--||	  ASSIGN THINGS TO KEYS
987
--\\=================================//
988
989
Humanoid.Changed:connect(function(Jump)
990
	if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
991
		Humanoid.Jump = false
992
	end
993
end)
994
995
function MouseDown(Mouse)
996
	if ATTACK == false and stab == false then
997
		Attack()
998
	end
999
end
1000
1001
function MouseUp(Mouse)
1002
HOLD = false
1003
end
1004
1005
function KeyDown(Key)
1006
	if Key == "e" and stab == false and ATTACK == false then
1007
		grabandfeed()
1008
	end
1009
	if Key == "r" and chitter.Playing == false and stab == false and ATTACK == false then
1010
		roar()
1011
	end
1012
	if Key == "g" and chitter.Playing == false and stab == false and ATTACK == false then
1013
		CreateSound("609473931", Head, 6, 1)
1014
	end
1015
	if Key == "t" and ATTACK == false then
1016
		if chitter then
1017
			if chitter.Playing == false then
1018
				chitter:Play()
1019
			end
1020
		end
1021
	end
1022
end
1023
1024
function KeyUp(Key)
1025
end
1026
1027
	Mouse.Button1Down:connect(function(NEWKEY)
1028
		MouseDown(NEWKEY)
1029
	end)
1030
	Mouse.Button1Up:connect(function(NEWKEY)
1031
		MouseUp(NEWKEY)
1032
	end)
1033
	Mouse.KeyDown:connect(function(NEWKEY)
1034
		KeyDown(NEWKEY)
1035
	end)
1036
	Mouse.KeyUp:connect(function(NEWKEY)
1037
		KeyUp(NEWKEY)
1038
	end)
1039
1040
--//=================================\\
1041
--\\=================================//
1042
1043
1044
function unanchor()
1045
	if UNANCHOR == true then
1046
		g = Character:GetChildren()
1047
		for i = 1, #g do
1048
			if g[i].ClassName == "Part" then
1049
				g[i].Anchored = false
1050
			end
1051
		end
1052
	end
1053
end
1054
1055
1056
--//=================================\\
1057
--||	WRAP THE WHOLE SCRIPT UP
1058
--\\=================================//
1059
1060
Humanoid.Changed:connect(function(Jump)
1061
	if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
1062
		Humanoid.Jump = false
1063
	end
1064
end)
1065
1066
Rooted = false
1067
1068
		ANIMATE.Parent = nil
1069
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1070
		IDLEANIMATION:Play()
1071
1072
while true do
1073
	Swait()
1074
	SINE = SINE + CHANGE
1075
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1076
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1077
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1078
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
1079
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1080
		if ANIM == "Walk" and TORSOVELOCITY > 1 then
1081
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1082
			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)
1083
			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)
1084
			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)
1085
		elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1086
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1087
			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)
1088
			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)
1089
			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)
1090
		end
1091
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1092
			ANIM = "Jump"
1093
			if ATTACK == false then
1094
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1095
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1096
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1097
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1098
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1099
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1100
	        end
1101
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1102
			ANIM = "Fall"
1103
			if ATTACK == false then
1104
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1105
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1106
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1107
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1108
				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(20)), 0.2 / Animation_Speed)
1109
				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(10)), 0.2 / Animation_Speed)
1110
			end
1111
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1112
			ANIM = "Idle"
1113
			if ATTACK == false then
1114
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.1 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1115
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1116
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1117
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1118
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1119
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1120
			end
1121
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1122
			ANIM = "Walk"
1123
			WALK = WALK + 1 / Animation_Speed
1124
			if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
1125
				WALK = 0
1126
				if WALKINGANIM == true then
1127
					WALKINGANIM = false
1128
				elseif WALKINGANIM == false then
1129
					WALKINGANIM = true
1130
				end
1131
			end
1132
			--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)
1133
			--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)
1134
			if ATTACK == false then
1135
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.6 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1136
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1137
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1138
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1139
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1.1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1140
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1141
			end
1142
		end
1143
	if stab == false then
1144
		limbweld1a.C0 = Clerp(limbweld1a.C0, CF(1 * Player_Size, 1.2 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-45), RAD(25), RAD(0)), 0.4 / Animation_Speed)
1145
		limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.4 / Animation_Speed)
1146
		limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed)
1147
1148
		limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-1 * Player_Size, 1.2 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-45), RAD(-25), RAD(0)), 0.4 / Animation_Speed)
1149
		limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.4 / Animation_Speed)
1150
		limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed)
1151
1152
		limbweld3a.C0 = Clerp(limbweld3a.C0, CF(-1 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(-25), RAD(90)), 0.4 / Animation_Speed)
1153
		limbweld3b.C0 = Clerp(limbweld3b.C0, CF(-0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(0)), 0.4 / Animation_Speed)
1154
		limbweld3c.C0 = Clerp(limbweld3c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed)
1155
1156
		limbweld4a.C0 = Clerp(limbweld4a.C0, CF(1 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(25), RAD(-90)), 0.4 / Animation_Speed)
1157
		limbweld4b.C0 = Clerp(limbweld4b.C0, CF(0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(-25), RAD(0)), 0.4 / Animation_Speed)
1158
		limbweld4c.C0 = Clerp(limbweld4c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed)
1159
	end
1160
if #Effects2>0 then
1161
for e=1,#Effects2 do
1162-
if Head:FindFirstChild("face") then
1162+
1163-
	Head.face:remove()
1163+
1164
if Thing~=nil then
1165
local Part=Thing[1]
1166
local Mode=Thing[2]
1167
local Delay=Thing[3]
1168
local IncX=Thing[4]
1169
local IncY=Thing[5]
1170
local IncZ=Thing[6]
1171
local Part2=Thing[8]
1172
if Thing[1].Transparency<=1 then
1173
if Thing[2]=="Block1" then
1174
Thing[1].CFrame=Part2.CFrame
1175
Mesh=Thing[1].Mesh
1176
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
1177
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1178
elseif Thing[2]=="Cylinder" then
1179
Mesh=Thing[1].Mesh
1180
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
1181
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1182
elseif Thing[2]=="Blood" then
1183
Mesh=Thing[7]
1184
Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
1185
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
1186
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1187
elseif Thing[2]=="Elec" then
1188
Mesh=Thing[1].Mesh
1189
Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
1190
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1191
elseif Thing[2]=="Disappear" then
1192
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1193
end
1194
else
1195
Part.Parent=nil
1196
table.remove(Effects2,e)
1197
end
1198
end
1199
end
1200
end
1201
end
1202
unanchor()
1203
Humanoid.MaxHealth = foodism
1204
Humanoid.Health = Humanoid.Health + (foodism/50)
1205
if Rooted == false then
1206
	Disable_Jump = false
1207
	Humanoid.WalkSpeed = Speed
1208
elseif Rooted == true then
1209
	Disable_Jump = true
1210
	Humanoid.WalkSpeed = 0
1211
end
1212
if Speed > 200 or foodism > (200*80) then
1213
	Speed = 200
1214
elseif Speed < 200 and foodism < (200*80)  then
1215
	Speed = (foodism/80)
1216
end
1217
Humanoid.JumpPower = 150
1218
end
1219
1220
--//=================================\\
1221
--\\=================================//
1222
1223
1224
1225
1226
1227
--//====================================================\\--
1228
--||			  		 END OF SCRIPT
1229
--\\====================================================//--