Advertisement
JRKPastesBins

Untitled

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