Advertisement
JRKPastesBins

Untitled

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