Advertisement
JRKPastesBins

Untitled

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