Advertisement
JRKPastesBins

Untitled

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