Advertisement
Finnegan5

idk

Jul 2nd, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.64 KB | None | 0 0
  1. Player=game:GetService("Players").WitherBlazestorm2
  2. Character=Player.Character
  3.  
  4.  
  5. -------------------------------------------------------
  6. local Orbd = Instance.new("Part", Character)
  7. Orbd.Name = "Orbd"
  8. Orbd.Shape = Enum.PartType.Ball
  9. Orbd.CanCollide = false
  10. Orbd.BrickColor = BrickColor.new("Really black")
  11. Orbd.Transparency = 0
  12. Orbd.Material = "Neon"
  13. Orbd.Size = Vector3.new(0.3, 0.3, 0.3)
  14. Orbd.TopSurface = Enum.SurfaceType.Smooth
  15. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  16.  
  17. local Weld = Instance.new("Weld", Orbd)
  18. Weld.Part0 = Character.Head
  19. Weld.Part1 = Orbd
  20. Weld.C1 = CFrame.new(-0.26, -0.24, 0.55)
  21.  
  22. --------------------------------------------------------
  23. local Orbvc = Instance.new("Part", Character)
  24. Orbvc.Name = "Orbvc"
  25. Orbvc.Shape = Enum.PartType.Ball
  26. Orbvc.CanCollide = false
  27. Orbvc.BrickColor = BrickColor.new("Really black")
  28. Orbvc.Transparency = 0
  29. Orbvc.Material = "Neon"
  30. Orbvc.Size = Vector3.new(0.3, 0.3, 0.3)
  31. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  32. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  33.  
  34. local Weld = Instance.new("Weld", Orbvc)
  35. Weld.Part0 = Character.Head
  36. Weld.Part1 = Orbvc
  37. Weld.C1 = CFrame.new(0.26, -0.24, 0.55)
  38. ---------------------------------------------------------
  39. local Mask = Instance.new("Part", Character)
  40. Mask.Name = "Mask"
  41. Mask.CanCollide = false
  42. Mask.BrickColor = BrickColor.new("Mid gray")
  43. Mask.Transparency = 0
  44. Mask.Material = "Plastic"
  45. Mask.Size = Vector3.new(0.1, 0.1, 0.1)
  46. Mask.TopSurface = Enum.SurfaceType.Smooth
  47. Mask.BottomSurface = Enum.SurfaceType.Smooth
  48.  
  49. local Weld = Instance.new("Weld", Mask)
  50. Weld.Part0 = Character.Head
  51. Weld.Part1 = Mask
  52. Weld.C1 = CFrame.new(0, -0.1, 0.8)
  53.  
  54. local M1 = Instance.new("SpecialMesh")
  55. M1.Parent = Mask
  56. M1.MeshId = "http://www.roblox.com/asset/?id=62679079"
  57. M1.Scale = Vector3.new( 1, 1, 2)
  58. ----------------------------------------------------------
  59. local Hood = Instance.new("Part", Character)
  60. Hood.Name = "Hood"
  61. Hood.CanCollide = false
  62. Hood.BrickColor = BrickColor.new("Really black")
  63. Hood.Transparency = 0
  64. Hood.Material = "Plastic"
  65. Hood.Size = Vector3.new(0.1, 0.1, 0.1)
  66. Hood.TopSurface = Enum.SurfaceType.Smooth
  67. Hood.BottomSurface = Enum.SurfaceType.Smooth
  68.  
  69. local Weld = Instance.new("Weld", Hood)
  70. Weld.Part0 = Character.Head
  71. Weld.Part1 = Hood
  72. Weld.C1 = CFrame.new(0, -0.2, 0)
  73.  
  74. local M2 = Instance.new("SpecialMesh")
  75. M2.Parent = Hood
  76. M2.MeshId = "http://www.roblox.com/asset/?id=83499032"
  77. M2.Scale = Vector3.new( 1, 1.2, 1.1)
  78. ------------------------------------------------------
  79.  
  80. p = game.Players.battleman22222
  81. char049 = p.Character
  82.  
  83. char049.Shirt:Remove()
  84. for i,v in pairs(char049:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  85. wait()shirt = Instance.new("Shirt", char049)
  86. shirt.Name = "Shirt"
  87. pants = Instance.new("Pants", char049)
  88. pants.Name = "Pants"
  89.  
  90. char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=648758131"
  91. char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=472675863"
  92.  
  93.  
  94. -------------------------------------------------
  95. ---- Orbd,Orbvc,Mask,Hood
  96.  
  97. --[[NIGHTOWLACE_WEAPONRY]]--
  98. maincolor = game.Players.battleman22222.Character.Torso.BrickColor.Name
  99. secondcolor = "Really black"
  100.  
  101. wait(1 / 60)
  102. Effects = { }
  103. local Player = game.Players.battleman22222
  104. local Character = Player.Character
  105. local Humanoid = Character.Humanoid
  106. local mouse = Player:GetMouse()
  107. local LeftArm = Character["Left Arm"]
  108. local RightArm = Character["Right Arm"]
  109. local LeftLeg = Character["Left Leg"]
  110. local RightLeg = Character["Right Leg"]
  111. local Head = Character.Head
  112. local Torso = Character.Torso
  113. local cam = game.Workspace.CurrentCamera
  114. local RootPart = Character.HumanoidRootPart
  115. local RootJoint = RootPart.RootJoint
  116. local equipped = false
  117. local attack = false
  118. local Anim = 'Idle'
  119. local idle = 0
  120. local attacktype = 1
  121. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  122. local velocity = RootPart.Velocity.y
  123. local sine = 0
  124. local change = 1
  125. local grabbed = false
  126. local cn = CFrame.new
  127. local mr = math.rad
  128. local angles = CFrame.Angles
  129. local ud = UDim2.new
  130. local c3 = Color3.new
  131.  
  132. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  133. Humanoid.Animator:Destroy()
  134. Character.Animate:Destroy()
  135.  
  136. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  137. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  138. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  139.  
  140. RSH, LSH = nil, nil
  141.  
  142. RW = Instance.new("Weld")
  143. LW = Instance.new("Weld")
  144.  
  145. RH = Torso["Right Hip"]
  146. LH = Torso["Left Hip"]
  147.  
  148. RSH = Torso["Right Shoulder"]
  149. LSH = Torso["Left Shoulder"]
  150.  
  151. RSH.Parent = nil
  152. LSH.Parent = nil
  153.  
  154. RW.Name = "RW"
  155. RW.Part0 = Torso
  156. RW.C0 = cn(1.5, 0.5, 0)
  157. RW.C1 = cn(0, 0.5, 0)
  158. RW.Part1 = RightArm
  159. RW.Parent = Torso
  160.  
  161. LW.Name = "LW"
  162. LW.Part0 = Torso
  163. LW.C0 = cn(-1.5, 0.5, 0)
  164. LW.C1 = cn(0, 0.5, 0)
  165. LW.Part1 = LeftArm
  166. LW.Parent = Torso
  167.  
  168. function clerp(a, b, t)
  169. local qa = {
  170. QuaternionFromCFrame(a)
  171. }
  172. local qb = {
  173. QuaternionFromCFrame(b)
  174. }
  175. local ax, ay, az = a.x, a.y, a.z
  176. local bx, by, bz = b.x, b.y, b.z
  177. local _t = 1 - t
  178. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  179. end
  180.  
  181. function QuaternionFromCFrame(cf)
  182. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  183. local trace = m00 + m11 + m22
  184. if trace > 0 then
  185. local s = math.sqrt(1 + trace)
  186. local recip = 0.5 / s
  187. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  188. else
  189. local i = 0
  190. if m11 > m00 then
  191. i = 1
  192. end
  193. if m22 > (i == 0 and m00 or m11) then
  194. i = 2
  195. end
  196. if i == 0 then
  197. local s = math.sqrt(m00 - m11 - m22 + 1)
  198. local recip = 0.5 / s
  199. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  200. elseif i == 1 then
  201. local s = math.sqrt(m11 - m22 - m00 + 1)
  202. local recip = 0.5 / s
  203. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  204. elseif i == 2 then
  205. local s = math.sqrt(m22 - m00 - m11 + 1)
  206. local recip = 0.5 / s
  207. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  208. end
  209. end
  210. end
  211.  
  212. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  213. local xs, ys, zs = x + x, y + y, z + z
  214. local wx, wy, wz = w * xs, w * ys, w * zs
  215. local xx = x * xs
  216. local xy = x * ys
  217. local xz = x * zs
  218. local yy = y * ys
  219. local yz = y * zs
  220. local zz = z * zs
  221. 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))
  222. end
  223.  
  224. function QuaternionSlerp(a, b, t)
  225. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  226. local startInterp, finishInterp;
  227. if cosTheta >= 0.0001 then
  228. if (1 - cosTheta) > 0.0001 then
  229. local theta = math.acos(cosTheta)
  230. local invSinTheta = 1 / math.sin(theta)
  231. startInterp = math.sin((1 - t) * theta) * invSinTheta
  232. finishInterp = math.sin(t * theta) * invSinTheta
  233. else
  234. startInterp = 1 - t
  235. finishInterp = t
  236. end
  237. else
  238. if (1 + cosTheta) > 0.0001 then
  239. local theta = math.acos(-cosTheta)
  240. local invSinTheta = 1 / math.sin(theta)
  241. startInterp = math.sin((t - 1) * theta) * invSinTheta
  242. finishInterp = math.sin(t * theta) * invSinTheta
  243. else
  244. startInterp = t - 1
  245. finishInterp = t
  246. end
  247. end
  248. 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
  249. end
  250.  
  251. function swait(num)
  252. if num == 0 or num == nil then
  253. game:service'RunService'.RenderStepped:wait(0)
  254. else
  255. for i = 0, num do
  256. game:service'RunService'.RenderStepped:wait(0)
  257. end
  258. end
  259. end
  260.  
  261. local RbxUtility = LoadLibrary("RbxUtility")
  262. local Create = RbxUtility.Create
  263.  
  264. function RemoveOutlines(part)
  265. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  266. end
  267.  
  268. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  269. local Part = Create("Part"){
  270. formFactor = FormFactor,
  271. Parent = Parent,
  272. Reflectance = Reflectance,
  273. Transparency = Transparency,
  274. CanCollide = false,
  275. Locked = true,
  276. BrickColor = BrickColor.new(tostring(BColor)),
  277. Name = Name,
  278. Size = Size,
  279. Material = Material,
  280. }
  281. RemoveOutlines(Part)
  282. return Part
  283. end
  284.  
  285. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  286. local Msh = Create(Mesh){
  287. Parent = Part,
  288. Offset = OffSet,
  289. Scale = Scale,
  290. }
  291. if Mesh == "SpecialMesh" then
  292. Msh.MeshType = MeshType
  293. Msh.MeshId = MeshId
  294. end
  295. return Msh
  296. end
  297.  
  298. function CreateWeld(Parent, Part0, Part1, C0, C1)
  299. local Weld = Create("Weld"){
  300. Parent = Parent,
  301. Part0 = Part0,
  302. Part1 = Part1,
  303. C0 = C0,
  304. C1 = C1,
  305. }
  306. return Weld
  307. end
  308.  
  309. function rayCast(Position, Direction, Range, Ignore)
  310. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  311. end
  312.  
  313. function CreateSound(id, par, vol, pit)
  314. coroutine.resume(coroutine.create(function()
  315. local sou = Instance.new("Sound", par or workspace)
  316. sou.Volume = vol
  317. sou.Pitch = pit or 1
  318. sou.SoundId = id
  319. wait()
  320. sou:play()
  321. game:GetService("Debris"):AddItem(sou, 6)
  322. end))
  323. end
  324.  
  325. local function getclosest(obj, distance)
  326. local last, lastx = distance + 1
  327. for i, v in pairs(workspace:GetChildren()) do
  328. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  329. local t = v.Torso
  330. local dist = (t.Position - obj.Position).magnitude
  331. if dist <= distance then
  332. if dist < last then
  333. last = dist
  334. lastx = v
  335. end
  336. end
  337. end
  338. end
  339. return lastx
  340. end
  341.  
  342. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  343. for i, v in pairs(hit:GetChildren()) do
  344. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  345. local find = v:FindFirstChild("Hitz")
  346. if not find then
  347. if v.Parent:findFirstChild("Head") then
  348. local BillG = Create("BillboardGui"){
  349. Parent = v.Parent.Head,
  350. Size = UDim2.new(1, 0, 1, 0),
  351. Adornee = v.Parent.Head,
  352. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  353. }
  354. local TL = Create("TextLabel"){
  355. Parent = BillG,
  356. Size = UDim2.new(3, 3, 3, 3),
  357. BackgroundTransparency = 1,
  358. Text = tostring(damage).."-",
  359. TextColor3 = Color1.Color,
  360. TextStrokeColor3 = Color2.Color,
  361. TextStrokeTransparency = 0,
  362. TextXAlignment = Enum.TextXAlignment.Center,
  363. TextYAlignment = Enum.TextYAlignment.Center,
  364. FontSize = Enum.FontSize.Size18,
  365. Font = "ArialBold",
  366. }
  367. coroutine.resume(coroutine.create(function()
  368. wait(1)
  369. for i = 0, 1, .1 do
  370. wait(.1)
  371. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  372. end
  373. BillG:Destroy()
  374. end))
  375. end
  376. v.Health = v.Health - damage
  377. local bool = Create("BoolValue"){
  378. Parent = v,
  379. Name = 'Hitz',
  380. }
  381. if HSound ~= nil and HPitch ~= nil then
  382. CreateSound(HSound, hit, 1, HPitch)
  383. end
  384. game:GetService("Debris"):AddItem(bool, cooldown)
  385. end
  386. end
  387. end
  388. end
  389.  
  390.  
  391. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  392. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  393. prt.Anchored = true
  394. prt.CFrame = cframe
  395. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  396. game:GetService("Debris"):AddItem(prt, 10)
  397. if Type == 1 or Type == nil then
  398. table.insert(Effects, {
  399. prt,
  400. "Block1",
  401. delay,
  402. x3,
  403. y3,
  404. z3,
  405. msh
  406. })
  407. elseif Type == 2 then
  408. table.insert(Effects, {
  409. prt,
  410. "Block2",
  411. delay,
  412. x3,
  413. y3,
  414. z3,
  415. msh
  416. })
  417. end
  418. end
  419.  
  420. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  421. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  422. prt.Anchored = true
  423. prt.CFrame = cframe
  424. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  425. game:GetService("Debris"):AddItem(prt, 10)
  426. table.insert(Effects, {
  427. prt,
  428. "Cylinder",
  429. delay,
  430. x3,
  431. y3,
  432. z3,
  433. msh
  434. })
  435. end
  436.  
  437. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  438. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  439. prt.Anchored = true
  440. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  441. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  442. game:GetService("Debris"):AddItem(prt, 10)
  443. table.insert(Effects, {
  444. prt,
  445. "Cylinder",
  446. delay,
  447. x3,
  448. y3,
  449. z3,
  450. msh
  451. })
  452. end
  453.  
  454. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  455. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  456. prt.Anchored = true
  457. prt.CFrame = cframe
  458. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  459. game:GetService("Debris"):AddItem(prt, 10)
  460. table.insert(Effects, {
  461. prt,
  462. "Cylinder",
  463. delay,
  464. x3,
  465. y3,
  466. z3,
  467. msh
  468. })
  469. end
  470.  
  471. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  472. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  473. prt.Anchored = true
  474. prt.CFrame = cframe
  475. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  476. game:GetService("Debris"):AddItem(prt, 10)
  477. table.insert(Effects, {
  478. prt,
  479. "Cylinder",
  480. delay,
  481. x3,
  482. y3,
  483. z3,
  484. msh
  485. })
  486. end
  487.  
  488. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  489. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  490. prt.Anchored = true
  491. prt.CFrame = cframe
  492. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  493. game:GetService("Debris"):AddItem(prt, 10)
  494. table.insert(Effects, {
  495. prt,
  496. "Cylinder",
  497. delay,
  498. x3,
  499. y3,
  500. z3,
  501. msh
  502. })
  503. end
  504.  
  505. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  506. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  507. prt.Anchored = true
  508. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  509. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  510. local num = math.random(10, 50) / 1000
  511. game:GetService("Debris"):AddItem(prt, 10)
  512. table.insert(Effects, {
  513. prt,
  514. "Shatter",
  515. num,
  516. prt.CFrame,
  517. math.random() - math.random(),
  518. 0,
  519. math.random(50, 100) / 100
  520. })
  521. end
  522.  
  523.  
  524.  
  525.  
  526. for i = 0, 1, 0.05 do
  527. swait()
  528. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  529. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
  530. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  531. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  532. if Torsovelocity > 2 then
  533. 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)
  534. 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)
  535. 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)
  536. elseif Torsovelocity < 1 then
  537. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  538. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  539. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  540. end
  541. end
  542. attack = false
  543.  
  544.  
  545.  
  546. game:GetService'RunService'.Stepped:connect(function()
  547. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  548. velocity = RootPart.Velocity.y
  549. sine = sine + change
  550. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  551. if equipped == true or equipped == false then
  552. if RootPart.Velocity.y > 1 and hit == nil then
  553. Anim = "Jump"
  554. if attack == false then
  555. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  556. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  557. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1)
  558. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
  559. RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  560. LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  561. end
  562. elseif RootPart.Velocity.y < -1 and hit == nil then
  563. Anim = "Fall"
  564. if attack == false then
  565. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  566. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  567. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
  568. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
  569. RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  570. LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  571. end
  572. elseif Torsovelocity < 1 and hit ~= nil then
  573. Anim = "Idle"
  574. if attack == false then
  575. change = 1
  576. 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)
  577. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  578. 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)
  579. 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)
  580. 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)
  581. 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)
  582. end
  583. elseif Torsovelocity > 2 and hit ~= nil then
  584. Anim = "Walk"
  585. if attack == false then
  586. 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)
  587. 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)
  588. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(4)), .2)
  589. 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)
  590. 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)
  591. 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)
  592. end
  593. end
  594. end
  595. if #Effects > 0 then
  596. for e = 1, #Effects do
  597. if Effects[e] ~= nil then
  598. local Thing = Effects[e]
  599. if Thing ~= nil then
  600. local Part = Thing[1]
  601. local Mode = Thing[2]
  602. local Delay = Thing[3]
  603. local IncX = Thing[4]
  604. local IncY = Thing[5]
  605. local IncZ = Thing[6]
  606. if Thing[1].Transparency <= 1 then
  607. if Thing[2] == "Block1" then
  608. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  609. local Mesh = Thing[1].Mesh
  610. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  611. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  612. elseif Thing[2] == "Block2" then
  613. Thing[1].CFrame = Thing[1].CFrame
  614. local Mesh = Thing[7]
  615. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  616. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  617. elseif Thing[2] == "Cylinder" then
  618. local Mesh = Thing[1].Mesh
  619. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  620. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  621. elseif Thing[2] == "Blood" then
  622. local Mesh = Thing[7]
  623. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  624. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  625. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  626. elseif Thing[2] == "Elec" then
  627. local Mesh = Thing[1].Mesh
  628. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  629. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  630. elseif Thing[2] == "Disappear" then
  631. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  632. elseif Thing[2] == "Shatter" then
  633. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  634. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  635. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  636. Thing[6] = Thing[6] + Thing[5]
  637. end
  638. else
  639. Part.Parent = nil
  640. table.remove(Effects, e)
  641. end
  642. end
  643. end
  644. end
  645. end
  646. end)
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655. p = (game.Players.battleman22222.Name)
  656. char = game.Players.battleman22222.Character
  657.  
  658.  
  659. local player = game.Players.battleman22222
  660. repeat wait() until player.Character.Humanoid
  661. local humanoid = player.Character.Humanoid
  662. local mouse = player:GetMouse()
  663.  
  664. for i,v in pairs(char:GetChildren()) do
  665. if v.ClassName == 'Accessory' then
  666. v:Destroy()
  667. end
  668. end
  669.  
  670. ScarySound1 = Instance.new("Sound")
  671. ScarySound1.Parent = char.Torso
  672. ScarySound1.SoundId = "rbxassetid://161964276"
  673. ScarySound1.Volume = .5
  674.  
  675. ScarySound2 = Instance.new("Sound")
  676. ScarySound2.Parent = char.Torso
  677. ScarySound2.SoundId = "rbxassetid://669623416"
  678. ScarySound2.Volume = 2
  679. ScarySound2.Looped = true
  680.  
  681. ScarySound3 = Instance.new("Sound")
  682. ScarySound3.Parent = char.Torso
  683. ScarySound3.SoundId = "rbxassetid://483810543"
  684. ScarySound3.Volume = 0.3
  685. ScarySound3.Looped = true
  686.  
  687. ScarySound4 = Instance.new("Sound")
  688. ScarySound4.Parent = char.Torso
  689. ScarySound4.SoundId = "rbxassetid://177113856"
  690. ScarySound4.Volume = 2
  691. ScarySound4.Looped = false
  692.  
  693. Punch = Instance.new("Sound")
  694. Punch.Parent = char.Torso
  695. Punch.SoundId = "rbxassetid://146938349"
  696. Punch.Volume = 1.5
  697. Punch.Looped = false
  698. Punch.Pitch = 0.8
  699.  
  700. hole = Instance.new("Sound")
  701. hole.Parent = char.Torso
  702. hole.SoundId = "rbxassetid://224339308"
  703. hole.Volume = .3
  704.  
  705.  
  706. game.Players.battleman22222.Character.Sound:Destroy()
  707.  
  708. function Normal()
  709. ScarySound3:Play()
  710. char.Humanoid.WalkSpeed = 18
  711. char.Head.face.Texture = "rbxassetid://0"
  712. char["Left Leg"].Transparency = 0
  713. char["Head"].Transparency = 0
  714. char["Right Leg"].Transparency = 0
  715. char["Torso"].Transparency = 0
  716. char["Left Arm"].Transparency = 0
  717. char["Right Arm"].Transparency = 0
  718. end
  719.  
  720. function GoInvisible()
  721. ScarySound3:Stop()
  722. ScarySound1:Stop()
  723. char.Humanoid.WalkSpeed = 120
  724. char.Head.face.Transparency = 1
  725. char["Left Leg"].Transparency = 0.5
  726. char["Head"].Transparency = 0.5
  727. char["Right Leg"].Transparency = 0.5
  728. char["Torso"].Transparency = 0.5
  729. char["Left Arm"].Transparency = 0.5
  730. char["Right Arm"].Transparency = 0.5
  731. Hood.Transparency = 0.5
  732. Mask.Transparency = 0.5
  733. Orbvc.Transparency = 0.5
  734. Orbd.Transparency = 0.5
  735. Orbvc.BrickColor = BrickColor.new("Really red")
  736. Orbd.BrickColor = BrickColor.new("Really red")
  737. wait(0.001)
  738. char["Left Leg"].Transparency = 0.6
  739. char["Head"].Transparency = 0.6
  740. char["Right Leg"].Transparency = 0.6
  741. char["Torso"].Transparency = 0.6
  742. char["Left Arm"].Transparency = 0.6
  743. char["Right Arm"].Transparency = 0.6
  744. Hood.Transparency = 0.6
  745. Mask.Transparency = 0.6
  746. Orbvc.Transparency = 0.6
  747. Orbd.Transparency = 0.6
  748. wait(0.001)
  749. char["Left Leg"].Transparency = 0.7
  750. char["Head"].Transparency = 0.7
  751. char["Right Leg"].Transparency = 0.7
  752. char["Torso"].Transparency = 0.7
  753. char["Left Arm"].Transparency = 0.7
  754. char["Right Arm"].Transparency = 0.7
  755. Hood.Transparency = 0.7
  756. Mask.Transparency = 0.7
  757. Orbvc.Transparency = 0.7
  758. Orbd.Transparency = 0.7
  759. wait(0.001)
  760. char["Left Leg"].Transparency = 1
  761. char["Head"].Transparency = 1
  762. char["Right Leg"].Transparency = 1
  763. char["Torso"].Transparency = 1
  764. char["Left Arm"].Transparency = 1
  765. char["Right Arm"].Transparency = 1
  766. Hood.Transparency = 1
  767. Mask.Transparency = 1
  768. Orbvc.Transparency = 1
  769. Orbd.Transparency = 1
  770. end
  771.  
  772. function GoVisible()
  773. ScarySound3:Play()
  774. char.Humanoid.WalkSpeed = 16
  775. ScarySound1:Play()
  776. char.Head.face.Transparency = 0
  777. Orbvc.BrickColor = BrickColor.new("Really black")
  778. Orbd.BrickColor = BrickColor.new("Really black")
  779. char["Left Leg"].Transparency = 0.9
  780. char["Head"].Transparency = 0.9
  781. char["Right Leg"].Transparency = 9
  782. char["Torso"].Transparency = 0.9
  783. char["Left Arm"].Transparency = 0.9
  784. char["Right Arm"].Transparency = 0.9
  785. Hood.Transparency = 0.9
  786. Mask.Transparency = 0.9
  787. Orbvc.Transparency = 0.9
  788. Orbd.Transparency = 0.9
  789. wait(0.001)
  790. char["Left Leg"].Transparency = 0.7
  791. char["Head"].Transparency = 0.7
  792. char["Right Leg"].Transparency = 0.7
  793. char["Torso"].Transparency = 0.7
  794. char["Left Arm"].Transparency = 0.7
  795. char["Right Arm"].Transparency = 0.7
  796. Hood.Transparency = 0.7
  797. Mask.Transparency = 0.7
  798. Orbvc.Transparency = 0.7
  799. Orbd.Transparency = 0.7
  800. wait(0.001)
  801. char["Left Leg"].Transparency = 0
  802. char["Head"].Transparency = 0
  803. char["Right Leg"].Transparency = 0
  804. char["Torso"].Transparency = 0
  805. char["Left Arm"].Transparency = 0
  806. char["Right Arm"].Transparency = 0
  807. Hood.Transparency = 0
  808. Mask.Transparency = 0
  809. Orbvc.Transparency = 0
  810. Orbd.Transparency = 0
  811. end
  812.  
  813. Normal()
  814.  
  815.  
  816.  
  817. mouse.KeyDown:connect(function(key)
  818. if key == "z" then
  819. if char.Head.Transparency == 0 then
  820. GoInvisible()
  821.  
  822. elseif char.Head.Transparency == 1 then
  823. GoVisible()
  824. end
  825. end end)
  826.  
  827. mouse.KeyDown:connect(function(key)
  828. if key == "x" then
  829. if ScarySound2.IsPlaying == false then
  830. ScarySound2:Play()
  831. elseif ScarySound2.IsPlaying == true then
  832. ScarySound2:Stop()
  833.  
  834.  
  835. end
  836. end end)
  837.  
  838. mouse.KeyDown:connect(function(key)
  839. if key == "r" then
  840. if ScarySound4.IsPlaying == false then
  841. ScarySound4:Play()
  842. elseif ScarySound2.IsPlaying == true then
  843. ScarySound4:Stop()
  844.  
  845.  
  846. end
  847. end end)
  848. mouse.KeyDown:connect(function(key)
  849. if key == "u" then
  850. for _, z in pairs(workspace:GetChildren()) do
  851.  
  852. if z.Name == "Zombie" then
  853.  
  854. z:Destroy()
  855.  
  856. end
  857. end
  858. end
  859. end)
  860.  
  861.  
  862.  
  863. mouse.KeyDown:connect(function(key)
  864. if key == "h" then
  865. for _, z in pairs(workspace:GetChildren()) do
  866.  
  867. if z.Name == "Zombie" then
  868.  
  869.  
  870.  
  871. end
  872. end
  873. end
  874. end)
  875.  
  876.  
  877. function SpawnZombie()
  878.  
  879.  
  880. if ZomWait == false and ZomWait2 == false then
  881. Zombie.Parent = game.Lighting
  882. Zombie2 = Zombie:Clone()
  883. Zombie3 = Zombie:Clone()
  884.  
  885. Zombie:Destroy()
  886. ----------------------------
  887. ZomWait2 = true
  888. wait()
  889. ZomWait = true
  890. end
  891.  
  892.  
  893.  
  894. if ZomWait == true and ZomWait2 == false then
  895. Zombie3.Parent = game.Lighting
  896. Zombie2 = Zombie3:Clone()
  897. Zombie = Zombie3:Clone()
  898.  
  899. Zombie3:Destroy()
  900. ----------------------------
  901. ZomWait2 = true
  902. wait()
  903. ZomWait = false
  904. end
  905. Zombie2.Parent = game.Workspace
  906.  
  907. end
  908.  
  909.  
  910.  
  911.  
  912. function ResetZombie()
  913. wait(4)
  914. ZomSyle = false
  915. ZomWait2 = false
  916.  
  917. end
  918.  
  919. function onTouch(part)
  920.  
  921. local humanoid = part.Parent:findFirstChild("Humanoid")
  922. local model = part.Parent
  923. local torso = part.Parent:findFirstChild("Torso")
  924. local head = part.Parent:findFirstChild("Head")
  925. local leftleg = part.Parent:findFirstChild("Left Leg")
  926. local rightleg = part.Parent:findFirstChild("Right Leg")
  927. local leftarm = part.Parent:findFirstChild("Left Arm")
  928. local rightarm = part.Parent:findFirstChild("Right Arm")
  929. if model.Name == 'Zombie' == false then
  930.  
  931.  
  932. if (humanoid ~=nil) then
  933.  
  934. --humanoid.Health = 0
  935.  
  936.  
  937.  
  938.  
  939. head.BrickColor = BrickColor.new("Really black")
  940. torso.BrickColor = BrickColor.new("Really black")
  941. leftleg.BrickColor = BrickColor.new("Really black")
  942. rightleg.BrickColor = BrickColor.new("Really black")
  943. rightarm.BrickColor = BrickColor.new("Really black")
  944. leftarm.BrickColor = BrickColor.new("Really black")
  945. humanoid.Sit = true
  946. wait(0.5)
  947. torso.Anchored = true
  948. wait(.3)
  949. zomchar = humanoid.Parent
  950. e=Instance.new('Part', model)
  951. e.Size = Vector3.new(2.25,2.25,2.25)
  952. e.Transparency = 1
  953. e.Anchored = true
  954. e.CFrame = CFrame.new(torso.Position)
  955.  
  956.  
  957.  
  958. wait(1)
  959. torso:Destroy()
  960. q=Instance.new('ParticleEmitter', e)
  961. q.Size = NumberSequence.new(2,.0)
  962. q.Rate = 500
  963. q.Transparency = NumberSequence.new(0,1)
  964. q.Speed = NumberRange.new(7)
  965. q.VelocitySpread = 100
  966. q.Lifetime = NumberRange.new(0.1,1)
  967. q.Texture = 'rbxassetid://164417280'
  968. wait(.1)
  969. torso.Anchored = true
  970. rightleg.Anchored = true
  971. leftleg.Anchored = true
  972. rightarm.Anchored = true
  973. leftarm.Anchored = true
  974. ded = Instance.new("Sound")
  975. ded.Parent = e
  976. ded.SoundId = "rbxassetid://130976109"
  977. ded.Volume = 3
  978. ded.Looped = false
  979. wait()
  980.  
  981. ded:Play()
  982.  
  983. wait(1)
  984. leftleg.Transparency = 0.5
  985. head.Transparency = 0.5
  986. rightleg.Transparency = 0.5
  987. torso.Transparency = 0.5
  988. leftarm.Transparency = 0.5
  989. rightarm.Transparency = 0.5
  990.  
  991.  
  992. wait(0.001)
  993. leftleg.Transparency = 0.6
  994. head.Transparency = 0.6
  995. rightleg.Transparency = 0.6
  996. torso.Transparency = 0.6
  997. leftarm.Transparency = 0.6
  998. rightarm.Transparency = 0.6
  999.  
  1000. wait(0.001)
  1001. leftleg.Transparency = 0.7
  1002. head.Transparency = 0.7
  1003. rightleg.Transparency = 0.7
  1004. torso.Transparency = 0.7
  1005. leftarm.Transparency = 0.7
  1006. rightarm.Transparency = 0.7
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013. wait(0.001)
  1014. leftleg.Transparency = 1
  1015. head.Transparency = 1
  1016. rightleg.Transparency = 1
  1017. torso.Transparency = 1
  1018. leftarm.Transparency = 1
  1019. rightarm.Transparency = 1
  1020. wait()
  1021.  
  1022. SpawnZombie()
  1023. Zombie2.Name = 'Zombie'
  1024.  
  1025. wait()
  1026. Zombie2:MoveTo(zomchar.Head.Position + Vector3.new(math.random(0,1),0,math.random(0,1)))
  1027. ----------------------
  1028.  
  1029. if ZomSyle == false then
  1030. ZomSyle = true
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039. Zombie2.archivable = false
  1040.  
  1041.  
  1042. skin = zomchar["Body Colors"]:Clone()
  1043. skin.Parent = Zombie2
  1044. wait()
  1045.  
  1046.  
  1047. Character= Zombie2
  1048. plr = Zombie2
  1049. Headmaker = Character.Head
  1050. Headcol1 = Headmaker.BrickColor
  1051. Headmat = Headmaker.Material
  1052. Headsize = Headmaker.Size
  1053. Headsize2 = Headmaker.Mesh.Scale
  1054. hed = Character.Head
  1055. hed.Transparency = 1
  1056.  
  1057. local Headnr1 = Instance.new("Model",Character.Head)
  1058. Headnr1.Name = "Lmao"
  1059. local Headnr2 = Instance.new("Model",Headnr1)
  1060. Headnr2.Name = ""..zomchar.Name
  1061.  
  1062.  
  1063. ----------------------------------------------------------
  1064. wait()
  1065. local Mask = Instance.new("Part", Headnr2)
  1066. Mask.Name = "Head"
  1067. Mask.CanCollide = false
  1068. Mask.BrickColor = Headcol1
  1069. Mask.Transparency = 0
  1070. Mask.Material = Headmat
  1071. Mask.Size = Headsize
  1072. Mask.TopSurface = Enum.SurfaceType.Smooth
  1073. Mask.BottomSurface = Enum.SurfaceType.Smooth
  1074. local Weld = Instance.new("Weld", Mask)
  1075. Weld.Part0 = Character.Head
  1076. Weld.Part1 = Mask
  1077. Weld.C1 = CFrame.new(0,0,0)
  1078.  
  1079. local M1 = Instance.new("SpecialMesh")
  1080. M1.Parent = Mask
  1081. M1.MeshType='Head'
  1082. M1.Scale = Headsize2
  1083. ----------------------------------------------------------
  1084. local Name2 = Instance.new("Humanoid",Headnr2)
  1085. Zombie2.Torso.Touched:connect(onTouch)
  1086. wait()
  1087.  
  1088. for i,v in pairs(zomchar:GetChildren()) do
  1089. if v:IsA("CharacterMesh") then
  1090. v:clone().Parent = Zombie2
  1091. end
  1092.  
  1093. if v:IsA("ShirtGraphic") then
  1094. v:clone().Parent = Zombie2
  1095. end
  1096.  
  1097. if v:IsA("Pants") then
  1098. v:clone().Parent = Zombie2
  1099. end
  1100. if v:IsA("Shirt") then
  1101. v:clone().Parent = Zombie2
  1102.  
  1103. end
  1104.  
  1105.  
  1106. if v:IsA("Accessory") then
  1107. v:clone().Parent = Zombie2
  1108. end
  1109.  
  1110. if v:IsA("Hat") then
  1111. v:clone().Parent = Zombie2
  1112. end
  1113.  
  1114. end
  1115.  
  1116.  
  1117.  
  1118. end
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126. ----------------------
  1127. wait()
  1128. leftleg:Destroy()
  1129. head:Destroy()
  1130. rightleg:Destroy()
  1131. leftarm:Destroy()
  1132. rightarm:Destroy()
  1133. ResetZombie()
  1134. end
  1135. end
  1136. end
  1137.  
  1138.  
  1139.  
  1140. char.Torso.Touched:connect(onTouch)
  1141.  
  1142. mouse.KeyDown:connect(function(key)
  1143. if key == "c" then
  1144.  
  1145. LockOn()
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151. end
  1152. end)
  1153.  
  1154.  
  1155. debounce = false
  1156.  
  1157. function onTouched(hit)
  1158. hole:Play()
  1159. hit.CanCollide=false
  1160. wait(.5)
  1161. hit.CanCollide = true
  1162. debounce = true
  1163.  
  1164. end
  1165.  
  1166. game.Players.battleman22222.Character.Torso.Touched:connect(onTouched)
  1167.  
  1168.  
  1169. while wait() do
  1170. char["Left Leg"].BrickColor = BrickColor.new("Really black")
  1171. char["Head"].BrickColor = BrickColor.new("Really black")
  1172. char["Right Leg"].BrickColor = BrickColor.new("Really black")
  1173. char["Torso"].BrickColor = BrickColor.new("Really black")
  1174. char["Left Arm"].BrickColor = BrickColor.new("Black")
  1175. char["Right Arm"].BrickColor = BrickColor.new("Black")
  1176. imgl.Rotation = imgl.Rotation + 1
  1177. if targetted ~= nil then
  1178. crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1179. crosshair.Enabled = true
  1180. elseif targetted == nil then
  1181. crosshair.Adornee = nil
  1182. crosshair.Enabled = false
  1183. end
  1184. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  1185. for _, z in pairs(workspace:GetChildren()) do
  1186.  
  1187. if z.Name == "Zombie" then
  1188.  
  1189. z.Humanoid:MoveTo(targetted.Head.Position)
  1190.  
  1191. end
  1192. end
  1193. end)
  1194.  
  1195. playertarg = game.Players.battleman22222
  1196. chara = playertarg.Character
  1197. Mouse = playertarg:GetMouse()
  1198. targetted = nil
  1199.  
  1200. New = function(Object, Parent, Name, Data)
  1201. local Object = Instance.new(Object)
  1202. for Index, Value in pairs(Data or {}) do
  1203. Object[Index] = Value
  1204. end
  1205. Object.Parent = Parent
  1206. Object.Name = Name
  1207. return Object
  1208. end
  1209.  
  1210.  
  1211.  
  1212. crosshair = Instance.new("BillboardGui",chara)
  1213. crosshair.Size = UDim2.new(10,0,10,0)
  1214. crosshair.Enabled = false
  1215. imgl = Instance.new("ImageLabel",crosshair)
  1216. imgl.Position = UDim2.new(0,0,0,0)
  1217. imgl.Size = UDim2.new(1,0,1,0)
  1218. imgl.Image = "rbxassetid://182932517"
  1219. imgl.BackgroundTransparency = 1
  1220. imgl.ImageTransparency = .7
  1221. imgl.ImageColor3 = Color3.new(0,0,0)
  1222.  
  1223.  
  1224. function LoadSnd(id,loop,vol,pit)
  1225. local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
  1226. return snd
  1227. end
  1228.  
  1229. TargetSnd = LoadSnd(167191994,false,2,.8)
  1230.  
  1231.  
  1232. function TargetSelect(person)
  1233. local dd=coroutine.wrap(function()
  1234. if targetted ~= person then
  1235. targetted = person
  1236. for i = 0,30,10 do
  1237. wait(.05)
  1238. crosshair.Size = UDim2.new(40-i,0,40-i,0)
  1239. end
  1240. end
  1241. end)
  1242. dd()
  1243. end
  1244.  
  1245.  
  1246.  
  1247. function LockOn()
  1248. if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1249. TargetSelect(Mouse.Target.Parent)
  1250. TargetSnd:Play()
  1251. else end
  1252. end
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277. ZomWait = false
  1278. ZomWait2 = false
  1279. ZomSyle = false
  1280.  
  1281.  
  1282. Target1 =script.Parent.Name
  1283. Target2 = game.Players[Target1]
  1284. Target2.Character.archivable = true
  1285. clone4 = Target2.Character:Clone()
  1286. clone4.Parent = game.Lighting
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321. Glow1 = Color3.new(.5,0,0)
  1322. Glow2 = Color3.new(0,0,0)
  1323.  
  1324. GlowParticle = Instance.new("ParticleEmitter",clone4.Torso)
  1325. GlowParticle.LightEmission = 0
  1326. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  1327. GlowParticle.Size = NumberSequence.new(2,0)
  1328. GlowParticle.Texture = "http://www.roblox.com/asset/?id=118641183"
  1329. GlowParticle.Transparency = NumberSequence.new(.3,.8)
  1330. GlowParticle.LockedToPart = false
  1331. GlowParticle.Lifetime = NumberRange.new(.5,.6)
  1332. GlowParticle.Rate= 100
  1333. GlowParticle.Speed =NumberRange.new(6)
  1334. GlowParticle.VelocitySpread = 360
  1335.  
  1336.  
  1337.  
  1338. for i,v in pairs(clone4:GetChildren()) do
  1339.  
  1340.  
  1341. if v:IsA("ShirtGraphic") then
  1342. v:Destroy()
  1343. end
  1344.  
  1345. if v:IsA("Pants") then
  1346. v:Destroy()
  1347. end
  1348. if v:IsA("Shirt") then
  1349. v:Destroy()
  1350. end
  1351. if v:IsA("Hat") then
  1352. v:Destroy()
  1353.  
  1354. end
  1355. if v:IsA("Accessory") then
  1356. v:Destroy()
  1357. end
  1358.  
  1359. end
  1360.  
  1361. clone4["Body Colors"]:Destroy()
  1362. clone4.Head.face.Texture = "rbxassetid://97880283"
  1363.  
  1364. wait()
  1365. Zombie = clone4:Clone()
  1366.  
  1367. wait()
  1368.  
  1369. clone4:Destroy()
  1370.  
  1371. wait()
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378. end
  1379.  
  1380.  
  1381.  
  1382.  
  1383. ------------------------------------------------------------------------Player=game:GetService("Players").WitherBlazestorm2
  1384. Character=Player.Character
  1385.  
  1386.  
  1387. -------------------------------------------------------
  1388. local Orbd = Instance.new("Part", Character)
  1389. Orbd.Name = "Orbd"
  1390. Orbd.Shape = Enum.PartType.Ball
  1391. Orbd.CanCollide = false
  1392. Orbd.BrickColor = BrickColor.new("Really black")
  1393. Orbd.Transparency = 0
  1394. Orbd.Material = "Neon"
  1395. Orbd.Size = Vector3.new(0.3, 0.3, 0.3)
  1396. Orbd.TopSurface = Enum.SurfaceType.Smooth
  1397. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  1398.  
  1399. local Weld = Instance.new("Weld", Orbd)
  1400. Weld.Part0 = Character.Head
  1401. Weld.Part1 = Orbd
  1402. Weld.C1 = CFrame.new(-0.26, -0.24, 0.55)
  1403.  
  1404. --------------------------------------------------------
  1405. local Orbvc = Instance.new("Part", Character)
  1406. Orbvc.Name = "Orbvc"
  1407. Orbvc.Shape = Enum.PartType.Ball
  1408. Orbvc.CanCollide = false
  1409. Orbvc.BrickColor = BrickColor.new("Really black")
  1410. Orbvc.Transparency = 0
  1411. Orbvc.Material = "Neon"
  1412. Orbvc.Size = Vector3.new(0.3, 0.3, 0.3)
  1413. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  1414. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  1415.  
  1416. local Weld = Instance.new("Weld", Orbvc)
  1417. Weld.Part0 = Character.Head
  1418. Weld.Part1 = Orbvc
  1419. Weld.C1 = CFrame.new(0.26, -0.24, 0.55)
  1420. ---------------------------------------------------------
  1421. local Mask = Instance.new("Part", Character)
  1422. Mask.Name = "Mask"
  1423. Mask.CanCollide = false
  1424. Mask.BrickColor = BrickColor.new("Mid gray")
  1425. Mask.Transparency = 0
  1426. Mask.Material = "Plastic"
  1427. Mask.Size = Vector3.new(0.1, 0.1, 0.1)
  1428. Mask.TopSurface = Enum.SurfaceType.Smooth
  1429. Mask.BottomSurface = Enum.SurfaceType.Smooth
  1430.  
  1431. local Weld = Instance.new("Weld", Mask)
  1432. Weld.Part0 = Character.Head
  1433. Weld.Part1 = Mask
  1434. Weld.C1 = CFrame.new(0, -0.1, 0.8)
  1435.  
  1436. local M1 = Instance.new("SpecialMesh")
  1437. M1.Parent = Mask
  1438. M1.MeshId = "http://www.roblox.com/asset/?id=62679079"
  1439. M1.Scale = Vector3.new( 1, 1, 2)
  1440. ----------------------------------------------------------
  1441. local Hood = Instance.new("Part", Character)
  1442. Hood.Name = "Hood"
  1443. Hood.CanCollide = false
  1444. Hood.BrickColor = BrickColor.new("Really black")
  1445. Hood.Transparency = 0
  1446. Hood.Material = "Plastic"
  1447. Hood.Size = Vector3.new(0.1, 0.1, 0.1)
  1448. Hood.TopSurface = Enum.SurfaceType.Smooth
  1449. Hood.BottomSurface = Enum.SurfaceType.Smooth
  1450.  
  1451. local Weld = Instance.new("Weld", Hood)
  1452. Weld.Part0 = Character.Head
  1453. Weld.Part1 = Hood
  1454. Weld.C1 = CFrame.new(0, -0.2, 0)
  1455.  
  1456. local M2 = Instance.new("SpecialMesh")
  1457. M2.Parent = Hood
  1458. M2.MeshId = "http://www.roblox.com/asset/?id=83499032"
  1459. M2.Scale = Vector3.new( 1, 1.2, 1.1)
  1460. ------------------------------------------------------
  1461.  
  1462. p = game.Players.battleman22222
  1463. char049 = p.Character
  1464.  
  1465. char049.Shirt:Remove()
  1466. for i,v in pairs(char049:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  1467. wait()shirt = Instance.new("Shirt", char049)
  1468. shirt.Name = "Shirt"
  1469. pants = Instance.new("Pants", char049)
  1470. pants.Name = "Pants"
  1471.  
  1472. char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=648758131"
  1473. char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=472675863"
  1474.  
  1475.  
  1476. -------------------------------------------------
  1477. ---- Orbd,Orbvc,Mask,Hood
  1478.  
  1479. --[[NIGHTOWLACE_WEAPONRY]]--
  1480. maincolor = game.Players.battleman22222.Character.Torso.BrickColor.Name
  1481. secondcolor = "Really black"
  1482.  
  1483. wait(1 / 60)
  1484. Effects = { }
  1485. local Player = game.Players.battleman22222
  1486. local Character = Player.Character
  1487. local Humanoid = Character.Humanoid
  1488. local mouse = Player:GetMouse()
  1489. local LeftArm = Character["Left Arm"]
  1490. local RightArm = Character["Right Arm"]
  1491. local LeftLeg = Character["Left Leg"]
  1492. local RightLeg = Character["Right Leg"]
  1493. local Head = Character.Head
  1494. local Torso = Character.Torso
  1495. local cam = game.Workspace.CurrentCamera
  1496. local RootPart = Character.HumanoidRootPart
  1497. local RootJoint = RootPart.RootJoint
  1498. local equipped = false
  1499. local attack = false
  1500. local Anim = 'Idle'
  1501. local idle = 0
  1502. local attacktype = 1
  1503. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1504. local velocity = RootPart.Velocity.y
  1505. local sine = 0
  1506. local change = 1
  1507. local grabbed = false
  1508. local cn = CFrame.new
  1509. local mr = math.rad
  1510. local angles = CFrame.Angles
  1511. local ud = UDim2.new
  1512. local c3 = Color3.new
  1513.  
  1514. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1515. Humanoid.Animator:Destroy()
  1516. Character.Animate:Destroy()
  1517.  
  1518. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1519. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1520. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1521.  
  1522. RSH, LSH = nil, nil
  1523.  
  1524. RW = Instance.new("Weld")
  1525. LW = Instance.new("Weld")
  1526.  
  1527. RH = Torso["Right Hip"]
  1528. LH = Torso["Left Hip"]
  1529.  
  1530. RSH = Torso["Right Shoulder"]
  1531. LSH = Torso["Left Shoulder"]
  1532.  
  1533. RSH.Parent = nil
  1534. LSH.Parent = nil
  1535.  
  1536. RW.Name = "RW"
  1537. RW.Part0 = Torso
  1538. RW.C0 = cn(1.5, 0.5, 0)
  1539. RW.C1 = cn(0, 0.5, 0)
  1540. RW.Part1 = RightArm
  1541. RW.Parent = Torso
  1542.  
  1543. LW.Name = "LW"
  1544. LW.Part0 = Torso
  1545. LW.C0 = cn(-1.5, 0.5, 0)
  1546. LW.C1 = cn(0, 0.5, 0)
  1547. LW.Part1 = LeftArm
  1548. LW.Parent = Torso
  1549.  
  1550. function clerp(a, b, t)
  1551. local qa = {
  1552. QuaternionFromCFrame(a)
  1553. }
  1554. local qb = {
  1555. QuaternionFromCFrame(b)
  1556. }
  1557. local ax, ay, az = a.x, a.y, a.z
  1558. local bx, by, bz = b.x, b.y, b.z
  1559. local _t = 1 - t
  1560. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1561. end
  1562.  
  1563. function QuaternionFromCFrame(cf)
  1564. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1565. local trace = m00 + m11 + m22
  1566. if trace > 0 then
  1567. local s = math.sqrt(1 + trace)
  1568. local recip = 0.5 / s
  1569. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1570. else
  1571. local i = 0
  1572. if m11 > m00 then
  1573. i = 1
  1574. end
  1575. if m22 > (i == 0 and m00 or m11) then
  1576. i = 2
  1577. end
  1578. if i == 0 then
  1579. local s = math.sqrt(m00 - m11 - m22 + 1)
  1580. local recip = 0.5 / s
  1581. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1582. elseif i == 1 then
  1583. local s = math.sqrt(m11 - m22 - m00 + 1)
  1584. local recip = 0.5 / s
  1585. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1586. elseif i == 2 then
  1587. local s = math.sqrt(m22 - m00 - m11 + 1)
  1588. local recip = 0.5 / s
  1589. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1590. end
  1591. end
  1592. end
  1593.  
  1594. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1595. local xs, ys, zs = x + x, y + y, z + z
  1596. local wx, wy, wz = w * xs, w * ys, w * zs
  1597. local xx = x * xs
  1598. local xy = x * ys
  1599. local xz = x * zs
  1600. local yy = y * ys
  1601. local yz = y * zs
  1602. local zz = z * zs
  1603. 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))
  1604. end
  1605.  
  1606. function QuaternionSlerp(a, b, t)
  1607. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1608. local startInterp, finishInterp;
  1609. if cosTheta >= 0.0001 then
  1610. if (1 - cosTheta) > 0.0001 then
  1611. local theta = math.acos(cosTheta)
  1612. local invSinTheta = 1 / math.sin(theta)
  1613. startInterp = math.sin((1 - t) * theta) * invSinTheta
  1614. finishInterp = math.sin(t * theta) * invSinTheta
  1615. else
  1616. startInterp = 1 - t
  1617. finishInterp = t
  1618. end
  1619. else
  1620. if (1 + cosTheta) > 0.0001 then
  1621. local theta = math.acos(-cosTheta)
  1622. local invSinTheta = 1 / math.sin(theta)
  1623. startInterp = math.sin((t - 1) * theta) * invSinTheta
  1624. finishInterp = math.sin(t * theta) * invSinTheta
  1625. else
  1626. startInterp = t - 1
  1627. finishInterp = t
  1628. end
  1629. end
  1630. 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
  1631. end
  1632.  
  1633. function swait(num)
  1634. if num == 0 or num == nil then
  1635. game:service'RunService'.RenderStepped:wait(0)
  1636. else
  1637. for i = 0, num do
  1638. game:service'RunService'.RenderStepped:wait(0)
  1639. end
  1640. end
  1641. end
  1642.  
  1643. local RbxUtility = LoadLibrary("RbxUtility")
  1644. local Create = RbxUtility.Create
  1645.  
  1646. function RemoveOutlines(part)
  1647. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1648. end
  1649.  
  1650. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1651. local Part = Create("Part"){
  1652. formFactor = FormFactor,
  1653. Parent = Parent,
  1654. Reflectance = Reflectance,
  1655. Transparency = Transparency,
  1656. CanCollide = false,
  1657. Locked = true,
  1658. BrickColor = BrickColor.new(tostring(BColor)),
  1659. Name = Name,
  1660. Size = Size,
  1661. Material = Material,
  1662. }
  1663. RemoveOutlines(Part)
  1664. return Part
  1665. end
  1666.  
  1667. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1668. local Msh = Create(Mesh){
  1669. Parent = Part,
  1670. Offset = OffSet,
  1671. Scale = Scale,
  1672. }
  1673. if Mesh == "SpecialMesh" then
  1674. Msh.MeshType = MeshType
  1675. Msh.MeshId = MeshId
  1676. end
  1677. return Msh
  1678. end
  1679.  
  1680. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1681. local Weld = Create("Weld"){
  1682. Parent = Parent,
  1683. Part0 = Part0,
  1684. Part1 = Part1,
  1685. C0 = C0,
  1686. C1 = C1,
  1687. }
  1688. return Weld
  1689. end
  1690.  
  1691. function rayCast(Position, Direction, Range, Ignore)
  1692. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1693. end
  1694.  
  1695. function CreateSound(id, par, vol, pit)
  1696. coroutine.resume(coroutine.create(function()
  1697. local sou = Instance.new("Sound", par or workspace)
  1698. sou.Volume = vol
  1699. sou.Pitch = pit or 1
  1700. sou.SoundId = id
  1701. wait()
  1702. sou:play()
  1703. game:GetService("Debris"):AddItem(sou, 6)
  1704. end))
  1705. end
  1706.  
  1707. local function getclosest(obj, distance)
  1708. local last, lastx = distance + 1
  1709. for i, v in pairs(workspace:GetChildren()) do
  1710. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  1711. local t = v.Torso
  1712. local dist = (t.Position - obj.Position).magnitude
  1713. if dist <= distance then
  1714. if dist < last then
  1715. last = dist
  1716. lastx = v
  1717. end
  1718. end
  1719. end
  1720. end
  1721. return lastx
  1722. end
  1723.  
  1724. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  1725. for i, v in pairs(hit:GetChildren()) do
  1726. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  1727. local find = v:FindFirstChild("Hitz")
  1728. if not find then
  1729. if v.Parent:findFirstChild("Head") then
  1730. local BillG = Create("BillboardGui"){
  1731. Parent = v.Parent.Head,
  1732. Size = UDim2.new(1, 0, 1, 0),
  1733. Adornee = v.Parent.Head,
  1734. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  1735. }
  1736. local TL = Create("TextLabel"){
  1737. Parent = BillG,
  1738. Size = UDim2.new(3, 3, 3, 3),
  1739. BackgroundTransparency = 1,
  1740. Text = tostring(damage).."-",
  1741. TextColor3 = Color1.Color,
  1742. TextStrokeColor3 = Color2.Color,
  1743. TextStrokeTransparency = 0,
  1744. TextXAlignment = Enum.TextXAlignment.Center,
  1745. TextYAlignment = Enum.TextYAlignment.Center,
  1746. FontSize = Enum.FontSize.Size18,
  1747. Font = "ArialBold",
  1748. }
  1749. coroutine.resume(coroutine.create(function()
  1750. wait(1)
  1751. for i = 0, 1, .1 do
  1752. wait(.1)
  1753. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  1754. end
  1755. BillG:Destroy()
  1756. end))
  1757. end
  1758. v.Health = v.Health - damage
  1759. local bool = Create("BoolValue"){
  1760. Parent = v,
  1761. Name = 'Hitz',
  1762. }
  1763. if HSound ~= nil and HPitch ~= nil then
  1764. CreateSound(HSound, hit, 1, HPitch)
  1765. end
  1766. game:GetService("Debris"):AddItem(bool, cooldown)
  1767. end
  1768. end
  1769. end
  1770. end
  1771.  
  1772.  
  1773. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1774. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1775. prt.Anchored = true
  1776. prt.CFrame = cframe
  1777. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1778. game:GetService("Debris"):AddItem(prt, 10)
  1779. if Type == 1 or Type == nil then
  1780. table.insert(Effects, {
  1781. prt,
  1782. "Block1",
  1783. delay,
  1784. x3,
  1785. y3,
  1786. z3,
  1787. msh
  1788. })
  1789. elseif Type == 2 then
  1790. table.insert(Effects, {
  1791. prt,
  1792. "Block2",
  1793. delay,
  1794. x3,
  1795. y3,
  1796. z3,
  1797. msh
  1798. })
  1799. end
  1800. end
  1801.  
  1802. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1803. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1804. prt.Anchored = true
  1805. prt.CFrame = cframe
  1806. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1807. game:GetService("Debris"):AddItem(prt, 10)
  1808. table.insert(Effects, {
  1809. prt,
  1810. "Cylinder",
  1811. delay,
  1812. x3,
  1813. y3,
  1814. z3,
  1815. msh
  1816. })
  1817. end
  1818.  
  1819. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1820. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1821. prt.Anchored = true
  1822. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  1823. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1824. game:GetService("Debris"):AddItem(prt, 10)
  1825. table.insert(Effects, {
  1826. prt,
  1827. "Cylinder",
  1828. delay,
  1829. x3,
  1830. y3,
  1831. z3,
  1832. msh
  1833. })
  1834. end
  1835.  
  1836. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1837. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1838. prt.Anchored = true
  1839. prt.CFrame = cframe
  1840. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1841. game:GetService("Debris"):AddItem(prt, 10)
  1842. table.insert(Effects, {
  1843. prt,
  1844. "Cylinder",
  1845. delay,
  1846. x3,
  1847. y3,
  1848. z3,
  1849. msh
  1850. })
  1851. end
  1852.  
  1853. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1854. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1855. prt.Anchored = true
  1856. prt.CFrame = cframe
  1857. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1858. game:GetService("Debris"):AddItem(prt, 10)
  1859. table.insert(Effects, {
  1860. prt,
  1861. "Cylinder",
  1862. delay,
  1863. x3,
  1864. y3,
  1865. z3,
  1866. msh
  1867. })
  1868. end
  1869.  
  1870. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1871. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1872. prt.Anchored = true
  1873. prt.CFrame = cframe
  1874. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1875. game:GetService("Debris"):AddItem(prt, 10)
  1876. table.insert(Effects, {
  1877. prt,
  1878. "Cylinder",
  1879. delay,
  1880. x3,
  1881. y3,
  1882. z3,
  1883. msh
  1884. })
  1885. end
  1886.  
  1887. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1888. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1889. prt.Anchored = true
  1890. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1891. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1892. local num = math.random(10, 50) / 1000
  1893. game:GetService("Debris"):AddItem(prt, 10)
  1894. table.insert(Effects, {
  1895. prt,
  1896. "Shatter",
  1897. num,
  1898. prt.CFrame,
  1899. math.random() - math.random(),
  1900. 0,
  1901. math.random(50, 100) / 100
  1902. })
  1903. end
  1904.  
  1905.  
  1906.  
  1907.  
  1908. for i = 0, 1, 0.05 do
  1909. swait()
  1910. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  1911. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
  1912. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  1913. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1914. if Torsovelocity > 2 then
  1915. 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)
  1916. 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)
  1917. 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)
  1918. elseif Torsovelocity < 1 then
  1919. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  1920. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  1921. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  1922. end
  1923. end
  1924. attack = false
  1925.  
  1926.  
  1927.  
  1928. game:GetService'RunService'.Stepped:connect(function()
  1929. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1930. velocity = RootPart.Velocity.y
  1931. sine = sine + change
  1932. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1933. if equipped == true or equipped == false then
  1934. if RootPart.Velocity.y > 1 and hit == nil then
  1935. Anim = "Jump"
  1936. if attack == false then
  1937. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1938. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1939. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1)
  1940. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
  1941. RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  1942. LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  1943. end
  1944. elseif RootPart.Velocity.y < -1 and hit == nil then
  1945. Anim = "Fall"
  1946. if attack == false then
  1947. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1948. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1949. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
  1950. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
  1951. RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1952. LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1953. end
  1954. elseif Torsovelocity < 1 and hit ~= nil then
  1955. Anim = "Idle"
  1956. if attack == false then
  1957. change = 1
  1958. 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)
  1959. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  1960. 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)
  1961. 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)
  1962. 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)
  1963. 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)
  1964. end
  1965. elseif Torsovelocity > 2 and hit ~= nil then
  1966. Anim = "Walk"
  1967. if attack == false then
  1968. 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)
  1969. 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)
  1970. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(4)), .2)
  1971. 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)
  1972. 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)
  1973. 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)
  1974. end
  1975. end
  1976. end
  1977. if #Effects > 0 then
  1978. for e = 1, #Effects do
  1979. if Effects[e] ~= nil then
  1980. local Thing = Effects[e]
  1981. if Thing ~= nil then
  1982. local Part = Thing[1]
  1983. local Mode = Thing[2]
  1984. local Delay = Thing[3]
  1985. local IncX = Thing[4]
  1986. local IncY = Thing[5]
  1987. local IncZ = Thing[6]
  1988. if Thing[1].Transparency <= 1 then
  1989. if Thing[2] == "Block1" then
  1990. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1991. local Mesh = Thing[1].Mesh
  1992. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1993. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1994. elseif Thing[2] == "Block2" then
  1995. Thing[1].CFrame = Thing[1].CFrame
  1996. local Mesh = Thing[7]
  1997. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1998. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1999. elseif Thing[2] == "Cylinder" then
  2000. local Mesh = Thing[1].Mesh
  2001. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2002. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2003. elseif Thing[2] == "Blood" then
  2004. local Mesh = Thing[7]
  2005. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  2006. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2007. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2008. elseif Thing[2] == "Elec" then
  2009. local Mesh = Thing[1].Mesh
  2010. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2011. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2012. elseif Thing[2] == "Disappear" then
  2013. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2014. elseif Thing[2] == "Shatter" then
  2015. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2016. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2017. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2018. Thing[6] = Thing[6] + Thing[5]
  2019. end
  2020. else
  2021. Part.Parent = nil
  2022. table.remove(Effects, e)
  2023. end
  2024. end
  2025. end
  2026. end
  2027. end
  2028. end)
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037. p = (game.Players.battleman22222.Name)
  2038. char = game.Players.battleman22222.Character
  2039.  
  2040.  
  2041. local player = game.Players.battleman22222
  2042. repeat wait() until player.Character.Humanoid
  2043. local humanoid = player.Character.Humanoid
  2044. local mouse = player:GetMouse()
  2045.  
  2046. for i,v in pairs(char:GetChildren()) do
  2047. if v.ClassName == 'Accessory' then
  2048. v:Destroy()
  2049. end
  2050. end
  2051.  
  2052. ScarySound1 = Instance.new("Sound")
  2053. ScarySound1.Parent = char.Torso
  2054. ScarySound1.SoundId = "rbxassetid://161964276"
  2055. ScarySound1.Volume = .5
  2056.  
  2057. ScarySound2 = Instance.new("Sound")
  2058. ScarySound2.Parent = char.Torso
  2059. ScarySound2.SoundId = "rbxassetid://669623416"
  2060. ScarySound2.Volume = 2
  2061. ScarySound2.Looped = true
  2062.  
  2063. ScarySound3 = Instance.new("Sound")
  2064. ScarySound3.Parent = char.Torso
  2065. ScarySound3.SoundId = "rbxassetid://483810543"
  2066. ScarySound3.Volume = 0.3
  2067. ScarySound3.Looped = true
  2068.  
  2069. ScarySound4 = Instance.new("Sound")
  2070. ScarySound4.Parent = char.Torso
  2071. ScarySound4.SoundId = "rbxassetid://177113856"
  2072. ScarySound4.Volume = 2
  2073. ScarySound4.Looped = false
  2074.  
  2075. Punch = Instance.new("Sound")
  2076. Punch.Parent = char.Torso
  2077. Punch.SoundId = "rbxassetid://146938349"
  2078. Punch.Volume = 1.5
  2079. Punch.Looped = false
  2080. Punch.Pitch = 0.8
  2081.  
  2082. hole = Instance.new("Sound")
  2083. hole.Parent = char.Torso
  2084. hole.SoundId = "rbxassetid://224339308"
  2085. hole.Volume = .3
  2086.  
  2087.  
  2088. game.Players.battleman22222.Character.Sound:Destroy()
  2089.  
  2090. function Normal()
  2091. ScarySound3:Play()
  2092. char.Humanoid.WalkSpeed = 18
  2093. char.Head.face.Texture = "rbxassetid://0"
  2094. char["Left Leg"].Transparency = 0
  2095. char["Head"].Transparency = 0
  2096. char["Right Leg"].Transparency = 0
  2097. char["Torso"].Transparency = 0
  2098. char["Left Arm"].Transparency = 0
  2099. char["Right Arm"].Transparency = 0
  2100. end
  2101.  
  2102. function GoInvisible()
  2103. ScarySound3:Stop()
  2104. ScarySound1:Stop()
  2105. char.Humanoid.WalkSpeed = 120
  2106. char.Head.face.Transparency = 1
  2107. char["Left Leg"].Transparency = 0.5
  2108. char["Head"].Transparency = 0.5
  2109. char["Right Leg"].Transparency = 0.5
  2110. char["Torso"].Transparency = 0.5
  2111. char["Left Arm"].Transparency = 0.5
  2112. char["Right Arm"].Transparency = 0.5
  2113. Hood.Transparency = 0.5
  2114. Mask.Transparency = 0.5
  2115. Orbvc.Transparency = 0.5
  2116. Orbd.Transparency = 0.5
  2117. Orbvc.BrickColor = BrickColor.new("Really red")
  2118. Orbd.BrickColor = BrickColor.new("Really red")
  2119. wait(0.001)
  2120. char["Left Leg"].Transparency = 0.6
  2121. char["Head"].Transparency = 0.6
  2122. char["Right Leg"].Transparency = 0.6
  2123. char["Torso"].Transparency = 0.6
  2124. char["Left Arm"].Transparency = 0.6
  2125. char["Right Arm"].Transparency = 0.6
  2126. Hood.Transparency = 0.6
  2127. Mask.Transparency = 0.6
  2128. Orbvc.Transparency = 0.6
  2129. Orbd.Transparency = 0.6
  2130. wait(0.001)
  2131. char["Left Leg"].Transparency = 0.7
  2132. char["Head"].Transparency = 0.7
  2133. char["Right Leg"].Transparency = 0.7
  2134. char["Torso"].Transparency = 0.7
  2135. char["Left Arm"].Transparency = 0.7
  2136. char["Right Arm"].Transparency = 0.7
  2137. Hood.Transparency = 0.7
  2138. Mask.Transparency = 0.7
  2139. Orbvc.Transparency = 0.7
  2140. Orbd.Transparency = 0.7
  2141. wait(0.001)
  2142. char["Left Leg"].Transparency = 1
  2143. char["Head"].Transparency = 1
  2144. char["Right Leg"].Transparency = 1
  2145. char["Torso"].Transparency = 1
  2146. char["Left Arm"].Transparency = 1
  2147. char["Right Arm"].Transparency = 1
  2148. Hood.Transparency = 1
  2149. Mask.Transparency = 1
  2150. Orbvc.Transparency = 1
  2151. Orbd.Transparency = 1
  2152. end
  2153.  
  2154. function GoVisible()
  2155. ScarySound3:Play()
  2156. char.Humanoid.WalkSpeed = 16
  2157. ScarySound1:Play()
  2158. char.Head.face.Transparency = 0
  2159. Orbvc.BrickColor = BrickColor.new("Really black")
  2160. Orbd.BrickColor = BrickColor.new("Really black")
  2161. char["Left Leg"].Transparency = 0.9
  2162. char["Head"].Transparency = 0.9
  2163. char["Right Leg"].Transparency = 9
  2164. char["Torso"].Transparency = 0.9
  2165. char["Left Arm"].Transparency = 0.9
  2166. char["Right Arm"].Transparency = 0.9
  2167. Hood.Transparency = 0.9
  2168. Mask.Transparency = 0.9
  2169. Orbvc.Transparency = 0.9
  2170. Orbd.Transparency = 0.9
  2171. wait(0.001)
  2172. char["Left Leg"].Transparency = 0.7
  2173. char["Head"].Transparency = 0.7
  2174. char["Right Leg"].Transparency = 0.7
  2175. char["Torso"].Transparency = 0.7
  2176. char["Left Arm"].Transparency = 0.7
  2177. char["Right Arm"].Transparency = 0.7
  2178. Hood.Transparency = 0.7
  2179. Mask.Transparency = 0.7
  2180. Orbvc.Transparency = 0.7
  2181. Orbd.Transparency = 0.7
  2182. wait(0.001)
  2183. char["Left Leg"].Transparency = 0
  2184. char["Head"].Transparency = 0
  2185. char["Right Leg"].Transparency = 0
  2186. char["Torso"].Transparency = 0
  2187. char["Left Arm"].Transparency = 0
  2188. char["Right Arm"].Transparency = 0
  2189. Hood.Transparency = 0
  2190. Mask.Transparency = 0
  2191. Orbvc.Transparency = 0
  2192. Orbd.Transparency = 0
  2193. end
  2194.  
  2195. Normal()
  2196.  
  2197.  
  2198.  
  2199. mouse.KeyDown:connect(function(key)
  2200. if key == "z" then
  2201. if char.Head.Transparency == 0 then
  2202. GoInvisible()
  2203.  
  2204. elseif char.Head.Transparency == 1 then
  2205. GoVisible()
  2206. end
  2207. end end)
  2208.  
  2209. mouse.KeyDown:connect(function(key)
  2210. if key == "x" then
  2211. if ScarySound2.IsPlaying == false then
  2212. ScarySound2:Play()
  2213. elseif ScarySound2.IsPlaying == true then
  2214. ScarySound2:Stop()
  2215.  
  2216.  
  2217. end
  2218. end end)
  2219.  
  2220. mouse.KeyDown:connect(function(key)
  2221. if key == "r" then
  2222. if ScarySound4.IsPlaying == false then
  2223. ScarySound4:Play()
  2224. elseif ScarySound2.IsPlaying == true then
  2225. ScarySound4:Stop()
  2226.  
  2227.  
  2228. end
  2229. end end)
  2230. mouse.KeyDown:connect(function(key)
  2231. if key == "u" then
  2232. for _, z in pairs(workspace:GetChildren()) do
  2233.  
  2234. if z.Name == "Zombie" then
  2235.  
  2236. z:Destroy()
  2237.  
  2238. end
  2239. end
  2240. end
  2241. end)
  2242.  
  2243.  
  2244.  
  2245. mouse.KeyDown:connect(function(key)
  2246. if key == "h" then
  2247. for _, z in pairs(workspace:GetChildren()) do
  2248.  
  2249. if z.Name == "Zombie" then
  2250.  
  2251.  
  2252.  
  2253. end
  2254. end
  2255. end
  2256. end)
  2257.  
  2258.  
  2259. function SpawnZombie()
  2260.  
  2261.  
  2262. if ZomWait == false and ZomWait2 == false then
  2263. Zombie.Parent = game.Lighting
  2264. Zombie2 = Zombie:Clone()
  2265. Zombie3 = Zombie:Clone()
  2266.  
  2267. Zombie:Destroy()
  2268. ----------------------------
  2269. ZomWait2 = true
  2270. wait()
  2271. ZomWait = true
  2272. end
  2273.  
  2274.  
  2275.  
  2276. if ZomWait == true and ZomWait2 == false then
  2277. Zombie3.Parent = game.Lighting
  2278. Zombie2 = Zombie3:Clone()
  2279. Zombie = Zombie3:Clone()
  2280.  
  2281. Zombie3:Destroy()
  2282. ----------------------------
  2283. ZomWait2 = true
  2284. wait()
  2285. ZomWait = false
  2286. end
  2287. Zombie2.Parent = game.Workspace
  2288.  
  2289. end
  2290.  
  2291.  
  2292.  
  2293.  
  2294. function ResetZombie()
  2295. wait(4)
  2296. ZomSyle = false
  2297. ZomWait2 = false
  2298.  
  2299. end
  2300.  
  2301. function onTouch(part)
  2302.  
  2303. local humanoid = part.Parent:findFirstChild("Humanoid")
  2304. local model = part.Parent
  2305. local torso = part.Parent:findFirstChild("Torso")
  2306. local head = part.Parent:findFirstChild("Head")
  2307. local leftleg = part.Parent:findFirstChild("Left Leg")
  2308. local rightleg = part.Parent:findFirstChild("Right Leg")
  2309. local leftarm = part.Parent:findFirstChild("Left Arm")
  2310. local rightarm = part.Parent:findFirstChild("Right Arm")
  2311. if model.Name == 'Zombie' == false then
  2312.  
  2313.  
  2314. if (humanoid ~=nil) then
  2315.  
  2316. --humanoid.Health = 0
  2317.  
  2318.  
  2319.  
  2320.  
  2321. head.BrickColor = BrickColor.new("Really black")
  2322. torso.BrickColor = BrickColor.new("Really black")
  2323. leftleg.BrickColor = BrickColor.new("Really black")
  2324. rightleg.BrickColor = BrickColor.new("Really black")
  2325. rightarm.BrickColor = BrickColor.new("Really black")
  2326. leftarm.BrickColor = BrickColor.new("Really black")
  2327. humanoid.Sit = true
  2328. wait(0.5)
  2329. torso.Anchored = true
  2330. wait(.3)
  2331. zomchar = humanoid.Parent
  2332. e=Instance.new('Part', model)
  2333. e.Size = Vector3.new(2.25,2.25,2.25)
  2334. e.Transparency = 1
  2335. e.Anchored = true
  2336. e.CFrame = CFrame.new(torso.Position)
  2337.  
  2338.  
  2339.  
  2340. wait(1)
  2341. torso:Destroy()
  2342. q=Instance.new('ParticleEmitter', e)
  2343. q.Size = NumberSequence.new(2,.0)
  2344. q.Rate = 500
  2345. q.Transparency = NumberSequence.new(0,1)
  2346. q.Speed = NumberRange.new(7)
  2347. q.VelocitySpread = 100
  2348. q.Lifetime = NumberRange.new(0.1,1)
  2349. q.Texture = 'rbxassetid://164417280'
  2350. wait(.1)
  2351. torso.Anchored = true
  2352. rightleg.Anchored = true
  2353. leftleg.Anchored = true
  2354. rightarm.Anchored = true
  2355. leftarm.Anchored = true
  2356. ded = Instance.new("Sound")
  2357. ded.Parent = e
  2358. ded.SoundId = "rbxassetid://130976109"
  2359. ded.Volume = 3
  2360. ded.Looped = false
  2361. wait()
  2362.  
  2363. ded:Play()
  2364.  
  2365. wait(1)
  2366. leftleg.Transparency = 0.5
  2367. head.Transparency = 0.5
  2368. rightleg.Transparency = 0.5
  2369. torso.Transparency = 0.5
  2370. leftarm.Transparency = 0.5
  2371. rightarm.Transparency = 0.5
  2372.  
  2373.  
  2374. wait(0.001)
  2375. leftleg.Transparency = 0.6
  2376. head.Transparency = 0.6
  2377. rightleg.Transparency = 0.6
  2378. torso.Transparency = 0.6
  2379. leftarm.Transparency = 0.6
  2380. rightarm.Transparency = 0.6
  2381.  
  2382. wait(0.001)
  2383. leftleg.Transparency = 0.7
  2384. head.Transparency = 0.7
  2385. rightleg.Transparency = 0.7
  2386. torso.Transparency = 0.7
  2387. leftarm.Transparency = 0.7
  2388. rightarm.Transparency = 0.7
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395. wait(0.001)
  2396. leftleg.Transparency = 1
  2397. head.Transparency = 1
  2398. rightleg.Transparency = 1
  2399. torso.Transparency = 1
  2400. leftarm.Transparency = 1
  2401. rightarm.Transparency = 1
  2402. wait()
  2403.  
  2404. SpawnZombie()
  2405. Zombie2.Name = 'Zombie'
  2406.  
  2407. wait()
  2408. Zombie2:MoveTo(zomchar.Head.Position + Vector3.new(math.random(0,1),0,math.random(0,1)))
  2409. ----------------------
  2410.  
  2411. if ZomSyle == false then
  2412. ZomSyle = true
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421. Zombie2.archivable = false
  2422.  
  2423.  
  2424. skin = zomchar["Body Colors"]:Clone()
  2425. skin.Parent = Zombie2
  2426. wait()
  2427.  
  2428.  
  2429. Character= Zombie2
  2430. plr = Zombie2
  2431. Headmaker = Character.Head
  2432. Headcol1 = Headmaker.BrickColor
  2433. Headmat = Headmaker.Material
  2434. Headsize = Headmaker.Size
  2435. Headsize2 = Headmaker.Mesh.Scale
  2436. hed = Character.Head
  2437. hed.Transparency = 1
  2438.  
  2439. local Headnr1 = Instance.new("Model",Character.Head)
  2440. Headnr1.Name = "Lmao"
  2441. local Headnr2 = Instance.new("Model",Headnr1)
  2442. Headnr2.Name = ""..zomchar.Name
  2443.  
  2444.  
  2445. ----------------------------------------------------------
  2446. wait()
  2447. local Mask = Instance.new("Part", Headnr2)
  2448. Mask.Name = "Head"
  2449. Mask.CanCollide = false
  2450. Mask.BrickColor = Headcol1
  2451. Mask.Transparency = 0
  2452. Mask.Material = Headmat
  2453. Mask.Size = Headsize
  2454. Mask.TopSurface = Enum.SurfaceType.Smooth
  2455. Mask.BottomSurface = Enum.SurfaceType.Smooth
  2456. local Weld = Instance.new("Weld", Mask)
  2457. Weld.Part0 = Character.Head
  2458. Weld.Part1 = Mask
  2459. Weld.C1 = CFrame.new(0,0,0)
  2460.  
  2461. local M1 = Instance.new("SpecialMesh")
  2462. M1.Parent = Mask
  2463. M1.MeshType='Head'
  2464. M1.Scale = Headsize2
  2465. ----------------------------------------------------------
  2466. local Name2 = Instance.new("Humanoid",Headnr2)
  2467. Zombie2.Torso.Touched:connect(onTouch)
  2468. wait()
  2469.  
  2470. for i,v in pairs(zomchar:GetChildren()) do
  2471. if v:IsA("CharacterMesh") then
  2472. v:clone().Parent = Zombie2
  2473. end
  2474.  
  2475. if v:IsA("ShirtGraphic") then
  2476. v:clone().Parent = Zombie2
  2477. end
  2478.  
  2479. if v:IsA("Pants") then
  2480. v:clone().Parent = Zombie2
  2481. end
  2482. if v:IsA("Shirt") then
  2483. v:clone().Parent = Zombie2
  2484.  
  2485. end
  2486.  
  2487.  
  2488. if v:IsA("Accessory") then
  2489. v:clone().Parent = Zombie2
  2490. end
  2491.  
  2492. if v:IsA("Hat") then
  2493. v:clone().Parent = Zombie2
  2494. end
  2495.  
  2496. end
  2497.  
  2498.  
  2499.  
  2500. end
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508. ----------------------
  2509. wait()
  2510. leftleg:Destroy()
  2511. head:Destroy()
  2512. rightleg:Destroy()
  2513. leftarm:Destroy()
  2514. rightarm:Destroy()
  2515. ResetZombie()
  2516. end
  2517. end
  2518. end
  2519.  
  2520.  
  2521.  
  2522. char.Torso.Touched:connect(onTouch)
  2523.  
  2524. mouse.KeyDown:connect(function(key)
  2525. if key == "c" then
  2526.  
  2527. LockOn()
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533. end
  2534. end)
  2535.  
  2536.  
  2537. debounce = false
  2538.  
  2539. function onTouched(hit)
  2540. hole:Play()
  2541. hit.CanCollide=false
  2542. wait(.5)
  2543. hit.CanCollide = true
  2544. debounce = true
  2545.  
  2546. end
  2547.  
  2548. game.Players.battleman22222.Character.Torso.Touched:connect(onTouched)
  2549.  
  2550.  
  2551. while wait() do
  2552. char["Left Leg"].BrickColor = BrickColor.new("Really black")
  2553. char["Head"].BrickColor = BrickColor.new("Really black")
  2554. char["Right Leg"].BrickColor = BrickColor.new("Really black")
  2555. char["Torso"].BrickColor = BrickColor.new("Really black")
  2556. char["Left Arm"].BrickColor = BrickColor.new("Black")
  2557. char["Right Arm"].BrickColor = BrickColor.new("Black")
  2558. imgl.Rotation = imgl.Rotation + 1
  2559. if targetted ~= nil then
  2560. crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  2561. crosshair.Enabled = true
  2562. elseif targetted == nil then
  2563. crosshair.Adornee = nil
  2564. crosshair.Enabled = false
  2565. end
  2566. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  2567. for _, z in pairs(workspace:GetChildren()) do
  2568.  
  2569. if z.Name == "Zombie" then
  2570.  
  2571. z.Humanoid:MoveTo(targetted.Head.Position)
  2572.  
  2573. end
  2574. end
  2575. end)
  2576.  
  2577. playertarg = game.Players.battleman22222
  2578. chara = playertarg.Character
  2579. Mouse = playertarg:GetMouse()
  2580. targetted = nil
  2581.  
  2582. New = function(Object, Parent, Name, Data)
  2583. local Object = Instance.new(Object)
  2584. for Index, Value in pairs(Data or {}) do
  2585. Object[Index] = Value
  2586. end
  2587. Object.Parent = Parent
  2588. Object.Name = Name
  2589. return Object
  2590. end
  2591.  
  2592.  
  2593.  
  2594. crosshair = Instance.new("BillboardGui",chara)
  2595. crosshair.Size = UDim2.new(10,0,10,0)
  2596. crosshair.Enabled = false
  2597. imgl = Instance.new("ImageLabel",crosshair)
  2598. imgl.Position = UDim2.new(0,0,0,0)
  2599. imgl.Size = UDim2.new(1,0,1,0)
  2600. imgl.Image = "rbxassetid://182932517"
  2601. imgl.BackgroundTransparency = 1
  2602. imgl.ImageTransparency = .7
  2603. imgl.ImageColor3 = Color3.new(0,0,0)
  2604.  
  2605.  
  2606. function LoadSnd(id,loop,vol,pit)
  2607. local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
  2608. return snd
  2609. end
  2610.  
  2611. TargetSnd = LoadSnd(167191994,false,2,.8)
  2612.  
  2613.  
  2614. function TargetSelect(person)
  2615. local dd=coroutine.wrap(function()
  2616. if targetted ~= person then
  2617. targetted = person
  2618. for i = 0,30,10 do
  2619. wait(.05)
  2620. crosshair.Size = UDim2.new(40-i,0,40-i,0)
  2621. end
  2622. end
  2623. end)
  2624. dd()
  2625. end
  2626.  
  2627.  
  2628.  
  2629. function LockOn()
  2630. if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2631. TargetSelect(Mouse.Target.Parent)
  2632. TargetSnd:Play()
  2633. else end
  2634. end
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.  
  2657.  
  2658.  
  2659. ZomWait = false
  2660. ZomWait2 = false
  2661. ZomSyle = false
  2662.  
  2663.  
  2664. Target1 =script.Parent.Name
  2665. Target2 = game.Players[Target1]
  2666. Target2.Character.archivable = true
  2667. clone4 = Target2.Character:Clone()
  2668. clone4.Parent = game.Lighting
  2669.  
  2670.  
  2671.  
  2672.  
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703. Glow1 = Color3.new(.5,0,0)
  2704. Glow2 = Color3.new(0,0,0)
  2705.  
  2706. GlowParticle = Instance.new("ParticleEmitter",clone4.Torso)
  2707. GlowParticle.LightEmission = 0
  2708. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  2709. GlowParticle.Size = NumberSequence.new(2,0)
  2710. GlowParticle.Texture = "http://www.roblox.com/asset/?id=118641183"
  2711. GlowParticle.Transparency = NumberSequence.new(.3,.8)
  2712. GlowParticle.LockedToPart = false
  2713. GlowParticle.Lifetime = NumberRange.new(.5,.6)
  2714. GlowParticle.Rate= 100
  2715. GlowParticle.Speed =NumberRange.new(6)
  2716. GlowParticle.VelocitySpread = 360
  2717.  
  2718.  
  2719.  
  2720. for i,v in pairs(clone4:GetChildren()) do
  2721.  
  2722.  
  2723. if v:IsA("ShirtGraphic") then
  2724. v:Destroy()
  2725. end
  2726.  
  2727. if v:IsA("Pants") then
  2728. v:Destroy()
  2729. end
  2730. if v:IsA("Shirt") then
  2731. v:Destroy()
  2732. end
  2733. if v:IsA("Hat") then
  2734. v:Destroy()
  2735.  
  2736. end
  2737. if v:IsA("Accessory") then
  2738. v:Destroy()
  2739. end
  2740.  
  2741. end
  2742.  
  2743. clone4["Body Colors"]:Destroy()
  2744. clone4.Head.face.Texture = "rbxassetid://97880283"
  2745.  
  2746. wait()
  2747. Zombie = clone4:Clone()
  2748.  
  2749. wait()
  2750.  
  2751. clone4:Destroy()
  2752.  
  2753. wait()
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760. end
  2761.  
  2762.  
  2763.  
  2764.  
  2765. ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement