DarkScriptZEditors

Plague

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