Advertisement
JRKPastesBins

Untitled

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