Advertisement
JRKPastesBins

Untitled

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