Advertisement
JRKPastesBins

Untitled

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