Advertisement
Manaphy2100idk

Untitled

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