Advertisement
Josemmoya

q

Jan 25th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.54 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. function swait(num)
  337. if num == 0 or num == nil then
  338. game:service'RunService'.RenderStepped:wait(0)
  339. else
  340. for i = 0, num do
  341. game:service'RunService'.RenderStepped:wait(0)
  342. end
  343. end
  344. end
  345.  
  346. local RbxUtility = LoadLibrary("RbxUtility")
  347. local Create = RbxUtility.Create
  348.  
  349. function RemoveOutlines(part)
  350. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  351. end
  352.  
  353. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  354. local Part = Create("Part"){
  355. formFactor = FormFactor,
  356. Parent = Parent,
  357. Reflectance = Reflectance,
  358. Transparency = Transparency,
  359. CanCollide = false,
  360. Locked = true,
  361. BrickColor = BrickColor.new(tostring(BColor)),
  362. Name = Name,
  363. Size = Size,
  364. Material = Material,
  365. }
  366. RemoveOutlines(Part)
  367. return Part
  368. end
  369.  
  370. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  371. local Msh = Create(Mesh){
  372. Parent = Part,
  373. Offset = OffSet,
  374. Scale = Scale,
  375. }
  376. if Mesh == "SpecialMesh" then
  377. Msh.MeshType = MeshType
  378. Msh.MeshId = MeshId
  379. end
  380. return Msh
  381. end
  382.  
  383. function CreateWeld(Parent, Part0, Part1, C0, C1)
  384. local Weld = Create("Weld"){
  385. Parent = Parent,
  386. Part0 = Part0,
  387. Part1 = Part1,
  388. C0 = C0,
  389. C1 = C1,
  390. }
  391. return Weld
  392. end
  393.  
  394. function rayCast(Position, Direction, Range, Ignore)
  395. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  396. end
  397.  
  398. function CreateSound(id, par, vol, pit)
  399. coroutine.resume(coroutine.create(function()
  400. local sou = Instance.new("Sound", par or workspace)
  401. sou.Volume = vol
  402. sou.Pitch = pit or 1
  403. sou.SoundId = id
  404. wait()
  405. sou:play()
  406. game:GetService("Debris"):AddItem(sou, 6)
  407. end))
  408. end
  409.  
  410. local function getclosest(obj, distance)
  411. local last, lastx = distance + 1
  412. for i, v in pairs(workspace:GetChildren()) do
  413. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  414. local t = v.Torso
  415. local dist = (t.Position - obj.Position).magnitude
  416. if dist <= distance then
  417. if dist < last then
  418. last = dist
  419. lastx = v
  420. end
  421. end
  422. end
  423. end
  424. return lastx
  425. end
  426.  
  427. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  428. for i, v in pairs(hit:GetChildren()) do
  429. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  430. local find = v:FindFirstChild("Hitz")
  431. if not find then
  432. if v.Parent:findFirstChild("Head") then
  433. local BillG = Create("BillboardGui"){
  434. Parent = v.Parent.Head,
  435. Size = UDim2.new(1, 0, 1, 0),
  436. Adornee = v.Parent.Head,
  437. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  438. }
  439. local TL = Create("TextLabel"){
  440. Parent = BillG,
  441. Size = UDim2.new(3, 3, 3, 3),
  442. BackgroundTransparency = 1,
  443. Text = tostring(damage).."-",
  444. TextColor3 = Color1.Color,
  445. TextStrokeColor3 = Color2.Color,
  446. TextStrokeTransparency = 0,
  447. TextXAlignment = Enum.TextXAlignment.Center,
  448. TextYAlignment = Enum.TextYAlignment.Center,
  449. FontSize = Enum.FontSize.Size18,
  450. Font = "ArialBold",
  451. }
  452. coroutine.resume(coroutine.create(function()
  453. wait(1)
  454. for i = 0, 1, .1 do
  455. wait(.1)
  456. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  457. end
  458. BillG:Destroy()
  459. end))
  460. end
  461. v.Health = v.Health - damage
  462. local bool = Create("BoolValue"){
  463. Parent = v,
  464. Name = 'Hitz',
  465. }
  466. if HSound ~= nil and HPitch ~= nil then
  467. CreateSound(HSound, hit, 1, HPitch)
  468. end
  469. game:GetService("Debris"):AddItem(bool, cooldown)
  470. end
  471. end
  472. end
  473. end
  474.  
  475.  
  476. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  477. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  478. prt.Anchored = true
  479. prt.CFrame = cframe
  480. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  481. game:GetService("Debris"):AddItem(prt, 10)
  482. if Type == 1 or Type == nil then
  483. table.insert(Effects, {
  484. prt,
  485. "Block1",
  486. delay,
  487. x3,
  488. y3,
  489. z3,
  490. msh
  491. })
  492. elseif Type == 2 then
  493. table.insert(Effects, {
  494. prt,
  495. "Block2",
  496. delay,
  497. x3,
  498. y3,
  499. z3,
  500. msh
  501. })
  502. end
  503. end
  504.  
  505. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  506. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  507. prt.Anchored = true
  508. prt.CFrame = cframe
  509. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  510. game:GetService("Debris"):AddItem(prt, 10)
  511. table.insert(Effects, {
  512. prt,
  513. "Cylinder",
  514. delay,
  515. x3,
  516. y3,
  517. z3,
  518. msh
  519. })
  520. end
  521.  
  522. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  523. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  524. prt.Anchored = true
  525. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  526. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  527. game:GetService("Debris"):AddItem(prt, 10)
  528. table.insert(Effects, {
  529. prt,
  530. "Cylinder",
  531. delay,
  532. x3,
  533. y3,
  534. z3,
  535. msh
  536. })
  537. end
  538.  
  539. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  540. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  541. prt.Anchored = true
  542. prt.CFrame = cframe
  543. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  544. game:GetService("Debris"):AddItem(prt, 10)
  545. table.insert(Effects, {
  546. prt,
  547. "Cylinder",
  548. delay,
  549. x3,
  550. y3,
  551. z3,
  552. msh
  553. })
  554. end
  555.  
  556. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  557. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  558. prt.Anchored = true
  559. prt.CFrame = cframe
  560. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  561. game:GetService("Debris"):AddItem(prt, 10)
  562. table.insert(Effects, {
  563. prt,
  564. "Cylinder",
  565. delay,
  566. x3,
  567. y3,
  568. z3,
  569. msh
  570. })
  571. end
  572.  
  573. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  574. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  575. prt.Anchored = true
  576. prt.CFrame = cframe
  577. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  578. game:GetService("Debris"):AddItem(prt, 10)
  579. table.insert(Effects, {
  580. prt,
  581. "Cylinder",
  582. delay,
  583. x3,
  584. y3,
  585. z3,
  586. msh
  587. })
  588. end
  589.  
  590. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  591. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  592. prt.Anchored = true
  593. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  594. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  595. local num = math.random(10, 50) / 1000
  596. game:GetService("Debris"):AddItem(prt, 10)
  597. table.insert(Effects, {
  598. prt,
  599. "Shatter",
  600. num,
  601. prt.CFrame,
  602. math.random() - math.random(),
  603. 0,
  604. math.random(50, 100) / 100
  605. })
  606. end
  607.  
  608.  
  609.  
  610.  
  611. for i = 0, 1, 0.05 do
  612. swait()
  613. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  614. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
  615. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  616. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  617. if Torsovelocity > 2 then
  618. 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)
  619. 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)
  620. 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)
  621. elseif Torsovelocity < 1 then
  622. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  623. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  624. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  625. end
  626. end
  627. attack = false
  628.  
  629.  
  630.  
  631. game:GetService'RunService'.Stepped:connect(function()
  632. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  633. velocity = RootPart.Velocity.y
  634. sine = sine + change
  635. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  636. if equipped == true or equipped == false then
  637. if RootPart.Velocity.y > 1 and hit == nil then
  638. Anim = "Jump"
  639. if attack == false then
  640. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), 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(-40), math.rad(0), math.rad(30)), .1)
  643. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
  644. RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  645. LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  646. end
  647. elseif RootPart.Velocity.y < -1 and hit == nil then
  648. Anim = "Fall"
  649. if attack == false then
  650. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  651. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  652. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
  653. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
  654. RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  655. LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  656. end
  657. elseif Torsovelocity < 1 and hit ~= nil then
  658. Anim = "Idle"
  659. if attack == false then
  660. change = 1
  661. 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)
  662. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  663. 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)
  664. 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)
  665. 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)
  666. 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)
  667. end
  668. elseif Torsovelocity > 2 and hit ~= nil then
  669. Anim = "Walk"
  670. if attack == false then
  671. 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)
  672. 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)
  673. 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)
  674. 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)
  675. 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)
  676. 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)
  677. end
  678. end
  679. end
  680. if #Effects > 0 then
  681. for e = 1, #Effects do
  682. if Effects[e] ~= nil then
  683. local Thing = Effects[e]
  684. if Thing ~= nil then
  685. local Part = Thing[1]
  686. local Mode = Thing[2]
  687. local Delay = Thing[3]
  688. local IncX = Thing[4]
  689. local IncY = Thing[5]
  690. local IncZ = Thing[6]
  691. if Thing[1].Transparency <= 1 then
  692. if Thing[2] == "Block1" then
  693. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  694. local Mesh = Thing[1].Mesh
  695. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  696. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  697. elseif Thing[2] == "Block2" then
  698. Thing[1].CFrame = Thing[1].CFrame
  699. local Mesh = Thing[7]
  700. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  701. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  702. elseif Thing[2] == "Cylinder" then
  703. local Mesh = Thing[1].Mesh
  704. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  705. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  706. elseif Thing[2] == "Blood" then
  707. local Mesh = Thing[7]
  708. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  709. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  710. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  711. elseif Thing[2] == "Elec" then
  712. local Mesh = Thing[1].Mesh
  713. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  714. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  715. elseif Thing[2] == "Disappear" then
  716. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  717. elseif Thing[2] == "Shatter" then
  718. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  719. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  720. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  721. Thing[6] = Thing[6] + Thing[5]
  722. end
  723. else
  724. Part.Parent = nil
  725. table.remove(Effects, e)
  726. end
  727. end
  728. end
  729. end
  730. end
  731. end)
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740. p = (owner.Name)
  741. char = owner.Character
  742.  
  743.  
  744. local player = owner
  745. repeat wait() until player.Character.Humanoid
  746. local humanoid = player.Character.Humanoid
  747.  
  748. for i,v in pairs(char:GetChildren()) do
  749. if v.ClassName == 'Accessory' then
  750. v:Destroy()
  751. end
  752. end
  753.  
  754. ScarySound1 = Instance.new("Sound")
  755. ScarySound1.Parent = char.Torso
  756. ScarySound1.SoundId = "rbxassetid://161964276"
  757. ScarySound1.Volume = .5
  758.  
  759. ScarySound2 = Instance.new("Sound")
  760. ScarySound2.Parent = char.Torso
  761. ScarySound2.SoundId = "rbxassetid://669623416"
  762. ScarySound2.Volume = 2
  763. ScarySound2.Looped = true
  764.  
  765. ScarySound3 = Instance.new("Sound")
  766. ScarySound3.Parent = char.Torso
  767. ScarySound3.SoundId = "rbxassetid://483810543"
  768. ScarySound3.Volume = 0.3
  769. ScarySound3.Looped = true
  770.  
  771. ScarySound4 = Instance.new("Sound")
  772. ScarySound4.Parent = char.Torso
  773. ScarySound4.SoundId = "rbxassetid://177113856"
  774. ScarySound4.Volume = 2
  775. ScarySound4.Looped = false
  776.  
  777. Punch = Instance.new("Sound")
  778. Punch.Parent = char.Torso
  779. Punch.SoundId = "rbxassetid://146938349"
  780. Punch.Volume = 1.5
  781. Punch.Looped = false
  782. Punch.Pitch = 0.8
  783.  
  784. hole = Instance.new("Sound")
  785. hole.Parent = char.Torso
  786. hole.SoundId = "rbxassetid://224339308"
  787. hole.Volume = .3
  788.  
  789.  
  790. owner.Character.Sound:Destroy()
  791.  
  792. function Normal()
  793. ScarySound3:Play()
  794. char.Humanoid.WalkSpeed = 18
  795. char.Head.face.Texture = "rbxassetid://0"
  796. char["Left Leg"].Transparency = 0
  797. char["Head"].Transparency = 0
  798. char["Right Leg"].Transparency = 0
  799. char["Torso"].Transparency = 0
  800. char["Left Arm"].Transparency = 0
  801. char["Right Arm"].Transparency = 0
  802. end
  803.  
  804. function GoInvisible()
  805. ScarySound3:Stop()
  806. ScarySound1:Stop()
  807. char.Humanoid.WalkSpeed = 120
  808. char.Head.face.Transparency = 1
  809. char["Left Leg"].Transparency = 0
  810. char["Head"].Transparency = 0.5
  811. char["Right Leg"].Transparency = 0.5
  812. char["Torso"].Transparency = 0.5
  813. char["Left Arm"].Transparency = 0.5
  814. char["Right Arm"].Transparency = 0.5
  815. Hood.Transparency = 0.5
  816. Mask.Transparency = 0.5
  817. Orbvc.Transparency = 0.5
  818. Orbd.Transparency = 0.5
  819. Orbvc.BrickColor = BrickColor.new("Really red")
  820. Orbd.BrickColor = BrickColor.new("Really red")
  821. wait(0.001)
  822. char["Left Leg"].Transparency = 0.6
  823. char["Head"].Transparency = 0.6
  824. char["Right Leg"].Transparency = 0.6
  825. char["Torso"].Transparency = 0.6
  826. char["Left Arm"].Transparency = 0.6
  827. char["Right Arm"].Transparency = 0.6
  828. Hood.Transparency = 0.6
  829. Mask.Transparency = 0.6
  830. Orbvc.Transparency = 0.6
  831. Orbd.Transparency = 0.6
  832. wait(0.001)
  833. char["Left Leg"].Transparency = 0.7
  834. char["Head"].Transparency = 0.7
  835. char["Right Leg"].Transparency = 0.7
  836. char["Torso"].Transparency = 0.7
  837. char["Left Arm"].Transparency = 0.7
  838. char["Right Arm"].Transparency = 0.7
  839. Hood.Transparency = 0.7
  840. Mask.Transparency = 0.7
  841. Orbvc.Transparency = 0.7
  842. Orbd.Transparency = 0.7
  843. wait(0.001)
  844. char["Left Leg"].Transparency = 1
  845. char["Head"].Transparency = 1
  846. char["Right Leg"].Transparency = 1
  847. char["Torso"].Transparency = 1
  848. char["Left Arm"].Transparency = 1
  849. char["Right Arm"].Transparency = 1
  850. Hood.Transparency = 1
  851. Mask.Transparency = 1
  852. Orbvc.Transparency = 1
  853. Orbd.Transparency = 1
  854. end
  855.  
  856. function GoVisible()
  857. ScarySound3:Play()
  858. char.Humanoid.WalkSpeed = 16
  859. ScarySound1:Play()
  860. char.Head.face.Transparency = 0
  861. Orbvc.BrickColor = BrickColor.new("Really black")
  862. Orbd.BrickColor = BrickColor.new("Really black")
  863. char["Left Leg"].Transparency = 0.9
  864. char["Head"].Transparency = 0.9
  865. char["Right Leg"].Transparency = 9
  866. char["Torso"].Transparency = 0.9
  867. char["Left Arm"].Transparency = 0.9
  868. char["Right Arm"].Transparency = 0.9
  869. Hood.Transparency = 0.9
  870. Mask.Transparency = 0.9
  871. Orbvc.Transparency = 0.9
  872. Orbd.Transparency = 0.9
  873. wait(0.001)
  874. char["Left Leg"].Transparency = 0.7
  875. char["Head"].Transparency = 0.7
  876. char["Right Leg"].Transparency = 0.7
  877. char["Torso"].Transparency = 0.7
  878. char["Left Arm"].Transparency = 0.7
  879. char["Right Arm"].Transparency = 0.7
  880. Hood.Transparency = 0.7
  881. Mask.Transparency = 0.7
  882. Orbvc.Transparency = 0.7
  883. Orbd.Transparency = 0.7
  884. wait(0.001)
  885. char["Left Leg"].Transparency = 0
  886. char["Head"].Transparency = 0
  887. char["Right Leg"].Transparency = 0
  888. char["Torso"].Transparency = 0
  889. char["Left Arm"].Transparency = 0
  890. char["Right Arm"].Transparency = 0
  891. Hood.Transparency = 0
  892. Mask.Transparency = 0
  893. Orbvc.Transparency = 0
  894. Orbd.Transparency = 0
  895. end
  896.  
  897. Normal()
  898.  
  899.  
  900.  
  901. mouse.KeyDown:connect(function(key)
  902. if key == "z" then
  903. if char.Head.Transparency == 0 then
  904. GoInvisible()
  905.  
  906. elseif char.Head.Transparency == 1 then
  907. GoVisible()
  908. end
  909. end end)
  910.  
  911. mouse.KeyDown:connect(function(key)
  912. if key == "x" then
  913. if ScarySound2.IsPlaying == false then
  914. ScarySound2:Play()
  915. elseif ScarySound2.IsPlaying == true then
  916. ScarySound2:Stop()
  917.  
  918.  
  919. end
  920. end end)
  921.  
  922. mouse.KeyDown:connect(function(key)
  923. if key == "r" then
  924. if ScarySound4.IsPlaying == false then
  925. ScarySound4:Play()
  926. elseif ScarySound2.IsPlaying == true then
  927. ScarySound4:Stop()
  928.  
  929.  
  930. end
  931. end end)
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941. function onTouch(part)
  942.  
  943. local humanoid = part.Parent:findFirstChild("Humanoid")
  944. local model = part.Parent
  945. local torso = part.Parent:findFirstChild("Torso")
  946. local head = part.Parent:findFirstChild("Head")
  947. local leftleg = part.Parent:findFirstChild("Left Leg")
  948. local rightleg = part.Parent:findFirstChild("Right Leg")
  949. local leftarm = part.Parent:findFirstChild("Left Arm")
  950. local rightarm = part.Parent:findFirstChild("Right Arm")
  951.  
  952.  
  953. if (humanoid ~=nil) then
  954.  
  955. --humanoid.Health = 0
  956.  
  957. head.BrickColor = BrickColor.new("Really black")
  958. torso.BrickColor = BrickColor.new("Really black")
  959. leftleg.BrickColor = BrickColor.new("Really black")
  960. rightleg.BrickColor = BrickColor.new("Really black")
  961. rightarm.BrickColor = BrickColor.new("Really black")
  962. leftarm.BrickColor = BrickColor.new("Really black")
  963. humanoid.Sit = true
  964. wait(0.5)
  965. torso.Anchored = true
  966. wait(3)
  967.  
  968. e=Instance.new('Part', model)
  969. e.Size = Vector3.new(2.25,2.25,2.25)
  970. e.Transparency = 1
  971. e.Anchored = true
  972. e.CFrame = CFrame.new(head.Position)
  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. wait(0.1)
  1059. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1060. wait(0.1)
  1061. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1062. wait(0.1)
  1063. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1064. wait(0.1)
  1065. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1066. wait(0.1)
  1067. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  1068.  
  1069.  
  1070. wait(2)
  1071. head:Destroy()
  1072. q=Instance.new('ParticleEmitter', e)
  1073. q.Size = NumberSequence.new(1)
  1074. q.Rate = 500
  1075. q.Transparency = NumberSequence.new(0.5)
  1076. q.Speed = NumberRange.new(7)
  1077. q.VelocitySpread = 40
  1078. q.Lifetime = NumberRange.new(0.1,1)
  1079. q.Texture = 'rbxassetid://164417280'
  1080.  
  1081. torso.Anchored = true
  1082. rightleg.Anchored = true
  1083. leftleg.Anchored = true
  1084. rightarm.Anchored = true
  1085. leftarm.Anchored = true
  1086. ded = Instance.new("Sound")
  1087. ded.Parent = torso
  1088. ded.SoundId = "rbxassetid://130976109"
  1089. ded.Volume = 3
  1090. ded.Looped = false
  1091. wait()
  1092. ded:Play()
  1093.  
  1094.  
  1095.  
  1096.  
  1097. end
  1098.  
  1099. end
  1100.  
  1101.  
  1102.  
  1103. char.Torso.Touched:connect(onTouch)
  1104.  
  1105. mouse.KeyDown:connect(function(key)
  1106. if key == "c" then
  1107.  
  1108.  
  1109. Punch:Play()
  1110.  
  1111.  
  1112.  
  1113.  
  1114. end
  1115. end)
  1116.  
  1117. debounce = false
  1118.  
  1119. function onTouched(hit)
  1120. hole:Play()
  1121. hit.CanCollide=false
  1122. wait(.5)
  1123. hit.CanCollide = true
  1124. debounce = true
  1125.  
  1126. end
  1127. owner.Character.Torso.Touched:connect(onTouched)
  1128.  
  1129.  
  1130. while wait() do
  1131. char["Left Leg"].BrickColor = BrickColor.new("Really black")
  1132. char["Head"].BrickColor = BrickColor.new("Really black")
  1133. char["Right Leg"].BrickColor = BrickColor.new("Really black")
  1134. char["Torso"].BrickColor = BrickColor.new("Really black")
  1135. char["Left Arm"].BrickColor = BrickColor.new("Black")
  1136. char["Right Arm"].BrickColor = BrickColor.new("Black")
  1137. end
  1138.  
  1139. ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement