Advertisement
JRKPastesBins

Untitled

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