Advertisement
Skye_Blue

Edited Titan Script

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