View difference between Paste ID: dWNLL3mg and wTNgjbvh
SHOW: | | - or go back to the newest paste.
1
--[[Nocturna_A._Alteriano_Night.Owl.Inc]]--
2
wait(1 / 60)
3
Effects = { }
4
local Player = game.Players.localPlayer
5
local Character = Player.Character
6
local Humanoid = Character.Humanoid
7
local mouse = Player:GetMouse()
8
local m = Instance.new('Model', Character)
9
m.Name = "WeaponModel"
10
local LeftArm = Character["Left Arm"]
11
local RightArm = Character["Right Arm"]
12
local LeftLeg = Character["Left Leg"]
13
local RightLeg = Character["Right Leg"]
14
local Head = Character.Head
15
local Torso = Character.Torso
16
local cam = game.Workspace.CurrentCamera
17
local RootPart = Character.HumanoidRootPart
18
local RootJoint = RootPart.RootJoint
19
local equipped = false
20
local attack = false
21
local Anim = 'Idle'
22
local idle = 0
23
local attacktype = 1
24
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
25
local velocity = RootPart.Velocity.y
26
local sine = 0
27
local change = 1
28
local grabbed = false
29
local cn = CFrame.new
30
local mr = math.rad
31
local angles = CFrame.Angles
32
local ud = UDim2.new
33
local c3 = Color3.new
34
35-
Humanoid.Animator.Parent = nil
35+
36
--245913129
37
Character.Humanoid.WalkSpeed = 8
38
Character.Humanoid.JumpPower = 30
39
Character.Humanoid.NameDisplayDistance = 0
40
local naeeym = Instance.new("BillboardGui",Character)
41
naeeym.Size = UDim2.new(0,100,0,40)
42
naeeym.StudsOffset = Vector3.new(0,2,0)
43
naeeym.Adornee = Character.Head
44
45
local newMotor = function(part0, part1, c0, c1)
46
	local w = Instance.new('Motor', part0)
47
	w.Part0 = part0
48
	w.Part1 = part1
49
	w.C0 = c0
50
	w.C1 = c1
51
	return w
52
end
53
54
function clerp(a, b, t)
55
	return a:lerp(b, t)
56
end
57
58
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
59
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
60
61
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
62
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
63
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
64
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
65
RootJoint.C1 = CFrame.new(0, 0, 0)
66
RootJoint.C0 = CFrame.new(0, 0, 0)
67
Torso.Neck.C1 = CFrame.new(0, 0, 0)
68
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
69
70
local rarmc1 = RW.C1
71
local larmc1 = LW.C1
72
local rlegc1 = RH.C1
73
local llegc1 = LH.C1
74
75
local resetc1 = false
76
77
--806209251 , 806130572
78
79
function PlayAnimationFromTable(table, speed, bool)
80
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
81
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
82
	RW.C0 = clerp(RW.C0, table[3], speed) 
83
	LW.C0 = clerp(LW.C0, table[4], speed) 
84
	RH.C0 = clerp(RH.C0, table[5], speed) 
85
	LH.C0 = clerp(LH.C0, table[6], speed) 
86
	if bool == true then
87
		if resetc1 == false then
88
			resetc1 = true
89
			RootJoint.C1 = RootJoint.C1
90
			Torso.Neck.C1 = Torso.Neck.C1
91
			RW.C1 = rarmc1
92
			LW.C1 = larmc1
93
			RH.C1 = rlegc1
94
			LH.C1 = llegc1
95
		end
96
	end
97
end
98
99
--[[Credits to SazErenos for his Artificial Heartbeat]]--
100
101
ArtificialHB = Instance.new("BindableEvent", script)
102
ArtificialHB.Name = "Heartbeat"
103
104
script:WaitForChild("Heartbeat")
105
106
frame = 1 / 30
107
tf = 0
108
allowframeloss = false
109
tossremainder = false
110
lastframe = tick()
111
script.Heartbeat:Fire()
112
113
game:GetService("RunService").Heartbeat:connect(function(s, p)
114
	tf = tf + s
115
	if tf >= frame then
116
		if allowframeloss then
117
			script.Heartbeat:Fire()
118
			lastframe = tick()
119
		else
120
			for i = 1, math.floor(tf / frame) do
121
				script.Heartbeat:Fire()
122
			end
123
			lastframe = tick()
124
		end
125
		if tossremainder then
126
			tf = 0
127
		else
128
			tf = tf - frame * math.floor(tf / frame)
129
		end
130
	end
131
end)
132
133
function swait(num)
134
	if num == 0 or num == nil then
135
		ArtificialHB.Event:wait()
136
	else
137
		for i = 0, num do
138
			ArtificialHB.Event:wait()
139
		end
140
	end
141
end
142
143
local RbxUtility = LoadLibrary("RbxUtility")
144
local Create = RbxUtility.Create
145
146
function RemoveOutlines(part)
147
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
148
end
149
	
150
CFuncs = {	
151
	["Part"] = {
152
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
153
			local Part = Create("Part"){
154
				Parent = Parent,
155
				Reflectance = Reflectance,
156
				Transparency = Transparency,
157
				CanCollide = false,
158
				Locked = true,
159
				BrickColor = BrickColor.new(tostring(BColor)),
160
				Name = Name,
161
				Size = Size,
162
				Material = Material,
163
			}
164
			RemoveOutlines(Part)
165
			return Part
166
		end;
167
	};
168
	
169
	["Mesh"] = {
170
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
171
			local Msh = Create(Mesh){
172
				Parent = Part,
173
				Offset = OffSet,
174
				Scale = Scale,
175
			}
176
			if Mesh == "SpecialMesh" then
177
				Msh.MeshType = MeshType
178
				Msh.MeshId = MeshId
179
			end
180
			return Msh
181
		end;
182
	};
183
	
184
	["Mesh"] = {
185
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
186
			local Msh = Create(Mesh){
187
				Parent = Part,
188
				Offset = OffSet,
189
				Scale = Scale,
190
			}
191
			if Mesh == "SpecialMesh" then
192
				Msh.MeshType = MeshType
193
				Msh.MeshId = MeshId
194
			end
195
			return Msh
196
		end;
197
	};
198
	
199
	["Weld"] = {
200
		Create = function(Parent, Part0, Part1, C0, C1)
201
			local Weld = Create("Weld"){
202
				Parent = Parent,
203
				Part0 = Part0,
204
				Part1 = Part1,
205
				C0 = C0,
206
				C1 = C1,
207
			}
208
			return Weld
209
		end;
210
	};
211
212
	["Sound"] = {
213
		Create = function(id, par, vol, pit) 
214
			coroutine.resume(coroutine.create(function()
215
				local S = Create("Sound"){
216
					Volume = vol,
217
					Pitch = pit or 1,
218
					SoundId = id,
219
					Parent = par or workspace,
220
				}
221
				Instance.new("DistortionSoundEffect", S).Level = 1
222
				wait() 
223
				S:play() 
224
				game:GetService("Debris"):AddItem(S, 10)
225
			end))
226
		end;
227
	};
228
	
229
	["ParticleEmitter"] = {
230
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
231
			local fp = Create("ParticleEmitter"){
232
				Parent = Parent,
233
				Color = ColorSequence.new(Color1, Color2),
234
				LightEmission = LightEmission,
235
				Size = Size,
236
				Texture = Texture,
237
				Transparency = Transparency,
238
				ZOffset = ZOffset,
239
				Acceleration = Accel,
240
				Drag = Drag,
241
				LockedToPart = LockedToPart,
242
				VelocityInheritance = VelocityInheritance,
243
				EmissionDirection = EmissionDirection,
244
				Enabled = Enabled,
245
				Lifetime = LifeTime,
246
				Rate = Rate,
247
				Rotation = Rotation,
248
				RotSpeed = RotSpeed,
249
				Speed = Speed,
250
				VelocitySpread = VelocitySpread,
251
			}
252
			return fp
253
		end;
254
	};
255
}
256
257
function rayCast(Position, Direction, Range, Ignore)
258
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
259
end 
260
261
local function GetNearest(obj, distance)
262
	local last, lastx = distance + 1
263
	for i, v in pairs(workspace:GetChildren()) do
264
		if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
265
			local t = v.Torso
266
			local dist = (t.Position - obj.Position).magnitude
267
			if dist <= distance then
268
				if dist < last then
269
					last = dist
270
					lastx = v
271
				end
272
			end
273
		end
274
	end
275
	return lastx
276
end
277
278
--[[ Credits to Kert109 (Ninja_Deer) for the Damage function. Fenrier for the Magnitude Damage ]]--
279
280
function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
281
	for i, v in pairs(hit:GetChildren()) do 
282
		if v:IsA("Humanoid") and hit.Name ~= Character.Name then
283
			local find = v:FindFirstChild("DebounceHit")
284
			if not find then
285
				if v.Parent:findFirstChild("Head") then
286
					local BillG = Create("BillboardGui"){
287
						Parent = v.Parent.Head,
288
						Size = UDim2.new(1, 0, 1, 0),
289
						Adornee = v.Parent.Head,
290
						StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
291
					}
292
					local TL = Create("TextLabel"){
293
						Parent = BillG,
294
						Size = UDim2.new(3, 3, 3, 3),
295
						BackgroundTransparency = 1,
296
						Text = tostring(damage).."-",
297
						TextColor3 = Color1.Color,
298
						TextStrokeColor3 = Color2.Color,
299
						TextStrokeTransparency = 0,
300
						TextXAlignment = Enum.TextXAlignment.Center,
301
						TextYAlignment = Enum.TextYAlignment.Center,
302
						FontSize = Enum.FontSize.Size18,
303
						Font = "ArialBold",
304
					}
305
					coroutine.resume(coroutine.create(function()
306
						swait(1)
307
						for i = 0, 1, .1 do
308
							swait(.1)
309
							BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
310
						end
311
						BillG:Destroy()
312
					end))
313
				end
314
				v.Health = v.Health - damage
315
				local bool = Create("BoolValue"){
316
					Parent = v,
317
					Name = "DebounceHit",
318
				}
319
				if HSound ~= nil and HPitch ~= nil then
320
					CFuncs["Sound"].Create(HSound, hit, 1, HPitch) 
321
				end
322
				game:GetService("Debris"):AddItem(bool, cooldown)
323
			end
324
		end
325
	end
326
end
327
328
function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch)
329
	for _, c in pairs(workspace:children()) do
330
		local hum = c:findFirstChild("Humanoid")
331
		if hum ~= nil then
332
			local head = c:findFirstChild("Torso")
333
			if head ~= nil then
334
				local targ = head.Position - Part.Position
335
				local mag = targ.magnitude
336
				if mag <= magni and c.Name ~= Player.Name then 
337
					Damage(head.Parent, math.random(mindam, maxdam), 0.5, Color1, Color2, HSound, HPitch)
338
				end
339
			end
340
		end
341
	end
