View difference between Paste ID: QXiAf1wd and t6gD3RGG
SHOW: | | - or go back to the newest paste.
1-
--//====================================================\\--
1+
2-
--||			   CREATED BY SHACKLUSTER
2+
3-
--\\====================================================//--
3+
4
5
6
Player = game:GetService("Players").jassm11 
7
PlayerGui = Player.PlayerGui
8
Cam = workspace.CurrentCamera
9
Backpack = Player.Backpack
10
Character = Player.Character
11-
Player = game:GetService("Players").Mrmark9 -- put your roblox username here 
11+
12
Mouse = Player:GetMouse()
13
RootPart = Character["HumanoidRootPart"]
14
Torso = Character["Torso"]
15
Head = Character["Head"]
16
RightArm = Character["Right Arm"]
17
LeftArm = Character["Left Arm"]
18
RightLeg = Character["Right Leg"]
19
LeftLeg = Character["Left Leg"]
20
RootJoint = RootPart["RootJoint"]
21
Neck = Torso["Neck"]
22
RightShoulder = Torso["Right Shoulder"]
23
LeftShoulder = Torso["Left Shoulder"]
24
RightHip = Torso["Right Hip"]
25
LeftHip = Torso["Left Hip"]
26
local sick = Instance.new("Sound",Character)
27
sick.SoundId = "rbxassetid://2195981163"
28
sick.Looped = true
29
sick.Pitch = 0.8
30
sick.Volume = 1
31
sick:Play()
32
Humanoid.DisplayDistanceType = "None"
33
game.Lighting.ClockTime = 22
34
35
IT = Instance.new
36
CF = CFrame.new
37
VT = Vector3.new
38
RAD = math.rad
39
C3 = Color3.new
40
UD2 = UDim2.new
41
BRICKC = BrickColor.new
42
ANGLES = CFrame.Angles
43
EULER = CFrame.fromEulerAnglesXYZ
44
COS = math.cos
45
ACOS = math.acos
46
SIN = math.sin
47
ASIN = math.asin
48
ABS = math.abs
49
MRANDOM = math.random
50
FLOOR = math.floor
51
52
local Sky = IT("Sky")
53
Sky.Parent = game.Lighting
54
Sky.MoonAngularSize = 45
55
Sky.MoonTextureId = "http://www.roblox.com/asset/?id=1055904136"
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
74
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
75
	local NEWPART = IT("Part")
76
	NEWPART.formFactor = FORMFACTOR
77
	NEWPART.Reflectance = REFLECTANCE
78
	NEWPART.Transparency = TRANSPARENCY
79
	NEWPART.CanCollide = false
80
	NEWPART.Locked = true
81
	NEWPART.Anchored = true
82
	if ANCHOR == false then
83
		NEWPART.Anchored = false
84
	end
85
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
86
	NEWPART.Name = NAME
87
	NEWPART.Size = SIZE
88
	NEWPART.Position = Torso.Position
89
	NEWPART.Material = MATERIAL
90
	NEWPART:BreakJoints()
91
	NEWPART.Parent = PARENT
92
	return NEWPART
93
end
94
95
--//=================================\\
96
--||		  CUSTOMIZATION
97
--\\=================================//
98
99
Player_Size = 1 --Size of the player.
100
Animation_Speed = 3
101
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
102
103
local Speed = 16
104
local Effects2 = {}
105
106
--//=================================\\
107
--|| 	  END OF CUSTOMIZATION
108
--\\=================================//
109
110
	local function weldBetween(a, b)
111
	    local weldd = Instance.new("ManualWeld")
112
	    weldd.Part0 = a
113
	    weldd.Part1 = b
114
	    weldd.C0 = CFrame.new()
115
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
116
	    weldd.Parent = a
117
	    return weldd
118
	end
119
120
--//=================================\\
121
--|| 	      USEFUL VALUES
122
--\\=================================//
123
124
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
125
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
126
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
127
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
128
local CHANGEDEFENSE = 0
129
local CHANGEDAMAGE = 0
130
local CHANGEMOVEMENT = 0
131
local ANIM = "Idle"
132
local ATTACK = false
133
local EQUIPPED = false
134
local HOLD = false
135
local COMBO = 1
136
local Rooted = false
137
local SINE = 0
138
local KEYHOLD = false
139
local CHANGE = 2 / Animation_Speed
140
local WALKINGANIM = false
141
local WALK = 0
142
local VALUE1 = false
143
local VALUE2 = false
144
local ROBLOXIDLEANIMATION = IT("Animation")
145
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
146
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
147
--ROBLOXIDLEANIMATION.Parent = Humanoid
148
local WEAPONGUI = IT("ScreenGui", PlayerGui)
149
WEAPONGUI.Name = "Weapon GUI"
150
local Weapon = IT("Model")
151
Weapon.Name = "Adds"
152
local Effects = IT("Folder", Weapon)
153
Effects.Name = "Effects"
154
local ANIMATOR = Humanoid.Animator
155
local ANIMATE = Character.Animate
156
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
157
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
158
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
159
local HITBLOCKSOUNDS = {"199148933", "199148947"}
160
local UNANCHOR = true
161
local KILLINSTINCT = 0
162
163
local SKILLTEXTCOLOR = C3(1,0,0)
164
165
local billboardgui = game:GetService("ServerStorage"):lolXD("BillboardGui")
166
167
game.Players.PlayerAdded:Connect(function(player)
168
 
169
player.CharacterAdded:Connect(function(character)
170-
local billboardgui = game:GetService("ServerStorage"):waitforchild("BillboardGui")
170+
171
      if player.Name ==  "Mrmark9" then
172
       local clonedgui = billboardgui:Clone()
173
       clonedgui.TextLabel.Text = "Russian psycho"
174
       clonedgui.TextLabel.TextColor3 = Color3.fromRGB(165,7,163)
175
       clonedgui.Parent = game.Workspace:lolXD(player.Name).Head
176
          end
177
  
178
      end)
179
  
180-
       clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head
180+
181
 end)
182
183
--//=================================\\
184
--\\=================================//
185
186
187
--//=================================\\
188
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
189
--\\=================================//
190
191
ArtificialHB = Instance.new("BindableEvent", script)
192
ArtificialHB.Name = "ArtificialHB"
193
194
script:lolXD("ArtificialHB")
195
196
frame = Frame_Speed
197
tf = 0
198
allowframeloss = false
199-
script:WaitForChild("ArtificialHB")
199+
200
lastframe = tick()
201
script.ArtificialHB:Fire()
202
203
game:GetService("RunService").Heartbeat:connect(function(s, p)
204
	tf = tf + s
205
	if tf >= frame then
206
		if allowframeloss then
207
			script.ArtificialHB:Fire()
208
			lastframe = tick()
209
		else
210
			for i = 1, math.floor(tf / frame) do
211
				script.ArtificialHB:Fire()
212
			end
213
		lastframe = tick()
214
		end
215
		if tossremainder then
216
			tf = 0
217
		else
218
			tf = tf - frame * math.floor(tf / frame)
219
		end
220
	end
221
end)
222
223
--//=================================\\
224
--\\=================================//
225
226
227
228
229
230
--//=================================\\
231
--|| 	      SOME FUNCTIONS
232
--\\=================================//
233
234
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
235
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
236
end
237
238
function PositiveAngle(NUMBER)
239
	if NUMBER >= 0 then
240
		NUMBER = 0
241
	end
242
	return NUMBER
243
end
244
245
function NegativeAngle(NUMBER)
246
	if NUMBER <= 0 then
247
		NUMBER = 0
248
	end
249
	return NUMBER
250
end
251
252
function Swait(NUMBER)
253
	if NUMBER == 0 or NUMBER == nil then
254
		ArtificialHB.Event:wait()
255
	else
256
		for i = 1, NUMBER do
257
			ArtificialHB.Event:wait()
258
		end
259
	end
260
end
261
262
function QuaternionFromCFrame(cf)
263
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
264
	local trace = m00 + m11 + m22
265
	if trace > 0 then 
266
		local s = math.sqrt(1 + trace)
267
		local recip = 0.5 / s
268
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
269
	else
270
		local i = 0
271
		if m11 > m00 then
272
			i = 1
273
		end
274
		if m22 > (i == 0 and m00 or m11) then
275
			i = 2
276
		end
277
		if i == 0 then
278
			local s = math.sqrt(m00 - m11 - m22 + 1)
279
			local recip = 0.5 / s
280
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
281
		elseif i == 1 then
282
			local s = math.sqrt(m11 - m22 - m00 + 1)
283
			local recip = 0.5 / s
284
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
285
		elseif i == 2 then
286
			local s = math.sqrt(m22 - m00 - m11 + 1)
287
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
288
		end
289
	end
290
end
291
 
292
function QuaternionToCFrame(px, py, pz, x, y, z, w)
293
	local xs, ys, zs = x + x, y + y, z + z
294
	local wx, wy, wz = w * xs, w * ys, w * zs
295
	local xx = x * xs
296
	local xy = x * ys
297
	local xz = x * zs
298
	local yy = y * ys
299
	local yz = y * zs
300
	local zz = z * zs
301
	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))
302
end
303
 
304
function QuaternionSlerp(a, b, t)
305
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
306
	local startInterp, finishInterp;
307
	if cosTheta >= 0.0001 then
308
		if (1 - cosTheta) > 0.0001 then
309
			local theta = ACOS(cosTheta)
310
			local invSinTheta = 1 / SIN(theta)
311
			startInterp = SIN((1 - t) * theta) * invSinTheta
312
			finishInterp = SIN(t * theta) * invSinTheta
313
		else
314
			startInterp = 1 - t
315
			finishInterp = t
316
		end
317
	else
318
		if (1 + cosTheta) > 0.0001 then
319
			local theta = ACOS(-cosTheta)
320
			local invSinTheta = 1 / SIN(theta)
321
			startInterp = SIN((t - 1) * theta) * invSinTheta
322
			finishInterp = SIN(t * theta) * invSinTheta
323
		else
324
			startInterp = t - 1
325
			finishInterp = t
326
		end
327
	end
328
	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
329
end
330
331
function Clerp(a, b, t)
332
	local qa = {QuaternionFromCFrame(a)}
333
	local qb = {QuaternionFromCFrame(b)}
334
	local ax, ay, az = a.x, a.y, a.z
335
	local bx, by, bz = b.x, b.y, b.z
336
	local _t = 1 - t
337
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
338
end
339
340
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
341
	local frame = IT("Frame")
342
	frame.BackgroundTransparency = TRANSPARENCY
343
	frame.BorderSizePixel = BORDERSIZEPIXEL
344
	frame.Position = POSITION
345
	frame.Size = SIZE
346
	frame.BackgroundColor3 = COLOR
347
	frame.BorderColor3 = BORDERCOLOR
348
	frame.Name = NAME
349
	frame.Parent = PARENT
350
	return frame
351
end
352
353
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
354
	local label = IT("TextLabel")
355
	label.BackgroundTransparency = 1
356
	label.Size = UD2(1, 0, 1, 0)
357
	label.Position = UD2(0, 0, 0, 0)
358
	label.TextColor3 = TEXTCOLOR
359
	label.TextStrokeTransparency = STROKETRANSPARENCY
360
	label.TextTransparency = TRANSPARENCY
361
	label.FontSize = TEXTFONTSIZE
362
	label.Font = TEXTFONT
363
	label.BorderSizePixel = BORDERSIZEPIXEL
364
	label.TextScaled = false
365
	label.Text = TEXT
366
	label.Name = NAME
367
	label.Parent = PARENT
368
	return label
369
end
370
371
function NoOutlines(PART)
372
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
373
end
374
375
376
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
377
	local NEWWELD = IT(TYPE)
378
	NEWWELD.Part0 = PART0
379
	NEWWELD.Part1 = PART1
380
	NEWWELD.C0 = C0
381
	NEWWELD.C1 = C1
382
	NEWWELD.Parent = PARENT
383
	return NEWWELD
384
end
385
386
function CreateSound(ID, PARENT, VOLUME, PITCH)
387
	local NEWSOUND = nil
388
	coroutine.resume(coroutine.create(function()
389
		NEWSOUND = IT("Sound", PARENT)
390
		NEWSOUND.Volume = VOLUME
391
		NEWSOUND.Pitch = PITCH
392
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
393
		Swait()
394
		NEWSOUND:play()
395
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
396
	end))
397
	return NEWSOUND
398
end
399
400
function CFrameFromTopBack(at, top, back)
401
	local right = top:Cross(back)
402
	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)
403
end
404
405
function MakeForm(PART,TYPE)
406
	if TYPE == "Cyl" then
407
		local MSH = IT("CylinderMesh",PART)
408
	elseif TYPE == "Ball" then
409
		local MSH = IT("SpecialMesh",PART)
410
		MSH.MeshType = "Sphere"
411
	elseif TYPE == "Wedge" then
412
		local MSH = IT("SpecialMesh",PART)
413
		MSH.MeshType = "Wedge"
414
	end
415
end
416
417
Debris = game:GetService("Debris")
418
--//=================================\\
419
--||	     WEAPON CREATION
420
--\\=================================//
421
422
local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.2, 3.39, 1.61),false)
423
local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "145815658", "186913315", VT(1,1,1), VT(0, 0, 0))
424
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
425
426
local DECAL = IT("Decal",HandlePart)
427
DECAL.Texture = "http://www.roblox.com/asset/?id=116830967"
428
429
for _, c in pairs(Weapon:GetChildren()) do
430
	if c.ClassName == "Part" then
431
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
432
	end
