Advertisement
SKOONKBURG

Untitled

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