Diegolas97

testing

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