433
end
434
435
local A = IT("Attachment",HandlePart)
436
A.Position = VT(0, -1.5, 0)
437
local B = IT("Attachment",HandlePart)
438
B.Position = VT(0, 2.2, 0.2)
439
local Trail = IT("Trail",HandlePart)
440
Trail.Attachment0 = A
441
Trail.Attachment1 = B
442
Trail.Lifetime = 0.1
443
Trail.Transparency = NumberSequence.new(0.8, 1)
444
Trail.Enabled = false
445
446
Weapon.Parent = Character
447
448
Humanoid.Died:connect(function()
449
	ATTACK = true
450
end)
451
452
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")
453
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")
454
--local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
455
--local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
456
--local SKILL5FRAME = 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 5 Frame")
457
458
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK] Swing", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
459
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Enrage", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
460
--local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 3")
461
--local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 4")
462
--local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Ability 5", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 5")
463
464
--//=================================\\
465
--||			DAMAGING
466
--\\=================================//
467
468
local asd = Instance.new("ParticleEmitter")
469
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.1, 0, 0))
470
asd.LightEmission = .1
471
asd.Size = NumberSequence.new(0.2)
472
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
473
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
474
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
475
asd.Transparency = bbb
476
asd.Size = aaa
477
asd.ZOffset = .9
478
asd.Acceleration = Vector3.new(0, -5, 0)
479
asd.LockedToPart = false
480
asd.EmissionDirection = "Back"
481
asd.Lifetime = NumberRange.new(1, 2)
482
asd.Rotation = NumberRange.new(-100, 100)
483
asd.RotSpeed = NumberRange.new(-100, 100)
484
asd.Speed = NumberRange.new(2)
485
asd.Enabled = false
486
asd.VelocitySpread = 10000
487
488
function getbloody(victim,amount)
489
	local prtcl = asd:Clone()
490
	prtcl.Parent = victim
491
	prtcl:Emit(amount)
492
end
493
494
local TORSOVELOCITY = 0
495
496
function Ragdoll(Character2,CharTorso)
497
	local svch = Character2
498
	local hum = Character2:findFirstChild("Humanoid")
499
	local q = Character2:GetChildren()
500
	local CLONE = IT("Model",Effects)
501
	local DummyHead = nil
502
	for i = 1,#q do
503
		if q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then
504
			q[i].Parent = CLONE
505
			if q[i].Name == "Head" then
506
				DummyHead = CLONE.Head:Clone()
507
				q[i]:ClearAllChildren()
508
				q[i].Transparency = 1
509
			end
510
		else
511
			if q[i].ClassName ~= "Humanoid" then
512
				q[i]:remove()
513
			end
514
		end
515
	end
516
	local chrclone = CLONE
517
518
	for _, c in pairs(Character2:GetChildren()) do
519
		if c.ClassName == "Accessory" then
520
			c:remove()
521
		end
522
	end
523
524
	local ch = chrclone:GetChildren()
525
	local i
526
	for i = 1,#ch do
527
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
528
			ch[i]:remove()
529
		end
530
	end
531
	local function Scan(ch)
532
		local e
533
		for e = 1,#ch do
534
			Scan(ch[e]:GetChildren())
535
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
536
				ch[e]:remove()
537
			end
538
		end
539
	end
540
	Scan(chrclone:GetChildren())
541
542
	local ch = Character2:GetChildren()
543
	local i
544
	for i = 1,#ch do
545
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
546
			ch[i]:remove()
547
		end
548
	end
549
550
	local ch = Character2:GetChildren()
551
	local i
552
	for i = 1,#ch do
553
		if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
554
			ch[i]:remove()
555
		end
556
	end
557
	Character2 = chrclone
558
	local Torso2 = Character2.Torso
559
	local movevector = Vector3.new()
560
561
	if Torso2 then
562
		movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
563
		local Head = Character2:FindFirstChild("Head")
564
		if Head then
565
			local Neck = Instance.new("Weld")
566
			Neck.Name = "Neck"
567
			Neck.Part0 = Torso2
568
			Neck.Part1 = Head
569
			Neck.C0 = CFrame.new(0, 1.5, 0)
570
			Neck.C1 = CFrame.new()
571
			Neck.Parent = Torso2
572
			Head:ClearAllChildren()
573
			Head.Transparency = 1
574
575
		end
576
		local Limb = Character2:FindFirstChild("Right Arm")
577
		if Limb then
578
579
			Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
580
			local Joint = Instance.new("Glue")
581
			Joint.Name = "RightShoulder"
582
			Joint.Part0 = Torso2
583
			Joint.Part1 = Limb
584
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
585
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
586
			Joint.Parent = Torso2
