View difference between Paste ID: wTNgjbvh and 0JWCwFxZ
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
36
Character.Animate.Parent = nil
37
--245913129
38
Character.Humanoid.WalkSpeed = 8
39
Character.Humanoid.JumpPower = 30
40
Character.Humanoid.NameDisplayDistance = 0
41
local naeeym = Instance.new("BillboardGui",Character)
42
naeeym.Size = UDim2.new(0,100,0,40)
43
naeeym.StudsOffset = Vector3.new(0,2,0)
44
naeeym.Adornee = Character.Head
45-
local licht = Instance.new("PointLight",Character.Torso)
45+
46-
licht.Color = tecks.TextStrokeColor3
46+
47-
licht.Range = 60
47+
48-
licht.Brightness = 1
48+
49-
licht.Enabled = false
49+
50
	w.C0 = c0
51
	w.C1 = c1
52
	return w
53
end
54
55
function clerp(a, b, t)
56
	return a:lerp(b, t)
57
end
58
59
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
60
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
61
62
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
63
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
64
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
65
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
66
RootJoint.C1 = CFrame.new(0, 0, 0)
67
RootJoint.C0 = CFrame.new(0, 0, 0)
68
Torso.Neck.C1 = CFrame.new(0, 0, 0)
69
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
70
71
local rarmc1 = RW.C1
72
local larmc1 = LW.C1
73
local rlegc1 = RH.C1
74
local llegc1 = LH.C1
75
76
local resetc1 = false
77
78
--806209251 , 806130572
79
80
function PlayAnimationFromTable(table, speed, bool)
81
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
82
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
83
	RW.C0 = clerp(RW.C0, table[3], speed) 
84
	LW.C0 = clerp(LW.C0, table[4], speed) 
85
	RH.C0 = clerp(RH.C0, table[5], speed) 
86
	LH.C0 = clerp(LH.C0, table[6], speed) 
87
	if bool == true then
88
		if resetc1 == false then
89
			resetc1 = true
90
			RootJoint.C1 = RootJoint.C1
91
			Torso.Neck.C1 = Torso.Neck.C1
92
			RW.C1 = rarmc1
93
			LW.C1 = larmc1
94
			RH.C1 = rlegc1
95
			LH.C1 = llegc1
96
		end
97
	end
98
end
99
100
--[[Credits to SazErenos for his Artificial Heartbeat]]--
101
102
ArtificialHB = Instance.new("BindableEvent", script)
103
ArtificialHB.Name = "Heartbeat"
104
105
script:WaitForChild("Heartbeat")
106
107
frame = 1 / 30
108
tf = 0
109
allowframeloss = false
110
tossremainder = false
111
lastframe = tick()
112
script.Heartbeat:Fire()
113
114
game:GetService("RunService").Heartbeat:connect(function(s, p)
115
	tf = tf + s
116
	if tf >= frame then
117
		if allowframeloss then
118
			script.Heartbeat:Fire()
119
			lastframe = tick()
120
		else
121
			for i = 1, math.floor(tf / frame) do
122
				script.Heartbeat:Fire()
123
			end
124
			lastframe = tick()
125
		end
126
		if tossremainder then
127
			tf = 0
128
		else
129
			tf = tf - frame * math.floor(tf / frame)
130
		end
131
	end
132
end)
133
134
function swait(num)
135
	if num == 0 or num == nil then
136
		ArtificialHB.Event:wait()
137
	else
138
		for i = 0, num do
139
			ArtificialHB.Event:wait()
140
		end
141
	end
142
end
143
144
local RbxUtility = LoadLibrary("RbxUtility")
145
local Create = RbxUtility.Create
146
147
function RemoveOutlines(part)
148
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
149
end
150
	
151
CFuncs = {	
152
	["Part"] = {
153
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
154
			local Part = Create("Part"){
155
				Parent = Parent,
156
				Reflectance = Reflectance,
157
				Transparency = Transparency,
158
				CanCollide = false,
159
				Locked = true,
160
				BrickColor = BrickColor.new(tostring(BColor)),
161
				Name = Name,
162
				Size = Size,
163
				Material = Material,
164
			}
165
			RemoveOutlines(Part)
166
			return Part
167
		end;
168
	};
169
	
170
	["Mesh"] = {
171
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
172
			local Msh = Create(Mesh){
173
				Parent = Part,
174
				Offset = OffSet,
175
				Scale = Scale,
176
			}
177
			if Mesh == "SpecialMesh" then
178
				Msh.MeshType = MeshType
179
				Msh.MeshId = MeshId
180
			end
181
			return Msh
182
		end;
183
	};
184
	
185
	["Mesh"] = {
186
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
187
			local Msh = Create(Mesh){
188
				Parent = Part,
189
				Offset = OffSet,
190
				Scale = Scale,
191
			}
192
			if Mesh == "SpecialMesh" then
193
				Msh.MeshType = MeshType
194
				Msh.MeshId = MeshId
195
			end
196
			return Msh
197
		end;
198
	};
199
	
200
	["Weld"] = {
201
		Create = function(Parent, Part0, Part1, C0, C1)
202
			local Weld = Create("Weld"){
203
				Parent = Parent,
204
				Part0 = Part0,
205
				Part1 = Part1,
206
				C0 = C0,
207
				C1 = C1,
208
			}
209
			return Weld
210
		end;
211
	};
212
213
	["Sound"] = {
214
		Create = function(id, par, vol, pit) 
215
			coroutine.resume(coroutine.create(function()
216
				local S = Create("Sound"){
217
					Volume = vol,
218
					Pitch = pit or 1,
219
					SoundId = id,
220
					Parent = par or workspace,
221
				}
222
				Instance.new("DistortionSoundEffect", S).Level = 1
223
				wait() 
224
				S:play() 
225
				game:GetService("Debris"):AddItem(S, 10)
226
			end))
227
		end;
228
	};
229
	
230
	["ParticleEmitter"] = {
231
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
232
			local fp = Create("ParticleEmitter"){
233
				Parent = Parent,
234
				Color = ColorSequence.new(Color1, Color2),
235
				LightEmission = LightEmission,
236
				Size = Size,
237
				Texture = Texture,
238
				Transparency = Transparency,
239
				ZOffset = ZOffset,
240
				Acceleration = Accel,
241
				Drag = Drag,
242
				LockedToPart = LockedToPart,
243
				VelocityInheritance = VelocityInheritance,
244
				EmissionDirection = EmissionDirection,
245
				Enabled = Enabled,
246
				Lifetime = LifeTime,
247
				Rate = Rate,
248
				Rotation = Rotation,
249
				RotSpeed = RotSpeed,
250
				Speed = Speed,
251
				VelocitySpread = VelocitySpread,
252
			}
253
			return fp
254
		end;
255
	};
256
}
257
258
function rayCast(Position, Direction, Range, Ignore)
259
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
260
end 
261
262
local function GetNearest(obj, distance)
263
	local last, lastx = distance + 1
264
	for i, v in pairs(workspace:GetChildren()) do
265
		if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
266
			local t = v.Torso
267
			local dist = (t.Position - obj.Position).magnitude
268
			if dist <= distance then
269
				if dist < last then
270
					last = dist
271
					lastx = v
272
				end
273
			end
274
		end
275
	end
276
	return lastx
277
end
278
279
--[[ Credits to Kert109 (Ninja_Deer) for the Damage function. Fenrier for the Magnitude Damage ]]--
280
281
function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
282
	for i, v in pairs(hit:GetChildren()) do 
283
		if v:IsA("Humanoid") and hit.Name ~= Character.Name then
284
			local find = v:FindFirstChild("DebounceHit")
285
			if not find then
286
				if v.Parent:findFirstChild("Head") then
287
					local BillG = Create("BillboardGui"){
288
						Parent = v.Parent.Head,
289
						Size = UDim2.new(1, 0, 1, 0),
290
						Adornee = v.Parent.Head,
291
						StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
292
					}
293
					local TL = Create("TextLabel"){
294
						Parent = BillG,
295
						Size = UDim2.new(3, 3, 3, 3),
296
						BackgroundTransparency = 1,
297
						Text = tostring(damage).."-",
298
						TextColor3 = Color1.Color,
299
						TextStrokeColor3 = Color2.Color,
300
						TextStrokeTransparency = 0,
301
						TextXAlignment = Enum.TextXAlignment.Center,
302
						TextYAlignment = Enum.TextYAlignment.Center,
303
						FontSize = Enum.FontSize.Size18,
304
						Font = "ArialBold",
305
					}
306
					coroutine.resume(coroutine.create(function()
307
						swait(1)
308
						for i = 0, 1, .1 do
309
							swait(.1)
310
							BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
311
						end
312
						BillG:Destroy()
313
					end))
314
				end
315
				v.Health = v.Health - damage
316
				local bool = Create("BoolValue"){
317
					Parent = v,
318
					Name = "DebounceHit",
319
				}
320
				if HSound ~= nil and HPitch ~= nil then
321
					CFuncs["Sound"].Create(HSound, hit, 1, HPitch) 
322
				end
323
				game:GetService("Debris"):AddItem(bool, cooldown)
324
			end
325
		end
326
	end
327
end
328
329
function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch)
330
	for _, c in pairs(workspace:children()) do
331
		local hum = c:findFirstChild("Humanoid")
332
		if hum ~= nil then
333
			local head = c:findFirstChild("Torso")
334
			if head ~= nil then
335
				local targ = head.Position - Part.Position
336
				local mag = targ.magnitude
337
				if mag <= magni and c.Name ~= Player.Name then 
338
					Damage(head.Parent, math.random(mindam, maxdam), 0.5, Color1, Color2, HSound, HPitch)
339
				end
340
			end
341
		end
342
	end
343
end
344
345
Handle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "Handle", Vector3.new(0.399999946, 0.899999976, 0.400000095))
346
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))
347
FakeHandle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "FakeHandle", Vector3.new(0.399999946, 0.899999976, 0.400000095))
348
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))
349
Barrel = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "Barrel", Vector3.new(0.399999946, 0.399999976, 0.400000095))
350
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))
351
Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.399999946, 0.299999952, 0.400000095))
352
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))
353
CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "rbxassetid://435840330", Vector3.new(0, 0, 0), Vector3.new(0.00200000009, 0.00200000009, 0.00200000009))
354
Part.Mesh.TextureId = "rbxassetid://435840335"
355
356
EffectModel = Instance.new("Model", Character)
357
EffectModel.Name = "Effects"
358
359
Effects = {
360
	["Block"] = {
361
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
362
			local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
363
			prt.Anchored = true
364
			prt.CFrame = cframe
365
			local msh = CFuncs["Mesh"].Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
366
			game:GetService("Debris"):AddItem(prt, 10)
367
			if Type == 1 or Type == nil then
368
				table.insert(Effects, {
369
					prt,
370
					"Block1",
371
					delay,
372
					x3,
373
					y3,
374
					z3,
375
					msh
376
				})
377
			elseif Type == 2 then
378
				table.insert(Effects, {
379
					prt,
380
					"Block2",
381
					delay,
382
					x3,
383
					y3,
384
					z3,
385
					msh
386
				})
387
			end
388
		end;
389
	};
390
	
391
	["Cylinder"] = {
392
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
393
			local prt = CFuncs["Part"].Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
394
			prt.Anchored = true
395
			prt.CFrame = cframe
396
			local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
397
			game:GetService("Debris"):AddItem(prt, 2)
398
			Effects[#Effects + 1] = {
399
				prt,
400
				"Cylinder",
401
				delay,
402
				x3,
403
				y3,
404
				z3
405
			}
406
		end;
407
	};
408
	
409
	["Sphere"] = {
410
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
411
			local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
412
			prt.Anchored = true
413
			prt.CFrame = cframe
414
			local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
415
			game:GetService("Debris"):AddItem(prt, 10)
416
			table.insert(Effects, {
417
				prt,
418
				"Cylinder",
419
				delay,
420
				x3,
421
				y3,
422
				z3,
423
				msh
424
			})
425
		end;
426
	};
427
	
428
	["Elec"] = {
429
		Create = function(cff, x, y, z)
430
			local prt = CFuncs["Part"].Create(workspace, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
431
			prt.Anchored = true
432
			prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
433
			prt.CFrame = CFrame.new(prt.Position)
434
			game:GetService("Debris"):AddItem(prt, 2)
435
			local xval = math.random() / 2
436
			local yval = math.random() / 2
437
			local zval = math.random() / 2
438
			local msh = CFuncs["Mesh"].Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
439
			table.insert(Effects, {
440
				prt,
441
				"Elec",
442
				0.1,
443
				x,
444
				y,
445
				z,
446
				xval,
447
				yval,
448
				zval
449
			})
450
		end;
451
452
	};
453
	
454
	["Ring"] = {
455
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
456
			local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
457
			prt.Anchored = true
458
			prt.CFrame = cframe
459
			local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
460
			game:GetService("Debris"):AddItem(prt, 10)
461
			table.insert(Effects, {
462
				prt,
463
				"Cylinder",
464
				delay,
465
				x3,
466
				y3,
467
				z3,
468
				msh
469
			})
470
		end;
471
	};
472
473
474
	["Wave"] = {
475
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
476
			local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
477
			prt.Anchored = true
478
			prt.CFrame = cframe
479
			local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
480
			game:GetService("Debris"):AddItem(prt, 10)
481
			table.insert(Effects, {
482
				prt,
483
				"Cylinder",
484
				delay,
485
				x3,
486
				y3,
487
				z3,
488
				msh
489
			})
490
		end;
491
	};
492
493
	["Break"] = {
494
		Create = function(brickcolor, cframe, x1, y1, z1)
495
			local prt = CFuncs["Part"].Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
496
			prt.Anchored = true
497
			prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
498
			local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
499
			local num = math.random(10, 50) / 1000
500
			game:GetService("Debris"):AddItem(prt, 10)
501
			table.insert(Effects, {
502
				prt,
503
				"Shatter",
504
				num,
505
				prt.CFrame,
506
				math.random() - math.random(),
507
				0,
508
				math.random(50, 100) / 100
509
			})
510
		end;
511
	};
512
}
513
514
Shoot2 = function(orgpos)
515
	local MouseLook = CFrame.new((orgpos + mouse.Hit.p) / 2, mouse.Hit.p)
516
	Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(orgpos), 5, 5, 5, 3, 3, 3, 0.1)
