Advertisement
JRKPastesBins

Untitled

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