342
end
343
344
Handle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "Handle", Vector3.new(0.399999946, 0.899999976, 0.400000095))
345
HandleWeld = CFuncs["Weld"].Create(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199958801, -0.0500774384, -1.09998882, -1, 0, 0, 0, 0, -1, -0, -1, -0))
346
FakeHandle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "FakeHandle", Vector3.new(0.399999946, 0.899999976, 0.400000095))
347
FakeHandleWeld = CFuncs["Weld"].Create(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
348
Barrel = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "Barrel", Vector3.new(0.399999946, 0.399999976, 0.400000095))
349
BarrelWeld = CFuncs["Weld"].Create(m, FakeHandle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.749999046, -1.50000024, 1, 0, 0, 0, 1, 0, 0, 0, 1))
350
Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.399999946, 0.299999952, 0.400000095))
351
PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.300000191, -0.400000095, 1, 0, 0, 0, 1, 0, 0, 0, 1))
352
CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "rbxassetid://435840330", Vector3.new(0, 0, 0), Vector3.new(0.00200000009, 0.00200000009, 0.00200000009))
353
Part.Mesh.TextureId = "rbxassetid://435840335"
354
355
EffectModel = Instance.new("Model", Character)
356
EffectModel.Name = "Effects"
357
358
Effects = {
359
	["Block"] = {
360
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
361
			local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
362
			prt.Anchored = true
363
			prt.CFrame = cframe
364
			local msh = CFuncs["Mesh"].Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
365
			game:GetService("Debris"):AddItem(prt, 10)
366
			if Type == 1 or Type == nil then
367
				table.insert(Effects, {
368
					prt,
369
					"Block1",
370
					delay,
371
					x3,
372
					y3,
373
					z3,
374
					msh
375
				})
376
			elseif Type == 2 then
377
				table.insert(Effects, {
378
					prt,
379
					"Block2",
380
					delay,
381
					x3,
382
					y3,
383
					z3,
384
					msh
385
				})
386
			end
387
		end;
388
	};
389
	
390
	["Cylinder"] = {
391
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
392
			local prt = CFuncs["Part"].Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
393
			prt.Anchored = true
394
			prt.CFrame = cframe
395
			local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
396
			game:GetService("Debris"):AddItem(prt, 2)
397
			Effects[#Effects + 1] = {
398
				prt,
399
				"Cylinder",
400
				delay,
401
				x3,
402
				y3,
403
				z3
404
			}
405
		end;
406
	};
407
	
408
	["Sphere"] = {
409
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
410
			local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
411
			prt.Anchored = true
412
			prt.CFrame = cframe
413
			local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
414
			game:GetService("Debris"):AddItem(prt, 10)
415
			table.insert(Effects, {
416
				prt,
417
				"Cylinder",
418
				delay,
419
				x3,
420
				y3,
421
				z3,
422
				msh
423
			})
424
		end;
425
	};
426
	
427
	["Elec"] = {
428
		Create = function(cff, x, y, z)
429
			local prt = CFuncs["Part"].Create(workspace, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
430
			prt.Anchored = true
431
			prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
432
			prt.CFrame = CFrame.new(prt.Position)
433
			game:GetService("Debris"):AddItem(prt, 2)
434
			local xval = math.random() / 2
435
			local yval = math.random() / 2
436
			local zval = math.random() / 2
437
			local msh = CFuncs["Mesh"].Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
438
			table.insert(Effects, {
439
				prt,
440
				"Elec",
441
				0.1,
442
				x,
443
				y,
444
				z,
445
				xval,
446
				yval,
447
				zval
448
			})
449
		end;
450
451
	};
452
	
453
	["Ring"] = {
454
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
455
			local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
456
			prt.Anchored = true
457
			prt.CFrame = cframe
458
			local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
459
			game:GetService("Debris"):AddItem(prt, 10)
460
			table.insert(Effects, {
461
				prt,
462
				"Cylinder",
463
				delay,
464
				x3,
465
				y3,
466
				z3,
467
				msh
468
			})
469
		end;
470
	};
471
472
473
	["Wave"] = {
474
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
475
			local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
476
			prt.Anchored = true
477
			prt.CFrame = cframe
478
			local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
479
			game:GetService("Debris"):AddItem(prt, 10)
480
			table.insert(Effects, {
481
				prt,
482
				"Cylinder",
483
				delay,
484
				x3,
485
				y3,
486
				z3,
487
				msh
488
			})
489
		end;
490
	};
491
492
	["Break"] = {
493
		Create = function(brickcolor, cframe, x1, y1, z1)
494
			local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
495
			prt.Anchored = true
496
			prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
497
			local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
498
			local num = math.random(10, 50) / 1000
499
			game:GetService("Debris"):AddItem(prt, 10)
500
			table.insert(Effects, {
501
				prt,
502
				"Shatter",
503
				num,
504
				prt.CFrame,
505
				math.random() - math.random(),
506
				0,
507
				math.random(50, 100) / 100
508
			})
509
		end;
510
	};
511
}
512
513
Shoot2 = function(orgpos)
514
	local MouseLook = CFrame.new((orgpos + mouse.Hit.p) / 2, mouse.Hit.p)
515
	Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(orgpos), 5, 5, 5, 3, 3, 3, 0.1)
516
	table.insert(Effects, {
517
		MouseLook.lookVector,
518
		"Shoot2",
519
		50,
520
		orgpos,
521
		5,
522
		7,
523
		0,
524
		1,
525
		2
526
	})
527
end
528
529
function attackone()
530
	attack = true
531
	CFuncs["Sound"].Create("rbxassetid://243053454", Torso, .1, 2.8) 
532
	for i = 0, 1, 0.025 do
533
		swait()
