Advertisement
JRKPastesBins

Untitled

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