Advertisement
JRKPastesBins

Untitled

Sep 26th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.85 KB | None | 0 0
  1. ---
  2. game.Workspace.Likebossfromdk.Humanoid.MaxHealth = math.huge
  3. local p = game.Players.LocalPlayer
  4. local char = p.Character
  5. local mouse = p:GetMouse()
  6. local larm = char["Left Arm"]
  7. local rarm = char["Right Arm"]
  8. local lleg = char["Left Leg"]
  9. local rleg = char["Right Leg"]
  10. local hed = char.Head
  11. local torso = char.Torso
  12. local parts = larm,rarm,lleg,rleg,hed,torso
  13. local ASD = BrickColor.new("Cocoa")
  14. local hum = char.Humanoid
  15. local cam = game.Workspace.CurrentCamera
  16. local root = char.HumanoidRootPart
  17. local DD = false
  18. local FA = false
  19. local deb = false
  20. local shot = 0
  21. local l = game:GetService("Lighting")
  22. local rs = game:GetService("RunService").RenderStepped
  23. local stanceToggle = "Normal"
  24. math.randomseed(os.time())
  25. hum.WalkSpeed = 7
  26. char.Health:Destroy()
  27. hum.MaxHealth = 5000000
  28. wait(0.1)
  29. hum.Health = 5000000
  30. z = Instance.new("Sound", char.Torso)
  31. z.SoundId = "rbxassetid://854228700"
  32. z.Looped = true
  33. z.Pitch = 1
  34. z.Volume = 10
  35. ----------------------------------------------------
  36. local SM = Instance.new("Smoke",torso)
  37. SM.Size = 15
  38. local S = Instance.new("Part",char)
  39. S.Size = Vector3.new(5,5,5)
  40. S.Material = "Neon"
  41. S.BrickColor = BrickColor.new("Deep orange")
  42. S.Transparency = 0
  43. S.Anchored = true
  44. S.CFrame = torso.CFrame*CFrame.new(0,0,0)
  45. local Ring = Instance.new("Part",S)
  46. Ring.Size = Vector3.new(15,15,15)
  47. Ring.BrickColor = BrickColor.new("Deep orange")
  48. Ring.Anchored = true
  49. Ring.CanCollide = false
  50. Ring.CFrame = S.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  51. local Ring2 = Instance.new("SpecialMesh",Ring)
  52. Ring2.MeshId = "rbxassetid://3270017"
  53. Ring2.Scale = Vector3.new(0.1,0.1,0.1)
  54. local S2 = Instance.new("SpecialMesh",S)
  55. S2.MeshType = "Sphere"
  56. S2.Scale = Vector3.new(1,1,1)
  57. v = Instance.new("Sound")
  58. v.SoundId = "rbxassetid://821439273"
  59. v.Parent = char.Torso
  60. v.Looped = false
  61. v.Pitch = 1
  62. v.Volume = math.huge
  63. wait(.01)
  64. v:Play()
  65. local partasdeff = Instance.new("ParticleEmitter",S)
  66. partasdeff.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(204,130,2))
  67. partasdeff.LightEmission = .1
  68. partasdeff.Size = NumberSequence.new(0.2)
  69. partasdeff.Texture = "rbxassetid://300899454"
  70. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  71. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  72. partasdeff.Transparency = bbb
  73. partasdeff.Size = aaa
  74. partasdeff.ZOffset = .9
  75. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  76. partasdeff.LockedToPart = false
  77. partasdeff.EmissionDirection = "Top"
  78. partasdeff.Lifetime = NumberRange.new(1, 2)
  79. partasdeff.Rate = 1000
  80. partasdeff.Rotation = NumberRange.new(-100, 100)
  81. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  82. partasdeff.Speed = NumberRange.new(10)
  83. partasdeff.VelocitySpread = 300
  84. partasdeff.Enabled = true
  85. for i = 1,100 do
  86. Ring2.Scale = Ring2.Scale + Vector3.new(2,2,2)
  87. Ring.Transparency = Ring.Transparency + 0.01
  88. S2.Scale = S2.Scale + Vector3.new(0.3,0.3,0.3)
  89. S.Transparency = S.Transparency + 0.01
  90. game:GetService("RunService").RenderStepped:wait()
  91. end
  92. S:remove()
  93. wait(1)
  94. SM:remove()
  95. hed.face:remove()
  96. char.Shirt:remove()
  97. char.Pants:remove()
  98. v = Instance.new("Sound")
  99. v.SoundId = "rbxassetid://168586586"
  100. v.Parent = torso
  101. v.Looped = false
  102. v.Pitch = 0.8
  103. v.Volume = math.huge
  104. wait(.01)
  105. v:Play()
  106. z:Play()
  107. ----------------------------------------------------
  108. local Glowz = Instance.new("Smoke",torso, rarm, larm, rleg, lleg)
  109. Glowz.Size = 30
  110. ----------------------------------------------------
  111. local fire1 = Instance.new("ParticleEmitter",parts)
  112. fire1.Texture = "rbxassetid://160041569"
  113. fire1.Rotation = NumberRange.new(4, 9)
  114. fire1.RotSpeed = NumberRange.new(5, 9)
  115. fire1.Speed = NumberRange.new(5, 7)
  116. fire1.Lifetime = NumberRange.new(0.25, .28)
  117. fire1.Color = ColorSequence.new(BrickColor.new'Deep orange'.Color)
  118. fire1.Rate = 5,10
  119. fire1.Acceleration = Vector3.new( 8, 6, 6 )
  120. fire1.Transparency = NumberSequence.new(0, 0, 0, 0.13253, 0.54375, 0, 0.32092, 0.7375, 0, 0.387733, 0, 0, 0.468784 ,0.725, 0, 0.522453, 0.45625, 0, 0.615553, 0.6375, 0, 0.63965, 0 ,0, 0.744797, 0.525, 0 ,1, 0, 0 )
  121. fire1.LightEmission = 1
  122. fire1.Size = NumberSequence.new(0,5)
  123. fire1.LightInfluence = 0
  124. fire1.SpreadAngle = Vector2.new(28, 28)
  125.  
  126. fire1.Enabled = true
  127. ----------------------------------------------------
  128. Debounces = {
  129. on = false;
  130. ks = false;
  131. CanAttack = true;
  132. CanJoke = true;
  133. NoIdl = false;
  134. Slashing = false;
  135. Slashed = false;
  136. Grabbing = false;
  137. Grabbed = false;
  138. }
  139. local Touche = {char.Name, }
  140. ----------------------------------------------------
  141. function lerp(a, b, t) -- Linear interpolation
  142. return a + (b - a)*t
  143. end
  144.  
  145. function slerp(a, b, t) --Spherical interpolation
  146. dot = a:Dot(b)
  147. if dot > 0.99999 or dot < -0.99999 then
  148. return t <= 0.5 and a or b
  149. else
  150. r = math.acos(dot)
  151. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  152. end
  153. end
  154.  
  155. function matrixInterpolate(a, b, t)
  156. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  157. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  158. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  159. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  160. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  161. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  162. local t = v1:Dot(v2)
  163. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  164. return CFrame.new()
  165. end
  166. return CFrame.new(
  167. v0.x, v0.y, v0.z,
  168. v1.x, v1.y, v1.z,
  169. v2.x, v2.y, v2.z,
  170. v3.x, v3.y, v3.z)
  171. end
  172. ----------------------------------------------------
  173. function genWeld(a,b)
  174. local w = Instance.new("Weld",a)
  175. w.Part0 = a
  176. w.Part1 = b
  177. return w
  178. end
  179. function weld(a, b)
  180. local weld = Instance.new("Weld")
  181. weld.Name = "W"
  182. weld.Part0 = a
  183. weld.Part1 = b
  184. weld.C0 = a.CFrame:inverse() * b.CFrame
  185. weld.Parent = a
  186. return weld;
  187. end
  188. ----------------------------------------------------
  189. function Lerp(c1,c2,al)
  190. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  191. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  192. for i,v in pairs(com1) do
  193. com1[i] = v+(com2[i]-v)*al
  194. end
  195. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  196. end
  197. ----------------------------------------------------
  198. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  199. local wld = Instance.new("Weld", wp1)
  200. wld.Part0 = wp0
  201. wld.Part1 = wp1
  202. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  203. end
  204. ----------------------------------------------------
  205. for i,v in pairs(char:children()) do
  206. if v:IsA("Hat") then
  207. v:Destroy()
  208. end
  209. end
  210. for i,v in pairs(hed:children()) do
  211. if v:IsA("Sound") then
  212. v:Destroy()
  213. end
  214. end
  215. ----------------------------------------------------
  216. function HasntTouched(plrname)
  217. local ret = true
  218. for _, v in pairs(Touche) do
  219. if v == plrname then
  220. ret = false
  221. end
  222. end
  223. return ret
  224. end
  225. ----------------------------------------------------
  226. larm.Size = larm.Size * 5
  227. rarm.Size = rarm.Size * 5
  228. lleg.Size = lleg.Size * 5
  229. rleg.Size = rleg.Size * 5
  230. torso.Size = torso.Size * 5
  231. hed.Size = hed.Size * 5
  232. root.Size = root.Size * 5
  233. ----------------------------------------------------
  234. newWeld(torso, larm, -1.5, 0.5, 0)
  235. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  236. newWeld(torso, rarm, 1.5, 0.5, 0)
  237. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  238. newWeld(torso, hed, 0, 1.5, 0)
  239. newWeld(torso, lleg, -0.5, -1, 0)
  240. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  241. newWeld(torso, rleg, 0.5, -1, 0)
  242. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  243. newWeld(root, torso, 0, -1, 0)
  244. torso.Weld.C1 = CFrame.new(0, -1, 0)
  245. ----------------------------------------------------
  246. local Part = Instance.new("Part",hed)
  247. Part.BrickColor = BrickColor.new("Really black")
  248. Part.Size = Vector3.new(1,1,1)
  249. Part.CanCollide = false
  250. Part.Material = "Neon"
  251. local M = Instance.new("SpecialMesh",Part)
  252. M.MeshId = "rbxassetid://62246019"
  253. M.Scale = Vector3.new(5,5,5)
  254. local Part2 = Instance.new("Weld",Part)
  255. Part2.Part0 = hed
  256. Part2.Part1 = Part
  257. Part2.C0 = CFrame.new(-0.2,1.5,0.8)
  258. ----------------------------------------------------
  259. -----Armored titan parts nibs
  260. local Arm = Instance.new("Part",char)
  261. Arm.Size = Vector3.new(1,1,1)
  262. Arm.BrickColor = BrickColor.new("Dark red")
  263. Arm.TopSurface = 0
  264. Arm.BottomSurface = 0
  265. Arm.CanCollide = false
  266. local Arm2 = Instance.new("SpecialMesh",Arm)
  267. Arm2.MeshType = "Brick"
  268. Arm2.Scale = Vector3.new(5,8.5,0.3)
  269. local Arm3 = Instance.new("Weld",Arm)
  270. Arm3.Part0 = rarm
  271. Arm3.Part1 = Arm
  272. Arm3.C0 = CFrame.new(0,0,2.5)
  273. local ArmR = Instance.new("Part",char)
  274. ArmR.Size = Vector3.new(1,1,1)
  275. ArmR.BrickColor = BrickColor.new("Dark red")
  276. ArmR.TopSurface = 0
  277. ArmR.BottomSurface = 0
  278. ArmR.CanCollide = false
  279. local Arm2R = Instance.new("SpecialMesh",ArmR)
  280. Arm2R.MeshType = "Brick"
  281. Arm2R.Scale = Vector3.new(5,8.5,0.3)
  282. local Arm3R = Instance.new("Weld",ArmR)
  283. Arm3R.Part0 = rarm
  284. Arm3R.Part1 = ArmR
  285. Arm3R.C0 = CFrame.new(0,0,-2.5)
  286. local ArmRS = Instance.new("Part",char)
  287. ArmRS.Size = Vector3.new(1,1,1)
  288. ArmRS.BrickColor = BrickColor.new("Dark red")
  289. ArmRS.TopSurface = 0
  290. ArmRS.BottomSurface = 0
  291. ArmRS.CanCollide = false
  292. local Arm2RS = Instance.new("SpecialMesh",ArmRS)
  293. Arm2RS.MeshType = "Brick"
  294. Arm2RS.Scale = Vector3.new(0.3,8.5,4.5)
  295. local Arm3RS = Instance.new("Weld",ArmRS)
  296. Arm3RS.Part0 = rarm
  297. Arm3RS.Part1 = ArmRS
  298. Arm3RS.C0 = CFrame.new(2.5,0,0)*CFrame.Angles(0,0,0)
  299. local TopRS = Instance.new("Part",char)
  300. TopRS.Size = Vector3.new(1,1,1)
  301. TopRS.BrickColor = BrickColor.new("Dark red")
  302. TopRS.TopSurface = 0
  303. TopRS.BottomSurface = 0
  304. TopRS.CanCollide = false
  305. local Top2RS = Instance.new("SpecialMesh",TopRS)
  306. Top2RS.MeshType = "Brick"
  307. Top2RS.Scale = Vector3.new(4.7,0.3,4.7)
  308. local Top3RS = Instance.new("Weld",TopRS)
  309. Top3RS.Part0 = rarm
  310. Top3RS.Part1 = TopRS
  311. Top3RS.C0 = CFrame.new(0,5,0)*CFrame.Angles(0,0,0)
  312. local BotRS = Instance.new("Part",char)
  313. BotRS.Size = Vector3.new(1,1,1)
  314. BotRS.BrickColor = BrickColor.new("Dark red")
  315. BotRS.BottomSurface = 0
  316. BotRS.TopSurface = 0
  317. BotRS.CanCollide = false
  318. local Bot2RS = Instance.new("SpecialMesh",BotRS)
  319. Bot2RS.MeshType = "Brick"
  320. Bot2RS.Scale = Vector3.new(4.7,0.3,4.7)
  321. local Bot3RS = Instance.new("Weld",BotRS)
  322. Bot3RS.Part0 = rarm
  323. Bot3RS.Part1 = BotRS
  324. Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0)
  325. ----------------------------------------------------
  326.  
  327. local Arm = Instance.new("Part",char)
  328. Arm.Size = Vector3.new(1,1,1)
  329. Arm.BrickColor = BrickColor.new("Dark red")
  330. Arm.TopSurface = 0
  331. Arm.BottomSurface = 0
  332. Arm.CanCollide = false
  333. local Arm2 = Instance.new("SpecialMesh",Arm)
  334. Arm2.MeshType = "Brick"
  335. Arm2.Scale = Vector3.new(5,8.5,0.3)
  336. local Arm3 = Instance.new("Weld",Arm)
  337. Arm3.Part0 = larm
  338. Arm3.Part1 = Arm
  339. Arm3.C0 = CFrame.new(0,0,2.5)
  340. local ArmR = Instance.new("Part",char)
  341. ArmR.Size = Vector3.new(1,1,1)
  342. ArmR.BrickColor = BrickColor.new("Dark red")
  343. ArmR.TopSurface = 0
  344. ArmR.BottomSurface = 0
  345. ArmR.CanCollide = false
  346. local Arm2R = Instance.new("SpecialMesh",ArmR)
  347. Arm2R.MeshType = "Brick"
  348. Arm2R.Scale = Vector3.new(5,8.5,0.3)
  349. local Arm3R = Instance.new("Weld",ArmR)
  350. Arm3R.Part0 = larm
  351. Arm3R.Part1 = ArmR
  352. Arm3R.C0 = CFrame.new(0,0,-2.5)
  353. local ArmRS = Instance.new("Part",char)
  354. ArmRS.Size = Vector3.new(1,1,1)
  355. ArmRS.BrickColor = BrickColor.new("Dark red")
  356. ArmRS.TopSurface = 0
  357. ArmRS.BottomSurface = 0
  358. ArmRS.CanCollide = false
  359. local Arm2RS = Instance.new("SpecialMesh",ArmRS)
  360. Arm2RS.MeshType = "Brick"
  361. Arm2RS.Scale = Vector3.new(0.3,8.5,4.5)
  362. local Arm3RS = Instance.new("Weld",ArmRS)
  363. Arm3RS.Part0 = larm
  364. Arm3RS.Part1 = ArmRS
  365. Arm3RS.C0 = CFrame.new(-2.5,0,0)*CFrame.Angles(0,0,0)
  366. local TopRS = Instance.new("Part",char)
  367. TopRS.Size = Vector3.new(1,1,1)
  368. TopRS.BrickColor = BrickColor.new("Dark red")
  369. TopRS.TopSurface = 0
  370. TopRS.BottomSurface = 0
  371. TopRS.CanCollide = false
  372. local Top2RS = Instance.new("SpecialMesh",TopRS)
  373. Top2RS.MeshType = "Brick"
  374. Top2RS.Scale = Vector3.new(4.7,0.3,4.7)
  375. local Top3RS = Instance.new("Weld",TopRS)
  376. Top3RS.Part0 = larm
  377. Top3RS.Part1 = TopRS
  378. Top3RS.C0 = CFrame.new(0,5,0)*CFrame.Angles(0,0,0)
  379. local BotRS = Instance.new("Part",char)
  380. BotRS.Size = Vector3.new(1,1,1)
  381. BotRS.BrickColor = BrickColor.new("Dark red")
  382. BotRS.BottomSurface = 0
  383. BotRS.TopSurface = 0
  384. BotRS.CanCollide = false
  385. local Bot2RS = Instance.new("SpecialMesh",BotRS)
  386. Bot2RS.MeshType = "Brick"
  387. Bot2RS.Scale = Vector3.new(4.7,0.3,4.7)
  388. local Bot3RS = Instance.new("Weld",BotRS)
  389. Bot3RS.Part0 = larm
  390. Bot3RS.Part1 = BotRS
  391. Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0)
  392. ----------------------------------------------------
  393. local Long = Instance.new("Part",char)
  394. Long.Size = Vector3.new(1,1,1)
  395. Long.CanCollide = false
  396. Long.BrickColor = BrickColor.new("Dark red")
  397. Long.TopSurface = 0
  398. Long.BottomSurface = 0
  399. local Long2 = Instance.new("SpecialMesh",Long)
  400. Long2.MeshType = "Brick"
  401. Long2.Scale = Vector3.new(9.5,0.3,4.5)
  402. local Long3 = Instance.new("Weld",Long)
  403. Long3.Part0 = torso
  404. Long3.Part1 = Long
  405. Long3.C0 = CFrame.new(0,4.95,0)
  406. ----------------------------------------------------
  407. local Back = Instance.new("Part",char)
  408. Back.Size = Vector3.new(1,1,1)
  409. Back.CanCollide = false
  410. Back.BrickColor = BrickColor.new("Dark red")
  411. Back.TopSurface = 0
  412. Back.BottomSurface = 0
  413. local Back2 = Instance.new("SpecialMesh",Back)
  414. Back2.MeshType = "Brick"
  415. Back2.Scale = Vector3.new(9.5,9.3,0.3)
  416. local Back3 = Instance.new("Weld",Back)
  417. Back3.Part0 = torso
  418. Back3.Part1 = Back
  419. Back3.C0 = CFrame.new(0,0,2.5)
  420. ----------------------------------------------------
  421. local Leg = Instance.new("Part",char)
  422. Leg.Size = Vector3.new(1,1,1)
  423. Leg.BrickColor = BrickColor.new("Dark red")
  424. Leg.TopSurface = 0
  425. Leg.BottomSurface = 0
  426. Leg.CanCollide = false
  427. local Leg2 = Instance.new("SpecialMesh",Leg)
  428. Leg2.MeshType = "Brick"
  429. Leg2.Scale = Vector3.new(5,8.5,0.3)
  430. local Leg3 = Instance.new("Weld",Leg)
  431. Leg3.Part0 = rleg
  432. Leg3.Part1 = Leg
  433. Leg3.C0 = CFrame.new(0,0,2.5)
  434. local LegR = Instance.new("Part",char)
  435. LegR.Size = Vector3.new(1,1,1)
  436. LegR.BrickColor = BrickColor.new("Dark red")
  437. LegR.TopSurface = 0
  438. LegR.BottomSurface = 0
  439. LegR.CanCollide = false
  440. local Leg2R = Instance.new("SpecialMesh",LegR)
  441. Leg2R.MeshType = "Brick"
  442. Leg2R.Scale = Vector3.new(5,8.5,0.3)
  443. local Leg3R = Instance.new("Weld",LegR)
  444. Leg3R.Part0 = rleg
  445. Leg3R.Part1 = LegR
  446. Leg3R.C0 = CFrame.new(0,0,-2.5)
  447. local LegRS = Instance.new("Part",char)
  448. LegRS.Size = Vector3.new(1,1,1)
  449. LegRS.BrickColor = BrickColor.new("Dark red")
  450. LegRS.TopSurface = 0
  451. LegRS.BottomSurface = 0
  452. LegRS.CanCollide = false
  453. local Leg2RS = Instance.new("SpecialMesh",LegRS)
  454. Leg2RS.MeshType = "Brick"
  455. Leg2RS.Scale = Vector3.new(0.3,8.5,4.5)
  456. local Leg3RS = Instance.new("Weld",LegRS)
  457. Leg3RS.Part0 = rleg
  458. Leg3RS.Part1 = LegRS
  459. Leg3RS.C0 = CFrame.new(2.5,0,0)*CFrame.Angles(0,0,0)
  460. local TopRS = Instance.new("Part",char)
  461. TopRS.Size = Vector3.new(1,1,1)
  462. TopRS.BrickColor = BrickColor.new("Dark red")
  463. TopRS.TopSurface = 0
  464. TopRS.BottomSurface = 0
  465. TopRS.CanCollide = false
  466. local BotRS = Instance.new("Part",char)
  467. BotRS.Size = Vector3.new(1,1,1)
  468. BotRS.BrickColor = BrickColor.new("Dark red")
  469. BotRS.BottomSurface = 0
  470. BotRS.TopSurface = 0
  471. BotRS.CanCollide = false
  472. local Bot2RS = Instance.new("SpecialMesh",BotRS)
  473. Bot2RS.MeshType = "Brick"
  474. Bot2RS.Scale = Vector3.new(4.7,0.3,4.7)
  475. local Bot3RS = Instance.new("Weld",BotRS)
  476. Bot3RS.Part0 = rleg
  477. Bot3RS.Part1 = BotRS
  478. Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0)
  479. -----------------------------------------------------------
  480. local Arm = Instance.new("Part",char)
  481. Arm.Size = Vector3.new(1,1,1)
  482. Arm.BrickColor = BrickColor.new("Dark red")
  483. Arm.TopSurface = 0
  484. Arm.BottomSurface = 0
  485. Arm.CanCollide = false
  486. local Arm2 = Instance.new("SpecialMesh",Arm)
  487. Arm2.MeshType = "Brick"
  488. Arm2.Scale = Vector3.new(5,8.5,0.3)
  489. local Arm3 = Instance.new("Weld",Arm)
  490. Arm3.Part0 = lleg
  491. Arm3.Part1 = Arm
  492. Arm3.C0 = CFrame.new(0,0,2.5)
  493. local ArmR = Instance.new("Part",char)
  494. ArmR.Size = Vector3.new(1,1,1)
  495. ArmR.BrickColor = BrickColor.new("Dark red")
  496. ArmR.TopSurface = 0
  497. ArmR.BottomSurface = 0
  498. ArmR.CanCollide = false
  499. local Arm2R = Instance.new("SpecialMesh",ArmR)
  500. Arm2R.MeshType = "Brick"
  501. Arm2R.Scale = Vector3.new(5,8.5,0.3)
  502. local Arm3R = Instance.new("Weld",ArmR)
  503. Arm3R.Part0 = lleg
  504. Arm3R.Part1 = ArmR
  505. Arm3R.C0 = CFrame.new(0,0,-2.5)
  506. local ArmRS = Instance.new("Part",char)
  507. ArmRS.Size = Vector3.new(1,1,1)
  508. ArmRS.BrickColor = BrickColor.new("Dark red")
  509. ArmRS.TopSurface = 0
  510. ArmRS.BottomSurface = 0
  511. ArmRS.CanCollide = false
  512. local Arm2RS = Instance.new("SpecialMesh",ArmRS)
  513. Arm2RS.MeshType = "Brick"
  514. Arm2RS.Scale = Vector3.new(0.3,8.5,4.5)
  515. local Arm3RS = Instance.new("Weld",ArmRS)
  516. Arm3RS.Part0 = lleg
  517. Arm3RS.Part1 = ArmRS
  518. Arm3RS.C0 = CFrame.new(-2.5,0,0)*CFrame.Angles(0,0,0)
  519. local BotRS = Instance.new("Part",char)
  520. BotRS.Size = Vector3.new(1,1,1)
  521. BotRS.BrickColor = BrickColor.new("Dark red")
  522. BotRS.BottomSurface = 0
  523. BotRS.TopSurface = 0
  524. BotRS.CanCollide = false
  525. local Bot2RS = Instance.new("SpecialMesh",BotRS)
  526. Bot2RS.MeshType = "Brick"
  527. Bot2RS.Scale = Vector3.new(4.7,0.3,4.7)
  528. local Bot3RS = Instance.new("Weld",BotRS)
  529. Bot3RS.Part0 = lleg
  530. Bot3RS.Part1 = BotRS
  531. Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0)
  532. ----------------------------------------------------
  533. local Pec = Instance.new("Part",char)
  534. Pec.Size = Vector3.new(1,1,1)
  535. Pec.BrickColor = BrickColor.new("Dark red")
  536. Pec.CanCollide = false
  537. Pec.TopSurface = 0
  538. Pec.BottomSurface = 0
  539. local Pec2 = Instance.new("SpecialMesh",Pec)
  540. Pec2.MeshType = "Brick"
  541. Pec2.Scale = Vector3.new(5,3,0.3)
  542. local Pec3 = Instance.new("Weld",Pec)
  543. Pec3.Part0 = torso
  544. Pec3.Part1 = Pec
  545. Pec3.C0 = CFrame.new(2,2.8,-2.8)*CFrame.Angles(0,0,0.1)
  546. local PecA = Instance.new("Part",char)
  547. PecA.Size = Vector3.new(1,1,1)
  548. PecA.BrickColor = BrickColor.new("Dark red")
  549. PecA.CanCollide = false
  550. PecA.TopSurface = 0
  551. PecA.BottomSurface = 0
  552. local Pec2A = Instance.new("SpecialMesh",PecA)
  553. Pec2A.MeshType = "Brick"
  554. Pec2A.Scale = Vector3.new(5,3,0.3)
  555. local Pec3A = Instance.new("Weld",PecA)
  556. Pec3A.Part0 = torso
  557. Pec3A.Part1 = PecA
  558. Pec3A.C0 = CFrame.new(-2,2.8,-2.8)*CFrame.Angles(0,0,-0.1)
  559. ---------------------------------------------------
  560. local Abs = Instance.new("Part",char)
  561. Abs.Size = Vector3.new(1,1,1)
  562. Abs.BrickColor = BrickColor.new("Dark red")
  563. Abs.CanCollide = false
  564. Abs.TopSurface = 0
  565. Abs.BottomSurface = 0
  566. local Abs2 = Instance.new("SpecialMesh",Abs)
  567. Abs2.MeshType = "Brick"
  568. Abs2.Scale = Vector3.new(2,2,0.3)
  569. local Abs3 = Instance.new("Weld",Abs)
  570. Abs3.Part0 = torso
  571. Abs3.Part1 = Abs
  572. Abs3.C0 = CFrame.new(1.4,0,-2.8)*CFrame.Angles(0,0,0.1)
  573. local Abs = Instance.new("Part",char)
  574. Abs.Size = Vector3.new(1,1,1)
  575. Abs.BrickColor = BrickColor.new("Dark red")
  576. Abs.CanCollide = false
  577. Abs.TopSurface = 0
  578. Abs.BottomSurface = 0
  579. local Abs2 = Instance.new("SpecialMesh",Abs)
  580. Abs2.MeshType = "Brick"
  581. Abs2.Scale = Vector3.new(2,2,0.3)
  582. local Abs3 = Instance.new("Weld",Abs)
  583. Abs3.Part0 = torso
  584. Abs3.Part1 = Abs
  585. Abs3.C0 = CFrame.new(-1.4,0,-2.8)*CFrame.Angles(0,0,-0.1)
  586.  
  587. local Abs = Instance.new("Part",char)
  588. Abs.Size = Vector3.new(1,1,1)
  589. Abs.BrickColor = BrickColor.new("Dark red")
  590. Abs.CanCollide = false
  591. Abs.TopSurface = 0
  592. Abs.BottomSurface = 0
  593. local Abs2 = Instance.new("SpecialMesh",Abs)
  594. Abs2.MeshType = "Brick"
  595. Abs2.Scale = Vector3.new(2,2,0.3)
  596. local Abs3 = Instance.new("Weld",Abs)
  597. Abs3.Part0 = torso
  598. Abs3.Part1 = Abs
  599. Abs3.C0 = CFrame.new(1.4,-2.1,-2.8)*CFrame.Angles(0,0,0.1)
  600. local Abs = Instance.new("Part",char)
  601. Abs.Size = Vector3.new(1,1,1)
  602. Abs.BrickColor = BrickColor.new("Dark red")
  603. Abs.CanCollide = false
  604. Abs.TopSurface = 0
  605. Abs.BottomSurface = 0
  606. local Abs2 = Instance.new("SpecialMesh",Abs)
  607. Abs2.MeshType = "Brick"
  608. Abs2.Scale = Vector3.new(2,2,0.3)
  609. local Abs3 = Instance.new("Weld",Abs)
  610. Abs3.Part0 = torso
  611. Abs3.Part1 = Abs
  612. Abs3.C0 = CFrame.new(-1.4,-2.1,-2.8)*CFrame.Angles(0,0,-0.1)
  613.  
  614. local Abs = Instance.new("Part",char)
  615. Abs.Size = Vector3.new(1,1,1)
  616. Abs.BrickColor = BrickColor.new("Dark red")
  617. Abs.CanCollide = false
  618. Abs.TopSurface = 0
  619. Abs.BottomSurface = 0
  620. local Abs2 = Instance.new("SpecialMesh",Abs)
  621. Abs2.MeshType = "Brick"
  622. Abs2.Scale = Vector3.new(2,2,0.3)
  623. local Abs3 = Instance.new("Weld",Abs)
  624. Abs3.Part0 = torso
  625. Abs3.Part1 = Abs
  626. Abs3.C0 = CFrame.new(1.4,-4.1,-2.8)*CFrame.Angles(0,0,0.1)
  627. local Abs = Instance.new("Part",char)
  628. Abs.Size = Vector3.new(1,1,1)
  629. Abs.BrickColor = BrickColor.new("Dark red")
  630. Abs.CanCollide = false
  631. Abs.TopSurface = 0
  632. Abs.BottomSurface = 0
  633. local Abs2 = Instance.new("SpecialMesh",Abs)
  634. Abs2.MeshType = "Brick"
  635. Abs2.Scale = Vector3.new(2,2,0.3)
  636. local Abs3 = Instance.new("Weld",Abs)
  637. Abs3.Part0 = torso
  638. Abs3.Part1 = Abs
  639. Abs3.C0 = CFrame.new(-1.4,-4.1,-2.8)*CFrame.Angles(0,0,-0.1)
  640. -----------------------------------------------------
  641. local Head = Instance.new("Part",char)
  642. Head.Size = Vector3.new(1,1,1)
  643. Head.BrickColor = BrickColor.new("Cocoa")
  644. Head.CanCollide = false
  645. Head.TopSurface = 0
  646. Head.BottomSurface = 0
  647. local Head2 = Instance.new("SpecialMesh",Head)
  648. Head2.MeshType = "Head"
  649. Head2.Scale = Vector3.new(11.5,6.5,6.5)
  650. local Head3 = Instance.new("Weld",Head)
  651. Head3.Part0 = hed
  652. Head3.Part1 = Head
  653. Head3.C0 = CFrame.new(0,0,0)
  654. -----------------------------------------------------
  655. local Eye2 = Instance.new("Part",char)
  656. Eye2.Size = Vector3.new(1,1,1)
  657. Eye2.BrickColor = BrickColor.new("Really red")
  658. Eye2.CanCollide = false
  659. Eye2.TopSurface = 0
  660. Eye2.Material = "Neon"
  661. Eye2.BottomSurface = 0
  662. local Eye22 = Instance.new("SpecialMesh",Eye2)
  663. Eye22.MeshType = "Sphere"
  664. Eye22.Scale = Vector3.new(1.2,0.6,0.1)
  665. local Eye32 = Instance.new("Weld",Eye2)
  666. Eye32.Part0 = hed
  667. Eye32.Part1 = Eye2
  668. Eye32.C0 = CFrame.new(1.3,0.5,-3)*CFrame.Angles(0,0,0.3)
  669. local Eye = Instance.new("Part",char)
  670. Eye.Size = Vector3.new(1,1,1)
  671. Eye.BrickColor = BrickColor.new("Really red")
  672. Eye.CanCollide = false
  673. Eye.TopSurface = 0
  674. Eye.Material = "Neon"
  675. Eye.BottomSurface = 0
  676. local Eye212 = Instance.new("SpecialMesh",Eye)
  677. Eye212.MeshType = "Sphere"
  678. Eye212.Scale = Vector3.new(1.2,0.6,0.1)
  679. local Eye3 = Instance.new("Weld",Eye)
  680. Eye3.Part0 = hed
  681. Eye3.Part1 = Eye
  682. Eye3.C0 = CFrame.new(-1.3,0.5,-3)*CFrame.Angles(0,0,-0.3)
  683.  
  684. -----------------------------------------------------
  685.  
  686. function weld5(part0, part1, c0, c1)
  687. weeld=Instance.new("Weld", part0)
  688. weeld.Part0=part0
  689. weeld.Part1=part1
  690. weeld.C0=c0
  691. weeld.C1=c1
  692. return weeld
  693. end
  694. ----------------------------------------------------
  695. function newRay(start,face,range,wat)
  696. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  697. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  698. return rey,hit,pos
  699. end
  700. ----------------------------------------------------
  701. mod5 = Instance.new("Model",char)
  702.  
  703. function FindNearestTorso(Position,Distance,SinglePlayer)
  704. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  705. local List = {}
  706. for i,v in pairs(workspace:GetChildren())do
  707. if v:IsA("Model")then
  708. if v:findFirstChild("Torso")then
  709. if v ~= char then
  710. if(v.Torso.Position -Position).magnitude <= Distance then
  711. table.insert(List,v)
  712. end
  713. end
  714. end
  715. end
  716. end
  717. return List
  718. end
  719.  
  720. function Landing()
  721. part=Instance.new('Part',mod5)
  722. part.Anchored=true
  723. part.CanCollide=false
  724. part.FormFactor='Custom'
  725. part.Size=Vector3.new(.2,.2,.2)
  726. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  727. part.Transparency=.7
  728. part.BrickColor=BrickColor.new('Really black')
  729. mesh=Instance.new('SpecialMesh',part)
  730. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  731. mesh.Scale=Vector3.new(10,5,10)
  732.  
  733. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  734. if v:FindFirstChild('Humanoid') then
  735. v.Humanoid:TakeDamage(math.random(20,30))
  736. v.Humanoid.PlatformStand = true
  737. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  738. end
  739. end
  740.  
  741. coroutine.resume(coroutine.create(function()
  742. for i=0,3.8,0.05 do
  743. wait()
  744. part.CFrame=part.CFrame
  745. part.Transparency=i
  746. mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1)
  747. end
  748. part.Parent = nil
  749. end))
  750. end
  751. ----------------------------------------------------
  752. mod4 = Instance.new("Model",char)
  753.  
  754. ptez = {0.7, 0.8, 0.9, 1}
  755.  
  756. function FindNearestTorso(Position,Distance,SinglePlayer)
  757. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  758. local List = {}
  759. for i,v in pairs(workspace:GetChildren())do
  760. if v:IsA("Model")then
  761. if v:findFirstChild("Torso")then
  762. if v ~= char then
  763. if(v.Torso.Position -Position).magnitude <= Distance then
  764. table.insert(List,v)
  765. end
  766. end
  767. end
  768. end
  769. end
  770. return List
  771. end
  772.  
  773. ----------------------------------------------------
  774.  
  775. local acos = math.acos
  776. local sqrt = math.sqrt
  777. local Vec3 = Vector3.new
  778. local fromAxisAngle = CFrame.fromAxisAngle
  779.  
  780. local function toAxisAngle(CFr)
  781. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  782. local Angle = math.acos((R00+R11+R22-1)/2)
  783. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  784. A = A == 0 and 0.00001 or A
  785. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  786. B = B == 0 and 0.00001 or B
  787. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  788. C = C == 0 and 0.00001 or C
  789. local x = (R21-R12)/sqrt(A)
  790. local y = (R02-R20)/sqrt(B)
  791. local z = (R10-R01)/sqrt(C)
  792. return Vec3(x,y,z),Angle
  793. end
  794.  
  795. function ApplyTrig(Num,Func)
  796. local Min,Max = Func(0),Func(1)
  797. local i = Func(Num)
  798. return (i-Min)/(Max-Min)
  799. --[[if Func == "sin" then
  800. return (math.sin((1-Num)*math.pi)+1)/2
  801. elseif Func == "cos" then
  802. return (math.cos((1-Num)*math.pi)+1)/2
  803. end]]
  804. end
  805.  
  806. function LerpCFrame(CFrame1,CFrame2,Num)
  807. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  808. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  809. end
  810. mouse.KeyDown:connect(function(key)
  811. if key == "b" then
  812. if Debounces.CanAttack == true then
  813. Debounces.CanAttack = false
  814. Debounces.on = true
  815. Debounces.NoIdl = true
  816. for i = 1,20 do
  817. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(9,4,1) * CFrame.Angles(0.3,-0.5,1.55),.3)
  818. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-9,4,1) * CFrame.Angles(0.3,0.5,-1.55),.3)
  819. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0.4,0,0),.3)
  820. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0.3,0,0),.3)
  821. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,1) *CFrame.Angles(-0.3,0,-0.1),.3)
  822. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,1) * CFrame.Angles(-0.3,0,0.1),.3)
  823. if Debounces.on == false then break end
  824. wait()
  825. end
  826. v = Instance.new("Sound")
  827. v.SoundId = "rbxassetid://785301837"
  828. v.Parent = torso
  829. v.Looped = false
  830. v.Pitch = 0.8
  831. v.Volume = math.huge
  832. wait(.01)
  833. v:Play()
  834. coroutine.resume(coroutine.create(function()
  835. for i = 1,80 do
  836. local H = Instance.new("Part",torso)
  837. H.Size = Vector3.new(1,1,1)
  838. H.BrickColor = BrickColor.new("White")
  839. H.CanCollide = false
  840. H.Anchored = true
  841. H.CFrame = torso.CFrame*CFrame.new(0,-13,0)*CFrame.Angles(1.3,0,0)
  842. local H2 = Instance.new("SpecialMesh",H)
  843. H2.MeshId = "rbxassetid://3270017"
  844. coroutine.resume(coroutine.create(function()
  845. for i = 1,200 do
  846. H2.Scale = H2.Scale + Vector3.new(5,5,5)
  847. H.Transparency = H.Transparency + 0.05
  848. wait(0.05)
  849. end
  850. H:remove()
  851. end))
  852. wait(0.005)
  853. end
  854. if Debounces.CanAttack == false then
  855. Debounces.CanAttack = true
  856. Debounces.on = false
  857. Debounces.NoIdl = false
  858. end
  859. end))
  860. end
  861. end
  862. end)
  863. mouse.KeyDown:connect(function(key)
  864. if key == "z" then
  865. if Debounces.CanAttack == true then
  866. Debounces.CanAttack = false
  867. Debounces.on = true
  868. Debounces.NoIdl = true
  869. for i = 1,20 do
  870. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,-3) * CFrame.Angles(1.55,0,0),.3)
  871. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,-3) * CFrame.Angles(1.55,0,0),.3)
  872. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  873. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -6, 0) * CFrame.Angles(-1.5,0,0),.3)
  874. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -7.6,-2) *CFrame.Angles(1.55,0,0),.3)
  875. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,-2) * CFrame.Angles(1.55,0,0),.3)
  876. if Debounces.on == false then break end
  877. wait()
  878. end
  879. local Rock = Instance.new("Part",char)
  880. Rock.Size = Vector3.new(1,1,1)
  881. local Rock22 = Instance.new("SpecialMesh",Rock)
  882. Rock22.MeshId = "rbxassetid://433651599"
  883. Rock22.Scale = Vector3.new(0.5,0.5,0.5)
  884. local Rock2 = Instance.new("Weld",Rock)
  885. Rock2.Part0 = hed
  886. Rock2.Part1 = Rock
  887. Rock2.C0 = CFrame.new(0,40,0)*CFrame.Angles(0,-1.55,0)
  888. local PPA = Instance.new("Part",Rock)
  889. PPA.Size = Vector3.new(30,30,30)
  890. PPA.CanCollide = false
  891. local PPA2 = Instance.new("Weld",PPA)
  892. PPA2.Part0 = Rock
  893. PPA2.Part1 = PPA
  894. PPA2.C0 = CFrame.new(0,0,0)
  895. PPA.Touched:connect(function(hit)
  896. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  897. if not FA then FA = true
  898. hit.Parent.Humanoid.PlatformStand = true
  899. hit.Parent.Humanoid:TakeDamage(30)
  900. local Fly = Instance.new("BodyVelocity",hit.Parent.Torso)
  901. Fly.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  902. Fly.velocity = mouse.hit.lookVector*560
  903. wait(0.1)
  904. Fly:remove()
  905. wait(3)
  906. FA = false
  907. end
  908. end
  909. end)
  910. wait(0.5)
  911. for i = 1,20 do
  912. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,5.5,0) * CFrame.Angles(3.1,0,0),.3)
  913. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,5.5,0) * CFrame.Angles(3.1,0,0),.3)
  914. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  915. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0,0,0),.3)
  916. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,0) *CFrame.Angles(0,0,0),.3)
  917. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,0) * CFrame.Angles(0,0,0),.3)
  918. if Debounces.on == false then break end
  919. wait()
  920. end
  921. Rock2:remove()
  922. local Fly = Instance.new("BodyVelocity",Rock)
  923. Fly.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  924. Fly.velocity = mouse.hit.lookVector*200
  925. for i = 1,20 do
  926. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1.5,-1) * CFrame.Angles(1.55,0,0),.3)
  927. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1.5,-1) * CFrame.Angles(1.55,0,0),.3)
  928. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.3,0,0),.3)
  929. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(-0.3,0,0),.3)
  930. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,0) *CFrame.Angles(0,0,0),.3)
  931. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,-2) * CFrame.Angles(0.5,0,0),.3)
  932. if Debounces.on == false then break end
  933. wait()
  934. end
  935. if Debounces.CanAttack == false then
  936. Debounces.CanAttack = true
  937. Debounces.on = false
  938. Debounces.NoIdl = false
  939. end
  940. wait(2)
  941. Fly:remove()
  942. local SFXZ = Instance.new("Sound",Rock)
  943. SFXZ.SoundId = "rbxassetid://134854740"
  944. SFXZ.Volume = math.huge
  945. SFXZ.Pitch = 1
  946. SFXZ.Looped = false
  947. wait(0.01)
  948. SFXZ:Play()
  949. wait(3)
  950. Rock:remove()
  951. end
  952. end
  953. end)
  954. mouse.KeyDown:connect(function(key)
  955. if key == "e" then
  956. if Debounces.CanAttack == true then
  957. Debounces.CanAttack = false
  958. Debounces.on = true
  959. Debounces.NoIdl = true
  960. for i = 1,20 do
  961. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,-3) * CFrame.Angles(1.3,0,0),.3)
  962. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
  963. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  964. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  965. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  966. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  967. if Debounces.on == false then break end
  968. wait()
  969. end
  970. local HitBox = Instance.new("Part",char)
  971. HitBox.Size = Vector3.new(5,5,5)
  972. HitBox.CanCollide = false
  973. HitBox.Transparency = math.huge
  974. local HitBox2 = Instance.new("Weld",HitBox)
  975. HitBox2.Part0 = rarm
  976. HitBox2.Part1 = HitBox
  977. HitBox2.C0 = CFrame.new(0,-4.5,0)
  978. HitBox.Touched:connect(function(hit)
  979. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  980. if not DD then DD = true
  981. HitBox:remove()
  982. hit.Parent.Humanoid.PlatformStand = true
  983. local We = Instance.new("Weld",hit.Parent.Torso)
  984. We.Part0 = rarm
  985. We.Part1 = hit.Parent.Torso
  986. We.C0 = CFrame.new(0,-5,0)*CFrame.Angles(-1.55,0,0)
  987. wait(1)
  988. for i = 1,20 do
  989. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,4,0) * CFrame.Angles(3.1,0,1),.3)
  990. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,4,0) * CFrame.Angles(-3.1,0,-1),.3)
  991. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(1,0,0),.3)
  992. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  993. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  994. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  995. if Debounces.on == false then break end
  996. wait()
  997. end
  998. hit.Parent.Humanoid:TakeDamage(20)
  999. for i = 1,20 do
  1000. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(6,4,-1) * CFrame.Angles(1.55,0,-1),.3)
  1001. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-6,4,-1) * CFrame.Angles(1.55,0,1),.3)
  1002. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.4,0,0),.3)
  1003. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  1004. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  1005. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  1006. if Debounces.on == false then break end
  1007. wait()
  1008. end
  1009. for i = 1,20 do
  1010. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(5,4,-1) * CFrame.Angles(1.55,0,-1.3),.3)
  1011. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-5,4,-1) * CFrame.Angles(1.55,0,1.3),.3)
  1012. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.4,0,0),.3)
  1013. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  1014. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  1015. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  1016. if Debounces.on == false then break end
  1017. wait()
  1018. end
  1019. local partasdeff = Instance.new("ParticleEmitter",hit.Parent.Torso)
  1020. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0, 0))
  1021. partasdeff.LightEmission = .1
  1022. partasdeff.Size = NumberSequence.new(0.2)
  1023. partasdeff.Texture = "http://www.roblox.com/asset/?ID=380529823"
  1024. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1025. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1026. partasdeff.Transparency = bbb
  1027. partasdeff.Size = aaa
  1028. partasdeff.ZOffset = .9
  1029. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1030. partasdeff.LockedToPart = false
  1031. partasdeff.EmissionDirection = "Top"
  1032. partasdeff.Lifetime = NumberRange.new(1, 2)
  1033. partasdeff.Rate = 1000
  1034. partasdeff.Rotation = NumberRange.new(-100, 100)
  1035. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1036. partasdeff.Speed = NumberRange.new(10)
  1037. partasdeff.VelocitySpread = 300
  1038. partasdeff.Enabled = true
  1039. wait(1.5)
  1040. hit.Parent:BreakJoints()
  1041. We:remove()
  1042. partasdeff.Enabled = false
  1043. if Debounces.CanAttack == false then
  1044. Debounces.CanAttack = true
  1045. Debounces.on = false
  1046. Debounces.NoIdl = false
  1047. end
  1048. wait(3)
  1049. DD = false
  1050. end
  1051. end
  1052. end)
  1053. wait(5)
  1054. if Debounces.CanAttack == false then
  1055. Debounces.CanAttack = true
  1056. Debounces.on = false
  1057. Debounces.NoIdl = false
  1058. end
  1059. end
  1060. end
  1061. end)
  1062. mouse.KeyDown:connect(function(key)
  1063. if key == "r" then
  1064. if Debounces.CanAttack == true then
  1065. Debounces.CanAttack = false
  1066. Debounces.on = true
  1067. Debounces.NoIdl = true
  1068. for i = 1,20 do
  1069. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,0) * CFrame.Angles(0.5,0,0),.3)
  1070. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
  1071. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  1072. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(-0.5,0,0),.3)
  1073. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, -2) *CFrame.Angles(0.5,0,0),.3)
  1074. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6, 1.2) * CFrame.Angles(-1.5,0,0),.3)
  1075. if Debounces.on == false then break end
  1076. wait()
  1077. end
  1078. local HitBox = Instance.new("Part",char)
  1079. HitBox.Size = Vector3.new(5,5,5)
  1080. HitBox.CanCollide = false
  1081. HitBox.Transparency = math.huge
  1082. local HitBox2 = Instance.new("Weld",HitBox)
  1083. HitBox2.Part0 = rleg
  1084. HitBox2.Part1 = HitBox
  1085. HitBox2.C0 = CFrame.new(0,-1.1,0)
  1086. local SFXZ = Instance.new("Sound",torso)
  1087. SFXZ.SoundId = "rbxassetid://134012322"
  1088. SFXZ.Volume = math.huge
  1089. SFXZ.Pitch = 0.5
  1090. SFXZ.Looped = false
  1091. wait(0.01)
  1092. SFXZ:Play()
  1093. HitBox.Touched:connect(function(hit)
  1094. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  1095. local SFXZ = Instance.new("Sound",torso)
  1096. SFXZ.SoundId = "rbxassetid://220025719"
  1097. SFXZ.Volume = 1
  1098. SFXZ.Pitch = 0.5
  1099. SFXZ.Looped = false
  1100. SFXZ:Play()
  1101. HitBox:remove()
  1102. hit.Parent.Humanoid:TakeDamage(44)
  1103. hit.Parent.Humanoid.PlatformStand = true
  1104. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  1105. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1106. Fl.velocity = rleg.CFrame.lookVector*350
  1107. wait(0.1)
  1108. Fl:remove()
  1109. end
  1110. end)
  1111. for i = 1,20 do
  1112. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
  1113. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(0.5,0,0),.3)
  1114. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  1115. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0.5,0,0),.3)
  1116. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, 2) *CFrame.Angles(-0.5,0,0),.3)
  1117. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6, -1.2) * CFrame.Angles(1.5,0,0),.3)
  1118. if Debounces.on == false then break end
  1119. wait()
  1120. end
  1121. if Debounces.CanAttack == false then
  1122. Debounces.CanAttack = true
  1123. Debounces.on = false
  1124. Debounces.NoIdl = false
  1125. HitBox:remove()
  1126. end
  1127. end
  1128. end
  1129. end)
  1130. ----------------------------------------------------
  1131. mouse.KeyDown:connect(function(key)
  1132. if string.byte(key) == 48 then
  1133. char.Humanoid.WalkSpeed = 90
  1134. end
  1135. end)
  1136. mouse.KeyUp:connect(function(key)
  1137. if string.byte(key) == 48 then
  1138. char.Humanoid.WalkSpeed = 10
  1139. end
  1140. end)
  1141. ----------------------------------------------------
  1142. local animpose = "Idle"
  1143. local lastanimpose = "Idle"
  1144. local sine = 0
  1145. local change = 1
  1146. local val = 0
  1147. local ffing = false
  1148. ----------------------------------------------------
  1149. local x = Instance.new("Sound", char.Torso)
  1150. x.SoundId = "http://www.roblox.com/asset/?id=198360408"
  1151. x.Looped = true
  1152. x.Volume = math.huge
  1153. x.Pitch = 1
  1154. local footsteps = false
  1155. -------------------------------
  1156. game:GetService("RunService").RenderStepped:connect(function()
  1157. rarm.BrickColor = ASD
  1158. larm.BrickColor = ASD
  1159. rleg.BrickColor = ASD
  1160. lleg.BrickColor = ASD
  1161. hed.BrickColor = ASD
  1162. torso.BrickColor = ASD
  1163. --[[if char.Humanoid.Jump == true then
  1164. jump = true
  1165. else
  1166. jump = false
  1167. end]]
  1168. char.Humanoid.FreeFalling:connect(function(f)
  1169. if f then
  1170. ffing = true
  1171. else
  1172. ffing = false
  1173. end
  1174. end)
  1175. sine = sine + change
  1176. if jumpn == true then
  1177. animpose = "Jumping"
  1178. elseif ffing == true then
  1179. animpose = "Freefalling"
  1180. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1181. animpose = "Idle"
  1182. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1183. animpose = "Walking"
  1184. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1185. animpose = "Running"
  1186. end
  1187. if animpose ~= lastanimpose then
  1188. sine = 0
  1189. if Debounces.NoIdl == false then
  1190. if animpose == "Idle" then
  1191. for i = 1, 2 do
  1192. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2)
  1193. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  1194. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  1195. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1196. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-3, -8.8, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  1197. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(3, -8.8, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  1198. end
  1199. elseif animpose == "Walking" then
  1200. for i = 1, 2 do
  1201. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2)
  1202. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  1203. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
  1204. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  1205. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  1206. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  1207. end
  1208. elseif animpose == "Running" then
  1209. for i = 1, 2 do
  1210. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.8, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2)
  1211. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.8, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2)
  1212. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  1213. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  1214. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  1215. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  1216. end
  1217. wait()
  1218. end
  1219. else
  1220. end
  1221. end
  1222. lastanimpose = animpose
  1223. if Debounces.NoIdl == false then
  1224. if animpose == "Idle" then
  1225. if stanceToggle == "Normal" then
  1226. change = 0.5
  1227. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8,1,0)*CFrame.new(0,0-.3*math.sin(tick()*1),0)*CFrame.Angles(0,0,0)*CFrame.Angles(0,0,0.3),.2)
  1228. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8,1,0)*CFrame.new(0,0-.3*math.sin(tick()*1),0)*CFrame.Angles(0,0,0)*CFrame.Angles(0,0,-0.3),.2)
  1229. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,-.2)*CFrame.Angles(0-.1*math.sin(tick()*1),0,0)*CFrame.Angles(-0.3,0,0), 0.2)
  1230. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  1231. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-3, -8.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  1232. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(3, -8.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  1233. elseif stanceToggle == "Sitting" then
  1234. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
  1235. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2)
  1236. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2)
  1237. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2)
  1238. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2)
  1239. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2)
  1240. end
  1241. elseif animpose == "Walking" then
  1242. if stanceToggle == "Normal" then
  1243. change = 1
  1244. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,0.8,0)*CFrame.Angles(0-.2*math.sin(tick()*2.5),0,0.2),.3)
  1245. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,0.8,0)*CFrame.Angles(0+.2*math.sin(tick()*2.5),0,-0.2),.3)
  1246. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(-0.2,0,0),.3)
  1247. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0,-1.8,0)*CFrame.new(0,0-.1*math.sin(tick()*2),0)*CFrame.Angles(0,0,0),.3)
  1248. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4)
  1249. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4)
  1250. end
  1251. elseif animpose == "Running" then
  1252. change = 1
  1253. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.7,0.5,0)*CFrame.Angles(0-.5*math.sin(tick()*7),0,0),.3)
  1254. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.7,0.5,0)*CFrame.Angles(0+.5*math.sin(tick()*7),0,0),.3)
  1255. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  1256. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  1257. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.80*math.cos(sine/6)/2.4, -.15 + math.sin(sine/6)/1.5) * CFrame.Angles(math.rad(-10) + -math.sin(sine/6)/1.7, 0, 0), .4)
  1258. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.80*math.cos(sine/6)/2.4, -.15 + -math.sin(sine/6)/1.5) * CFrame.Angles(math.rad(-10) + math.sin(sine/6)/1.7, 0, 0), .4)
  1259. end
  1260. end
  1261. if animpose == "Walking" then
  1262. if footsteps == false then
  1263. x:Play()
  1264. footsteps = true
  1265. end
  1266. x.Pitch = 1.1
  1267. elseif animpose == "Idle" then
  1268. x:Stop()
  1269. footsteps = false
  1270. elseif animpose == "Running" then
  1271. x.Pitch = 1.2
  1272. if footsteps == false then
  1273. x:Play()
  1274. footsteps = true
  1275. end
  1276. end
  1277. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement