Advertisement
Josemmoya

dintttt

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