Advertisement
JRKPastesBins

Untitled

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