Advertisement
Nassaliam

fR

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