534
		PlayAnimationFromTable({
535
			CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
536
			CFrame.new(0, 1.4999907, 3.42726707e-007, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
537
			CFrame.new(0.431798398, 0.400000006, -0.888215482, 0.939692736, 0.342019886, 0, 0, 0, -1, -0.342019916, 0.939692736, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
538
			CFrame.new(-0.559965074, 0.300000012, -0.828456283, 0.939692736, -0.342019886, 0, 0, 0, -1, 0.342019916, 0.939692736, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
539
			CFrame.new(0.599619746, -1.99127948, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
540
			CFrame.new(-0.599619746, -1.99127901, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
541
		}, .3, false)
542
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
543
	end
544
	CFuncs["Sound"].Create("rbxassetid://203691837", Barrel, .01, .3)
545
	CFuncs["Sound"].Create("rbxassetid://203691885", Barrel, .01, .9)
546
	CFuncs["Sound"].Create("rbxassetid://184718741", Barrel, .05, .9)
547
	Shoot2(Barrel.Position)
548
	for i = 0, 1, 0.15 do
549
		swait()
550
		RootPart.Velocity = RootPart.CFrame.lookVector * -50
551
		PlayAnimationFromTable({
552
			CFrame.new(-0, -0.281125277, 0.157014638, 1, 0, -0, 0, 0.906307876, -0.422617942, 0, 0.422617942, 0.906307876) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
553
			CFrame.new(0, 1.4999938, 1.05202198e-005, 1, 0, -0, 0, 0.965925813, 0.258818924, -0, -0.258818924, 0.965925813) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
554
			CFrame.new(0.406597674, 0.817824185, -0.957423151, 0.939692974, 0.280165672, -0.196174338, -5.36441803e-007, -0.573575616, -0.819152534, -0.34201926, 0.769751906, -0.538984895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
555
			CFrame.new(-0.506752789, 0.775180221, -0.974653006, 0.939692974, -0.280165732, 0.196174279, 5.36441803e-007, -0.573575556, -0.819152713, 0.34201926, 0.769752145, -0.538984716) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
556
			CFrame.new(0.566868722, -1.61683154, -0.13679418, 0.954536259, -0.174988821, -0.241328761, 0.172366679, 0.984509468, -0.0321052969, 0.243208498, -0.0109513998, 0.969912171) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
557
			CFrame.new(-0.545306504, -1.37044179, -0.679420352, 0.996202111, 0.0754783303, 0.0434113704, -0.0434117466, 0.862729907, -0.503797948, -0.0754781216, 0.49999994, 0.862729967) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
558
		}, .6, false)
559
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(-20), math.rad(0)), 0.3)
560
	end
561
	for i = 0, 1, 0.15 do
562
		swait()
563
		RootPart.Velocity = RootPart.CFrame.lookVector * -100
564
		PlayAnimationFromTable({
565
			CFrame.new(-0, -0.795007467, 0.0831707418, 1, 0, -0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
566
			CFrame.new(0, 1.49999774, 1.20103359e-005, 1, 0, -0, 0, 0.965925634, 0.258819878, -0, -0.258819878, 0.965925634) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
567
			CFrame.new(1.70605683, 1.21151328, -0.185158521, 0.893217862, -0.29338178, -0.340718448, -0.340719074, -0.936116338, -0.0871595442, -0.293381065, 0.193941653, -0.936116695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
568
			CFrame.new(-1.69524968, 1.05172348, -0.252849877, 0.812758088, 0.493294626, 0.309975445, 0.582562625, -0.694268882, -0.422624737, 0.00672781467, 0.524071693, -0.851647615) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
569
			CFrame.new(0.689150453, -1.88461804, -0.0157705098, 0.954536736, -0.174989104, -0.241326213, 0.172367141, 0.984509468, -0.0321044922, 0.243205875, -0.0109517872, 0.969912887) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
570
			CFrame.new(-0.536899447, -1.34506011, -0.583059072, 0.99620223, 0.0226762109, 0.0840658173, -0.043412663, 0.966281295, 0.253803402, -0.0754759163, -0.256489068, 0.963595748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
571
		}, .2, false)
572
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
573
	end
574
	for i = 0, 1, 0.05 do
575
		swait()
576
		RootPart.Velocity = RootPart.CFrame.lookVector * -50
577
		PlayAnimationFromTable({
578
			CFrame.new(-0, -2.09708667, 0.108620644, 1, 0, -0, 0, 0.573575675, -0.819152594, 0, 0.819152594, 0.573575675) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
579
			CFrame.new(0, 1.53697455, -0.422635257, 1, 0, -0, 0, 0.766043842, 0.64278841, -0, -0.64278841, 0.766043842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
580
			CFrame.new(1.57810855, 0.650130272, 0.33058399, 0.930655897, -0.284022599, -0.230674848, 0.352510452, 0.527023435, 0.773293555, -0.0980618149, -0.800985396, 0.590598404) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
581
			CFrame.new(-1.38994181, 0.87733829, 0.667137444, 0.963715255, 0.08906921, 0.251633942, -0.25866431, 0.0788001418, 0.962747812, 0.0659223944, -0.992903471, 0.0989798903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
582
			CFrame.new(0.774198592, -1.52057803, -0.607582211, 0.954536974, -0.272207022, -0.121501081, 0.172365844, 0.83655864, -0.520057499, 0.243206039, 0.475471497, 0.845445395) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
583
			CFrame.new(-0.530096769, -1.05517173, -0.660005629, 0.99620223, 0.0226761587, 0.0840661526, -0.0434127897, 0.966280818, 0.253804684, -0.0754762068, -0.256490231, 0.96359539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
584
		}, .3, false)
585
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
586
	end
587
	for i = 0, 1, 0.13 do
588
		swait()
589
		PlayAnimationFromTable({
590
			CFrame.new(-0, -1.01349139, -0.251608461, 1, 0, 0, 0, 0.707105339, 0.707108378, 0, -0.707108378, 0.707105339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
591
			CFrame.new(0.0127754211, 1.44207788, 0.0749337673, 1, 0, 0, 0, 0.939691544, -0.342023343, 0, 0.342023343, 0.939691544) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
592
			CFrame.new(1.62296665, 0.191783041, -0.192457974, 0.930656254, -0.329096794, 0.159920022, 0.352511466, 0.923570275, -0.150843769, -0.098055169, 0.196757287, 0.975536823) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
593
			CFrame.new(-0.870643735, 0.71258086, -0.942903101, 0.18127799, -0.372358024, -0.910213113, -0.781424284, 0.507405519, -0.363202393, 0.597088516, 0.777103186, -0.19898814) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
594
			CFrame.new(0.214147568, -1.73508716, -0.0895051956, 0.924306214, 0.282332808, -0.256800473, -0.113861978, 0.846218646, 0.520528436, 0.364271581, -0.451887846, 0.814311981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
595
			CFrame.new(-0.535767198, -0.599929333, -0.996632636, 0.996202111, 0.0754788443, 0.0434101112, -0.0434126705, 0.862728953, -0.503799856, -0.0754773915, 0.500001788, 0.862729192) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
596
		}, .3, false)
597
	end
598
	attack = false
599
end
600
601
--[[Attacks]]--
602
603
mouse.Button1Down:connect(function()
604
	if attack == false and attacktype == 1 then
605
		attackone()
606
	end
607
end)
608
609
mouse.KeyDown:connect(function(k)
610
	k = k:lower()
611
	if attack == false and k == '' then
612
	
613
	end
614
end)
615
616
while true do
617
	swait()
618
	for i, v in pairs(Character:GetChildren()) do
619
		if v:IsA("Part") then
620
			v.Material = "SmoothPlastic"
621
		elseif v:IsA("Accessory") then
622
			v:WaitForChild("Handle").Material = "SmoothPlastic"
623
		end
624
	end
625
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
626
	velocity = RootPart.Velocity.y
627
	sine = sine + change
628
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
629
	if equipped == true or equipped == false then
630
		if RootPart.Velocity.y > 1 and hit == nil then 
631
			Anim = "Jump"
632
			if attack == false then
633
				PlayAnimationFromTable({
634
					CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
635
					CFrame.new(0, 1.49221826, -0.044082582, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
636
					CFrame.new(1.66304386, 0.182627335, 0.00782334805, 0.883022726, -0.392632574, 0.257119894, 0.321392894, 0.905103981, 0.2783764, -0.342019886, -0.163176134, 0.925416708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
637
					CFrame.new(-1.66570556, 0.224230319, 0.110721856, 0.903736115, 0.408218145, -0.128915116, -0.34750703, 0.875426054, 0.33595863, 0.25000003, -0.258819014, 0.933012724) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
638
					CFrame.new(0.499999166, -1.99999452, 4.76837158e-007, 0.984807849, -5.94328526e-007, -0.173648044, 0.0449439958, 0.965925872, 0.254886925, 0.167730987, -0.258819073, 0.951251388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
639
					CFrame.new(-0.499999404, -1.51703107, -0.129407585, 0.965925753, 6.6929374e-007, 0.258819193, -0.0669879839, 0.965925813, 0.24999994, -0.24999994, -0.258819163, 0.933012724) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
640
				}, .3, false)
641
			end
642
		elseif RootPart.Velocity.y < -1 and hit == nil then 
643
			Anim = "Fall"
644
			if attack == false then
645
				PlayAnimationFromTable({
646
					CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
647
					CFrame.new(0, 1.49221873, -0.0440826714, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
648
					CFrame.new(1.76076102, 0.406842887, 0.0212866664, 0.695482016, -0.670965135, 0.257119834, 0.611573994, 0.74059701, 0.278376371, -0.377202988, -0.0363579579, 0.925416648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
649
					CFrame.new(-1.68029141, 0.390803367, 0.155905366, 0.70961535, 0.692695498, -0.128914997, -0.625963271, 0.703777075, 0.335958213, 0.323444158, -0.157705069, 0.933012843) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
650
					CFrame.new(0.693307817, -1.96826017, -0.0605875254, 0.986561239, -0.127662987, -0.101976946, 0.137943029, 0.985269904, 0.101069227, 0.0875720233, -0.113777988, 0.989639223) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
651
					CFrame.new(-0.526552737, -1.81498528, -0.152177691, 0.965925574, 0.0449441113, 0.254888207, -0.066988036, 0.994663239, 0.0784704387, -0.250001162, -0.0928710476, 0.963781357) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
652
				}, .3, false)
653
			end
654
		elseif Torsovelocity < 1 and hit ~= nil then
655
			Anim = "Idle"
656
			if attack == false then
657
				change = 1
658
				PlayAnimationFromTable({
659
					CFrame.new(1.22602091e-006, -0.219458103, 1.46111324e-006, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
660
					CFrame.new(0, 1.49999201, 0, 0.707106233, 0, -0.707107306, 0, 1, 0, 0.707107306, 0, 0.707106233) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
661
					CFrame.new(0.571566343, -0.0739164352, -0.639066696, 0.939692855, 0.340718329, -0.0298085809, -0.241844058, 0.600305915, -0.762328327, -0.241844922, 0.723563433, 0.646503866) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
662
					CFrame.new(-0.628383756, -0.12163578, -0.696761668, 0.939692736, -0.342020065, -5.06639481e-007, 0.196173996, 0.538984895, -0.819152653, 0.280166954, 0.769751549, 0.573575616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
663
					CFrame.new(0.624118924, -1.79798961, 0.0678238794, 0.995454907, -0.0383867361, -0.0871553123, 0.0385330059, 0.999257326, -4.09960694e-006, 0.0870907605, -0.00335427374, 0.996194839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
664
					CFrame.new(-0.53866595, -1.82180798, 0.00821807235, 0.977763176, 0.0281341001, 0.207816422, -0.0287620034, 0.999586344, -1.4934686e-007, -0.207730502, -0.00597707182, 0.978167892) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
665
				}, .3, false)
666
				FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
667
			end
668
		elseif Torsovelocity > 2 and hit ~= nil then
669
			Anim = "Walk"
670
			if attack == false then
671
				change = 3
672
				PlayAnimationFromTable({
673
					CFrame.new(0, -0.0240751095, -0.146390602, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
674
					CFrame.new(0, 1.49999237, -1.81794167e-006, 1, 0, 0, 0, 0.984807789, -0.173647881, 0, 0.173647881, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
675
					CFrame.new(0.172261134, 0.427689523, -1.09730911, 0.644483984, 0.748984814, -0.153825179, 0.413525045, -0.510645986, -0.753815472, -0.643146515, 0.422211438, -0.638827145) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
676
					CFrame.new(-1.1922102, 0.363029838, -0.448653877, 0.935289383, -0.110854559, -0.33607316, -0.341521561, -0.531564534, -0.775114357, -0.0927196145, 0.839732468, -0.535025835) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
677
					CFrame.new(.5, -1.85 - 0.5 * math.cos(sine / 8) / 2, 0 + 1.8 *  math.sin(sine / 8) / 2) * angles(math.rad(-50 *  math.sin(sine / 8)), math.rad(0), math.rad(0)),
678
					CFrame.new(-.5, -1.85 + 0.5 * math.cos(sine / 8) / 2, 0 - 1.8 * math.sin(sine / 8) / 2) * angles(math.rad(50 *  math.sin(sine / 8)), math.rad(0), math.rad(0)),
679
				}, .3, false)
680
				FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
681
			end
682
		end
683
	end
684
	if 0 < #Effects then
685
		for e = 1, #Effects do
686
			if Effects[e] ~= nil then
687
				local Thing = Effects[e]
688
				if Thing ~= nil then
689
					local Part = Thing[1]
690
					local Mode = Thing[2]
691
					local Delay = Thing[3]
692
					local IncX = Thing[4]
693
					local IncY = Thing[5]
694
					local IncZ = Thing[6]
695
					if Thing[2] == "Shoot" then
696
						local Look = Thing[1]
697
						local hit, pos = rayCast(Thing[4], Look, 15, Character)
698
						local mag = (Thing[4] - pos).magnitude
699
						Thing[9] = Thing[9] + 0.5
700
						Thing[5] = Thing[5] + 0.2
701
						Thing[6] = Thing[6] + 0.2
702
						Effects["Cylinder"].Create(BrickColor.new("New Yeller"), CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), Thing[9], mag * 5, Thing[9], -0.2, 0, -0.2, 0.1)
703
						Thing[4] = Thing[4] + Look * 15
704
						Thing[3] = Thing[3] - 1
705
						if hit ~= nil then
706
							Thing[3] = 0
707
							ref = CFuncs["Part"].Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
708
							ref.Anchored = true
709
							ref.CFrame = CFrame.new(pos)
710
							Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
711
							CFuncs["Sound"].Create("rbxassetid://315748949", ref, 1, 1.1)
712
							game:GetService("Debris"):AddItem(ref, 1)
713
						end
714
						if Thing[3] <= 0 then
715
							table.remove(Effects, e)
716
						end
717
					end
718
					do
719
						if Thing[2] == "Shoot2" then
720
							local Look = Thing[1]
721
							local hit, pos = rayCast(Thing[4], Look, 3, Character)
722
							local mag = (Thing[4] - pos).magnitude
723
							Thing[9] = Thing[9] + 0.5
724
							Thing[5] = Thing[5] + 0.2
725
							Thing[6] = Thing[6] + 0.2
726
							Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new((Thing[4] + pos) / 2, pos), 25, 25, 25, -5, -5, -5, 0.2)
727
							Thing[4] = Thing[4] + Look * 3
728
							Thing[3] = Thing[3] + 5
729
							if hit ~= nil then
730
								Thing[3] = 0
731
								ref = CFuncs["Part"].Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
732
								ref.Anchored = true
733
								ref.CFrame = CFrame.new(pos)
734
								Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 25, 25, 25, 5, 5, 5, 0.01)
735
								Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 10, 10, 10, 15, 15, 15, 0.01)
736
								Effects["Block"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 10, 10, 10, 15, 15, 15, 0.01, 1)
737
								Effects["Wave"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 2, 2, 2, 3, 3, 3, 0.01)
738
								CFuncs["Sound"].Create("rbxassetid://203691837", ref, 1, .3)
739
								CFuncs["Sound"].Create("rbxassetid://203691885", ref, 1, .9)
740
								CFuncs["Sound"].Create("rbxassetid://184718741", ref, 1, .9)
741
								local e = Instance.new("Explosion", ref)
742
								e.Position = ref.Position
743
								e.BlastRadius = 400
744
								e.DestroyJointRadiusPercent = 20
745
								e.Visible = false
746
								e.ExplosionType = "CratersAndDebris"
747
								game:GetService("Debris"):AddItem(ref, 10)
748
							end
749
							if Thing[3] <= 0 then
750
								table.remove(Effects, e)
751
							end
752
						end
753
						do
754
							do
755
								if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "Shoot2" then
756
									if Thing[1].Transparency <= 1 then
757
										if Thing[2] == "Block1" then
758
											Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
759
											Mesh = Thing[7]
760
											Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
761
											Thing[1].Transparency = Thing[1].Transparency + Thing[3]
762
										else
763
											if Thing[2] == "Block2" then
764
												Thing[1].CFrame = Thing[1].CFrame
765
												Mesh = Thing[7]
766
												Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
767
												Thing[1].Transparency = Thing[1].Transparency + Thing[3]
768
											else
769
												if Thing[2] == "Block3" then
770
													Thing[8].C0 = CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * Thing[9]
771
													Mesh = Thing[7]
772
													Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
773
													Thing[1].Transparency = Thing[1].Transparency + Thing[3]
774
												else
775
													if Thing[2] == "Cylinder" then
776
														Mesh = Thing[7]
777
														Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
778
														Thing[1].Transparency = Thing[1].Transparency + Thing[3]
779
													else
780
														if Thing[2] == "Cylinder2" then
781
															Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0)
782
															Mesh = Thing[7]
783
															Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
784
															Thing[1].Transparency = Thing[1].Transparency + Thing[3]
785
														else
786
															if Thing[2] == "Blood" then
787
																Mesh = Thing[7]
788
																Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
789
																Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
790
																Thing[1].Transparency = Thing[1].Transparency + Thing[3]
791
															else
792
																if Thing[2] == "Elec" then
793
																	Mesh = Thing[10]
794
																	Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
795
																	Thing[1].Transparency = Thing[1].Transparency + Thing[3]
796
																else
797
																	if Thing[2] == "Disappear" then
798
																		Thing[1].Transparency = Thing[1].Transparency + Thing[3]
799
																	end
800
																end
801
															end
802
														end
803
													end
804
												end
805
											end
806
										end
807
									else
808
										Part.Parent = nil
809
										table.remove(Effects, e)
810
									end
811
								end
812
							end
813
						end
814
					end
815
				end
816
			end
817
		end
818
	end
819
end