587
588
			local B = Instance.new("Part")
589
			B.TopSurface = 0
590
			B.BottomSurface = 0
591
			B.formFactor = "Symmetric"
592
			B.Size = Vector3.new(1, 1, 1)
593
			B.Transparency = 1
594
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
595
			B.Parent = Character2
596
			local W = Instance.new("Weld")
597
			W.Part0 = Limb
598
			W.Part1 = B
599
			W.C0 = CFrame.new(0, -0.5, 0)
600
			W.Parent = Limb
601
602
		end
603
		local Limb = Character2:FindFirstChild("Left Arm")
604
		if Limb then
605
606
			Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
607
			local Joint = Instance.new("Glue")
608
			Joint.Name = "LeftShoulder"
609
			Joint.Part0 = Torso2
610
			Joint.Part1 = Limb
611
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
612
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
613
			Joint.Parent = Torso2
614
615
			local B = Instance.new("Part")
616
			B.TopSurface = 0
617
			B.BottomSurface = 0
618
			B.formFactor = "Symmetric"
619
			B.Size = Vector3.new(1, 1, 1)
620
			B.Transparency = 1
621
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
622
			B.Parent = Character2
623
			local W = Instance.new("Weld")
624
			W.Part0 = Limb
625
			W.Part1 = B
626
			W.C0 = CFrame.new(0, -0.5, 0)
627
			W.Parent = Limb
628
629
		end
630
		local Limb = Character2:FindFirstChild("Right Leg")
631
		if Limb then
632
633
			Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
634
			local Joint = Instance.new("Glue")
635
			Joint.Name = "RightHip"
636
			Joint.Part0 = Torso2
637
			Joint.Part1 = Limb
638
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
639
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
640
			Joint.Parent = Torso2
641
642
			local B = Instance.new("Part")
643
			B.TopSurface = 0
644
			B.BottomSurface = 0
645
			B.formFactor = "Symmetric"
646
			B.Size = Vector3.new(1, 1, 1)
647
			B.Transparency = 1
648
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
649
			B.Parent = Character2
650
			local W = Instance.new("Weld")
651
			W.Part0 = Limb
652
			W.Part1 = B
653
			W.C0 = CFrame.new(0, -0.5, 0)
654
			W.Parent = Limb
655
656
		end
657
		local Limb = Character2:FindFirstChild("Left Leg")
658
		if Limb then
659
660
			Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
661
			local Joint = Instance.new("Glue")
662
			Joint.Name = "LeftHip"
663
			Joint.Part0 = Torso2
664
			Joint.Part1 = Limb
665
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
666
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
667
			Joint.Parent = Torso2
668
669
			local B = Instance.new("Part")
670
			B.TopSurface = 0
671
			B.BottomSurface = 0
672
			B.formFactor = "Symmetric"
673
			B.Size = Vector3.new(1, 1, 1)
674
			B.Transparency = 1
675
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
676
			B.Parent = Character2
677
			local W = Instance.new("Weld")
678
			W.Part0 = Limb
679
			W.Part1 = B
680
			W.C0 = CFrame.new(0, -0.5, 0)
681
			W.Parent = Limb
682
683
		end
684
		--[
685
		local Bar = Instance.new("Part")
686
		Bar.TopSurface = 0
687
		Bar.BottomSurface = 0
688
		Bar.formFactor = "Symmetric"
689
		Bar.Size = Vector3.new(1, 1, 1)
690
		Bar.Transparency = 1
691
		Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
692
		Bar.Parent = Character2
693
		local Weld = Instance.new("Weld")
694
		Weld.Part0 = Torso2
695
		Weld.Part1 = Bar
696
		Weld.C0 = CFrame.new(0, 0.5, 0)
697
		Weld.Parent = Torso2
698
		--]]
699
	end
700
	Character2.Parent = Weapon
701
	if movevector ~= Vector3.new() then
702
		for i = 1,10 do
703
			Torso2.Velocity = movevector * 30
704
		end
705
	end
706
	DummyHead.Name = "FakeHead"
707
	DummyHead.Parent = CLONE
708
	local BLOOD = CreatePart(3, DummyHead, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.25,0.65),false)
709
	BLOOD.CFrame = DummyHead.CFrame*CF(0,-DummyHead.Size.Y/2,0)
710
	MakeForm(BLOOD,"Cyl")
711
	weldBetween(DummyHead,BLOOD)
712
	local BLOOD = CreatePart(3, Torso2, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.2,0.65),false)
713
	BLOOD.CFrame = Torso2.CFrame*CF(0,Torso2.Size.Y/2,0)
714
	MakeForm(BLOOD,"Cyl")
715
	weldBetween(Torso2,BLOOD)
716
	Character2.Name = "Corpse"
717
	local hum2 = svch:findFirstChild("Humanoid")
718
719
	return Character2,Torso2,DummyHead
720
end
721
722
function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
723
	local HITFLOOR, HITPOS = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
724
	if HITFLOOR ~= nil then
725
		if HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
726
			if HITFLOOR.Name == "BloodPuddle" then
727
				local DIST = (Position - HITFLOOR.Position).Magnitude
728
				if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
729
					HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
730
				end
731
			else
732
				if HITFLOOR.Anchored == true then
733
					local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1,0,1))
734
					BLOOD.CFrame = CF(HITPOS)
735
					MakeForm(BLOOD,"Cyl")
736
					coroutine.resume(coroutine.create(function()
737
						Swait(75)
738
						while true do
739
							Swait()
740
							BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
741
							if BLOOD.Size.Z < 0.051 then
742
								BLOOD:remove()
743
								break
744
							end
745
						end
746
					end))
747
				end
748
			end
749
		end
750
	end
751
end
752
753
function SprayBlood(POSITION,DIRECTION,BloodSize)
754
	local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false)
755
	BLOOD.CFrame = CF(POSITION)
756
	MakeForm(BLOOD,"Ball")
757
	local bv = Instance.new("BodyVelocity",BLOOD) 
758
	bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
759
	bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3)/30,MRANDOM(-3,3)/30,MRANDOM(-3,3)/30)).lookVector*15
760
	bv.Name = "MOVE"
761
	Debris:AddItem(bv,0.05)
762
	coroutine.resume(coroutine.create(function()
763
		local HASTOUCHEDGROUND = false
764
		local HIT = BLOOD.Touched:Connect(function(hit)
765
			if hit.Anchored == true then
766
				HASTOUCHEDGROUND = true
767
				PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
768
			end
769
		end)
770
		for i = 1, 50 do
771
			Swait()
772
			if HASTOUCHEDGROUND == true then
773
				break
774
			end
775
			BLOOD.Size = BLOOD.Size * 0.9
776
		end
777
		BLOOD:remove()
778
	end))
779
end
780
781
function Kill(Target)
782
	if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then
783
		Target:BreakJoints()
784
		local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso")
785
		local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso)
786
		getbloody(DummyHead,45)
787
		if TORS2 ~= nil then
788
			CreateSound("185688060", TORS2, 10, (math.random(8,12)/10))
789
			CreateSound("337800380", DummyHead, 5, (math.random(8,18)/10))
790
			local HUM = IT("Humanoid")
791
			HUM.MaxHealth = 0
792
			HUM.Health = 0
793
			HUM.Name = "CorpseHumanoid"
794
			HUM.PlatformStand = true
795
			HUM.Parent = CLONE
796
			KILLINSTINCT = KILLINSTINCT + 20
797
			TORS2.CFrame = CFRAME
798
			coroutine.resume(coroutine.create(function()
799
				for i = 1, 450 do
800
					wait()
801
					SprayBlood(DummyHead.CFrame*CF(0,-0.25,0).p,DummyHead.CFrame*CF(0,-0.7,0).p,5)
802
					SprayBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,TORS2.CFrame*CF(0,TORS2.Size.Y,0).p,10)
803
					--PuddleOfBlood(DummyHead.CFrame*CF(0,-0.25,0).p,4,CLONE,3)
804
					--PuddleOfBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,8,CLONE,6)
805
				end
806
				CLONE:Remove()
807
			end))
808
		end
809
	end
810
end
811
812
--//=================================\\
813
--||	ATTACK FUNCTIONS AND STUFF
814
--\\=================================//
815
816
function Swing()
817
	ATTACK = true
818
	Rooted = false
819
	for i=0, 1, 0.1 / Animation_Speed do
820
		Swait()
821
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
822
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.7 / Animation_Speed)
823
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
824
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
825
		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)
826
		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)
827
		HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(180)), 0.5 / Animation_Speed)
828
	end
829
	Trail.Enabled = true
830
	HandlePart.CanCollide = true
831
	CreateSound("185687991", HandlePart, 1, (math.random(8,12)/10))
832
	local HIT = HandlePart.Touched:Connect(function(hit)
833
		Kill(hit.Parent)
834
	end)
835
	for i=0, 0.8, 0.1 / Animation_Speed do
836
		Swait()
837
		if Speed == 25 and TORSOVELOCITY > 0.3 then
838
			RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
839
		end
840
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.7 / Animation_Speed)
841
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
842
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.7) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
843
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
844
		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)
845
		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)
