Advertisement
JRKPastesBins

Untitled

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