Advertisement
JRKPastesBins

Untitled

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