Advertisement
JRKPastesBins

Untitled

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