Advertisement
Bendy928443534

Untitled

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