View difference between Paste ID: zGH0XPw7 and ekPyXRP8
SHOW: | | - or go back to the newest paste.
1
targettedOn = false
2
function onTouched(hit)
3
hole:Play()
4
hit.CanCollide=false
5
wait(.5)
6
hit.CanCollide = true
7
debounce = true
8
9
end
10
11
	dft = {} 
12
13
function GetPlayers()
14
local c = game.Players:GetChildren() 
15
for i = 1, #c do 
16
table.insert(dft, c[i].Name) 
17
end 
18
end
19
20
function Randomize()
21
GetPlayers()
22
local d = math.random(1, #dft)
23
	s = d 
24
	
25
	
26
	
27
	end
28
---------------------------------------------
29
Player = game.Players.LocalPlayer
30
Character = Player.Character
31
local char = Player.Character
32
torso = Character.Torso
33
neck = Character.Torso.Neck
34
hum = Character.Humanoid
35
hum.MaxHealth = math.huge
36
wait()
37
hum.Health =hum.MaxHealth
38
     -------------------------------
39
     Reaper2 = Instance.new("Model")
40
Reaper2.Parent = Player.Character
41
Reaper2.Name = "Reaper2"
42
rh2 = Instance.new("Part")
43
rh2.Parent = Reaper2
44
rh2.BrickColor = BrickColor.new("Brown")
45
rh2.Locked = true
46
rh2.CanCollide = false
47
mesh2 = Instance.new("SpecialMesh")
48
rh2.formFactor =  "Symmetric"
49
mesh2.MeshType = "FileMesh"
50
mesh2.MeshId = "http://www.roblox.com/asset/?id=167554431"
51
mesh2.Parent = rh2
52
local weld2 = Instance.new("Weld")
53
weld2.Parent = rh2
54
rh2.Transparency = 0
55
weld2.Part0 = rh2
56
weld2.Part1 = Player.Character.Head
57
weld2.C0 = CFrame.new(-0.05, -0.05, -0.1025)*CFrame.Angles(0, 0, 0)
58
59
60
	--------------------------------
61
local l = game.Lighting
62
local sky = Instance.new("Sky",l)
63
l.TimeOfDay = "00:00:00"
64
l.Brightness = 1
65
l.Ambient = Color3.new(0.25, 0.5, 0.75)
66
sky.CelestialBodiesShown = false
67
sky.SkyboxBk = "http://www.roblox.com/asset/?id=1010388"
68
sky.SkyboxDn = "http://www.roblox.com/asset/?id=1010389"
69
sky.SkyboxFt = "http://www.roblox.com/asset/?id=1010386"
70
sky.SkyboxLf = "http://www.roblox.com/asset/?id=1010387"
71
sky.SkyboxRt = "http://www.roblox.com/asset/?id=1010385"
72
sky.SkyboxUp = "http://www.roblox.com/asset/?id=1010390"
73
sky.StarCount = 0
74
sky.Name = "IcySkies"
75
76
playertarg = game.Players.LocalPlayer
77
chara = playertarg.Character
78
Mouse = playertarg:GetMouse()
79
targetted = nil
80
81
New = function(Object, Parent, Name, Data)
82
	local Object = Instance.new(Object)
83
	for Index, Value in pairs(Data or {}) do
84
		Object[Index] = Value
85
	end
86
	Object.Parent = Parent
87
	Object.Name = Name
88
	return Object
89
end
90
91
92
93
crosshair = Instance.new("BillboardGui",chara)
94
crosshair.Size = UDim2.new(10,0,10,0)
95
crosshair.Enabled = false
96
imgl = Instance.new("ImageLabel",crosshair)
97
imgl.Position = UDim2.new(0,0,0,0)
98
imgl.Size = UDim2.new(1,0,1,0)
99-
imgl.Image = "rbxassetid://182932517"
99+
imgl.Image = "rbxassetid://149756906"
100
imgl.BackgroundTransparency = 1
101
imgl.ImageTransparency = .7
102
imgl.ImageColor3 = Color3.new(0,0,0)
103
104
local mask = Instance.new("Part", Character)
105
mask.Name = "Mask"
106
mask.CanCollide = false
107
mask.BrickColor = BrickColor.new("Really black")
108
mask.Transparency = 0
109
mask.Size = Vector3.new(1, 1, 0.4)
110
local Weld = Instance.new("Weld", mask)
111
Weld.Part0 = Character.Head
112
Weld.Part1 = mask
113
Weld.C1 = CFrame.new(0, -0.6, 0, 1, 0, 0, 0, 0, -1, 0, -1, 0)
114
local mesh = Instance.new("SpecialMesh", mask)
115
mesh.TextureId = "http://www.roblox.com/asset/?id=128212042"
116
mesh.MeshId = "http://www.roblox.com/asset/?id=5158270"
117
mesh.Scale = Vector3.new(0.13, 0.13, -0.1)
118
RWF = CFrame.new(-1.5, 0, -0.1) * CFrame.fromEulerAnglesXYZ(0.25,0,0.1)
119
120
CV="Maroon"
121
	Player = game.Players.LocalPlayer
122
	Character = Player.Character
123
	local txt = Instance.new("BillboardGui", Character)
124
	txt.Adornee = Character .Head
125
	txt.Name = "_status"
126
	txt.Size = UDim2.new(2, 0, 1.2, 0)
127
	txt.StudsOffset = Vector3.new(-9, 8, 0)
128
	local text = Instance.new("TextLabel", txt)
129
	text.Size = UDim2.new(10, 0, 7, 0)
130
	text.FontSize = "Size24"
131
	text.TextScaled = true
132
	text.TextTransparency = 0
133
	text.BackgroundTransparency = 1 
134
	text.TextTransparency = 0
135
	text.TextStrokeTransparency = 0
136
	text.Font = "Bodoni"
137
	text.TextStrokeColor3 = Color3.new(255,255,255)
138
139
	v=Instance.new("Part")
140
	v.Name = "ColorBrick"
141
	v.Parent=Player.Character
142
	v.FormFactor="Symmetric"
143
	v.Anchored=true
144
	v.CanCollide=false
145
	v.BottomSurface="Smooth"
146
	v.TopSurface="Smooth"
147
	v.Size=Vector3.new(10,5,3)
148
	v.Transparency=1
149
	v.CFrame=Character.Torso.CFrame
150
	v.BrickColor=BrickColor.new(CV)
151
	v.Transparency=1
152
	text.TextColor3 = Color3.new(0,0,0)
153
	v.Shape="Block"
154-
	text.Text = "SCP-035 The Mask"
154+
	text.Text = "SCP-35 The Mask"
155
	-----------------------------------------
156
157
function LoadSnd(id,loop,vol,pit)
158
local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
159
return snd
160
end
161
162
TargetSnd = LoadSnd(167191994,false,2.2,.8)
163
164
165
function TargetSelect(person)
166
local dd=coroutine.wrap(function()
167
if targetted ~= person then
168
targetted = person
169
170
for i = 0,30,10 do
171
wait(.05)
172
crosshair.Size = UDim2.new(40-i,0,40-i,0)
173
end
174
end
175
end)
176
dd()
177
end
178
179
180
181
function LockOn()
182
if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
183
TargetSelect(Mouse.Target.Parent)
184
TargetSnd:Play()
185
else end
186
end
187
188
189
190
191
192
193
194
195
196
ZomWait = false
197
ZomWait2 = false
198
ZomSyle = false
199
200
201
Target1 =script.Parent.Name
202
Target2 = game.Players[Target1]
203
Target2.Character.archivable = true
204
clone4 = Target2.Character:Clone()
205
			clone4.Parent = game.Lighting			
206
207
208
209
210
211
clone4.Torso["Left Shoulder"].DesiredAngle = -1.5
212
clone4.Torso["Right Shoulder"].DesiredAngle = 1.5
213
214
215
216
217
218
219
220
221
222
Glow1 = Color3.new(.5,0,0)
223
Glow2 = Color3.new(0,0,0)
224
225
GlowParticle = Instance.new("ParticleEmitter",clone4.Torso)
226
GlowParticle.LightEmission = 0
227
GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
228
GlowParticle.Size = NumberSequence.new(2,0)
229
GlowParticle.Texture = "http://www.roblox.com/asset/?id=118641183"
230
GlowParticle.Transparency = NumberSequence.new(.3,.8)
231
GlowParticle.LockedToPart = false
232
GlowParticle.Lifetime = NumberRange.new(.5,.6)
233
GlowParticle.Rate= 100
234
GlowParticle.Speed =NumberRange.new(6)
235
GlowParticle.VelocitySpread = 360
236
237
238
239
for i,v in pairs(clone4:GetChildren()) do
240
241
242
	                  if v:IsA("ShirtGraphic") then
243
                    v:Destroy()
244
					end
245
246
                  if v:IsA("Pants") then
247
                    v:Destroy()
248
                  end
249
                  if v:IsA("Shirt") then
250
                    v:Destroy()
251
                  end
252
                  if v:IsA("Hat") then
253
                    v:Destroy()
254
255
end
256
                  if v:IsA("Accessory") then
257
                    v:Destroy()
258
end
259
260
end
261
262
clone4["Body Colors"]:Destroy()
263-
clone4.Head.face.Texture = "rbxassetid://97880283"
263+
clone4.Head.face.Texture = "rbxassetid://149756906"
264
265
wait()
266
Zombie = clone4:Clone()
267
268
wait()
269
270
clone4:Destroy()
271
272
wait()
273
274
275
Player=game:GetService("Players").LocalPlayer
276
Character=Player.Character 
277
278
279
-------------------------------------------------------
280
281
--------------------------------------------------------
282
283
---------------------------------------------------------
284
285
----------------------------------------------------------
286
local Hood = Instance.new("Part", Character)
287
Hood.Name = "Hood"
288
Hood.CanCollide = false
289
Hood.BrickColor = BrickColor.new("Really black")
290
Hood.Transparency = 0
291
Hood.Material = "Granite"
292
Hood.Size = Vector3.new(0.1, 0.1, 0.1)
293
Hood.TopSurface = Enum.SurfaceType.Smooth
294
Hood.BottomSurface = Enum.SurfaceType.Smooth
295
296
local Weld = Instance.new("Weld", Hood)
297
Weld.Part0 = Character.Head
298
Weld.Part1 = Hood
299
Weld.C1 = CFrame.new(0, -0.2, 0)
300
301
local M2 = Instance.new("SpecialMesh")
302
M2.Parent = Hood
303-
M2.MeshId = "http://www.roblox.com/asset/?id=83499032"
303+
M2.MeshId = "rbxassetid://13520257"
304
M2.Scale = Vector3.new( 1, 1.2, 1.1)
305
------------------------------------------------------
306
307
p = game.Players.LocalPlayer
308
char049 = p.Character
309
310
char049.Shirt:Remove()
311
for i,v in pairs(char049:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
312
wait()shirt = Instance.new("Shirt", char049)
313
shirt.Name = "Shirt"
314
pants = Instance.new("Pants", char049)
315
pants.Name = "Pants"
316
317
char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=648758131"
318
char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=472675863"
319
-------------------------------------------------
320
---- Orbd,Orbvc,Mask,Hood
321
322
--[[NIGHTOWLACE_WEAPONRY]]--
323
maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name
324
secondcolor = "Really black"
325
326
wait(1 / 60)
327
Effects = { }
328
local Player = game.Players.localPlayer
329
local Character = Player.Character
330
local Humanoid = Character.Humanoid
331
local mouse = Player:GetMouse()
332
local LeftArm = Character["Left Arm"]
333
local RightArm = Character["Right Arm"]
334
local LeftLeg = Character["Left Leg"]
335
local RightLeg = Character["Right Leg"]
336
local Head = Character.Head
337
local Torso = Character.Torso
338
local cam = game.Workspace.CurrentCamera
339
local RootPart = Character.HumanoidRootPart
340
local RootJoint = RootPart.RootJoint
341
local equipped = false
342
local attack = false
343
local Anim = 'Idle'
344
local idle = 0
345
local attacktype = 1
346
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
347
local velocity = RootPart.Velocity.y
348
local sine = 0
349
local change = 1
350
local grabbed = false
351
local cn = CFrame.new
352
local mr = math.rad
353
local angles = CFrame.Angles
354
local ud = UDim2.new
355
local c3 = Color3.new
356
357
local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
358
Humanoid.Animator:Destroy()
359
Character.Animate:Destroy()
360
361
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
362
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
363
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
364
365
RSH, LSH = nil, nil 
366
367
RW = Instance.new("Weld") 
368
LW = Instance.new("Weld")
369
370
RH = Torso["Right Hip"]
371
LH = Torso["Left Hip"]
372
373
RSH = Torso["Right Shoulder"] 
374
LSH = Torso["Left Shoulder"] 
375
376
RSH.Parent = nil 
377
LSH.Parent = nil 
378
379
RW.Name = "RW"
380
RW.Part0 = Torso 
381
RW.C0 = cn(1.5, 0.5, 0)
382
RW.C1 = cn(0, 0.5, 0) 
383
RW.Part1 = RightArm
384
RW.Parent = Torso 
385
386
LW.Name = "LW"
387
LW.Part0 = Torso 
388
LW.C0 = cn(-1.5, 0.5, 0)
389
LW.C1 = cn(0, 0.5, 0) 
390
LW.Part1 = LeftArm
391
LW.Parent = Torso 
392
393
function clerp(a, b, t) 
394
	local qa = {
395
		QuaternionFromCFrame(a)
396
	}
397
	local qb = {
398
		QuaternionFromCFrame(b)
399
	} 
400
	local ax, ay, az = a.x, a.y, a.z 
401
	local bx, by, bz = b.x, b.y, b.z
402
	local _t = 1 - t
403
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) 
404
end 
405
 
406
function QuaternionFromCFrame(cf) 
407
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
408
	local trace = m00 + m11 + m22 
409
	if trace > 0 then 
410
		local s = math.sqrt(1 + trace) 
411
		local recip = 0.5 / s 
412
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 
413
	else 
414
		local i = 0 
415
		if m11 > m00 then
416
			i = 1
417
		end
418
		if m22 > (i == 0 and m00 or m11) then 
419
			i = 2 
420
		end 
421
		if i == 0 then 
422
			local s = math.sqrt(m00 - m11 - m22 + 1) 
423
			local recip = 0.5 / s 
424
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip 
425
		elseif i == 1 then 
426
			local s = math.sqrt(m11 - m22 - m00 + 1) 
427
			local recip = 0.5 / s 
428
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip 
429
		elseif i == 2 then 
430
			local s = math.sqrt(m22 - m00 - m11 + 1) 
431
			local recip = 0.5 / s
432
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip 
433
		end 
434
	end 
435
end
436
 
437
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
438
	local xs, ys, zs = x + x, y + y, z + z 
439
	local wx, wy, wz = w * xs, w * ys, w * zs 
440
	local xx = x * xs 
441
	local xy = x * ys 
442
	local xz = x * zs 
443
	local yy = y * ys 
444
	local yz = y * zs 
445
	local zz = z * zs 
446
	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)) 
447
end
448
 
449
function QuaternionSlerp(a, b, t) 
450
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] 
451
	local startInterp, finishInterp; 
452
	if cosTheta >= 0.0001 then 
453
		if (1 - cosTheta) > 0.0001 then 
454
			local theta = math.acos(cosTheta) 
455
			local invSinTheta = 1 / math.sin(theta) 
456
			startInterp = math.sin((1 - t) * theta) * invSinTheta 
457
			finishInterp = math.sin(t * theta) * invSinTheta  
458
		else 
459
			startInterp = 1 - t 
460
			finishInterp = t 
461
		end 
462
	else 
463
		if (1 + cosTheta) > 0.0001 then 
464
			local theta = math.acos(-cosTheta) 
465
			local invSinTheta = 1 / math.sin(theta) 
466
			startInterp = math.sin((t - 1) * theta) * invSinTheta 
467
			finishInterp = math.sin(t * theta) * invSinTheta 
468
		else 
469
			startInterp = t - 1 
470
			finishInterp = t 
471
		end 
472
	end 
473
	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 
474
end
475
476
function swait(num)
477
	if num == 0 or num == nil then
478
		game:service'RunService'.RenderStepped:wait(0)
479
	else
480
		for i = 0, num do
481
			game:service'RunService'.RenderStepped:wait(0)