846
		HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(25), RAD(0), RAD(180))  * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
847
	end
848
	Trail.Enabled = false
849
	HandlePart.CanCollide = false
850
	HIT:disconnect()
851
	ATTACK = false
852
	Rooted = false
853
end
854
855
function Laugh()
856
	ATTACK = true
857
	Rooted = true
858
	CreateSound("1238240145", Torso, 6, 1)
859
	for i=0, 3.5, 0.1 / Animation_Speed do
860
		Swait()
861
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
862
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
863
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.35 * COS(SINE / 2), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
864
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
865
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
866
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
867
		HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
868
	end
869
	ATTACK = false
870
	Rooted = false
871
end
872
873
--//=================================\\
874
--||	  ASSIGN THINGS TO KEYS
875
--\\=================================//
876
877
function MouseDown(Mouse)
878
	if ATTACK == false then
879
		Swing()
880
	end
881
end
882
883
function MouseUp(Mouse)
884
HOLD = false
885
end
886
887
function KeyDown(Key)
888
	KEYHOLD = true
889
	if Key == "b" and ATTACK == false then
890
		if Speed == 10 then
891
			Speed = 25
892
		elseif Speed == 25 then
893
			Speed = 10
894
		end
895
	end
896
897
	if Key == "t" and ATTACK == false then
898
		Laugh()
899
	end
900
end
901
902
function KeyUp(Key)
903
	KEYHOLD = false
904
end
905
906
	Mouse.Button1Down:connect(function(NEWKEY)
907
		MouseDown(NEWKEY)
908
	end)
909
	Mouse.Button1Up:connect(function(NEWKEY)
910
		MouseUp(NEWKEY)
911
	end)
912
	Mouse.KeyDown:connect(function(NEWKEY)
913
		KeyDown(NEWKEY)
914
	end)
915
	Mouse.KeyUp:connect(function(NEWKEY)
916
		KeyUp(NEWKEY)
917
	end)
918
919
--//=================================\\
920
--\\=================================//
921
922
923
function unanchor()
924
	if UNANCHOR == true then
925
		g = Character:GetChildren()
926
		for i = 1, #g do
927
			if g[i].ClassName == "Part" then
928
				g[i].Anchored = false
929
			end
930
		end
931
	end
932
end
933
934
935
--//=================================\\
936
--||	WRAP THE WHOLE SCRIPT UP
937
--\\=================================//
938
939
Humanoid.Changed:connect(function(Jump)
940
	if Jump == "Jump" and (Disable_Jump == true) then
941
		Humanoid.Jump = false
942
	end
943
end)
944
945
Speed = 10
946
947
local naeeym2 = Instance.new("BillboardGui",Character)
948
naeeym2.AlwaysOnTop = true
949
naeeym2.Size = UDim2.new(5,35,2,35)
950
naeeym2.StudsOffset = Vector3.new(0,1,0)
951
naeeym2.Adornee = Character.Head
952
naeeym2.Name = "Name"
953
naeeym2.PlayerToHideFrom = Player
954
local tecks2 = Instance.new("TextLabel",naeeym2)
955
tecks2.BackgroundTransparency = 1
956
tecks2.TextScaled = true
957
tecks2.BorderSizePixel = 0
958
tecks2.Text = "PSYCHO"
959
tecks2.Font = "Antique"
960
tecks2.TextSize = 30
961
tecks2.TextStrokeTransparency = 0
962
tecks2.TextColor3 = Color3.new(0.8,0,0)
963
tecks2.TextStrokeColor3 = Color3.new(0.8,0,0)
964
tecks2.Size = UDim2.new(1,0,0.5,0)
965
tecks2.Parent = naeeym2
966
967
while true do
968
	ANIMATE.Parent = nil
969
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
970
	IDLEANIMATION:Play()
971
	SINE = SINE + CHANGE
972
	TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
973
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
974
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
975
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
976
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
977
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
978
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
979
		Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
980
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
981
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
982
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
983
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
984
		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)
985
		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)
986
		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)
987
	end
988
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
989
		ANIM = "Jump"
990
		if ATTACK == false then
991
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
992
			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)
993
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
994
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
995
			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)
996
			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)
997
			HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-165), RAD(0), RAD(0)), 0.15 / Animation_Speed)
998
	    end
999
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1000
		ANIM = "Fall"
1001
		if ATTACK == false then
1002
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1003
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1004
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1005
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1006
			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)
1007
			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)
1008
			HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-85), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1009
		end
1010
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1011
		ANIM = "Idle"
1012
		if ATTACK == false then
1013
			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)
1014
			if VALUE1 == false then
1015
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1016
			end