517
	table.insert(Effects, {
518
		MouseLook.lookVector,
519
		"Shoot2",
520
		50,
521
		orgpos,
522
		5,
523
		7,
524
		0,
525
		1,
526
		2
527
	})
528
end
529
530
function attackone()
531
	attack = true
532
	CFuncs["Sound"].Create("rbxassetid://243053454", Torso, .1, 2.8) 
533
	for i = 0, 1, 0.025 do
534
		swait()
535
		PlayAnimationFromTable({
536
			CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
537
			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), 
538
			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), 
539
			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), 
540
			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), 
541
			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), 
542
		}, .3, false)
543
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
544
	end
545
	CFuncs["Sound"].Create("rbxassetid://203691837", Barrel, .01, .3)
546
	CFuncs["Sound"].Create("rbxassetid://203691885", Barrel, .01, .9)
547
	CFuncs["Sound"].Create("rbxassetid://184718741", Barrel, .05, .9)
548
	Shoot2(Barrel.Position)
549
	for i = 0, 1, 0.15 do
550
		swait()
551
		RootPart.Velocity = RootPart.CFrame.lookVector * -50
552
		PlayAnimationFromTable({
553
			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), 
554
			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), 
555
			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), 
556
			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), 
557
			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), 
558
			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), 
559
		}, .6, false)
560
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(-20), math.rad(0)), 0.3)
561
	end
562
	for i = 0, 1, 0.15 do
563
		swait()
564
		RootPart.Velocity = RootPart.CFrame.lookVector * -100
565
		PlayAnimationFromTable({
566
			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), 
567
			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), 
568
			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), 
569
			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), 
570
			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), 
571
			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), 
572
		}, .2, false)
573
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
574
	end
575
	for i = 0, 1, 0.05 do
576
		swait()
577
		RootPart.Velocity = RootPart.CFrame.lookVector * -50
578
		PlayAnimationFromTable({
579
			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), 
580
			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), 
581
			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), 
582
			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), 
583
			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), 
584
			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), 
585
		}, .3, false)
586
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
587
	end
588
	for i = 0, 1, 0.13 do
589
		swait()
590
		PlayAnimationFromTable({
591
			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), 
592
			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), 
593
			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), 
594
			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), 
595
			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), 
596
			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), 
597
		}, .3, false)
598
	end
599
	attack = false
600
end
601
602
--[[Attacks]]--
603
604
mouse.Button1Down:connect(function()
605
	if attack == false and attacktype == 1 then
606
		attackone()
607
	end
608
end)
609
610
mouse.KeyDown:connect(function(k)
611
	k = k:lower()
612
	if attack == false and k == '' then
613
	
614
	end
615
end)
616
617
while true do
618
	swait()
619
	for i, v in pairs(Character:GetChildren()) do
620
		if v:IsA("Part") then
621
			v.Material = "SmoothPlastic"
622
		elseif v:IsA("Accessory") then
623
			v:WaitForChild("Handle").Material = "SmoothPlastic"
624
		end
625
	end
626
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
627
	velocity = RootPart.Velocity.y
628
	sine = sine + change
629
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
630
	if equipped == true or equipped == false then
631
		if RootPart.Velocity.y > 1 and hit == nil then 
632
			Anim = "Jump"
633
			if attack == false then
634
				PlayAnimationFromTable({
635
					CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
636
					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), 
637
					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), 
638
					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), 
639
					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), 
640
					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), 
641
				}, .3, false)
642
			end
643
		elseif RootPart.Velocity.y < -1 and hit == nil then 
644
			Anim = "Fall"
645
			if attack == false then
646
				PlayAnimationFromTable({
647
					CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
648
					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), 
649
					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), 
650
					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), 
651
					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), 
652
					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), 
653
				}, .3, false)
654
			end
655
		elseif Torsovelocity < 1 and hit ~= nil then
656
			Anim = "Idle"
657
			if attack == false then
658
				change = 1
659
				PlayAnimationFromTable({
660
					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), 
661
					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), 
662
					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), 
663
					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), 
664
					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), 
665
					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), 
666
				}, .3, false)
667
				FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
668
			end
669
		elseif Torsovelocity > 2 and hit ~= nil then
670
			Anim = "Walk"
671
			if attack == false then
672
				change = 3
673
				PlayAnimationFromTable({
674
					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), 
675
					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), 
676
					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), 
677
					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), 
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
					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)),
680
				}, .3, false)
681
				FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
682
			end
683
		end
684
	end
685
	if 0 < #Effects then
686
		for e = 1, #Effects do
687
			if Effects[e] ~= nil then
688
				local Thing = Effects[e]
689
				if Thing ~= nil then
690
					local Part = Thing[1]
691
					local Mode = Thing[2]
692
					local Delay = Thing[3]
693
					local IncX = Thing[4]
694
					local IncY = Thing[5]
695
					local IncZ = Thing[6]
696
					if Thing[2] == "Shoot" then
697
						local Look = Thing[1]
698
						local hit, pos = rayCast(Thing[4], Look, 15, Character)
699
						local mag = (Thing[4] - pos).magnitude
700
						Thing[9] = Thing[9] + 0.5
701
						Thing[5] = Thing[5] + 0.2
702
						Thing[6] = Thing[6] + 0.2
703
						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)
704
						Thing[4] = Thing[4] + Look * 15
705
						Thing[3] = Thing[3] - 1
706
						if hit ~= nil then
707
							Thing[3] = 0
708
							ref = CFuncs["Part"].Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
709
							ref.Anchored = true
710
							ref.CFrame = CFrame.new(pos)
711
							Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
712
							CFuncs["Sound"].Create("rbxassetid://315748949", ref, 1, 1.1)
713
							game:GetService("Debris"):AddItem(ref, 1)
714
						end
715
						if Thing[3] <= 0 then
