JRKPastesBins

Untitled

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