1017
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1018
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1019
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1020
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1021
			HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1022
			if VALUE1 == false and MRANDOM(1,200) == 1 then
1023
				coroutine.resume(coroutine.create(function()
1024
					VALUE1 = true
1025
					for i = 1, 25 do
1026
						Swait()
1027
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD((15+MRANDOM(-15,15)/15)), RAD(0)), 3 / Animation_Speed)
1028
					end
1029
					VALUE1 = false
1030
				end))
1031
			end
1032
		end
1033
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1034
		ANIM = "Walk"
1035
		WALK = WALK + 1 / Animation_Speed
1036
		if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
1037
			WALK = 0
1038
			if WALKINGANIM == true then
1039
				WALKINGANIM = false
1040
			elseif WALKINGANIM == false then
1041
				WALKINGANIM = true
1042
			end
1043
		end
1044
		--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)
1045
		--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)
1046
		if ATTACK == false then
1047
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1048
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(25), RAD(0)), 0.15 / Animation_Speed)
1049
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 - 0.15 * COS(SINE / (WALKSPEEDVALUE / 2)), 0) * ANGLES(RAD(-20), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1050
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
1051
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
1052
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
1053
			HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.75 + 0.3 * COS(SINE / (WALKSPEEDVALUE/2)), 0) * ANGLES(RAD(-145), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1054
		end
1055
	end
1056
	unanchor()
1057
	Humanoid.MaxHealth = "inf"
1058
	Humanoid.Health = "inf"
1059
	if Rooted == false then
1060
		Disable_Jump = false
1061
		Humanoid.WalkSpeed = Speed
1062
	elseif Rooted == true then
1063
		Disable_Jump = true
1064
		Humanoid.WalkSpeed = 0
1065
	end
1066
	if KILLINSTINCT > 0 then
1067
		PuddleOfBlood(HandlePart.CFrame*CF(0,1,0).p,3,HandlePart,2)
1068
		KILLINSTINCT = KILLINSTINCT - 0.1
1069
	end
1070
	if Head:FindFirstChild("face") then
1071
		Head.face.Texture = "http://www.roblox.com/asset/?id=120463437"
1072
	end
1073
	Trail.Color = ColorSequence.new(C3(1,1-KILLINSTINCT/70,1-KILLINSTINCT/70))
1074
	local MATHS = {"0","1"}
1075
	Humanoid.Name = MATHS[MRANDOM(1,#MATHS)].."P"..MATHS[MRANDOM(1,#MATHS)].."S"..MATHS[MRANDOM(1,#MATHS)].."Y"..MATHS[MRANDOM(1,#MATHS)].."C"..MATHS[MRANDOM(1,#MATHS)].."H"..MATHS[MRANDOM(1,#MATHS)].."O"..MATHS[MRANDOM(1,#MATHS)]
1076
	Humanoid.PlatformStand = false
1077
	script.Name = Humanoid.Name
1078
	if math.random(1,70-Speed) == 1 then
1079
		tecks2.Text = "FAILURE"
1080
	elseif math.random(1,70-Speed) == 2 then
1081
		tecks2.Text = "WHY BOTHER"
1082
	elseif math.random(1,70-Speed) == 3 then
1083
		tecks2.Text = "WORTHLESS"
1084
	else
1085
		if KILLINSTINCT > 0 then
1086
			if KILLINSTINCT < 100 then
1087
				if MRANDOM(1,math.ceil(100-KILLINSTINCT)) == 1 then
1088
					tecks2.Text = "HA AH AHA HA HA HA HA"
1089
				else
1090
					tecks2.Text = "boss_kiddos the KILLER."
1091
				end
1092
			elseif KILLINSTINCT >= 100 then
1093
				if MRANDOM(1,5) == 1 then
1094
					tecks2.Text = "ESFIJKDSFBBJDSFBUKJDSFKMD DA NUB"
1095
				end
1096
			else
1097
				tecks2.Text = "boss_kiddos the KILLER."
1098
			end
1099
		else
1100
			tecks2.Text = "boss_kiddos the KILLER."
1101
		end
1102
	end
1103
	DECAL.Transparency = 1-(KILLINSTINCT/25)
1104
	Swait()
1105
	if Head:FindFirstChildOfClass("Sound") then
1106
		Head:FindFirstChildOfClass("Sound"):remove()
1107
	end
1108
	if KILLINSTINCT > 100 then
1109
		KILLINSTINCT = 100
1110
	end
1111
	sick.Parent = Character
1112
	Sky.Parent = game.Lighting
1113
	game.Lighting.ClockTime = 22
1114
	script.Parent = PlayerGui
1115
end