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