482
		end
483
	end
484
end
485
486
local RbxUtility = LoadLibrary("RbxUtility")
487
local Create = RbxUtility.Create
488
489
function RemoveOutlines(part)
490
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
491
end
492
	
493
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
494
	local Part = Create("Part"){
495
		formFactor = FormFactor,
496
		Parent = Parent,
497
		Reflectance = Reflectance,
498
		Transparency = Transparency,
499
		CanCollide = false,
500
		Locked = true,
501
		BrickColor = BrickColor.new(tostring(BColor)),
502
		Name = Name,
503
		Size = Size,
504
		Material = Material,
505
	}
506
	RemoveOutlines(Part)
507
	return Part
508
end
509
	
510
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
511
	local Msh = Create(Mesh){
512
		Parent = Part,
513
		Offset = OffSet,
514
		Scale = Scale,
515
	}
516
	if Mesh == "SpecialMesh" then
517
		Msh.MeshType = MeshType
518
		Msh.MeshId = MeshId
519
	end
520
	return Msh
521
end
522
	
523
function CreateWeld(Parent, Part0, Part1, C0, C1)
524
	local Weld = Create("Weld"){
525
		Parent = Parent,
526
		Part0 = Part0,
527
		Part1 = Part1,
528
		C0 = C0,
529
		C1 = C1,
530
	}
531
	return Weld
532
end
533
534
function rayCast(Position, Direction, Range, Ignore)
535
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
536
end 
537
538
function CreateSound(id, par, vol, pit) 
539
	coroutine.resume(coroutine.create(function()
540
		local sou = Instance.new("Sound", par or workspace)
541
		sou.Volume = vol
542
		sou.Pitch = pit or 1
543
		sou.SoundId = id
544
		wait() 
545
		sou:play() 
546
		game:GetService("Debris"):AddItem(sou, 6)
547
	end))
548
end
549
550
local function getclosest(obj, distance)
551
	local last, lastx = distance + 1
552
	for i, v in pairs(workspace:GetChildren()) do
553
		if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
554
			local t = v.Torso
555
			local dist = (t.Position - obj.Position).magnitude
556
			if dist <= distance then
557
				if dist < last then
558
					last = dist
559
					lastx = v
560
				end
561
			end
562
		end
563
	end
564
	return lastx
565
end
566
567
function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
568
	for i, v in pairs(hit:GetChildren()) do 
569
		if v:IsA("Humanoid") and hit.Name ~= Character.Name then
570
			local find = v:FindFirstChild("Hitz")
571
			if not find then
572
				if v.Parent:findFirstChild("Head") then
573
					local BillG = Create("BillboardGui"){
574
						Parent = v.Parent.Head,
575
						Size = UDim2.new(1, 0, 1, 0),
576
						Adornee = v.Parent.Head,
577
						StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
578
					}
579
					local TL = Create("TextLabel"){
580
						Parent = BillG,
581
						Size = UDim2.new(3, 3, 3, 3),
582
						BackgroundTransparency = 1,
583
						Text = tostring(damage).."-",
584
						TextColor3 = Color1.Color,
585
						TextStrokeColor3 = Color2.Color,
586
						TextStrokeTransparency = 0,
587
						TextXAlignment = Enum.TextXAlignment.Center,
588
						TextYAlignment = Enum.TextYAlignment.Center,
589
						FontSize = Enum.FontSize.Size36,
590
						Font = "Garamondd",
591
					}
592
					coroutine.resume(coroutine.create(function()
593
						wait(1)
594
						for i = 0, 1, .1 do
595
							wait(.1)
596
							BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
597
						end
598
						BillG:Destroy()
599
					end))
600
				end
601
				v.Health = v.Health - damage
602
				local bool = Create("BoolValue"){
603
					Parent = v,
604
					Name = 'Hitz',
605
				}
606
				if HSound ~= nil and HPitch ~= nil then
607
					CreateSound(HSound, hit, 1, HPitch) 
608
				end
609
				game:GetService("Debris"):AddItem(bool, cooldown)
610
			end
611
		end
612
	end
613
end
614
615
616
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
617
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
618
	prt.Anchored = true
619
	prt.CFrame = cframe
620
	local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
621
	game:GetService("Debris"):AddItem(prt, 10)
622
	if Type == 1 or Type == nil then
623
		table.insert(Effects, {
624
			prt,
625
			"Block1",
626
			delay,
627
			x3,
628
			y3,
629
			z3,
630
			msh
631
		})
632
	elseif Type == 2 then
633
		table.insert(Effects, {
634
			prt,
635
			"Block2",
636
			delay,
637
			x3,
638
			y3,
639
			z3,
640
			msh
641
		})
642
	end
643
end
644
645
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
646
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
647
	prt.Anchored = true
648
	prt.CFrame = cframe
649
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
650
	game:GetService("Debris"):AddItem(prt, 10)
651
	table.insert(Effects, {
652
		prt,
653
		"Cylinder",
654
		delay,
655
		x3,
656
		y3,
657
		z3,
658
		msh
659
	})
660
end
661
662
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
663
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
664
	prt.Anchored = true
665
	prt.CFrame = cframe * CFrame.new(x1, y1, z1)
666
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
667
	game:GetService("Debris"):AddItem(prt, 10)
668
	table.insert(Effects, {
669
		prt,
670
		"Cylinder",
671
		delay,
672
		x3,
673
		y3,
674
		z3,
675
		msh
676
	})
677
end
678
679
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
680
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
681
	prt.Anchored = true
682
	prt.CFrame = cframe
683
	local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
684
	game:GetService("Debris"):AddItem(prt, 10)
685
	table.insert(Effects, {
686
		prt,
687
		"Cylinder",
688
		delay,
689
		x3,
690
		y3,
691
		z3,
692
		msh
693
	})
694
end
695
696
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
697
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
698
	prt.Anchored = true
699
	prt.CFrame = cframe
700
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
701
	game:GetService("Debris"):AddItem(prt, 10)
702
	table.insert(Effects, {
703
		prt,
704
		"Cylinder",
705
		delay,
706
		x3,
707
		y3,
708
		z3,
709
		msh
710
	})
711
end
712
713
function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
714
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
715
	prt.Anchored = true
716
	prt.CFrame = cframe
717
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
718
	game:GetService("Debris"):AddItem(prt, 10)
719
	table.insert(Effects, {
720
		prt,
721
		"Cylinder",
722
		delay,
723
		x3,
724
		y3,
725
		z3,
726
		msh
727
	})
728
end
729
730
function BreakEffect(brickcolor, cframe, x1, y1, z1)
731
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
732
	prt.Anchored = true
733
	prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
734
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
735
	local num = math.random(10, 50) / 1000
736
	game:GetService("Debris"):AddItem(prt, 10)
737
	table.insert(Effects, {
738
		prt,
739
		"Shatter",
740
		num,
741
		prt.CFrame,
742
		math.random() - math.random(),
743
		0,
744
		math.random(50, 100) / 100
745
	})
746
end
747
748
749
	
750
751
	for i = 0, 1, 0.05 do
752
		swait()
753
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
754
		Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
755
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
756
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
757
		if Torsovelocity > 2 then
758
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2)
759
		RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
760
		LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
761
		elseif Torsovelocity < 1 then
762
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
763
		RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
764
		LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
765
		end
766
	end
767
	attack = false
768
769
770
771
game:GetService'RunService'.Stepped:connect(function()
772
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
773
	velocity = RootPart.Velocity.y
774
	sine = sine + change
775
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
776
	if equipped == true or equipped == false then
777
		if RootPart.Velocity.y > 1 and hit == nil then 
778
			Anim = "Jump"
779
			if attack == false then
780
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
781
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
782
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1)
783
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
784
					RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
785
					LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
786
			end
787
		elseif RootPart.Velocity.y < -1 and hit == nil then 
788
			Anim = "Fall"
789
			if attack == false then
790
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
791
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
792
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
793
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
794
					RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
795
					LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
796
			end
797
		elseif Torsovelocity < 1 and hit ~= nil then
798
			Anim = "Idle"
799
			if attack == false then
800
				change = 1
801
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
802
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
803
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
804
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.1)
805
					RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
806
					LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
807
			end
808
		elseif Torsovelocity > 2 and hit ~= nil then
809
			Anim = "Walk"
810
			if attack == false then
811
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 5))), .2)
812
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
813
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(4)), .2)
814
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2)
815
					RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), .3)
816
					LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), .3)
817
			end
818
		end
819
	end
820
	if #Effects > 0 then
821
		for e = 1, #Effects do
822
			if Effects[e] ~= nil then
823
				local Thing = Effects[e]
824
				if Thing ~= nil then
825
					local Part = Thing[1]
826
					local Mode = Thing[2]
827
					local Delay = Thing[3]
828
					local IncX = Thing[4]
829
					local IncY = Thing[5]
830
					local IncZ = Thing[6]
831
					if Thing[1].Transparency <= 1 then
832
						if Thing[2] == "Block1" then
833
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
834
							local Mesh = Thing[1].Mesh
835
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
836
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
837
						elseif Thing[2] == "Block2" then
838
							Thing[1].CFrame = Thing[1].CFrame
839
							local Mesh = Thing[7]
840
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
841
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
842
						elseif Thing[2] == "Cylinder" then
843
							local Mesh = Thing[1].Mesh
844
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
845
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
846
						elseif Thing[2] == "Blood" then
847
							local Mesh = Thing[7]
848
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
849
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
850
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
851
						elseif Thing[2] == "Elec" then
852
							local Mesh = Thing[1].Mesh
853
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
854
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
855
						elseif Thing[2] == "Disappear" then
856
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
857
						elseif Thing[2] == "Shatter" then
858
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
859
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
860
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
861
							Thing[6] = Thing[6] + Thing[5]
862
						end
863
					else
864
						Part.Parent = nil
865
						table.remove(Effects, e)
866
					end
867
				end
868
			end
869
		end
870
	end
871
end)
872
873
874
local lp = game.Players.LocalPlayer
875
local chr = lp.Character
876
local mouseV2 = lp:GetMouse()
877
local euler = CFrame.fromEulerAnglesXYZ
878
local rad = math.rad
879
local trso = chr.Torso
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
hum = chr.Humanoid
906
907
908
909
function CreateMesh(parent, id, x, y, z, texture)
910
local m=Instance.new("SpecialMesh", parent)
911
m.MeshType = "FileMesh"
912
m.MeshId="http://www.roblox.com/asset/?id="..id
913
if texture ~= nil then
914
m.TextureId="http://www.roblox.com/asset/?id="..texture
915
end
916
m.Scale = Vector3.new(x,y,z)
917
end
918
919
920
921
Hat=function()
922
hat = Instance.new("Part", chr)
923
hat.Transparency = 1
924
hat.Name = "Top hat"
925
hat.Locked = true
926
hat.BrickColor = BrickColor.new("Really black")
927
hat.CanCollide=true
928
hat.Size=Vector3.new(1,1,1)
929
hatw = Instance.new("Weld",hat)
930
hatw.Part0=hat
931
hatw.Part1=chr['Head']
932
hatw.C0=CFrame.new(0,-1.7,0)
933
hatw.C1=euler(rad(0),rad(0),rad(0))
934
end
935
936
Hat()
937
938
939
940
function Name(msg)
941
        if hat.Parent then
942
        pcall(function()
943
        local Gui = Instance.new('BillboardGui', hat)
944
        Gui.ExtentsOffset = Vector3.new(0,1.5,0)
945
        Gui.Size = UDim2.new(0,200,0,300)
946
        local Frame = Instance.new('Frame',Gui)
947
        Frame.BackgroundTransparency = 1
948
        Frame.Size = UDim2.new(1,0,1,0)
949
        local Txt = Instance.new('TextLabel',Frame)
950
        Txt.BackgroundTransparency = 1
951
        Txt.Size = UDim2.new(1,0,1,0)
952
        Txt.Font = 'ArialBold'
953
        Txt.FontSize = 'Size24'
954
        Txt.Text = msg
955
        Txt.TextColor3 = BrickColor.new("Really black").Color
956
        Txt.TextStrokeColor3 = Color3.new(1,0,0)
957
        Txt.TextStrokeTransparency = 0
958
        Txt.TextWrapped = true
959
        Txt.TextScaled = false
960
        end)
961
        else
962
        end
963
end
964
965
function Chat(msg) -- Credit to jillmiles1, kthxbye
966
        if hat.Parent then
967
        pcall(function()
968
		if hat:FindFirstChild("Fazbear Chat Gui") then
969
		hat['Fazbear Chat Gui']:destroy()
970
		end
971
        local Gui = Instance.new('BillboardGui', hat)
972
		Gui.Name = "Fazbear Chat Gui"
973
        Gui.ExtentsOffset = Vector3.new(0,3,0)
974
        Gui.Size = UDim2.new(0,200,0,300)
975
        local Frame = Instance.new('Frame',Gui)
976
        Frame.BackgroundTransparency = 1
977
        Frame.Size = UDim2.new(1,0,1,0)
978
        local Txt = Instance.new('TextLabel',Frame)
979
        Txt.BackgroundTransparency = 1
980
        Txt.Size = UDim2.new(1,0,1,0)
981
        Txt.Font = 'ArialBold'
982
		Txt.Name = "ChatGui"
983
        Txt.FontSize = 'Size24'
984
        Txt.Text = ''
985
        Txt.TextColor3 = BrickColor.new("Really black").Color
986
        Txt.TextStrokeColor3 = Color3.new(1,1,1)
987
        Txt.TextStrokeTransparency = .5
988
        Txt.TextWrapped = true
989
        Txt.TextScaled = false
990
991
        delay(wait(),function()
992
                for v = 1, #msg do
993
                        Txt.Text=string.sub(msg,1,v)
994
           Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
995
wait(.009)
996
        Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
997
 wait(.009)
998
  Gui.ExtentsOffset = Vector3.new(0,3,0)   
999
                end;
1000
                
1001
          
1002
1003
           Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
1004
wait(.03)
1005
        Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
1006
 wait(.03)
1007
  Gui.ExtentsOffset = Vector3.new(0,3,0)  
1008
wait(.03)
1009
           Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
1010
wait(.03)
1011
        Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
1012
 wait(.03)
1013
  Gui.ExtentsOffset = Vector3.new(0,3,0)  
1014
wait(.03)
1015
           Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
1016
wait(.03)
1017
        Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
1018
 wait(.03)
1019
  Gui.ExtentsOffset = Vector3.new(0,3,0)  
1020
wait(.03)
1021
           Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
1022
wait(.03)
1023
        Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
1024
 wait(.03)
1025
  Gui.ExtentsOffset = Vector3.new(0,3,0)  
1026
wait(.03)
1027
           Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
1028
wait(.03)
1029
        Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
1030
 wait(.03)
1031
  Gui.ExtentsOffset = Vector3.new(0,3,0)  
1032
wait(.03)
1033
           Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
1034
wait(.03)
1035
        Gui.ExtentsOffset = Vector3.new(0,3,-0.1)                    
1036
 wait(.03)
1037
  Gui.ExtentsOffset = Vector3.new(0,3,0)  
1038
wait(.03)
1039
1040
 Txt.TextStrokeTransparency = .6
1041
wait()
1042
 Txt.TextStrokeTransparency = .7
1043
wait()
1044
 Txt.TextStrokeTransparency = .8
1045
wait()
1046
 Txt.TextStrokeTransparency = .9
1047
wait()
1048
 Txt.TextStrokeTransparency = 1
1049
wait()
1050
1051
      for v = 1, #Txt.Text do
1052
                        Txt.Text=string.sub(msg,-1,v)
1053
1054
1055
             
1056
1057
1058
1059
1060
   end;
1061
                Gui:remove()
1062
        end)
1063
        end)
1064
        else
1065
        end
1066
end
1067
1068
1069
1070
1071
function PlaySound(id, pitch, looped)
1072
        epicsound = Instance.new("Sound")
1073
        epicsound.Name = "FazbearSound"
1074
  epicsound.SoundId = "rbxassetid://"..id
1075
     epicsound.Volume = 2
1076
     epicsound.Pitch = pitch
1077
	 if looped == nil then
1078
	 looped = true
1079
	 else
1080
	 looped = looped
1081
	 end
1082
	 wait()
1083
  epicsound.Looped = looped
1084
  epicsound.Parent = workspace
1085
  if epicsound.SoundId=="rbxassetid://tt" then -- TELL ME, TELL ME, WHERE DA FREAKS AT!
1086
      epicsound.SoundId="rbxassetid://181158033"
1087
  elseif epicsound.SoundId=="rbxassetid://fabulous" then -- FA-FA-FABULOUS!
1088
      epicsound.SoundId="rbxassetid://191819419"
1089
     elseif epicsound.SoundId=="rbxassetid://ufdb" then -- ultimate final death battle(fairy tail XD)
1090
         epicsound.SoundId="rbxassetid://153085393"
1091
        elseif epicsound.SoundId=="rbxassetid://nnm" then
1092
           epicsound.SoundId="rbxassetid://210189234" 
1093
       elseif epicsound.SoundId=="rbxassetid://tun" then -- tunak tunak tun
1094
           epicsound.SoundId="rbxassetid://162682002"
1095
       elseif epicsound.SoundId=="rbxassetid://zelda" then
1096
           epicsound.SoundId="rbxassetid://158215156"
1097
       elseif epicsound.SoundId=="rbxassetid://cc" then
1098
           epicsound.SoundId="rbxassetid://177080835"
1099
     end
1100
  es=epicsound:clone()
1101
  es:Stop()
1102
  es.Parent = chr
1103
  wait()
1104
  es:Play()
1105
end
1106
1107
1108
1109
 
1110
lp.Chatted:connect(function(msg)
1111
        Chat(msg)
1112
end)
1113
1114
goldie=true
1115
1116
1117
function StopMusic()
1118
	if chr:FindFirstChild("FazbearSound") then
1119
		if chr.FazbearSound.ClassName == "Sound" then
1120
			chr.FazbearSound:Stop()
1121
			wait()
1122
			chr.FazbearSound:Destroy()
1123
		end
1124
	end
1125
end
1126
1127
Name("")
1128
1129
1130
mouseV2.KeyDown:connect(function(key)
1131
if key == "g" then
1132
if goldie==false then
1133
goldie=true
1134
1135
elseif goldie==true then
1136
goldie=false
1137
1138
end
1139
elseif key == "j" then -- Plays a song
1140
StopMusic()
1141
PlaySound(150456585, 1.1, true)
1142
elseif key == "k" then -- Plays a song
1143
StopMusic()
1144
PlaySound(172117148, 1, true)
1145
Chat("Ebola...")
1146
elseif key == "p" then -- Stops any sound(s) playing from your torso
1147
StopMusic()
1148
Chat("All sounds stopped!")
1149
end
1150
end)
1151
1152
1153
1154
hum.Died:connect(function()
1155
	es.Pitch = 10
1156
	wait()
1157
	es:Pause()
1158
	es:Stop()
1159
	es.Name = "Ded"
1160
	wait()
1161
	es:Destroy()
1162
end)
1163
1164
1165
1166
1167
1168
1169
p = (game.Players.LocalPlayer.Name)
1170
char = game.Players.LocalPlayer.Character
1171
1172
1173
local player = game.Players.LocalPlayer
1174
repeat wait() until player.Character.Humanoid
1175
local humanoid = player.Character.Humanoid
1176
local mouse = player:GetMouse()
1177
1178
for i,v in pairs(char:GetChildren()) do
1179
   if v.ClassName == 'Accessory' then
1180
       v:Destroy()
1181
   end
1182
end
1183
1184
ScarySound1 = Instance.new("Sound")
1185
ScarySound1.Parent = char.Torso
1186
ScarySound1.SoundId = "rbxassetid://161964276"
1187
ScarySound1.Volume = .5
1188
1189
ScarySound2 = Instance.new("Sound")
1190
ScarySound2.Parent = char.Torso
1191
ScarySound2.SoundId = "rbxassetid://669623416"
1192
ScarySound2.Volume = 2
1193
ScarySound2.Looped = true
1194
1195
ScarySound3 = Instance.new("Sound")
1196
ScarySound3.Parent = char.Torso
1197
ScarySound3.SoundId = "rbxassetid://483810543"
1198
ScarySound3.Volume = 0.3
1199
ScarySound3.Looped = true
1200
1201
ScarySound4 = Instance.new("Sound")
1202
ScarySound4.Parent = char.Torso
1203
ScarySound4.SoundId = "rbxassetid://177113856"
1204
ScarySound4.Volume = 2
1205
ScarySound4.Looped = false
1206
1207
Punch = Instance.new("Sound")
1208
Punch.Parent = char.Torso
1209
Punch.SoundId = "rbxassetid://146938349"
1210
Punch.Volume = 1.5
1211
Punch.Looped = false
1212
Punch.Pitch = 0.8
1213
1214
hole = Instance.new("Sound")
1215
hole.Parent = char.Torso
1216
hole.SoundId = "rbxassetid://224339308"
1217
hole.Volume = .3
1218
1219
1220
game.Players.LocalPlayer.Character.Sound:Destroy()
1221
1222
function Normal()
1223
	ScarySound3:Play()
1224
	char.Humanoid.WalkSpeed = 18
1225
char.Head.face.Texture = "rbxassetid://0"
1226
char["Left Leg"].Transparency = 0
1227
char["Head"].Transparency = 0
1228
char["Right Leg"].Transparency = 0
1229
char["Torso"].Transparency = 0
1230
char["Left Arm"].Transparency = 0
1231
char["Right Arm"].Transparency = 0
1232
end
1233
1234
function GoInvisible()
1235
	ScarySound3:Stop()
1236
ScarySound1:Stop()
1237
	char.Humanoid.WalkSpeed = 120
1238
	char.Head.face.Transparency = 1
1239
char["Left Leg"].Transparency = 0.5
1240
char["Head"].Transparency = 0.5
1241
char["Right Leg"].Transparency = 0.5
1242
char["Torso"].Transparency = 0.5
1243
char["Left Arm"].Transparency = 0.5
1244
char["Right Arm"].Transparency = 0.5
1245
Hood.Transparency = 0.5
1246
Mask.Transparency = 0.5
1247
Orbvc.Transparency = 0.5
1248
Orbd.Transparency = 0.5
1249
Orbvc.BrickColor = BrickColor.new("Really red")
1250
Orbd.BrickColor = BrickColor.new("Really red")
1251
wait(0.001)
1252
char["Left Leg"].Transparency = 0.6
1253
char["Head"].Transparency = 0.6
1254
char["Right Leg"].Transparency = 0.6
1255
char["Torso"].Transparency = 0.6
1256
char["Left Arm"].Transparency = 0.6
1257
char["Right Arm"].Transparency = 0.6
1258
Hood.Transparency = 0.6
1259
Mask.Transparency = 0.6
1260
Orbvc.Transparency = 0.6
1261
Orbd.Transparency = 0.6
1262
wait(0.001)
1263
char["Left Leg"].Transparency = 0.7
1264
char["Head"].Transparency = 0.7
1265
char["Right Leg"].Transparency = 0.7
1266
char["Torso"].Transparency = 0.7
1267
char["Left Arm"].Transparency = 0.7
1268
char["Right Arm"].Transparency = 0.7
1269
Hood.Transparency = 0.7
1270
Mask.Transparency = 0.7
1271
Orbvc.Transparency = 0.7
1272
Orbd.Transparency = 0.7
1273
wait(0.001)
1274
char["Left Leg"].Transparency = 1
1275
char["Head"].Transparency = 1
1276
char["Right Leg"].Transparency = 1
1277
char["Torso"].Transparency = 1
1278
char["Left Arm"].Transparency = 1
1279
char["Right Arm"].Transparency = 1
1280
Hood.Transparency = 1
1281
Mask.Transparency = 1
1282
Orbvc.Transparency = 1
1283
Orbd.Transparency = 1
1284
end
1285
1286
function GoVisible()
1287
	ScarySound3:Play()
1288
	char.Humanoid.WalkSpeed = 16
1289
	ScarySound1:Play()
1290
	char.Head.face.Transparency = 0
1291
Orbvc.BrickColor = BrickColor.new("Really black")
1292
Orbd.BrickColor = BrickColor.new("Really black")
1293
	char["Left Leg"].Transparency = 0.9
1294
char["Head"].Transparency = 0.9
1295
char["Right Leg"].Transparency = 9
1296
char["Torso"].Transparency = 0.9
1297
char["Left Arm"].Transparency = 0.9
1298
char["Right Arm"].Transparency = 0.9
1299
Hood.Transparency = 0.9
1300
Mask.Transparency = 0.9
1301
Orbvc.Transparency = 0.9
1302
Orbd.Transparency = 0.9
1303
wait(0.001)
1304
char["Left Leg"].Transparency = 0.7
1305
char["Head"].Transparency = 0.7
1306
char["Right Leg"].Transparency = 0.7
1307
char["Torso"].Transparency = 0.7
1308
char["Left Arm"].Transparency = 0.7
1309
char["Right Arm"].Transparency = 0.7
1310
Hood.Transparency = 0.7
1311
Mask.Transparency = 0.7
1312
Orbvc.Transparency = 0.7
1313
Orbd.Transparency = 0.7
1314
wait(0.001)
1315
char["Left Leg"].Transparency = 0
1316
char["Head"].Transparency = 0
1317
char["Right Leg"].Transparency = 0
1318
char["Torso"].Transparency = 0
1319
char["Left Arm"].Transparency = 0
1320
char["Right Arm"].Transparency = 0
1321
Hood.Transparency = 0
1322
Mask.Transparency = 0
1323
Orbvc.Transparency = 0
1324
Orbd.Transparency = 0
1325
end
1326
1327
1328
1329
Normal()
1330
1331
Music1 = New("Sound",chara,"Music",{SoundId = "rbxassetid://293341992",Volume = 2,Looped = true})
1332
Music1.Pitch = 1
1333
musicon = false
1334
mouse.KeyDown:connect(function(key)
1335
	if key == "z" then
1336
		if char.Head.Transparency == 0 then
1337
		GoInvisible()
1338
		
1339
		elseif char.Head.Transparency == 1 then
1340
		GoVisible()
1341
		Chat("...")
1342
	end
1343
end end)
1344
1345
mouse.KeyDown:connect(function(key)
1346
	if key == "x" then
1347
		if ScarySound2.IsPlaying == false then
1348
			ScarySound2:Play()
1349
		elseif ScarySound2.IsPlaying == true then
1350
			ScarySound2:Stop()
1351
			
1352
			
1353
	end
1354
end end)
1355
1356
mouse.KeyDown:connect(function(key)
1357
	if key == "r" then
1358
		if ScarySound4.IsPlaying == false then
1359
			ScarySound4:Play()
1360
Chat("Hello...")
1361
wait(1.5)		
1362
Chat("greetings...")	
1363
wait(2)
1364
Chat("o my...")
1365
wait(1.5)
1366
Chat("he have another victim of the disease")
1367
wait(3)		
1368
Chat("you are not a doctor...")	
1369
wait(2)
1370
Chat("i sense the the disease in you")
1371
wait(2.3)
1372
Chat("i am the cure...")
1373
wait(2)		
1374
Chat("do not be afraid")	
1375
wait(2)
1376
Chat("i am the cure")
1377
wait(2)
1378
Chat("stop resisting...")	
1379
wait(1.8)		
1380
Chat("i am here to cure you...")	
1381
1382
1383
	
1384
		
1385
	end
1386
end end)
1387
mouse.KeyDown:connect(function(key)
1388
	if key == "u" then
1389
   for _, z in pairs(workspace:GetChildren()) do
1390
      
1391
        if z.Name == "Zombie" then
1392
Chat("Clean...")
1393
z:Destroy()
1394
1395
	end
1396
end
1397
	end
1398
end)
1399
1400
1401
mouse.KeyDown:connect(function(key)
1402
    if key == "m" then
1403
if musicon == true then  
1404
Music1:Stop()
1405
musicon = false
1406
Chat("Auto Target: Deactivated")
1407
else
1408
Chat("Auto Target: Activated")
1409
Music1:Play()
1410
musicon = true	
1411
	
1412
    end
1413
end
1414
end) 
1415
1416
Virus = true
1417
1418
1419
mouse.KeyDown:connect(function(key)
1420
    if key == "v" then
1421
if Virus == true then  
1422
Chat("Infection: Deactivated")
1423
Virus = false
1424
1425
else
1426
1427
Virus = true	
1428
Chat("Infection: Activated")	
1429
    end
1430
end
1431
end) 
1432
1433
1434
1435
mouse.KeyDown:connect(function(key)
1436
	if key == "h" then
1437
   for _, z in pairs(workspace:GetChildren()) do
1438
      
1439
        if z.Name == "Zombie" then
1440
1441
1442
1443
end
1444
end
1445
	end
1446
end)
1447
1448
1449
1450
1451
mouse.KeyDown:connect(function(key)
1452
	if key == "f" then
1453
if targetted == nil then
1454
targetted = char
1455
else
1456
1457
targetted = nil
1458
end
1459
1460
1461
	end
1462
end)
1463
1464
1465
1466
1467
1468
function SpawnZombie()
1469
	
1470
1471
if ZomWait == false and ZomWait2 == false then
1472
Zombie.Parent = game.Lighting
1473
Zombie2 = Zombie:Clone()
1474
Zombie3 = Zombie:Clone()
1475
1476
Zombie:Destroy()
1477
----------------------------
1478
ZomWait2 = true
1479
wait()
1480
ZomWait = true
1481
end
1482
1483
1484
1485
if ZomWait == true and ZomWait2 == false then
1486
Zombie3.Parent = game.Lighting
1487
Zombie2 = Zombie3:Clone()
1488
Zombie = Zombie3:Clone()
1489
1490
Zombie3:Destroy()
1491
----------------------------
1492
ZomWait2 = true
1493
wait()
1494
ZomWait = false
1495
end
1496
Zombie2.Parent = game.Workspace
1497
1498
end
1499
1500
1501
1502
1503
function ResetZombie()
1504
wait(4)
1505
ZomSyle = false
1506
ZomWait2 = false
1507
1508
end
1509
waitV2 = false
1510
function onTouch(part)
1511
1512
local humanoid = part.Parent:findFirstChild("Humanoid")
1513
local model = part.Parent
1514
local torso = part.Parent:FindFirstChild("Torso")
1515
local head = part.Parent:findFirstChild("Head")
1516
local leftleg = part.Parent:findFirstChild("Left Leg")
1517
local rightleg = part.Parent:findFirstChild("Right Leg")
1518
local leftarm = part.Parent:findFirstChild("Left Arm")
1519
local rightarm = part.Parent:findFirstChild("Right Arm")
1520
	if model.Name == 'Zombie' == false and model.Name == ''..p == false and Virus == true and waitV2 == false then
1521
	waitV2 = true
1522
	wait(.2)	
1523
waitV2 = false
1524
1525
	
1526
	
1527
1528
if (humanoid ~=nil) then
1529
1530
--humanoid.Health = 0
1531
1532
	
1533
 ---------------------------R15-------------------------------------------------
1534
if part.Parent:FindFirstChild("Torso") == nil and model.Humanoid.Health == 0 == false then
1535
local torso2 = part.Parent:FindFirstChild("UpperTorso")
1536
torso2:Destroy()
1537
end
1538
-------------------------------------------------------------------------------     
1539
1540
1541
1542
humanoid.Sit = true
1543
wait(0.5)
1544
torso.Anchored = true
1545
wait(.3)
1546
zomchar = humanoid.Parent
1547
e=Instance.new('Part', model)
1548
e.Size = Vector3.new(2.25,2.25,2.25)
1549
e.Transparency = 1
1550
e.Anchored = true
1551
e.CFrame = CFrame.new(torso.Position)
1552
1553
1554
1555
wait(1)
1556
torso:Destroy()
1557
q=Instance.new('ParticleEmitter', e)
1558
q.Size = NumberSequence.new(2,.0)
1559
q.Rate = 500
1560
q.Transparency = NumberSequence.new(0,1)
1561
q.Speed = NumberRange.new(7)
1562
q.VelocitySpread = 100
1563
q.Lifetime = NumberRange.new(0.1,1)
1564
q.Texture = 'rbxassetid://164417280'
1565
wait(.1)
1566
torso.Anchored = true
1567
rightleg.Anchored = true
1568
leftleg.Anchored = true
1569
rightarm.Anchored = true
1570
leftarm.Anchored = true
1571
ded = Instance.new("Sound")
1572
ded.Parent = e
1573
ded.SoundId = "rbxassetid://130976109"
1574
ded.Volume = 3
1575
ded.Looped = false
1576
wait()
1577
	
1578
ded:Play()
1579
1580
wait(1)
1581
leftleg.Transparency = 0.5
1582
head.Transparency = 0.5
1583
rightleg.Transparency = 0.5
1584
torso.Transparency = 0.5
1585
leftarm.Transparency = 0.5
1586
rightarm.Transparency = 0.5
1587
1588
1589
wait(0.001)
1590
leftleg.Transparency = 0.6
1591
head.Transparency = 0.6
1592
rightleg.Transparency = 0.6
1593
torso.Transparency = 0.6
1594
leftarm.Transparency = 0.6
1595
rightarm.Transparency = 0.6
1596
1597
wait(0.001)
1598
leftleg.Transparency = 0.7
1599
head.Transparency = 0.7
1600
rightleg.Transparency = 0.7
1601
torso.Transparency = 0.7
1602
leftarm.Transparency = 0.7
1603
rightarm.Transparency = 0.7
1604
1605
                  
1606
                    
1607
                   
1608
1609
1610
wait(0.001)
1611
leftleg.Transparency = 1
1612
head.Transparency = 1
1613
rightleg.Transparency = 1
1614
torso.Transparency = 1
1615
leftarm.Transparency = 1
1616
rightarm.Transparency = 1
1617
wait()
1618
1619
SpawnZombie()
1620
Zombie2.Torso.Touched:connect(onTouch)
1621
Zombie2.Name = 'Zombie'
1622
 function AutoJump()
1623
Zombie2.Humanoid.Jump = true
1624
end
1625
Zombie2.Torso.Touched:connect(AutoJump)
1626
wait()
1627
Zombie2:MoveTo(zomchar.Head.Position + Vector3.new(math.random(0,1),0,math.random(0,1)))
1628
----------------------
1629
1630
	if ZomSyle == false then
1631
		ZomSyle = true
1632
	
1633
1634
1635
	
1636
1637
1638
1639
1640
Zombie2.archivable = false
1641
1642
1643
skin = zomchar["Body Colors"]:Clone()
1644
skin.Parent = Zombie2
1645
wait()
1646
1647
1648
Character= Zombie2
1649
plr = Zombie2
1650
Headmaker = Character.Head
1651
Headcol1 = Headmaker.BrickColor
1652
Headmat = Headmaker.Material
1653
Headsize = Headmaker.Size
1654
Headsize2 = Headmaker.Mesh.Scale
1655
 hed = Character.Head
1656
hed.Transparency = 1
1657
1658
local Headnr1 = Instance.new("Model",Character.Head)
1659
Headnr1.Name = "Lmao"
1660
local Headnr2 = Instance.new("Model",Headnr1)
1661
Headnr2.Name = ""..zomchar.Name
1662
1663
1664
----------------------------------------------------------
1665
1666
----------------------------------------------------------
1667
local Name2 = Instance.new("Humanoid",Headnr2)
1668
1669
wait()
1670
1671
for i,v in pairs(zomchar:GetChildren()) do
1672
                  if v:IsA("CharacterMesh") then
1673
                    v:clone().Parent = Zombie2
1674
                  end 
1675
	
1676
	                  if v:IsA("ShirtGraphic") then
1677
                    v:clone().Parent = Zombie2
1678
					end
1679
1680
                  if v:IsA("Pants") then
1681
                    v:clone().Parent = Zombie2
1682
                  end
1683
                  if v:IsA("Shirt") then
1684
                    v:clone().Parent = Zombie2
1685
1686
end 
1687
1688
1689
                  if v:IsA("Accessory") then
1690
                    v:clone().Parent = Zombie2
1691
end
1692
1693
                  if v:IsA("Hat") then
1694
                    v:clone().Parent = Zombie2
1695
end
1696
1697
end
1698
1699
	
1700
	
1701
	end
1702
	
1703
		
1704
1705
1706
1707
1708
1709
----------------------
1710
wait()
1711
leftleg:Destroy()
1712
head:Destroy()
1713
rightleg:Destroy()
1714
leftarm:Destroy()
1715
rightarm:Destroy()
1716
ResetZombie()
1717
end
1718
end
1719
end
1720
1721
1722
1723
char.Torso.Touched:connect(onTouch)
1724
1725
mouse.KeyDown:connect(function(key)
1726
	if key == "c" then
1727
		
1728
LockOn()
1729
			
1730
			
1731
			
1732
			
1733
			
1734
	end
1735
end)
1736
1737
1738
debounce = false
1739
1740
function onTouched(hit)
1741
hole:Play()
1742
hit.CanCollide=false
1743
wait(.5)
1744
hit.CanCollide = true
1745
debounce = true
1746
1747
end
1748
game.Players.LocalPlayer.Character.Torso.Touched:connect(onTouched)
1749
1750
1751
1752
game:GetService("RunService"):BindToRenderStep("ew", 0, function()
1753
1754
1755
if targetted == nil	and musicon == true then
1756
	print('Waiting For A Target...')
1757
	wait()
1758
	GetPlayers()
1759
local d = math.random(1, #dft) 
1760
local s = d 
1761
print(''..dft[s]..'?')
1762
1763
	
1764
	
1765
   for _, z in pairs(workspace:GetChildren()) do
1766
      
1767
        if z.Name == ""..dft[s] then
1768
1769
1770
1771
1772
1773
targetted = z
1774
1775
if z.Name == ''..p then
1776
1777
	targetted = nil
1778
1779
print('Wait a sec is that not me!')	
1780
	
1781
end
1782
	end
1783
end
1784
	
1785
	
1786
end
1787
1788
if musicon == true and targetted.Humanoid.Health == 0 then
1789
targetted = nil	
1790
	
1791
end
1792
1793
   for _, z in pairs(workspace:GetChildren()) do
1794
      
1795
        if z.Name == "Zombie" then
1796
1797
z.Humanoid:MoveTo(targetted.Head.Position)
1798
1799
	end
1800
end
1801
   for _, z in pairs(workspace:GetChildren()) do
1802
      
1803
        if z.Name == "Zombie" then 
1804
if z.Humanoid.Health == 0 then
1805
	z.Head.face.Transparency = 1
1806
z["Left Leg"].Transparency = 0.5
1807
z["Head"].Transparency = 0.5
1808
z["Right Leg"].Transparency = 0.5
1809
z["Torso"].Transparency = 0.5
1810
z["Left Arm"].Transparency = 0.5
1811
z["Right Arm"].Transparency = 0.5
1812
wait(0.1)
1813
z:Destroy()
1814
	end
1815
end
1816
end
1817
1818
1819
1820
-------------------
1821
end)
1822
1823
1824
1825
print('Loaded...')
1826
print('---------------------')
1827
print('Made by 123jl123')
1828
print('---------------------')
1829
print('do not leak...')
1830
print('Have a nice day :)')
1831
print('---------------------')
1832
while  wait() do
1833
1834
1835
1836
	char["Left Leg"].BrickColor = BrickColor.new("Really black")
1837
	char["Head"].BrickColor = BrickColor.new("Pastel Brown")
1838
	char["Right Leg"].BrickColor = BrickColor.new("Really black")
1839
	char["Torso"].BrickColor = BrickColor.new("Really black")
1840
	char["Left Arm"].BrickColor = BrickColor.new("Black")
1841
	char["Right Arm"].BrickColor = BrickColor.new("Black")
1842
	imgl.Rotation = imgl.Rotation + 1
1843
	if targetted ~= nil then
1844
crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
1845
crosshair.Enabled = true
1846
1847
	elseif targetted == nil then
1848
1849
crosshair.Adornee = nil
1850
crosshair.Enabled = false
1851
1852
	end
1853
	
1854
 
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
end
1866
1867
1868
------------------------------------------------------------------------