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