716
							table.remove(Effects, e)
717
						end
718
					end
719
					do
720
						if Thing[2] == "Shoot2" then
721
							local Look = Thing[1]
722
							local hit, pos = rayCast(Thing[4], Look, 3, Character)
723
							local mag = (Thing[4] - pos).magnitude
724
							Thing[9] = Thing[9] + 0.5
725
							Thing[5] = Thing[5] + 0.2
726
							Thing[6] = Thing[6] + 0.2
727
							Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new((Thing[4] + pos) / 2, pos), 25, 25, 25, -5, -5, -5, 0.2)
728
							Thing[4] = Thing[4] + Look * 3
729
							Thing[3] = Thing[3] + 5
730
							if hit ~= nil then
731
								Thing[3] = 0
732
								ref = CFuncs["Part"].Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
733
								ref.Anchored = true
734
								ref.CFrame = CFrame.new(pos)
735
								Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 25, 25, 25, 5, 5, 5, 0.01)
736
								Effects["Sphere"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 10, 10, 10, 15, 15, 15, 0.01)
737
								Effects["Block"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 10, 10, 10, 15, 15, 15, 0.01, 1)
738
								Effects["Wave"].Create(BrickColor.new("New Yeller"), CFrame.new(pos), 2, 2, 2, 3, 3, 3, 0.01)
739
								CFuncs["Sound"].Create("rbxassetid://203691837", ref, 1, .3)
740
								CFuncs["Sound"].Create("rbxassetid://203691885", ref, 1, .9)
741
								CFuncs["Sound"].Create("rbxassetid://184718741", ref, 1, .9)
742
								local e = Instance.new("Explosion", ref)
743
								e.Position = ref.Position
744
								e.BlastRadius = 400
745
								e.DestroyJointRadiusPercent = 20
746
								e.Visible = false
747
								e.ExplosionType = "CratersAndDebris"
748
								game:GetService("Debris"):AddItem(ref, 10)
749
							end
750
							if Thing[3] <= 0 then
751
								table.remove(Effects, e)
752
							end
753
						end
754
						do
755
							do
756
								if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "Shoot2" then
757
									if Thing[1].Transparency <= 1 then
758
										if Thing[2] == "Block1" then
759
											Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
760
											Mesh = Thing[7]
761
											Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
762
											Thing[1].Transparency = Thing[1].Transparency + Thing[3]
763
										else
764
											if Thing[2] == "Block2" then
765
												Thing[1].CFrame = Thing[1].CFrame
766
												Mesh = Thing[7]
767
												Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
768
												Thing[1].Transparency = Thing[1].Transparency + Thing[3]
769
											else
770
												if Thing[2] == "Block3" then
771
													Thing[8].C0 = CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * Thing[9]
772
													Mesh = Thing[7]
773
													Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
774
													Thing[1].Transparency = Thing[1].Transparency + Thing[3]
775
												else
776
													if Thing[2] == "Cylinder" then
777
														Mesh = Thing[7]
778
														Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
779
														Thing[1].Transparency = Thing[1].Transparency + Thing[3]
780
													else
781
														if Thing[2] == "Cylinder2" then
782
															Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0)
783
															Mesh = Thing[7]
784
															Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
785
															Thing[1].Transparency = Thing[1].Transparency + Thing[3]
786
														else
787
															if Thing[2] == "Blood" then
788
																Mesh = Thing[7]
789
																Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
790
																Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
791
																Thing[1].Transparency = Thing[1].Transparency + Thing[3]
792
															else
793
																if Thing[2] == "Elec" then
794
																	Mesh = Thing[10]
795
																	Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
796
																	Thing[1].Transparency = Thing[1].Transparency + Thing[3]
797
																else
798
																	if Thing[2] == "Disappear" then
799
																		Thing[1].Transparency = Thing[1].Transparency + Thing[3]
800
																	end
801
																end
802
															end
803
														end
804
													end
805
												end
806
											end
807
										end
808
									else
809
										Part.Parent = nil
810
										table.remove(Effects, e)
811
									end
812
								end
813
							end
814
						end
815
					end
816
				end
817
			end
818
		end
819
	end
820
end