Advertisement
JRKPastesBins

Untitled

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