Advertisement
JRKPastesBins

Untitled

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