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