View difference between Paste ID: CnGhR4p6 and GvJmk9pP
SHOW: | | - or go back to the newest paste.
1
-----------------------
2
--MemeusV2--
3
-------------------------------------------------------
4
--A script By makhail07
5
6
--Discord Creterisk#2958 
7
-------------------------------------------------------
8
9
local FavIDs = {
10
	340106355, --Nefl Crystals
11
	927529620, --Dimension
12
	876981900, --Fantasy
13
	398987889, --Ordinary Days
14
	1117396305, --Oh wait, it's you.
15
	885996042, --Action Winter Journey
16
	919231299, --Sprawling Idiot Effigy
17
	743466274, --Good Day Sunshine
18
	727411183, --Knife Fight
19
	1402748531, --The Earth Is Counting On You!
20
	595230126 --Robot Language
21
	}
22
23
24
25
--The reality of my life isn't real but a Universe -makhail07
26
wait()
27
local plr = game:service'Players'.LocalPlayer
28
print('Local User is '..plr.Name)
29
local char = plr.Character
30
local hum = char.Humanoid
31
local ra = char["Right Arm"]
32
local la= char["Left Arm"]
33
local rl= char["Right Leg"]
34
local ll = char["Left Leg"]
35
local hed = char.Head
36
local root = char.HumanoidRootPart
37
local rootj = root.RootJoint
38
local tors = char.Torso
39
local mouse = plr:GetMouse()
40
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
41
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
42
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
43
44
45
-------------------------------------------------------
46
--Start Good Stuff--
47
-------------------------------------------------------
48
CF = CFrame.new
49
angles = CFrame.Angles
50
attack = false
51
Euler = CFrame.fromEulerAnglesXYZ
52
Rad = math.rad
53
IT = Instance.new
54
BrickC = BrickColor.new
55
Cos = math.cos
56
Acos = math.acos
57
Sin = math.sin
58
Asin = math.asin
59
Abs = math.abs
60
Mrandom = math.random
61
Floor = math.floor
62
-------------------------------------------------------
63
--End Good Stuff--
64
-------------------------------------------------------
65
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
66
RSH, LSH = nil, nil 
67
RW = Instance.new("Weld") 
68
LW = Instance.new("Weld")
69
RH = tors["Right Hip"]
70
LH = tors["Left Hip"]
71
RSH = tors["Right Shoulder"] 
72
LSH = tors["Left Shoulder"] 
73
RSH.Parent = nil 
74
LSH.Parent = nil 
75
RW.Name = "RW"
76
RW.Part0 = tors 
77
RW.C0 = CF(1.5, 0.5, 0)
78
RW.C1 = CF(0, 0.5, 0) 
79
RW.Part1 = ra
80
RW.Parent = tors 
81
LW.Name = "LW"
82
LW.Part0 = tors 
83
LW.C0 = CF(-1.5, 0.5, 0)
84
LW.C1 = CF(0, 0.5, 0) 
85
LW.Part1 = la
86
LW.Parent = tors
87
Effects = {}
88
89
-------------------------------------------------------
90
--Start HeartBeat--
91
-------------------------------------------------------
92
ArtificialHB = Instance.new("BindableEvent", script)
93
ArtificialHB.Name = "Heartbeat"
94
script:WaitForChild("Heartbeat")
95
96
frame = 1 / 60
97
tf = 0
98
allowframeloss = false
99
tossremainder = false
100
101
102
lastframe = tick()
103
script.Heartbeat:Fire()
104
105
106
game:GetService("RunService").Heartbeat:connect(function(s, p)
107
	tf = tf + s
108
	if tf >= frame then
109
		if allowframeloss then
110
			script.Heartbeat:Fire()
111
			lastframe = tick()
112
		else
113
			for i = 1, math.floor(tf / frame) do
114
				script.Heartbeat:Fire()
115
			end
116
			lastframe = tick()
117
		end
118
		if tossremainder then
119
			tf = 0
120
		else
121
			tf = tf - frame * math.floor(tf / frame)
122
		end
123
	end
124
end)
125
-------------------------------------------------------
126
--End HeartBeat--
127
-------------------------------------------------------
128
129
-------------------------------------------------------
130
--Start Kyu's shitty stuff--
131
-------------------------------------------------------
132
133
function ragdoll(model)
134
    local char = model
135
    torso = char.HumanoidRootPart
136
    torso2 = char.Torso
137
    LW.Parent = nil
138
    RW.Parent = nil
139
    LH.Parent = nil
140
    RH.Parent = nil
141
		if hum ~= nil then
142
		hum.PlatformStand = true
143
		end
144
145
		local Head = char:FindFirstChild("Head")
146
		if Head then
147
			local Neck = Instance.new("Weld")
148
			Neck.Name = "Neck"
149
			Neck.Part0 = torso
150
			Neck.Part1 = Head
151
			Neck.C0 = CFrame.new(0, 1.5, 0)
152
			Neck.C1 = CFrame.new()
153
			Neck.Parent = torso
154
		end
155
		local Limb = char:FindFirstChild("Right Arm")
156
		if Limb then
157
158
			Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0)
159
			local Joint = Instance.new("Glue")
160
			Joint.Name = "RightShoulder"
161
			Joint.Part0 = torso
162
			Joint.Part1 = Limb
163
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
164
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
165
			Joint.Parent = torso
166
167
			local B = Instance.new("Part")
168
			B.TopSurface = 0
169
			B.BottomSurface = 0
170
			B.formFactor = "Symmetric"
