Advertisement
saba1517

SCP

Jun 18th, 2018
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.30 KB | None | 0 0
  1. --- Made by: 123jl123 ---
  2. --- Remake of SCP Shadow Demon ---
  3. ------------------------------------------------------
  4. Player=game:GetService("Players").LocalPlayer
  5. Character=Player.Character
  6.  
  7. -------------------------------------------------------
  8. crosshair = Instance.new("BillboardGui",chara)
  9. crosshair.Size = UDim2.new(10,0,10,0)
  10. crosshair.Enabled = false
  11. imgl = Instance.new("ImageLabel",crosshair)
  12. imgl.Position = UDim2.new(0,0,0,0)
  13. imgl.Size = UDim2.new(1,0,1,0)
  14. imgl.Image = "rbxassetid://160506713"
  15. imgl.BackgroundTransparency = 1
  16. imgl.ImageTransparency = .7
  17. imgl.ImageColor3 = Color3.new(0,0,0)
  18.  
  19. CV="Maroon"
  20. Player = game.Players.LocalPlayer
  21. Character = Player.Character
  22. local txt = Instance.new("BillboardGui", Character)
  23. txt.Adornee = Character .Head
  24. txt.Name = "_status"
  25. txt.Size = UDim2.new(2, 0, 1.2, 0)
  26. txt.StudsOffset = Vector3.new(-9, 8, 0)
  27. local text = Instance.new("TextLabel", txt)
  28. text.Size = UDim2.new(10, 0, 7, 0)
  29. text.FontSize = "Size24"
  30. text.TextScaled = true
  31. text.TextTransparency = 0
  32. text.BackgroundTransparency = 1
  33. text.TextTransparency = 0
  34. text.TextStrokeTransparency = 0
  35. text.Font = "Bodoni"
  36. text.TextStrokeColor3 = Color3.new(255,255,255)
  37.  
  38. v=Instance.new("Part")
  39. v.Name = "ColorBrick"
  40. v.Parent=Player.Character
  41. v.FormFactor="Symmetric"
  42. v.Anchored=true
  43. v.CanCollide=false
  44. v.BottomSurface="Smooth"
  45. v.TopSurface="Smooth"
  46. v.Size=Vector3.new(10,5,3)
  47. v.Transparency=1
  48. v.CFrame=Character.Torso.CFrame
  49. v.BrickColor=BrickColor.new(CV)
  50. v.Transparency=1
  51. text.TextColor3 = Color3.new(0,0,0)
  52. v.Shape="Block"
  53. text.Text = "SCP - 049"
  54. -------------------------------------------------------
  55. local Orbd = Instance.new("Part", Character)
  56. Orbd.Name = "Orbd"
  57. Orbd.Shape = Enum.PartType.Ball
  58. Orbd.CanCollide = false
  59. Orbd.BrickColor = BrickColor.new("Really black")
  60. Orbd.Transparency = 0
  61. Orbd.Material = "Neon"
  62. Orbd.Size = Vector3.new(0.3, 0.3, 0.3)
  63. Orbd.TopSurface = Enum.SurfaceType.Smooth
  64. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  65.  
  66. local Weld = Instance.new("Weld", Orbd)
  67. Weld.Part0 = Character.Head
  68. Weld.Part1 = Orbd
  69. Weld.C1 = CFrame.new(-0.26, -0.24, 0.55)
  70.  
  71. --------------------------------------------------------
  72. local Orbvc = Instance.new("Part", Character)
  73. Orbvc.Name = "Orbvc"
  74. Orbvc.Shape = Enum.PartType.Ball
  75. Orbvc.CanCollide = false
  76. Orbvc.BrickColor = BrickColor.new("Really black")
  77. Orbvc.Transparency = 0
  78. Orbvc.Material = "Neon"
  79. Orbvc.Size = Vector3.new(0.3, 0.3, 0.3)
  80. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  81. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  82.  
  83. local Weld = Instance.new("Weld", Orbvc)
  84. Weld.Part0 = Character.Head
  85. Weld.Part1 = Orbvc
  86. Weld.C1 = CFrame.new(0.26, -0.24, 0.55)
  87. ---------------------------------------------------------
  88. local Mask = Instance.new("Part", Character)
  89. Mask.Name = "Mask"
  90. Mask.CanCollide = false
  91. Mask.BrickColor = BrickColor.new("Medium stone grey")
  92. Mask.Transparency = 0
  93. Mask.Material = "Neon"
  94. Mask.Size = Vector3.new(0.1, 0.1, 0.1)
  95. Mask.TopSurface = Enum.SurfaceType.Smooth
  96. Mask.BottomSurface = Enum.SurfaceType.Smooth
  97.  
  98. local Weld = Instance.new("Weld", Mask)
  99. Weld.Part0 = Character.Head
  100. Weld.Part1 = Mask
  101. Weld.C1 = CFrame.new(0, -0.1, 0.8)
  102.  
  103. local M1 = Instance.new("SpecialMesh")
  104. M1.Parent = Mask
  105. M1.MeshId = "http://www.roblox.com/asset/?id=62679079"
  106. M1.Scale = Vector3.new( 1, 1, 2)
  107. ----------------------------------------------------------
  108. local Hood = Instance.new("Part", Character)
  109. Hood.Name = "Hood"
  110. Hood.CanCollide = false
  111. Hood.BrickColor = BrickColor.new("Really black")
  112. Hood.Transparency = 0
  113. Hood.Material = "Plastic"
  114. Hood.Size = Vector3.new(0.1, 0.1, 0.1)
  115. Hood.TopSurface = Enum.SurfaceType.Smooth
  116. Hood.BottomSurface = Enum.SurfaceType.Smooth
  117.  
  118. local Weld = Instance.new("Weld", Hood)
  119. Weld.Part0 = Character.Head
  120. Weld.Part1 = Hood
  121. Weld.C1 = CFrame.new(0, -0.2, 0)
  122.  
  123. local M2 = Instance.new("SpecialMesh")
  124. M2.Parent = Hood
  125. M2.MeshId = "http://www.roblox.com/asset/?id=83499032"
  126. M2.Scale = Vector3.new( 1, 1.2, 1.1)
  127. ------------------------------------------------------
  128.  
  129. p = game.Players.LocalPlayer
  130. char049 = p.Character
  131.  
  132. char049.Shirt:Remove()
  133. for i,v in pairs(char049:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  134. wait()shirt = Instance.new("Shirt", char049)
  135. shirt.Name = "Shirt"
  136. pants = Instance.new("Pants", char049)
  137. pants.Name = "Pants"
  138.  
  139. char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=648758131"
  140. char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=472675863"
  141. -------------------------------------------------
  142. ---- Orbd,Orbvc,Mask,Hood
  143.  
  144. --[[NIGHTOWLACE_WEAPONRY]]--
  145. maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name
  146. secondcolor = "Really black"
  147.  
  148. wait(1 / 60)
  149. Effects = { }
  150. local Player = game.Players.localPlayer
  151. local Character = Player.Character
  152. local Humanoid = Character.Humanoid
  153. local mouse = Player:GetMouse()
  154. local LeftArm = Character["Left Arm"]
  155. local RightArm = Character["Right Arm"]
  156. local LeftLeg = Character["Left Leg"]
  157. local RightLeg = Character["Right Leg"]
  158. local Head = Character.Head
  159. local Torso = Character.Torso
  160. local cam = game.Workspace.CurrentCamera
  161. local RootPart = Character.HumanoidRootPart
  162. local RootJoint = RootPart.RootJoint
  163. local equipped = false
  164. local attack = false
  165. local Anim = 'Idle'
  166. local idle = 0
  167. local attacktype = 1
  168. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  169. local velocity = RootPart.Velocity.y
  170. local sine = 0
  171. local change = 1
  172. local grabbed = false
  173. local cn = CFrame.new
  174. local mr = math.rad
  175. local angles = CFrame.Angles
  176. local ud = UDim2.new
  177. local c3 = Color3.new
  178.  
  179. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  180. Humanoid.Animator:Destroy()
  181. Character.Animate:Destroy()
  182.  
  183. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  184. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  185. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  186.  
  187. RSH, LSH = nil, nil
  188.  
  189. RW = Instance.new("Weld")
  190. LW = Instance.new("Weld")
  191.  
  192. RH = Torso["Right Hip"]
  193. LH = Torso["Left Hip"]
  194.  
  195. RSH = Torso["Right Shoulder"]
  196. LSH = Torso["Left Shoulder"]
  197.  
  198. RSH.Parent = nil
  199. LSH.Parent = nil
  200.  
  201. RW.Name = "RW"
  202. RW.Part0 = Torso
  203. RW.C0 = cn(1.5, 0.5, 0)
  204. RW.C1 = cn(0, 0.5, 0)
  205. RW.Part1 = RightArm
  206. RW.Parent = Torso
  207.  
  208. LW.Name = "LW"
  209. LW.Part0 = Torso
  210. LW.C0 = cn(-1.5, 0.5, 0)
  211. LW.C1 = cn(0, 0.5, 0)
  212. LW.Part1 = LeftArm
  213. LW.Parent = Torso
  214.  
  215. function clerp(a, b, t)
  216. local qa = {
  217. QuaternionFromCFrame(a)
  218. }
  219. local qb = {
  220. QuaternionFromCFrame(b)
  221. }
  222. local ax, ay, az = a.x, a.y, a.z
  223. local bx, by, bz = b.x, b.y, b.z
  224. local _t = 1 - t
  225. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  226. end
  227.  
  228. function QuaternionFromCFrame(cf)
  229. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  230. local trace = m00 + m11 + m22
  231. if trace > 0 then
  232. local s = math.sqrt(1 + trace)
  233. local recip = 0.5 / s
  234. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  235. else
  236. local i = 0
  237. if m11 > m00 then
  238. i = 1
  239. end
  240. if m22 > (i == 0 and m00 or m11) then
  241. i = 2
  242. end
  243. if i == 0 then
  244. local s = math.sqrt(m00 - m11 - m22 + 1)
  245. local recip = 0.5 / s
  246. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  247. elseif i == 1 then
  248. local s = math.sqrt(m11 - m22 - m00 + 1)
  249. local recip = 0.5 / s
  250. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  251. elseif i == 2 then
  252. local s = math.sqrt(m22 - m00 - m11 + 1)
  253. local recip = 0.5 / s
  254. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  255. end
  256. end
  257. end
  258.  
  259. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  260. local xs, ys, zs = x + x, y + y, z + z
  261. local wx, wy, wz = w * xs, w * ys, w * zs
  262. local xx = x * xs
  263. local xy = x * ys
  264. local xz = x * zs
  265. local yy = y * ys
  266. local yz = y * zs
  267. local zz = z * zs
  268. 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))
  269. end
  270.  
  271. function QuaternionSlerp(a, b, t)
  272. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  273. local startInterp, finishInterp;
  274. if cosTheta >= 0.0001 then
  275. if (1 - cosTheta) > 0.0001 then
  276. local theta = math.acos(cosTheta)
  277. local invSinTheta = 1 / math.sin(theta)
  278. startInterp = math.sin((1 - t) * theta) * invSinTheta
  279. finishInterp = math.sin(t * theta) * invSinTheta
  280. else
  281. startInterp = 1 - t
  282. finishInterp = t
  283. end
  284. else
  285. if (1 + cosTheta) > 0.0001 then
  286. local theta = math.acos(-cosTheta)
  287. local invSinTheta = 1 / math.sin(theta)
  288. startInterp = math.sin((t - 1) * theta) * invSinTheta
  289. finishInterp = math.sin(t * theta) * invSinTheta
  290. else
  291. startInterp = t - 1
  292. finishInterp = t
  293. end
  294. end
  295. 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
  296. end
  297.  
  298. function swait(num)
  299. if num == 0 or num == nil then
  300. game:service'RunService'.RenderStepped:wait(0)
  301. else
  302. for i = 0, num do
  303. game:service'RunService'.RenderStepped:wait(0)
  304. end
  305. end
  306. end
  307.  
  308. local RbxUtility = LoadLibrary("RbxUtility")
  309. local Create = RbxUtility.Create
  310.  
  311. function RemoveOutlines(part)
  312. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  313. end
  314.  
  315. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  316. local Part = Create("Part"){
  317. formFactor = FormFactor,
  318. Parent = Parent,
  319. Reflectance = Reflectance,
  320. Transparency = Transparency,
  321. CanCollide = false,
  322. Locked = true,
  323. BrickColor = BrickColor.new(tostring(BColor)),
  324. Name = Name,
  325. Size = Size,
  326. Material = Material,
  327. }
  328. RemoveOutlines(Part)
  329. return Part
  330. end
  331.  
  332. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  333. local Msh = Create(Mesh){
  334. Parent = Part,
  335. Offset = OffSet,
  336. Scale = Scale,
  337. }
  338. if Mesh == "SpecialMesh" then
  339. Msh.MeshType = MeshType
  340. Msh.MeshId = MeshId
  341. end
  342. return Msh
  343. end
  344.  
  345. function CreateWeld(Parent, Part0, Part1, C0, C1)
  346. local Weld = Create("Weld"){
  347. Parent = Parent,
  348. Part0 = Part0,
  349. Part1 = Part1,
  350. C0 = C0,
  351. C1 = C1,
  352. }
  353. return Weld
  354. end
  355.  
  356. function rayCast(Position, Direction, Range, Ignore)
  357. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  358. end
  359.  
  360. function CreateSound(id, par, vol, pit)
  361. coroutine.resume(coroutine.create(function()
  362. local sou = Instance.new("Sound", par or workspace)
  363. sou.Volume = vol
  364. sou.Pitch = pit or 1
  365. sou.SoundId = id
  366. wait()
  367. sou:play()
  368. game:GetService("Debris"):AddItem(sou, 6)
  369. end))
  370. end
  371.  
  372. local function getclosest(obj, distance)
  373. local last, lastx = distance + 1
  374. for i, v in pairs(workspace:GetChildren()) do
  375. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  376. local t = v.Torso
  377. local dist = (t.Position - obj.Position).magnitude
  378. if dist <= distance then
  379. if dist < last then
  380. last = dist
  381. lastx = v
  382. end
  383. end
  384. end
  385. end
  386. return lastx
  387. end
  388.  
  389. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  390. for i, v in pairs(hit:GetChildren()) do
  391. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  392. local find = v:FindFirstChild("Hitz")
  393. if not find then
  394. if v.Parent:findFirstChild("Head") then
  395. local BillG = Create("BillboardGui"){
  396. Parent = v.Parent.Head,
  397. Size = UDim2.new(1, 0, 1, 0),
  398. Adornee = v.Parent.Head,
  399. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  400. }
  401. local TL = Create("TextLabel"){
  402. Parent = BillG,
  403. Size = UDim2.new(3, 3, 3, 3),
  404. BackgroundTransparency = 1,
  405. Text = tostring(damage).."-",
  406. TextColor3 = Color1.Color,
  407. TextStrokeColor3 = Color2.Color,
  408. TextStrokeTransparency = 0,
  409. TextXAlignment = Enum.TextXAlignment.Center,
  410. TextYAlignment = Enum.TextYAlignment.Center,
  411. FontSize = Enum.FontSize.Size18,
  412. Font = "ArialBold",
  413. }
  414. coroutine.resume(coroutine.create(function()
  415. wait(1)
  416. for i = 0, 1, .1 do
  417. wait(.1)
  418. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  419. end
  420. BillG:Destroy()
  421. end))
  422. end
  423. v.Health = v.Health - damage
  424. local bool = Create("BoolValue"){
  425. Parent = v,
  426. Name = 'Hitz',
  427. }
  428. if HSound ~= nil and HPitch ~= nil then
  429. CreateSound(HSound, hit, 1, HPitch)
  430. end
  431. game:GetService("Debris"):AddItem(bool, cooldown)
  432. end
  433. end
  434. end
  435. end
  436.  
  437.  
  438. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  439. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  440. prt.Anchored = true
  441. prt.CFrame = cframe
  442. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  443. game:GetService("Debris"):AddItem(prt, 10)
  444. if Type == 1 or Type == nil then
  445. table.insert(Effects, {
  446. prt,
  447. "Block1",
  448. delay,
  449. x3,
  450. y3,
  451. z3,
  452. msh
  453. })
  454. elseif Type == 2 then
  455. table.insert(Effects, {
  456. prt,
  457. "Block2",
  458. delay,
  459. x3,
  460. y3,
  461. z3,
  462. msh
  463. })
  464. end
  465. end
  466.  
  467. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  468. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  469. prt.Anchored = true
  470. prt.CFrame = cframe
  471. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  472. game:GetService("Debris"):AddItem(prt, 10)
  473. table.insert(Effects, {
  474. prt,
  475. "Cylinder",
  476. delay,
  477. x3,
  478. y3,
  479. z3,
  480. msh
  481. })
  482. end
  483.  
  484. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  485. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  486. prt.Anchored = true
  487. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  488. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  489. game:GetService("Debris"):AddItem(prt, 10)
  490. table.insert(Effects, {
  491. prt,
  492. "Cylinder",
  493. delay,
  494. x3,
  495. y3,
  496. z3,
  497. msh
  498. })
  499. end
  500.  
  501. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  502. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  503. prt.Anchored = true
  504. prt.CFrame = cframe
  505. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  506. game:GetService("Debris"):AddItem(prt, 10)
  507. table.insert(Effects, {
  508. prt,
  509. "Cylinder",
  510. delay,
  511. x3,
  512. y3,
  513. z3,
  514. msh
  515. })
  516. end
  517.  
  518. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  519. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  520. prt.Anchored = true
  521. prt.CFrame = cframe
  522. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  523. game:GetService("Debris"):AddItem(prt, 10)
  524. table.insert(Effects, {
  525. prt,
  526. "Cylinder",
  527. delay,
  528. x3,
  529. y3,
  530. z3,
  531. msh
  532. })
  533. end
  534.  
  535. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  536. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  537. prt.Anchored = true
  538. prt.CFrame = cframe
  539. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  540. game:GetService("Debris"):AddItem(prt, 10)
  541. table.insert(Effects, {
  542. prt,
  543. "Cylinder",
  544. delay,
  545. x3,
  546. y3,
  547. z3,
  548. msh
  549. })
  550. end
  551.  
  552. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  553. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  554. prt.Anchored = true
  555. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  556. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  557. local num = math.random(10, 50) / 1000
  558. game:GetService("Debris"):AddItem(prt, 10)
  559. table.insert(Effects, {
  560. prt,
  561. "Shatter",
  562. num,
  563. prt.CFrame,
  564. math.random() - math.random(),
  565. 0,
  566. math.random(50, 100) / 100
  567. })
  568. end
  569.  
  570.  
  571.  
  572.  
  573. for i = 0, 1, 0.05 do
  574. swait()
  575. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  576. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
  577. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  578. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  579. if Torsovelocity > 2 then
  580. 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)
  581. 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)
  582. 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)
  583. elseif Torsovelocity < 1 then
  584. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  585. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  586. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  587. end
  588. end
  589. attack = false
  590.  
  591.  
  592.  
  593. game:GetService'RunService'.Stepped:connect(function()
  594. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  595. velocity = RootPart.Velocity.y
  596. sine = sine + change
  597. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  598. if equipped == true or equipped == false then
  599. if RootPart.Velocity.y > 1 and hit == nil then
  600. Anim = "Jump"
  601. if attack == false then
  602. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  603. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  604. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1)
  605. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
  606. RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  607. LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  608. end
  609. elseif RootPart.Velocity.y < -1 and hit == nil then
  610. Anim = "Fall"
  611. if attack == false then
  612. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  613. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  614. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
  615. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
  616. RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  617. LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  618. end
  619. elseif Torsovelocity < 1 and hit ~= nil then
  620. Anim = "Idle"
  621. if attack == false then
  622. change = 1
  623. 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)
  624. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  625. 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)
  626. 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)
  627. 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)
  628. 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)
  629. end
  630. elseif Torsovelocity > 2 and hit ~= nil then
  631. Anim = "Walk"
  632. if attack == false then
  633. 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)
  634. 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)
  635. 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)
  636. 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)
  637. 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)
  638. 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)
  639. end
  640. end
  641. end
  642. if #Effects > 0 then
  643. for e = 1, #Effects do
  644. if Effects[e] ~= nil then
  645. local Thing = Effects[e]
  646. if Thing ~= nil then
  647. local Part = Thing[1]
  648. local Mode = Thing[2]
  649. local Delay = Thing[3]
  650. local IncX = Thing[4]
  651. local IncY = Thing[5]
  652. local IncZ = Thing[6]
  653. if Thing[1].Transparency <= 1 then
  654. if Thing[2] == "Block1" then
  655. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  656. local Mesh = Thing[1].Mesh
  657. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  658. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  659. elseif Thing[2] == "Block2" then
  660. Thing[1].CFrame = Thing[1].CFrame
  661. local Mesh = Thing[7]
  662. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  663. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  664. elseif Thing[2] == "Cylinder" then
  665. local Mesh = Thing[1].Mesh
  666. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  667. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  668. elseif Thing[2] == "Blood" then
  669. local Mesh = Thing[7]
  670. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  671. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  672. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  673. elseif Thing[2] == "Elec" then
  674. local Mesh = Thing[1].Mesh
  675. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  676. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  677. elseif Thing[2] == "Disappear" then
  678. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  679. elseif Thing[2] == "Shatter" then
  680. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  681. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  682. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  683. Thing[6] = Thing[6] + Thing[5]
  684. end
  685. else
  686. Part.Parent = nil
  687. table.remove(Effects, e)
  688. end
  689. end
  690. end
  691. end
  692. end
  693. end)
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702. p = (game.Players.LocalPlayer.Name)
  703. char = game.Players.LocalPlayer.Character
  704.  
  705.  
  706. local player = game.Players.LocalPlayer
  707. repeat wait() until player.Character.Humanoid
  708. local humanoid = player.Character.Humanoid
  709. local mouse = player:GetMouse()
  710.  
  711. for i,v in pairs(char:GetChildren()) do
  712. if v.ClassName == 'Accessory' then
  713. v:Destroy()
  714. end
  715. end
  716.  
  717. ScarySound1 = Instance.new("Sound")
  718. ScarySound1.Parent = char.Torso
  719. ScarySound1.SoundId = "rbxassetid://161964276"
  720. ScarySound1.Volume = .5
  721.  
  722. ScarySound2 = Instance.new("Sound")
  723. ScarySound2.Parent = char.Torso
  724. ScarySound2.SoundId = "rbxassetid://669623416"
  725. ScarySound2.Volume = 2
  726. ScarySound2.Looped = true
  727.  
  728. ScarySound3 = Instance.new("Sound")
  729. ScarySound3.Parent = char.Torso
  730. ScarySound3.SoundId = "rbxassetid://189329047"
  731. ScarySound3.Volume = 2
  732. ScarySound3.Looped = true
  733.  
  734. ScarySound4 = Instance.new("Sound")
  735. ScarySound4.Parent = char.Torso
  736. ScarySound4.SoundId = "rbxassetid://177113856"
  737. ScarySound4.Volume = 2
  738. ScarySound4.Looped = false
  739.  
  740. Punch = Instance.new("Sound")
  741. Punch.Parent = char.Torso
  742. Punch.SoundId = "rbxassetid://146938349"
  743. Punch.Volume = 1.5
  744. Punch.Looped = false
  745. Punch.Pitch = 0.8
  746.  
  747. hole = Instance.new("Sound")
  748. hole.Parent = char.Torso
  749. hole.SoundId = "rbxassetid://224339308"
  750. hole.Volume = .3
  751.  
  752.  
  753. game.Players.LocalPlayer.Character.Sound:Destroy()
  754.  
  755. function Normal()
  756. ScarySound3:Play()
  757. char.Humanoid.WalkSpeed = 18
  758. char.Head.face.Texture = "rbxassetid://0"
  759. char["Left Leg"].Transparency = 0
  760. char["Head"].Transparency = 0
  761. char["Right Leg"].Transparency = 0
  762. char["Torso"].Transparency = 0
  763. char["Left Arm"].Transparency = 0
  764. char["Right Arm"].Transparency = 0
  765. end
  766.  
  767. function GoInvisible()
  768. ScarySound3:Stop()
  769. ScarySound1:Stop()
  770. char.Humanoid.WalkSpeed = 120
  771. char.Head.face.Transparency = 1
  772. char["Left Leg"].Transparency = 0
  773. char["Head"].Transparency = 0.5
  774. char["Right Leg"].Transparency = 0.5
  775. char["Torso"].Transparency = 0.5
  776. char["Left Arm"].Transparency = 0.5
  777. char["Right Arm"].Transparency = 0.5
  778. Hood.Transparency = 0.5
  779. Mask.Transparency = 0.5
  780. Orbvc.Transparency = 0.5
  781. Orbd.Transparency = 0.5
  782. Orbvc.BrickColor = BrickColor.new("Really red")
  783. Orbd.BrickColor = BrickColor.new("Really red")
  784. wait(0.001)
  785. char["Left Leg"].Transparency = 0.6
  786. char["Head"].Transparency = 0.6
  787. char["Right Leg"].Transparency = 0.6
  788. char["Torso"].Transparency = 0.6
  789. char["Left Arm"].Transparency = 0.6
  790. char["Right Arm"].Transparency = 0.6
  791. Hood.Transparency = 0.6
  792. Mask.Transparency = 0.6
  793. Orbvc.Transparency = 0.6
  794. Orbd.Transparency = 0.6
  795. wait(0.001)
  796. char["Left Leg"].Transparency = 0.7
  797. char["Head"].Transparency = 0.7
  798. char["Right Leg"].Transparency = 0.7
  799. char["Torso"].Transparency = 0.7
  800. char["Left Arm"].Transparency = 0.7
  801. char["Right Arm"].Transparency = 0.7
  802. Hood.Transparency = 0.7
  803. Mask.Transparency = 0.7
  804. Orbvc.Transparency = 0.7
  805. Orbd.Transparency = 0.7
  806. wait(0.001)
  807. char["Left Leg"].Transparency = 1
  808. char["Head"].Transparency = 1
  809. char["Right Leg"].Transparency = 1
  810. char["Torso"].Transparency = 1
  811. char["Left Arm"].Transparency = 1
  812. char["Right Arm"].Transparency = 1
  813. Hood.Transparency = 1
  814. Mask.Transparency = 1
  815. Orbvc.Transparency = 1
  816. Orbd.Transparency = 1
  817. end
  818.  
  819. function GoVisible()
  820. ScarySound3:Play()
  821. char.Humanoid.WalkSpeed = 16
  822. ScarySound1:Play()
  823. char.Head.face.Transparency = 0
  824. Orbvc.BrickColor = BrickColor.new("Really black")
  825. Orbd.BrickColor = BrickColor.new("Really black")
  826. char["Left Leg"].Transparency = 0.9
  827. char["Head"].Transparency = 0.9
  828. char["Right Leg"].Transparency = 9
  829. char["Torso"].Transparency = 0.9
  830. char["Left Arm"].Transparency = 0.9
  831. char["Right Arm"].Transparency = 0.9
  832. Hood.Transparency = 0.9
  833. Mask.Transparency = 0.9
  834. Orbvc.Transparency = 0.9
  835. Orbd.Transparency = 0.9
  836. wait(0.001)
  837. char["Left Leg"].Transparency = 0.7
  838. char["Head"].Transparency = 0.7
  839. char["Right Leg"].Transparency = 0.7
  840. char["Torso"].Transparency = 0.7
  841. char["Left Arm"].Transparency = 0.7
  842. char["Right Arm"].Transparency = 0.7
  843. Hood.Transparency = 0.7
  844. Mask.Transparency = 0.7
  845. Orbvc.Transparency = 0.7
  846. Orbd.Transparency = 0.7
  847. wait(0.001)
  848. char["Left Leg"].Transparency = 0
  849. char["Head"].Transparency = 0
  850. char["Right Leg"].Transparency = 0
  851. char["Torso"].Transparency = 0
  852. char["Left Arm"].Transparency = 0
  853. char["Right Arm"].Transparency = 0
  854. Hood.Transparency = 0
  855. Mask.Transparency = 0
  856. Orbvc.Transparency = 0
  857. Orbd.Transparency = 0
  858. end
  859.  
  860. Normal()
  861.  
  862.  
  863.  
  864. mouse.KeyDown:connect(function(key)
  865. if key == "z" then
  866. if char.Head.Transparency == 0 then
  867. GoInvisible()
  868.  
  869. elseif char.Head.Transparency == 1 then
  870. GoVisible()
  871. end
  872. end end)
  873.  
  874. mouse.KeyDown:connect(function(key)
  875. if key == "x" then
  876. if ScarySound2.IsPlaying == false then
  877. ScarySound2:Play()
  878. elseif ScarySound2.IsPlaying == true then
  879. ScarySound2:Stop()
  880.  
  881.  
  882. end
  883. end end)
  884.  
  885. mouse.KeyDown:connect(function(key)
  886. if key == "r" then
  887. if ScarySound4.IsPlaying == false then
  888. ScarySound4:Play()
  889. elseif ScarySound2.IsPlaying == true then
  890. ScarySound4:Stop()
  891.  
  892.  
  893. end
  894. end end)
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904. function onTouch(part)
  905.  
  906. local humanoid = part.Parent:findFirstChild("Humanoid")
  907. local model = part.Parent
  908. local torso = part.Parent:findFirstChild("Torso")
  909. local head = part.Parent:findFirstChild("Head")
  910. local leftleg = part.Parent:findFirstChild("Left Leg")
  911. local rightleg = part.Parent:findFirstChild("Right Leg")
  912. local leftarm = part.Parent:findFirstChild("Left Arm")
  913. local rightarm = part.Parent:findFirstChild("Right Arm")
  914.  
  915.  
  916. if (humanoid ~=nil) then
  917.  
  918. --humanoid.Health = 0
  919.  
  920. head.BrickColor = BrickColor.new("Really black")
  921. torso.BrickColor = BrickColor.new("Really black")
  922. leftleg.BrickColor = BrickColor.new("Really black")
  923. rightleg.BrickColor = BrickColor.new("Really black")
  924. rightarm.BrickColor = BrickColor.new("Really black")
  925. leftarm.BrickColor = BrickColor.new("Really black")
  926. humanoid.Sit = true
  927. wait(0.5)
  928. torso.Anchored = true
  929. wait(3)
  930.  
  931. e=Instance.new('Part', model)
  932. e.Size = Vector3.new(2.25,2.25,2.25)
  933. e.Transparency = 1
  934. e.Anchored = true
  935. e.CFrame = CFrame.new(head.Position)
  936. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  937. wait(0.1)
  938. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  939. wait(0.1)
  940. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  941. wait(0.1)
  942. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  943. wait(0.1)
  944. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  945. wait(0.1)
  946. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  947. wait(0.1)
  948. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  949. wait(0.1)
  950. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  951. wait(0.1)
  952. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  953. wait(0.1)
  954. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  955. wait(0.1)
  956. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  957. wait(0.1)
  958. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  959. wait(0.1)
  960. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  961. wait(0.1)
  962. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  963. wait(0.1)
  964. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  965. wait(0.1)
  966. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  967. wait(0.1)
  968. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  969. wait(0.1)
  970. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  971. wait(0.1)
  972. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  973. wait(0.1)
  974. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  975. wait(0.1)
  976. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  977. wait(0.1)
  978. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  979. wait(0.1)
  980. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  981. wait(0.1)
  982. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  983. wait(0.1)
  984. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  985. wait(0.1)
  986. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  987. wait(0.1)
  988. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  989. wait(0.1)
  990. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  991. wait(0.1)
  992. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  993. wait(0.1)
  994. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  995. wait(0.1)
  996. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  997. wait(0.1)
  998. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  999. wait(0.1)
  1000. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1001. wait(0.1)
  1002. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1003. wait(0.1)
  1004. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1005. wait(0.1)
  1006. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1007. wait(0.1)
  1008. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1009. wait(0.1)
  1010. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1011. wait(0.1)
  1012. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1013. wait(0.1)
  1014. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1015. wait(0.1)
  1016. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1017. wait(0.1)
  1018. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1019. wait(0.1)
  1020. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1021. wait(0.1)
  1022. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1023. wait(0.1)
  1024. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1025. wait(0.1)
  1026. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1027. wait(0.1)
  1028. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1029. wait(0.1)
  1030. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1031.  
  1032.  
  1033. wait(2)
  1034. head:Destroy()
  1035. q=Instance.new('ParticleEmitter', e)
  1036. q.Size = NumberSequence.new(1)
  1037. q.Rate = 500
  1038. q.Transparency = NumberSequence.new(0.5)
  1039. q.Speed = NumberRange.new(7)
  1040. q.VelocitySpread = 40
  1041. q.Lifetime = NumberRange.new(0.1,1)
  1042. q.Texture = 'rbxassetid://164417280'
  1043.  
  1044. torso.Anchored = true
  1045. rightleg.Anchored = true
  1046. leftleg.Anchored = true
  1047. rightarm.Anchored = true
  1048. leftarm.Anchored = true
  1049. ded = Instance.new("Sound")
  1050. ded.Parent = torso
  1051. ded.SoundId = "rbxassetid://261566877"
  1052. ded.Volume = 3
  1053. ded.Looped = false
  1054. wait()
  1055. ded:Play()
  1056.  
  1057.  
  1058.  
  1059.  
  1060. end
  1061.  
  1062. end
  1063.  
  1064.  
  1065.  
  1066. char.Torso.Touched:connect(onTouch)
  1067.  
  1068. mouse.KeyDown:connect(function(key)
  1069. if key == "c" then
  1070.  
  1071.  
  1072. Punch:Play()
  1073.  
  1074.  
  1075.  
  1076.  
  1077. end
  1078. end)
  1079.  
  1080. debounce = false
  1081.  
  1082. function onTouched(hit)
  1083. hole:Play()
  1084. hit.CanCollide=false
  1085. wait(.5)
  1086. hit.CanCollide = true
  1087. debounce = true
  1088.  
  1089. end
  1090. game.Players.LocalPlayer.Character.Torso.Touched:connect(onTouched)
  1091.  
  1092.  
  1093. while wait() do
  1094. char["Left Leg"].BrickColor = BrickColor.new("Really black")
  1095. char["Head"].BrickColor = BrickColor.new("Really black")
  1096. char["Right Leg"].BrickColor = BrickColor.new("Really black")
  1097. char["Torso"].BrickColor = BrickColor.new("Really black")
  1098. char["Left Arm"].BrickColor = BrickColor.new("Black")
  1099. char["Right Arm"].BrickColor = BrickColor.new("Black")
  1100. end
  1101.  
  1102. ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement