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