Advertisement
JRKPastesBins

Untitled

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