Advertisement
JRKPastesBins

Untitled

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