DontAskme

titano

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