Advertisement
Marcsosa

Untitled

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