171
			B.Size = Vector3.new(1, 1, 1)
172
			B.Transparency = 1
173
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
174
			B.Parent = char
175
			local W = Instance.new("Weld")
176
			W.Part0 = Limb
177
			W.Part1 = B
178
			W.C0 = CFrame.new(0, -0.5, 0)
179
			W.Parent = Limb
180
181
		end
182
		local Limb = char:FindFirstChild("Left Arm")
183
		if Limb then
184
185
			Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0)
186
			local Joint = Instance.new("Glue")
187
			Joint.Name = "LeftShoulder"
188
			Joint.Part0 = torso
189
			Joint.Part1 = Limb
190
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
191
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
192
			Joint.Parent = torso
193
194
			local B = Instance.new("Part")
195
			B.TopSurface = 0
196
			B.BottomSurface = 0
197
			B.formFactor = "Symmetric"
198
			B.Size = Vector3.new(1, 1, 1)
199
			B.Transparency = 1
200
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
201
			B.Parent = char
202
			local W = Instance.new("Weld")
203
			W.Part0 = Limb
204
			W.Part1 = B
205
			W.C0 = CFrame.new(0, -0.5, 0)
206
			W.Parent = Limb
207
208
		end
209
		local Limb = char:FindFirstChild("Right Leg")
210
		if Limb then
211
212
			Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
213
			local Joint = Instance.new("Glue")
214
			Joint.Name = "RightHip"
215
			Joint.Part0 = torso
216
			Joint.Part1 = Limb
217
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
218
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
219
			Joint.Parent = torso
220
221
			local B = Instance.new("Part")
222
			B.TopSurface = 0
223
			B.BottomSurface = 0
224
			B.formFactor = "Symmetric"
225
			B.Size = Vector3.new(1, 1, 1)
226
			B.Transparency = 1
227
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
228
			B.Parent = char
229
			local W = Instance.new("Weld")
230
			W.Part0 = Limb
231
			W.Part1 = B
232
			W.C0 = CFrame.new(0, -0.5, 0)
233
			W.Parent = Limb
234
235
		end
236
		local Limb = char:FindFirstChild("Left Leg")
237
		if Limb then
238
239
			Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
240
			local Joint = Instance.new("Glue")
241
			Joint.Name = "LeftHip"
242
			Joint.Part0 = torso
243
			Joint.Part1 = Limb
244
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
245
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
246
			Joint.Parent = torso
247
248
			local B = Instance.new("Part")
249
			B.TopSurface = 0
250
			B.BottomSurface = 0
251
			B.formFactor = "Symmetric"
252
			B.Size = Vector3.new(1, 1, 1)
253
			B.Transparency = 1
254
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
255
			B.Parent = char
256
			local W = Instance.new("Weld")
257
			W.Part0 = Limb
258
			W.Part1 = B
259
			W.C0 = CFrame.new(0, -0.5, 0)
260
			W.Parent = Limb
261
262
		end
263
		--[
264
		local Bar = Instance.new("Part")
265
		Bar.TopSurface = 0
266
		Bar.BottomSurface = 0
267
		Bar.formFactor = "Symmetric"
268
		Bar.Size = Vector3.new(1, 1, 1)
269
		Bar.Transparency = 1
270
		Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0)
271
		Bar.Parent = char
272
		local Weld = Instance.new("Weld")
273
		Weld.Part0 = torso
274
		Weld.Part1 = Bar
275
		Weld.C0 = CFrame.new(0, 0.5, 0)
276
		Weld.Parent = torso
277
		--]]
278
279
torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z))
280
281
end
282
283
-------------------------------------------------------
284
--End Kyu's shitty stuff--
285
-------------------------------------------------------
286
287
-------------------------------------------------------
288
--Start Important Functions--
289
-------------------------------------------------------
290
function swait(num)
291
	if num == 0 or num == nil then
292
		game:service("RunService").Stepped:wait(0)
293
	else
294
		for i = 0, num do
295
			game:service("RunService").Stepped:wait(0)
296
		end
297
	end
298
end
299
function thread(f)
300
	coroutine.resume(coroutine.create(f))
301
end
302
function clerp(a, b, t)
303
	local qa = {
304
		QuaternionFromCFrame(a)
305
	}
306
	local qb = {
307
		QuaternionFromCFrame(b)
308
	}
309
	local ax, ay, az = a.x, a.y, a.z
310
	local bx, by, bz = b.x, b.y, b.z
311
	local _t = 1 - t
312
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
313
end
314
function QuaternionFromCFrame(cf)
315
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
316
	local trace = m00 + m11 + m22
317
	if trace > 0 then
318
		local s = math.sqrt(1 + trace)
319
		local recip = 0.5 / s
320
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
321
	else
322
		local i = 0
323
		if m00 < m11 then
324
			i = 1
325
		end
326
		if m22 > (i == 0 and m00 or m11) then
327
			i = 2
328
		end
329
		if i == 0 then
330
			local s = math.sqrt(m00 - m11 - m22 + 1)
331
			local recip = 0.5 / s
332
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
333
		elseif i == 1 then
334
			local s = math.sqrt(m11 - m22 - m00 + 1)
335
			local recip = 0.5 / s
336
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
337
		elseif i == 2 then
338
			local s = math.sqrt(m22 - m00 - m11 + 1)
339
			local recip = 0.5 / s
340
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
341
		end
342
	end
343
end
344
function QuaternionToCFrame(px, py, pz, x, y, z, w)
345
	local xs, ys, zs = x + x, y + y, z + z
346
	local wx, wy, wz = w * xs, w * ys, w * zs
347
	local xx = x * xs
348
	local xy = x * ys
349
	local xz = x * zs
350
	local yy = y * ys
351
	local yz = y * zs
352
	local zz = z * zs
353
	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))
354
end
355
function QuaternionSlerp(a, b, t)
356
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
357
	local startInterp, finishInterp
358
	if cosTheta >= 1.0E-4 then
359
		if 1 - cosTheta > 1.0E-4 then
360
			local theta = math.acos(cosTheta)
361
			local invSinTheta = 1 / Sin(theta)
362
			startInterp = Sin((1 - t) * theta) * invSinTheta
363
			finishInterp = Sin(t * theta) * invSinTheta
364
		else
365
			startInterp = 1 - t
366
			finishInterp = t
367
		end
368
	elseif 1 + cosTheta > 1.0E-4 then
369
		local theta = math.acos(-cosTheta)
370
		local invSinTheta = 1 / Sin(theta)
371
		startInterp = Sin((t - 1) * theta) * invSinTheta
372
		finishInterp = Sin(t * theta) * invSinTheta
373
	else
374
		startInterp = t - 1
375
		finishInterp = t
376
	end
377
	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
378
end
379
function rayCast(Position, Direction, Range, Ignore)
380
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
381
end
382
local RbxUtility = LoadLibrary("RbxUtility")
383
local Create = RbxUtility.Create
384
385
-------------------------------------------------------
386
--Start Damage Function--
387
-------------------------------------------------------
388
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
389
	if hit.Parent == nil then
390
		return
391
	end
392
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
393
	for _, v in pairs(hit.Parent:children()) do
394
		if v:IsA("Humanoid") then
395
			h = v
396
		end
397
	end
398
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
399
         warn'No R15 allowed'
400
         hit.Parent:FindFirstChild("Head"):BreakJoints()
401
         end
402
403
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
404
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
405
			if hit.Parent.DebounceHit.Value == true then
406
				return
407
			end
408
		end
409
         if insta == true then
410
         hit.Parent:FindFirstChild("Head"):BreakJoints()
411
         end
412
		local c = Create("ObjectValue"){
413
			Name = "creator",
414
			Value = game:service("Players").LocalPlayer,
415
			Parent = h,
416
		}
417
		game:GetService("Debris"):AddItem(c, .5)
418
		if HitSound ~= nil and HitPitch ~= nil then
419
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
420
		end
421
		local Damage = math.random(minim, maxim)
422
		local blocked = false
423
		local block = hit.Parent:findFirstChild("Block")
424
		if block ~= nil then
425
			if block.className == "IntValue" then
426
				if block.Value > 0 then
427
					blocked = true
428
					block.Value = block.Value - 1
429
					print(block.Value)
430
				end
431
			end
432
		end
433
		if blocked == false then
434
			h.Health = h.Health - Damage
435
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
436
		else
437
			h.Health = h.Health - (Damage / 2)
438
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
439
		end
440
		if Type == "Knockdown" then
441
			local hum = hit.Parent.Humanoid
442
			hum.PlatformStand = true
443
            hum.Parent:Remove()
444
			coroutine.resume(coroutine.create(function(HHumanoid)
445
				swait(1)
446
				HHumanoid.PlatformStand = false
447
			end), hum)
448
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
449
			local bodvol = Create("BodyVelocity"){
450
				velocity = angle * knockback,
451
				P = 5000,
452
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
453
				Parent = hit,
454
			}
455
			local rl = Create("BodyAngularVelocity"){
456
				P = 3000,
457
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
458
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
459
				Parent = hit,
460
			}
461
			game:GetService("Debris"):AddItem(bodvol, .5)
462
			game:GetService("Debris"):AddItem(rl, .5)
463
		elseif Type == "Normal" then
464
			local vp = Create("BodyVelocity"){
465
				P = 500,
466
				maxForce = Vector3.new(math.huge, 0, math.huge),
467
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
468
			}
469
			if knockback > 0 then
470
				vp.Parent = hit.Parent.Torso
471
			end
472
			game:GetService("Debris"):AddItem(vp, .5)
473
		elseif Type == "Up" then
474
			local bodyVelocity = Create("BodyVelocity"){
475
				velocity = Vector3.new(0, 20, 0),
476
				P = 5000,
477
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
478
				Parent = hit,
479
			}
480
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
481
		elseif Type == "DarkUp" then
482
			coroutine.resume(coroutine.create(function()
483
				for i = 0, 1, 0.1 do
484
					swait()
485
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
486
				end
487
			end))
488
			local bodyVelocity = Create("BodyVelocity"){
489
				velocity = Vector3.new(0, 20, 0),
490
				P = 5000,
491
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
492
				Parent = hit,
493
			}
494
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
495
		elseif Type == "Snare" then
496
			local bp = Create("BodyPosition"){
497
				P = 2000,
498
				D = 100,
499
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
500
				position = hit.Parent.Torso.Position,
501
				Parent = hit.Parent.Torso,
502
			}
503
			game:GetService("Debris"):AddItem(bp, 1)
504
		elseif Type == "Freeze" then
505
			local BodPos = Create("BodyPosition"){
506
				P = 50000,
507
				D = 1000,
508
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
509
				position = hit.Parent.Torso.Position,
510
				Parent = hit.Parent.Torso,
511
			}
512
			local BodGy = Create("BodyGyro") {
513
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
514
				P = 20e+003,
515
				Parent = hit.Parent.Torso,
516
				cframe = hit.Parent.Torso.CFrame,
517
			}
518
			hit.Parent.Torso.Anchored = true
519
			coroutine.resume(coroutine.create(function(Part) 
520
				swait(1.5)
521
				Part.Anchored = false
522
			end), hit.Parent.Torso)
523
			game:GetService("Debris"):AddItem(BodPos, 3)
524
			game:GetService("Debris"):AddItem(BodGy, 3)
525
		end
526
		local debounce = Create("BoolValue"){
527
			Name = "DebounceHit",
528
			Parent = hit.Parent,
529
			Value = true,
530
		}
531
		game:GetService("Debris"):AddItem(debounce, Delay)
532
		c = Create("ObjectValue"){
533
			Name = "creator",
534
			Value = Player,
535
			Parent = h,
536
		}
537
		game:GetService("Debris"):AddItem(c, .5)
538
	end
539
end
540
-------------------------------------------------------
541
--End Damage Function--
542
-------------------------------------------------------
543
544
-------------------------------------------------------
545
--Start Damage Function Customization--
546
-------------------------------------------------------
547
function ShowDamage(Pos, Text, Time, Color)
548
	local Rate = (1 / 30)
549
	local Pos = (Pos or Vector3.new(0, 0, 0))
550
	local Text = (Text or "")
551
	local Time = (Time or 2)
552
	local Color = (Color or Color3.new(1, 0, 1))
553
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
554
	EffectPart.Anchored = true
555
	local BillboardGui = Create("BillboardGui"){
556
		Size = UDim2.new(3, 0, 3, 0),
557
		Adornee = EffectPart,
558
		Parent = EffectPart,
559
	}
560
	local TextLabel = Create("TextLabel"){
561
		BackgroundTransparency = 1,
562
		Size = UDim2.new(1, 0, 1, 0),
563
		Text = Text,
564
		Font = "Highway",
565
		TextColor3 = Color,
566
		TextScaled = true,
567
		Parent = BillboardGui,
568
	}
569
	game.Debris:AddItem(EffectPart, (Time))
570
	EffectPart.Parent = game:GetService("Workspace")
571
	delay(0, function()
572
		local Frames = (Time / Rate)
573
		for Frame = 1, Frames do
574
			wait(Rate)
575
			local Percent = (Frame / Frames)
576
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
577
			TextLabel.TextTransparency = Percent
578
		end
579
		if EffectPart and EffectPart.Parent then
580
			EffectPart:Destroy()
581
		end
582
	end)
583
end
584
-------------------------------------------------------
585
--End Damage Function Customization--
586
-------------------------------------------------------
587
588
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
589
  for _, c in pairs(workspace:children()) do
590
    local hum = c:findFirstChild("Humanoid")
591
    if hum ~= nil then
592
      local head = c:findFirstChild("Head")
593
      if head ~= nil then
594
        local targ = head.Position - Part.Position
595
        local mag = targ.magnitude
596
        if magni >= mag and c.Name ~= plr.Name then
597
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
598
        end
599
      end
600
    end
601
  end
602
end
603
604
605
CFuncs = {
606
	Part = {
607
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
608
			local Part = Create("Part")({
609
				Parent = Parent,
610
				Reflectance = Reflectance,
611
				Transparency = Transparency,
612
				CanCollide = false,
613
				Locked = true,
614
				BrickColor = BrickColor.new(tostring(BColor)),
615
				Name = Name,
616
				Size = Size,
617
				Material = Material
618
			})
619
			RemoveOutlines(Part)
620
			return Part
621
		end
622
	},
623
	Mesh = {
624
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
625
			local Msh = Create(Mesh)({
626
				Parent = Part,
627
				Offset = OffSet,
628
				Scale = Scale
629
			})
630
			if Mesh == "SpecialMesh" then
631
				Msh.MeshType = MeshType
632
				Msh.MeshId = MeshId
633
			end
634
			return Msh
635
		end
636
	},
637
	Mesh = {
638
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
639
			local Msh = Create(Mesh)({
640
				Parent = Part,
641
				Offset = OffSet,
642
				Scale = Scale
643
			})
644
			if Mesh == "SpecialMesh" then
645
				Msh.MeshType = MeshType
646
				Msh.MeshId = MeshId
647
			end
648
			return Msh
649
		end
650
	},
651
	Weld = {
652
		Create = function(Parent, Part0, Part1, C0, C1)
653
			local Weld = Create("Weld")({
654
				Parent = Parent,
655
				Part0 = Part0,
656
				Part1 = Part1,
657
				C0 = C0,
658
				C1 = C1
659
			})
660
			return Weld
661
		end
662
	},
663
	Sound = {
664
		Create = function(id, par, vol, pit)
665
			coroutine.resume(coroutine.create(function()
666
				local S = Create("Sound")({
667
					Volume = vol,
668
					Pitch = pit or 1,
669
					SoundId = id,
670
					Parent = par or workspace
671
				})
672
				wait()
673
				S:play()
674
				game:GetService("Debris"):AddItem(S, 6)
675
			end))
676
		end
677
	},
678
	ParticleEmitter = {
679
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
680
			local fp = Create("ParticleEmitter")({
681
				Parent = Parent,
682
				Color = ColorSequence.new(Color1, Color2),
683
				LightEmission = LightEmission,
684
				Size = Size,
685
				Texture = Texture,
686
				Transparency = Transparency,
687
				ZOffset = ZOffset,
688
				Acceleration = Accel,
689
				Drag = Drag,
690
				LockedToPart = LockedToPart,
691
				VelocityInheritance = VelocityInheritance,
692
				EmissionDirection = EmissionDirection,
693
				Enabled = Enabled,
694
				Lifetime = LifeTime,
695
				Rate = Rate,
696
				Rotation = Rotation,
697
				RotSpeed = RotSpeed,
698
				Speed = Speed,
699
				VelocitySpread = VelocitySpread
700
			})
701
			return fp
702
		end
703
	}
704
}
705
function RemoveOutlines(part)
706
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
707
end
708
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
709
	local Part = Create("Part")({
710
		formFactor = FormFactor,
711
		Parent = Parent,
712
		Reflectance = Reflectance,
713
		Transparency = Transparency,
714
		CanCollide = false,
715
		Locked = true,
716
		BrickColor = BrickColor.new(tostring(BColor)),
717
		Name = Name,
718
		Size = Size,
719
		Material = Material
720
	})
721
	RemoveOutlines(Part)
722
	return Part
723
end
724
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
725
	local Msh = Create(Mesh)({
726
		Parent = Part,
727
		Offset = OffSet,
728
		Scale = Scale
729
	})
730
	if Mesh == "SpecialMesh" then
731
		Msh.MeshType = MeshType
732
		Msh.MeshId = MeshId
733
	end
734
	return Msh
735
end
736
function CreateWeld(Parent, Part0, Part1, C0, C1)
737
	local Weld = Create("Weld")({
738
		Parent = Parent,
739
		Part0 = Part0,
740
		Part1 = Part1,
741
		C0 = C0,
742
		C1 = C1
743
	})
744
	return Weld
745
end
746
747
748
-------------------------------------------------------
749
--Start Effect Function--
750
-------------------------------------------------------
751
EffectModel = Instance.new("Model", char)
752
Effects = {
753
  Block = {
754
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
755
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
756
      prt.Anchored = true
757
      prt.CFrame = cframe
758
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
759
      game:GetService("Debris"):AddItem(prt, 10)
760
      if Type == 1 or Type == nil then
761
        table.insert(Effects, {
762
          prt,
763
          "Block1",
764
          delay,
765
          x3,
766
          y3,
767
          z3,
768
          msh
769
        })
770
      elseif Type == 2 then
771
        table.insert(Effects, {
772
          prt,
773
          "Block2",
774
          delay,
775
          x3,
776
          y3,
777
          z3,
778
          msh
779
        })
780
      else
781
        table.insert(Effects, {
782
          prt,
783
          "Block3",
784
          delay,
785
          x3,
786
          y3,
787
          z3,
788
          msh
789
        })
790
      end
791
    end
792
  },
793
  Sphere = {
794
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
795
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
796
      prt.Anchored = true
797
      prt.CFrame = cframe
798
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0,0,0), Vector3.new(x1, y1, z1))
799
      game:GetService("Debris"):AddItem(prt, 10)
800
      table.insert(Effects, {
801
        prt,
802
        "Cylinder",
803
        delay,
804
        x3,
805
        y3,
806
        z3,
807
        msh
808
      })
809
    end
810
  },
811
  Cylinder = {
812
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
813
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
814
      prt.Anchored = true
815
      prt.CFrame = cframe
816
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
817
      game:GetService("Debris"):AddItem(prt, 10)
818
      table.insert(Effects, {
819
        prt,
820
        "Cylinder",
821
        delay,
822
        x3,
823
        y3,
824
        z3,
825
        msh
826
      })
827
    end
828
  },
829
  Wave = {
830
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
831
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
832
      prt.Anchored = true
833
      prt.CFrame = cframe
834
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
835
      game:GetService("Debris"):AddItem(prt, 10)
836
      table.insert(Effects, {
837
        prt,
838
        "Cylinder",
839
        delay,
840
        x3 / 60,
841
        y3 / 60,
842
        z3 / 60,
843
        msh
844
      })
845
    end
846
  },
847
  Ring = {
848
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
849
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
850
      prt.Anchored = true
851
      prt.CFrame = cframe
852
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
853
      game:GetService("Debris"):AddItem(prt, 10)
854
      table.insert(Effects, {
855
        prt,
856
        "Cylinder",
857
        delay,
858
        x3,
859
        y3,
860
        z3,
861
        msh
862
      })
863
    end
864
  },
865
  Break = {
866
    Create = function(brickcolor, cframe, x1, y1, z1)
867
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
868
      prt.Anchored = true
869
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
870
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
871
      local num = math.random(10, 50) / 1000
872
      game:GetService("Debris"):AddItem(prt, 10)
873
      table.insert(Effects, {
874
        prt,
875
        "Shatter",
876
        num,
877
        prt.CFrame,
878
        math.random() - math.random(),
879
        0,
880
        math.random(50, 100) / 100
881
      })
882
    end
883
  },
884
Spiral = {
885
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
886
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
887
      prt.Anchored = true
888
      prt.CFrame = cframe
889
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
890
      game:GetService("Debris"):AddItem(prt, 10)
891
      table.insert(Effects, {
892
        prt,
893
        "Cylinder",
894
        delay,
895
        x3,
896
        y3,
897
        z3,
898
        msh
899
      })
900
    end
901
  },
902
Push = {
903
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
904
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
905
      prt.Anchored = true
906
      prt.CFrame = cframe
907
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
908
      game:GetService("Debris"):AddItem(prt, 10)
909
      table.insert(Effects, {
910
        prt,
911
        "Cylinder",
912
        delay,
913
        x3,
914
        y3,
915
        z3,
916
        msh
917
      })
918
    end
919
  }
920
}
921
-------------------------------------------------------
922
--End Effect Function--
923
-------------------------------------------------------
924
925
function CreateSound(ID, PARENT, VOLUME, PITCH)
926
	local NSound = nil
927
	coroutine.resume(coroutine.create(function()
928
		NSound = Instance.new("Sound", PARENT)
929
		NSound.Volume = VOLUME
930
		NSound.Pitch = PITCH
931
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
932
		swait()
933
		NSound:play()
934
		game:GetService("Debris"):AddItem(NSound, 10)
935
	end))
936
	return NSound
937
end
938
939
940
941
942
943
-------------------------------------------------------
944
--End Important Functions--
945
-------------------------------------------------------
946
947
948
-------------------------------------------------------
949
--Start Music Option--
950
-------------------------------------------------------
951
local Music = Instance.new("Sound",tors)
952
Music.Volume = 2.5
953
Music.SoundId = "rbxassetid://"
954
Music.Looped = true
955
Music.Pitch = 1 --Pitcher
956
Music:Play()
957
-------------------------------------------------------
958
--End Music Option--
959
-------------------------------------------------------
960
961
962
-------------------------------------------------------
963
--Start Attacks N Stuff--
964
-------------------------------------------------------
965
local sine=0
966
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
967
  local Hitboxpart = Instance.new("Part", EffectModel)
968
  RemoveOutlines(Hitboxpart)
969
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
970
  Hitboxpart.CanCollide = false
971
  Hitboxpart.Transparency = 1
972
  Hitboxpart.Anchored = true
973
  Hitboxpart.CFrame = Pose
974
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
975
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
976
end
977
function GEtOuT()
978
	attack = true
979
	hum.WalkSpeed = 2.01
980
	CreateSound("749031341", hed, 10, 1)
981
	for i = 0,2,0.1 do
982
		swait()
983
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5) * angles(Rad(50), Rad(0), Rad(0)), 0.15)
984
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
985
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15)
986
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15)
987
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-90), Rad(0), Rad(5)), 0.1)
988
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-90), Rad(0), Rad(-5)), 0.1)
989
	end
990
	HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 7, 10, 53, "Knockdown")
991
	for i = 0,4,0.1 do
992
		swait()
993
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5) * angles(Rad(-50), Rad(0), Rad(0)), 0.15)
994
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
995
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15)
996
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15)
997
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-90), Rad(0), Rad(5)), 0.1)
998
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-90), Rad(0), Rad(-5)), 0.1)
999
	end
1000
	local Blobby = Instance.new("Part", char)
1001
Blobby.Name = "Blob"
1002
Blobby.CanCollide = false
1003
Blobby.BrickColor = BrickColor.new("Really black")
1004
Blobby.Transparency = 0
1005
Blobby.Material = "Plastic"
1006
Blobby.Size = Vector3.new(1, 1, 2)
1007
Blobby.TopSurface = Enum.SurfaceType.Smooth
1008
Blobby.BottomSurface = Enum.SurfaceType.Smooth
1009
1010
local Weld = Instance.new("Weld", Blobby)
1011
Weld.Part0 = ra
1012
Weld.Part1 = Blobby
1013
Weld.C1 = CFrame.new(0, -.3, 1.4)
1014
Weld.C0 = CFrame.Angles(math.rad(-90),0,0)
1015
1016
local M2 = Instance.new("SpecialMesh")
1017
M2.Parent = Blobby
1018
M2.MeshId = "http://www.roblox.com/asset/?id=491267221"
1019
M2.TextureId = "http://www.roblox.com/asset/?id=491267267"
1020
M2.Scale = Vector3.new(0.65, 0.65, 0.65)
1021
	for i = 0,6,0.1 do
1022
		swait()
1023
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1024
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1025
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1026
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1027
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
1028
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1029
	end
1030
	Blobby.Transparency = 1
1031
	Blobby:Destroy()
1032
	attack = false
1033
	hum.WalkSpeed = 16
1034
end
1035
1036
function ShutTheHellUp()
1037
	attack = true
1038
	hum.WalkSpeed = 2.01
1039
	CreateSound("336377340", hed, 10, 1)
1040
	for i = 0,3,0.1 do
1041
		swait()
1042
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1043
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1044
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1045
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1046
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1047
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1048
	end
1049
	for i = 0,1.2,0.1 do
1050
		swait()
1051
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1052
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1053
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1054
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1055
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1056
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1057
	end
1058
	for i = 0,1.2,0.1 do
1059
		swait()
1060
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1061
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
1062
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1063
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1064
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1065
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1066
	end
1067
	for i = 0,1.2,0.1 do
1068
		swait()
1069
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1070
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1071
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1072
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1073
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1074
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1075
	end
1076
	for i = 0,1.2,0.1 do
1077
		swait()
1078
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1079
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
1080
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1081
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1082
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1083
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1084
	end
1085
	for i = 0,2,0.1 do
1086
		swait()
1087
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1088
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1089
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1090
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1091
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(120), Rad(0), Rad(5)), 0.1)
1092
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1093
	end
1094
	for i = 0,2,0.1 do
1095
		swait()
1096
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1097
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1098
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1099
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1100
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1101
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1102
	end
1103
	hum.WalkSpeed = 16
1104
	attack = false
1105
end
1106
1107
function SpinMeDad()
1108
	attack = true
1109
	hum.WalkSpeed = 1.01
1110
	CreateSound("145799973", hed, 10, 1)
1111
	for i = 0,58,0.1 do
1112
		swait()
1113
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
1114
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1115
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1116
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1117
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
1118
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
1119
	end
1120
	hum.WalkSpeed = 16
1121
	attack = false
1122
end
1123
1124
function EndMySufferingV2()
1125
	attack = true
1126
	hum.WalkSpeed = 1.01
1127
	CreateSound("577475178", hed, 10, 1)
1128
	for i = 0,18,0.1 do
1129
		swait()
1130
	rootj.C0=clerp(rootj.C0,RootCF*CF(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(15),math.rad(-10),math.rad(0)),0.15)
1131
	tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.3)
1132
	RH.C0=clerp(RH.C0,CF(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
1133
	LH.C0=clerp(LH.C0,CF(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-20)),0.15)
1134
	RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(10), math.rad(-110)), 0.1)
1135
	LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-10), math.rad(-105)), 0.1)
1136
	end
1137
	attack = false
1138
	hum.WalkSpeed = 16
1139
end
1140
1141
function MYSPAGHETTTTTTT()
1142
	attack = true
1143
	hum.WalkSpeed = 1.01
1144
	CreateSound("1282149571", hed, 10, 1)
1145
	for i = 0,4,0.1 do
1146
		swait()
1147
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1148
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1149
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1150
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1151
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(5)), 0.1)
1152
		LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115 + 4), Rad(45), Rad(50)), 0.1)
1153
	end
1154
	for i = 0,5,0.1 do
1155
		swait()
1156
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1157
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1158
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1159
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1160
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(110), Rad(0), Rad(0)), 0.1)
1161
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(110), Rad(0), Rad(0)), 0.1)
1162
	end
1163
	for i = 0,6,0.1 do
1164
		swait()
1165
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1166
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1167
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1168
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1169
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(-10)), 0.1)
1170
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(10)), 0.1)
1171
	end
1172
	attack = false
1173
	hum.WalkSpeed = 16
1174
end
1175
1176
function FINLAND()
1177
	attack = true
1178
	hum.WalkSpeed = 1.01
1179
	CreateSound("313099773", hed, 10, 1)
1180
	for i = 0,6,0.1 do
1181
		swait()
1182
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1183
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-90), Rad(0), Rad(0)), 0.3)
1184
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1185
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1186
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1)
1187
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1)
1188
	end
1189
	attack = false
1190
	hum.WalkSpeed = 16
1191
end
1192
1193
function NothingPersonal()
1194
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1195
		local HITBODY = mouse.Target.Parent
1196
		local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
1197
		local HEAD = HITBODY:FindFirstChild("Head")
1198
		local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1199
		if TORS ~= nil and HUMAN ~= nil then
1200
	attack = true
1201
	root.CFrame = TORS.CFrame * CFrame.new(-1,0,3)
1202
	TORS.Anchored = true
1203
	hum.WalkSpeed = 0
1204
	CreateSound("1255922819", hed, 10, 1)
1205
		end
1206
		wait(3.5)
1207
		for i = 0,9,0.1 do
1208
			swait()
1209
			for i = 1,2 do
1210
			Effects.Sphere.Create(BrickColor.new("Really red"), TORS.CFrame*CFrame.new(math.random(-200,200)/100,math.random(-300,200)/100,math.random(-100,100)/100), 1, 1, 1, 15, 15, 15, 0.2)
1211
		    end
1212
		end
1213
		wait(.5)
1214
		TORS.Anchored = false
1215
		attack = false
1216
	hum.WalkSpeed = 16
1217
	end
1218
end
1219
1220
function VeryMuchWorrying()
1221
	attack = true
1222
	hum.WalkSpeed = 1.01
1223
	CreateSound("1395854043", hed, 10, 1)
1224
	for i = 0,14,0.1 do
1225
		swait()
1226
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1227
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1228
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1229
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1230
		RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-145)), 0.1)
1231
		LW.C0 = clerp(LW.C0, CF(-1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(145)), 0.1)
1232
	end
1233
	attack = false
1234
	hum.WalkSpeed = 16
1235
end
1236
1237
function AnotherOne()
1238
	attack = true
1239
	hum.WalkSpeed = 1.01
1240
	local icri = CreateSound("1205111204", hed, 10, 1)
1241
	swait(130)
1242
	local FRAME = tors.CFrame
1243
	repeat
1244
		swait()
1245
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1246
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1247
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1248
		RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
1249
		LW.C0 = clerp(LW.C0, CF(-1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
1250
		tors.CFrame = FRAME * CF(0,1,0)
1251
		swait()
1252
		tors.CFrame = FRAME
1253
	until icri.Playing == false
1254
	attack = false
1255
	hum.WalkSpeed = 16
1256
end
1257
1258
function kyu_will_break_your_neck_asdf_longest_function_name_ever_xd()
1259
attack = true
1260
print('Fun Fact : "kyu_will_break_your_neck_asdf_longest_function_name_ever_xd" is the name of this function')
1261
	for i = 0,6,0.1 do
1262
		swait()
1263
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1264
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1265
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1266
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1267
		RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.2 * Cos(sine / 20)) * angles(Rad(170), Rad(0), Rad(-15)), 0.1)
1268
		LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1)
1269
	end
1270
    CreateSound("1093102664", hed, 10, 1)
1271
	for i = 0,4,0.1 do
1272
		swait()
1273
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
1274
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(40), Rad(0)), 0.4)
1275
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1276
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1277
		RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.2 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-40)), 0.4)
