Advertisement
JRKPastesBins

Untitled

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