1278
		LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4)
1279
	end
1280
hum.MaxHealth = 0
1281
ragdoll(char)
1282
error("Seems like you just died.")
1283
end
1284
1285
MoreTaunts = false
1286
mouse.KeyDown:connect(function(key)
1287
	if attack == false then
1288
		if MoreTaunts == false then
1289
		if key == 'q' then
1290
			GEtOuT()
1291
		elseif key == 'e' then
1292
			ShutTheHellUp()
1293
		elseif key == 'r' then
1294
			MYSPAGHETTTTTTT()
1295
		elseif key == 't' then
1296
			SpinMeDad()
1297
		elseif key == 'y' then
1298
			EndMySufferingV2()
1299
		elseif key == 'u' then
1300
			print'ur mom gey'
1301
		elseif key == 'f' then
1302
			FINLAND()
1303
		elseif key == 'z' then
1304
			NothingPersonal()
1305
		elseif key == 'v' then
1306
			VeryMuchWorrying()
1307
		end
1308
		end
1309
		if key == 'g' and MoreTaunts == false then
1310
			print'more tauntys yey'
1311
			MoreTaunts = true
1312
		elseif key == 'g' and MoreTaunts == true then
1313
			print'rip tauntys ;c'
1314
			MoreTaunts = false
1315
		end
1316
		if MoreTaunts == true then
1317
		if key == 'q' then
1318
			AnotherOne()
1319
		elseif key == 't' then
1320
			kyu_will_break_your_neck_asdf_longest_function_name_ever_xd()
1321
		end
1322
		end
1323
		end
1324
	end)
1325
1326
-------------------------------------------------------
1327
--End Attacks N Stuff--
1328
-------------------------------------------------------
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
-------------------------------------------------------
1340
--Start Animations--
1341
-------------------------------------------------------
1342
local equipped = false
1343
local idle = 0
1344
local change = 1
1345
local val = 0
1346
local toim = 0
1347
local idleanim = 0.4
1348
hum.Animator.Parent = nil
1349
while true do
1350
	swait()
1351
	sine = sine + change
1352
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
1353
	local velderp = root.Velocity.y
1354
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
1355
	if equipped == true or equipped == false then
1356
		if attack == false then
1357
			idle = idle + 1
1358
		else
1359
			idle = 0
1360
		end
1361
		if 1 < root.Velocity.y and hitfloor == nil then
1362
			Anim = "Jump"
1363
			if attack == false then
1364
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.3)
1365
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
1366
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
1367
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
1368
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -0.3) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
1369
				RH.C0 = clerp(RH.C0, CF(1, -1, 0.3) * angles(Rad(0), Rad(90), Rad(-20)), 0.3)
1370
			end
1371
		elseif -1 > root.Velocity.y and hitfloor == nil then
1372
			Anim = "Fall"
1373
			if attack == false then
1374
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
1375
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
1376
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
1377
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
1378
				LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
1379
				RH.C0=clerp(RH.C0, CF(1,-.3-0.1 * Cos(sine / 20), -.6) * angles(Rad(0), Rad(90), Rad(-20)), .3)
1380
			end
1381
		elseif torvel < 1 and hitfloor ~= nil then
1382
			Anim = "Idle"
1383
			change = 1
1384
			if attack == false then
1385
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1386
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.3)
1387
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1388
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1389
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
1390
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
1391
			end
1392
		elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
1393
			Anim = "Walk"
1394
			change = 1
1395
			if attack == false then
1396
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0), Rad(10 * Cos(sine / 7))), 0.15)
1397
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1398
				RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
1399
         		LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
1400
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(5)), 0.1)
1401
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0),	Rad(-5)), 0.1)
1402
			end
1403
		end
1404
	end
1405
	if 0 < #Effects then
1406
		for e = 1, #Effects do
1407
			if Effects[e] ~= nil then
1408
				local Thing = Effects[e]
1409
				if Thing ~= nil then
1410
					local Part = Thing[1]
1411
					local Mode = Thing[2]
1412
					local Delay = Thing[3]
1413
					local IncX = Thing[4]
1414
					local IncY = Thing[5]
1415
					local IncZ = Thing[6]
1416
					if 1 >= Thing[1].Transparency then
1417
						if Thing[2] == "Block1" then
1418
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1419
							local Mesh = Thing[1].Mesh
1420
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1421
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1422
						elseif Thing[2] == "Block2" then
1423
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1424
							local Mesh = Thing[7]
1425
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1426
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1427
						elseif Thing[2] == "Block3" then
1428
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
1429
							local Mesh = Thing[7]
1430
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1431
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1432
						elseif Thing[2] == "Cylinder" then
1433
							local Mesh = Thing[1].Mesh
1434
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1435
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1436
						elseif Thing[2] == "Blood" then
1437
							local Mesh = Thing[7]
1438
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1439
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1440
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1441
						elseif Thing[2] == "Elec" then
1442
							local Mesh = Thing[1].Mesh
1443
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1444
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1445
						elseif Thing[2] == "Disappear" then
1446
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1447
						elseif Thing[2] == "Shatter" then
1448
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1449
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1450
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1451
							Thing[6] = Thing[6] + Thing[5]
1452
						end
1453
					else
1454
						Part.Parent = nil
1455
						table.remove(Effects, e)
1456
					end
1457
				end
1458
			end
1459
		end
1460
	end
1461
end
1462
-------------------------------------------------------
1463
--End Animations And Script--
1464
-------------------------------------------------------