Advertisement
RobloxScriptzzz

RUN!

Jul 17th, 2018
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.47 KB | None | 0 0
  1. wait(0)
  2. local Player = game:service'Players'.localPlayer
  3. local chara = Player.Character
  4. Player=game:GetService("Players").LocalPlayer
  5. Character=Player.Character
  6. PlayerGui=Player.PlayerGui
  7. Backpack=Player.Backpack
  8. Torso=Character.Torso
  9. Head=Character.Head
  10. Humanoid=Character.Humanoid
  11. m=Instance.new('Model',Character)
  12. LeftArm=Character["Left Arm"]
  13. LeftLeg=Character["Left Leg"]
  14. RightArm=Character["Right Arm"]
  15. RightLeg=Character["Right Leg"]
  16. LS=Torso["Left Shoulder"]
  17. LH=Torso["Left Hip"]
  18. RS=Torso["Right Shoulder"]
  19. RH=Torso["Right Hip"]
  20. Face = Head.face
  21. Neck=Torso.Neck
  22. it=Instance.new
  23. attacktype=1
  24. vt=Vector3.new
  25. cf=CFrame.new
  26. cl3=Color3.new
  27. rgb=Color3.fromRGB
  28. bcn=BrickColor.new
  29. euler=CFrame.fromEulerAnglesXYZ
  30. angles=CFrame.Angles
  31. Humanoid.WalkSpeed = 40
  32. Player = game:GetService("Players").LocalPlayer
  33. PlayerGui = Player.PlayerGui
  34. Cam = workspace.CurrentCamera
  35. Backpack = Player.Backpack
  36. Character = Player.Character
  37. Humanoid = Character.Humanoid
  38. Mouse = Player:GetMouse()
  39. RootPart = Character["HumanoidRootPart"]
  40. Torso = Character["Torso"]
  41. Head = Character["Head"]
  42. RightArm = Character["Right Arm"]
  43. LeftArm = Character["Left Arm"]
  44. RightLeg = Character["Right Leg"]
  45. LeftLeg = Character["Left Leg"]
  46. RootJoint = RootPart["RootJoint"]
  47. Neck = Torso["Neck"]
  48. RightShoulder = Torso["Right Shoulder"]
  49. LeftShoulder = Torso["Left Shoulder"]
  50. RightHip = Torso["Right Hip"]
  51. LeftHip = Torso["Left Hip"]
  52. Sound0 = Instance.new("Sound")
  53. Sound0.Volume = 5
  54. Sound0.Parent = game.Players.LocalPlayer.Character.Head
  55. Sound0.SoundId = "rbxassetid://0"
  56. Sound0.Looped = true
  57. Sound0:Play()
  58. local txt = Instance.new("BillboardGui", chara)
  59. CV="Lime green"
  60. txt.Adornee = chara.Head
  61. txt.Name = "_status"
  62. txt.Size = UDim2.new(2, 0, 1.2, 0)
  63. txt.StudsOffset = Vector3.new(-9, 8, 0)
  64. local text = Instance.new("TextLabel", txt)
  65. text.Size = UDim2.new(10, 0, 7, 0)
  66. text.FontSize = "Size24"
  67. text.TextScaled = true
  68. text.TextTransparency = 0
  69. text.BackgroundTransparency = 1
  70. text.TextTransparency = 0
  71. text.TextStrokeTransparency = 0
  72. text.Font = "Bodoni"
  73. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  74. text.TextColor3 = BrickColor.new("Really black").Color
  75. text.Text = "GrownGreen"
  76. IT = Instance.new
  77. CF = CFrame.new
  78. VT = Vector3.new
  79. RAD = math.rad
  80. C3 = Color3.new
  81. UD2 = UDim2.new
  82. BRICKC = BrickColor.new
  83. ANGLES = CFrame.Angles
  84. EULER = CFrame.fromEulerAnglesXYZ
  85. COS = math.cos
  86. ACOS = math.acos
  87. SIN = math.sin
  88. ASIN = math.asin
  89. ABS = math.abs
  90. MRANDOM = math.random
  91. FLOOR = math.floor
  92. Animation_Speed = 3
  93. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  94. local Speed = 12
  95. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  96. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  97. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  98. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  99. local DAMAGEMULTIPLIER = 1
  100. local ANIM = "Idle"
  101. local ATTACK = false
  102. local EQUIPPED = false
  103. local HOLD = false
  104. local COMBO = 1
  105. local Rooted = false
  106. local SINE = 0
  107. local KEYHOLD = false
  108. local CHANGE = 2 / Animation_Speed
  109. local WALKINGANIM = false
  110. local VALUE1 = false
  111. local VALUE2 = false
  112. local ROBLOXIDLEANIMATION = IT("Animation")
  113. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  114. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  115. --ROBLOXIDLEANIMATION.Parent = Humanoid
  116. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  117. WEAPONGUI.Name = "Weapon GUI"
  118. local Weapon = IT("Model")
  119. Weapon.Name = "Adds"
  120. local Effects = IT("Folder", Weapon)
  121. Effects.Name = "Effects"
  122. local ANIMATOR = Humanoid.Animator
  123. local ANIMATE = Character.Animate
  124. local UNANCHOR = true
  125. local PLAYANIMS = true
  126. ArtificialHB = Instance.new("BindableEvent", script)
  127. ArtificialHB.Name = "ArtificialHB"
  128.  
  129. script:WaitForChild("ArtificialHB")
  130.  
  131. frame = Frame_Speed
  132. tf = 0
  133. allowframeloss = false
  134. tossremainder = false
  135. lastframe = tick()
  136. script.ArtificialHB:Fire()
  137.  
  138. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  139. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  140. end
  141.  
  142. function PositiveAngle(NUMBER)
  143. if NUMBER >= 0 then
  144. NUMBER = 0
  145. end
  146. return NUMBER
  147. end
  148.  
  149. function NegativeAngle(NUMBER)
  150. if NUMBER <= 0 then
  151. NUMBER = 0
  152. end
  153. return NUMBER
  154. end
  155.  
  156. function Swait(NUMBER)
  157. if NUMBER == 0 or NUMBER == nil then
  158. ArtificialHB.Event:wait()
  159. else
  160. for i = 1, NUMBER do
  161. ArtificialHB.Event:wait()
  162. end
  163. end
  164. end
  165.  
  166. function QuaternionFromCFrame(cf)
  167. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  168. local trace = m00 + m11 + m22
  169. if trace > 0 then
  170. local s = math.sqrt(1 + trace)
  171. local recip = 0.5 / s
  172. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  173. else
  174. local i = 0
  175. if m11 > m00 then
  176. i = 1
  177. end
  178. if m22 > (i == 0 and m00 or m11) then
  179. i = 2
  180. end
  181. if i == 0 then
  182. local s = math.sqrt(m00 - m11 - m22 + 1)
  183. local recip = 0.5 / s
  184. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  185. elseif i == 1 then
  186. local s = math.sqrt(m11 - m22 - m00 + 1)
  187. local recip = 0.5 / s
  188. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  189. elseif i == 2 then
  190. local s = math.sqrt(m22 - m00 - m11 + 1)
  191. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  192. end
  193. end
  194. end
  195.  
  196. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  197. local xs, ys, zs = x + x, y + y, z + z
  198. local wx, wy, wz = w * xs, w * ys, w * zs
  199. local xx = x * xs
  200. local xy = x * ys
  201. local xz = x * zs
  202. local yy = y * ys
  203. local yz = y * zs
  204. local zz = z * zs
  205. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  206. end
  207.  
  208. function QuaternionSlerp(a, b, t)
  209. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  210. local startInterp, finishInterp;
  211. if cosTheta >= 0.0001 then
  212. if (1 - cosTheta) > 0.0001 then
  213. local theta = ACOS(cosTheta)
  214. local invSinTheta = 1 / SIN(theta)
  215. startInterp = SIN((1 - t) * theta) * invSinTheta
  216. finishInterp = SIN(t * theta) * invSinTheta
  217. else
  218. startInterp = 1 - t
  219. finishInterp = t
  220. end
  221. else
  222. if (1 + cosTheta) > 0.0001 then
  223. local theta = ACOS(-cosTheta)
  224. local invSinTheta = 1 / SIN(theta)
  225. startInterp = SIN((t - 1) * theta) * invSinTheta
  226. finishInterp = SIN(t * theta) * invSinTheta
  227. else
  228. startInterp = t - 1
  229. finishInterp = t
  230. end
  231. end
  232. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  233. end
  234.  
  235. function Clerp(a, b, t)
  236. local qa = {QuaternionFromCFrame(a)}
  237. local qb = {QuaternionFromCFrame(b)}
  238. local ax, ay, az = a.x, a.y, a.z
  239. local bx, by, bz = b.x, b.y, b.z
  240. local _t = 1 - t
  241. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  242. end
  243.  
  244. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  245. local frame = IT("Frame")
  246. frame.BackgroundTransparency = TRANSPARENCY
  247. frame.BorderSizePixel = BORDERSIZEPIXEL
  248. frame.Position = POSITION
  249. frame.Size = SIZE
  250. frame.BackgroundColor3 = COLOR
  251. frame.BorderColor3 = BORDERCOLOR
  252. frame.Name = NAME
  253. frame.Parent = PARENT
  254. return frame
  255. end
  256.  
  257. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  258. local label = IT("TextLabel")
  259. label.BackgroundTransparency = 1
  260. label.Size = UD2(1, 0, 1, 0)
  261. label.Position = UD2(0, 0, 0, 0)
  262. label.TextColor3 = TEXTCOLOR
  263. label.TextStrokeTransparency = STROKETRANSPARENCY
  264. label.TextTransparency = TRANSPARENCY
  265. label.FontSize = TEXTFONTSIZE
  266. label.Font = TEXTFONT
  267. label.BorderSizePixel = BORDERSIZEPIXEL
  268. label.TextScaled = false
  269. label.Text = TEXT
  270. label.Name = NAME
  271. label.Parent = PARENT
  272. return label
  273. end
  274.  
  275. function NoOutlines(PART)
  276. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  277. end
  278.  
  279.  
  280. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  281. local NEWWELD = IT(TYPE)
  282. NEWWELD.Part0 = PART0
  283. NEWWELD.Part1 = PART1
  284. NEWWELD.C0 = C0
  285. NEWWELD.C1 = C1
  286. NEWWELD.Parent = PARENT
  287. return NEWWELD
  288. end
  289.  
  290. local S = IT("Sound")
  291.  
  292. function CreateSound(ID, PARENT, VOLUME, PITCH)
  293. local NEWSOUND = nil
  294. coroutine.resume(coroutine.create(function()
  295. NEWSOUND = S:Clone()
  296. NEWSOUND.Parent = PARENT
  297. NEWSOUND.Volume = VOLUME
  298. NEWSOUND.Pitch = PITCH
  299. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  300. Swait()
  301. NEWSOUND:play()
  302. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  303. end))
  304. return NEWSOUND
  305. end
  306.  
  307. function CFrameFromTopBack(at, top, back)
  308. local right = top:Cross(back)
  309. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  310. end
  311.  
  312. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  313. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  314. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  315. wave.CFrame = CFRAME
  316. coroutine.resume(coroutine.create(function(PART)
  317. for i = 1, WAIT do
  318. Swait()
  319. mesh.Scale = mesh.Scale + GROW
  320. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  321. if DOESROT == true then
  322. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  323. end
  324. wave.Transparency = wave.Transparency + (0.5/WAIT)
  325. if wave.Transparency > 0.99 then
  326. wave:remove()
  327. end
  328. end
  329. end))
  330. end
  331.  
  332. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  333. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  334. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  335. wave.CFrame = CFRAME
  336. coroutine.resume(coroutine.create(function(PART)
  337. for i = 1, WAIT do
  338. Swait()
  339. mesh.Scale = mesh.Scale + GROW
  340. if DOESROT == true then
  341. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  342. end
  343. wave.Transparency = wave.Transparency + (0.5/WAIT)
  344. if wave.Transparency > 0.99 then
  345. wave:remove()
  346. end
  347. end
  348. end))
  349. end
  350.  
  351. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  352. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  353. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  354. wave.CFrame = CFRAME
  355. coroutine.resume(coroutine.create(function(PART)
  356. for i = 1, WAIT do
  357. Swait()
  358. mesh.Scale = mesh.Scale + GROW
  359. wave.Transparency = wave.Transparency + (1/WAIT)
  360. if wave.Transparency > 0.99 then
  361. wave:remove()
  362. end
  363. end
  364. end))
  365. end
  366.  
  367. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  368. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  369. local mesh = nil
  370. if KIND == "Base" then
  371. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  372. elseif KIND == "Thin" then
  373. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  374. elseif KIND == "Round" then
  375. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  376. end
  377. wave.CFrame = CFRAME
  378. coroutine.resume(coroutine.create(function(PART)
  379. for i = 1, WAIT do
  380. Swait()
  381. mesh.Scale = mesh.Scale + GROW/10
  382. wave.Transparency = wave.Transparency + (0.5/WAIT)
  383. if wave.Transparency > 0.99 then
  384. wave:remove()
  385. end
  386. end
  387. end))
  388. end
  389.  
  390. function MakeForm(PART,TYPE)
  391. if TYPE == "Cyl" then
  392. local MSH = IT("CylinderMesh",PART)
  393. elseif TYPE == "Ball" then
  394. local MSH = IT("SpecialMesh",PART)
  395. MSH.MeshType = "Sphere"
  396. elseif TYPE == "Wedge" then
  397. local MSH = IT("SpecialMesh",PART)
  398. MSH.MeshType = "Wedge"
  399. end
  400. end
  401.  
  402.  
  403. function CheckTableForString(Table, String)
  404. for i, v in pairs(Table) do
  405. if string.find(string.lower(String), string.lower(v)) then
  406. return true
  407. end
  408. end
  409. return false
  410. end
  411.  
  412. function CheckIntangible(Hit)
  413. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  414. if Hit and Hit.Parent then
  415. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  416. return true
  417. end
  418. end
  419. return false
  420. end
  421.  
  422. Debris = game:GetService("Debris")
  423.  
  424. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  425. local Direction = CFrame.new(StartPos, Vec).lookVector
  426. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  427. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  428. if RayHit and CheckIntangible(RayHit) then
  429. if DelayIfHit then
  430. wait()
  431. end
  432. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  433. end
  434. return RayHit, RayPos, RayNormal
  435. end
  436.  
  437. function turnto(position)
  438. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  439. end
  440.  
  441.  
  442.  
  443. game:GetService("RunService").Heartbeat:connect(function(s, p)
  444. tf = tf + s
  445. if tf >= frame then
  446. if allowframeloss then
  447. script.ArtificialHB:Fire()
  448. lastframe = tick()
  449. else
  450. for i = 1, math.floor(tf / frame) do
  451. script.ArtificialHB:Fire()
  452. end
  453. lastframe = tick()
  454. end
  455. if tossremainder then
  456. tf = 0
  457. else
  458. tf = tf - frame * math.floor(tf / frame)
  459. end
  460. end
  461. end)
  462. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  463. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  464. end
  465.  
  466. function PositiveAngle(NUMBER)
  467. if NUMBER >= 0 then
  468. NUMBER = 0
  469. end
  470. return NUMBER
  471. end
  472.  
  473. function NegativeAngle(NUMBER)
  474. if NUMBER <= 0 then
  475. NUMBER = 0
  476. end
  477. return NUMBER
  478. end
  479.  
  480. function Swait(NUMBER)
  481. if NUMBER == 0 or NUMBER == nil then
  482. ArtificialHB.Event:wait()
  483. else
  484. for i = 1, NUMBER do
  485. ArtificialHB.Event:wait()
  486. end
  487. end
  488. end
  489.  
  490. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  491. local NEWMESH = IT(MESH)
  492. if MESH == "SpecialMesh" then
  493. NEWMESH.MeshType = MESHTYPE
  494. if MESHID ~= "nil" and MESHID ~= "" then
  495. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  496. end
  497. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  498. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  499. end
  500. end
  501. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  502. NEWMESH.Scale = SCALE
  503. NEWMESH.Parent = PARENT
  504. return NEWMESH
  505. end
  506.  
  507. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  508. local NEWPART = IT("Part")
  509. NEWPART.formFactor = FORMFACTOR
  510. NEWPART.Reflectance = REFLECTANCE
  511. NEWPART.Transparency = TRANSPARENCY
  512. NEWPART.CanCollide = false
  513. NEWPART.Locked = true
  514. NEWPART.Anchored = true
  515. if ANCHOR == false then
  516. NEWPART.Anchored = false
  517. end
  518. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  519. NEWPART.Name = NAME
  520. NEWPART.Size = SIZE
  521. NEWPART.Position = Torso.Position
  522. NEWPART.Material = MATERIAL
  523. NEWPART:BreakJoints()
  524. NEWPART.Parent = PARENT
  525. return NEWPART
  526. end
  527.  
  528. local function weldBetween(a, b)
  529. local weldd = Instance.new("ManualWeld")
  530. weldd.Part0 = a
  531. weldd.Part1 = b
  532. weldd.C0 = CFrame.new()
  533. weldd.C1 = b.CFrame:inverse() * a.CFrame
  534. weldd.Parent = a
  535. return weldd
  536. end
  537.  
  538.  
  539. function QuaternionFromCFrame(cf)
  540. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  541. local trace = m00 + m11 + m22
  542. if trace > 0 then
  543. local s = math.sqrt(1 + trace)
  544. local recip = 0.5 / s
  545. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  546. else
  547. local i = 0
  548. if m11 > m00 then
  549. i = 1
  550. end
  551. if m22 > (i == 0 and m00 or m11) then
  552. i = 2
  553. end
  554. if i == 0 then
  555. local s = math.sqrt(m00 - m11 - m22 + 1)
  556. local recip = 0.5 / s
  557. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  558. elseif i == 1 then
  559. local s = math.sqrt(m11 - m22 - m00 + 1)
  560. local recip = 0.5 / s
  561. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  562. elseif i == 2 then
  563. local s = math.sqrt(m22 - m00 - m11 + 1)
  564. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  565. end
  566. end
  567. end
  568.  
  569. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  570. local xs, ys, zs = x + x, y + y, z + z
  571. local wx, wy, wz = w * xs, w * ys, w * zs
  572. local xx = x * xs
  573. local xy = x * ys
  574. local xz = x * zs
  575. local yy = y * ys
  576. local yz = y * zs
  577. local zz = z * zs
  578. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  579. end
  580.  
  581. function QuaternionSlerp(a, b, t)
  582. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  583. local startInterp, finishInterp;
  584. if cosTheta >= 0.0001 then
  585. if (1 - cosTheta) > 0.0001 then
  586. local theta = ACOS(cosTheta)
  587. local invSinTheta = 1 / SIN(theta)
  588. startInterp = SIN((1 - t) * theta) * invSinTheta
  589. finishInterp = SIN(t * theta) * invSinTheta
  590. else
  591. startInterp = 1 - t
  592. finishInterp = t
  593. end
  594. else
  595. if (1 + cosTheta) > 0.0001 then
  596. local theta = ACOS(-cosTheta)
  597. local invSinTheta = 1 / SIN(theta)
  598. startInterp = SIN((t - 1) * theta) * invSinTheta
  599. finishInterp = SIN(t * theta) * invSinTheta
  600. else
  601. startInterp = t - 1
  602. finishInterp = t
  603. end
  604. end
  605. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  606. end
  607.  
  608. function Clerp(a, b, t)
  609. local qa = {QuaternionFromCFrame(a)}
  610. local qb = {QuaternionFromCFrame(b)}
  611. local ax, ay, az = a.x, a.y, a.z
  612. local bx, by, bz = b.x, b.y, b.z
  613. local _t = 1 - t
  614. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  615. end
  616.  
  617. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  618. local frame = IT("Frame")
  619. frame.BackgroundTransparency = TRANSPARENCY
  620. frame.BorderSizePixel = BORDERSIZEPIXEL
  621. frame.Position = POSITION
  622. frame.Size = SIZE
  623. frame.BackgroundColor3 = COLOR
  624. frame.BorderColor3 = BORDERCOLOR
  625. frame.Name = NAME
  626. frame.Parent = PARENT
  627. return frame
  628. end
  629.  
  630. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  631. local label = IT("TextLabel")
  632. label.BackgroundTransparency = 1
  633. label.Size = UD2(1, 0, 1, 0)
  634. label.Position = UD2(0, 0, 0, 0)
  635. label.TextColor3 = TEXTCOLOR
  636. label.TextStrokeTransparency = STROKETRANSPARENCY
  637. label.TextTransparency = TRANSPARENCY
  638. label.FontSize = TEXTFONTSIZE
  639. label.Font = TEXTFONT
  640. label.BorderSizePixel = BORDERSIZEPIXEL
  641. label.TextScaled = false
  642. label.Text = TEXT
  643. label.Name = NAME
  644. label.Parent = PARENT
  645. return label
  646. end
  647.  
  648. function NoOutlines(PART)
  649. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  650. end
  651.  
  652. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  653. local NEWWELD = IT(TYPE)
  654. NEWWELD.Part0 = PART0
  655. NEWWELD.Part1 = PART1
  656. NEWWELD.C0 = C0
  657. NEWWELD.C1 = C1
  658. NEWWELD.Parent = PARENT
  659. return NEWWELD
  660. end
  661.  
  662. local S = IT("Sound")
  663. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  664. local NEWSOUND = nil
  665. coroutine.resume(coroutine.create(function()
  666. NEWSOUND = S:Clone()
  667. NEWSOUND.Parent = PARENT
  668. NEWSOUND.Volume = VOLUME
  669. NEWSOUND.Pitch = PITCH
  670. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  671. NEWSOUND:play()
  672. if DOESLOOP == true then
  673. NEWSOUND.Looped = true
  674. else
  675. repeat wait(1) until NEWSOUND.Playing == false
  676. NEWSOUND:remove()
  677. end
  678. end))
  679. return NEWSOUND
  680. end
  681.  
  682. function MakeForm(PART,TYPE)
  683. if TYPE == "Cyl" then
  684. local MSH = IT("CylinderMesh",PART)
  685. elseif TYPE == "Ball" then
  686. local MSH = IT("SpecialMesh",PART)
  687. MSH.MeshType = "Sphere"
  688. elseif TYPE == "Wedge" then
  689. local MSH = IT("SpecialMesh",PART)
  690. MSH.MeshType = "Wedge"
  691. end
  692. end
  693.  
  694. function CFrameFromTopBack(at, top, back)
  695. local right = top:Cross(back)
  696. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  697. end
  698.  
  699. function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
  700. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
  701. if HITFLOOR ~= nil then
  702. if HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  703. if HITFLOOR.Name == "BloodPuddle" then
  704. local DIST = (Position - HITFLOOR.Position).Magnitude
  705. if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
  706. HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
  707. end
  708. else
  709. if HITFLOOR.Anchored == true then
  710. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2,0,2))
  711. BLOOD.CFrame = CF(HITPOS,HITPOS+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0))
  712. MakeForm(BLOOD,"Cyl")
  713. coroutine.resume(coroutine.create(function()
  714. Swait(75)
  715. while true do
  716. Swait()
  717. BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
  718. if BLOOD.Size.Z < 0.051 then
  719. BLOOD:remove()
  720. break
  721. end
  722. end
  723. end))
  724. end
  725. end
  726. end
  727. end
  728. end
  729.  
  730. function SprayBlood(POSITION,DIRECTION,BloodSize)
  731. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.3,0.3,0.3),false)
  732. BLOOD.CFrame = CF(POSITION)
  733. MakeForm(BLOOD,"Ball")
  734. local bv = Instance.new("BodyVelocity",BLOOD)
  735. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  736. bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3)/30,MRANDOM(-3,3)/30,MRANDOM(-3,3)/30)).lookVector*75
  737. bv.Name = "MOVE"
  738. Debris:AddItem(bv,0.05)
  739. coroutine.resume(coroutine.create(function()
  740. local HASTOUCHEDGROUND = false
  741. local HIT = BLOOD.Touched:Connect(function(hit)
  742. if hit.Anchored == true then
  743. HASTOUCHEDGROUND = true
  744. PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
  745. end
  746. end)
  747. wait(5)
  748. if HASTOUCHEDGROUND == false then
  749. BLOOD:remove()
  750. end
  751. end))
  752. end
  753.  
  754. Debris = game:GetService("Debris")
  755.  
  756. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  757. local DIRECTION = CF(StartPos,EndPos).lookVector
  758. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  759. end
  760.  
  761. function turnto(position)
  762. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  763. end
  764.  
  765. function recurse(root,callback,i)
  766. i= i or 0
  767. for _,v in pairs(root:GetChildren()) do
  768. i = i + 1
  769. callback(i,v)
  770.  
  771. if #v:GetChildren() > 0 then
  772. i = recurse(v,callback,i)
  773. end
  774. end
  775.  
  776. return i
  777. end
  778.  
  779. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  780. attachmentName = attachmentName.."RigAttachment"
  781. local constraint = Instance.new(className.."Constraint")
  782. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  783. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  784. constraint.Name = "RagdollConstraint"..part1.Name
  785.  
  786. for _,propertyData in next,properties or {} do
  787. constraint[propertyData[1]] = propertyData[2]
  788. end
  789.  
  790. constraint.Parent = character
  791. end
  792.  
  793. function getAttachment0(character, attachmentName)
  794. for _,child in next,character:GetChildren() do
  795. local attachment = child:FindFirstChild(attachmentName)
  796. if attachment then
  797. return attachment
  798. end
  799. end
  800. end
  801.  
  802. function R15Ragdoll(character)
  803. recurse(character, function(_,v)
  804. if v:IsA("Attachment") then
  805. v.Axis = Vector3.new(0, 1, 0)
  806. v.SecondaryAxis = Vector3.new(0, 0, 1)
  807. v.Rotation = Vector3.new(0, 0, 0)
  808. end
  809. end)
  810. for _,child in next,character:GetChildren() do
  811. if child:IsA("Accoutrement") then
  812. for _,part in next,child:GetChildren() do
  813. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  814. local attachment1 = part:FindFirstChildOfClass("Attachment")
  815. local attachment0 = getAttachment0(character,attachment1.Name)
  816. if attachment0 and attachment1 then
  817. local constraint = Instance.new("HingeConstraint")
  818. constraint.Attachment0 = attachment0
  819. constraint.Attachment1 = attachment1
  820. constraint.LimitsEnabled = true
  821. constraint.UpperAngle = 0
  822. constraint.LowerAngle = 0
  823. constraint.Parent = character
  824. end
  825. elseif part.Name == "HumanoidRootPart" then
  826. part:remove()
  827. end
  828. end
  829. end
  830. end
  831.  
  832. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  833. {"LimitsEnabled",true};
  834. {"UpperAngle",5};
  835. })
  836. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  837. {"LimitsEnabled",true};
  838. {"UpperAngle",15};
  839. })
  840.  
  841. local handProperties = {
  842. {"LimitsEnabled", true};
  843. {"UpperAngle",0};
  844. {"LowerAngle",0};
  845. }
  846. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  847. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  848.  
  849. local shinProperties = {
  850. {"LimitsEnabled", true};
  851. {"UpperAngle", 0};
  852. {"LowerAngle", -75};
  853. }
  854. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  855. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  856.  
  857. local footProperties = {
  858. {"LimitsEnabled", true};
  859. {"UpperAngle", 15};
  860. {"LowerAngle", -45};
  861. }
  862. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  863. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  864.  
  865. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  866. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  867. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  868. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  869. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  870. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  871. end
  872.  
  873. function Ragdoll(Character2,CharTorso)
  874. Character2:BreakJoints()
  875. local hum = Character2:findFirstChild("Humanoid")
  876. hum:remove()
  877. local function Scan(ch)
  878. local e
  879. for e = 1,#ch do
  880. Scan(ch[e]:GetChildren())
  881. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  882. ch[e]:remove()
  883. end
  884. end
  885. end
  886. local NEWHUM = IT("Humanoid")
  887. NEWHUM.Name = "Corpse"
  888. NEWHUM.Health = 0
  889. NEWHUM.MaxHealth = 0
  890. NEWHUM.PlatformStand = true
  891. NEWHUM.Parent = Character2
  892. NEWHUM.DisplayDistanceType = "None"
  893.  
  894. local ch = Character2:GetChildren()
  895. local i
  896. for i = 1,#ch do
  897. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  898. ch[i]:remove()
  899. end
  900. end
  901.  
  902. local Torso2 = Character2.Torso
  903. local movevector = Vector3.new()
  904.  
  905. if Torso2 then
  906. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  907. local Head = Character2:FindFirstChild("Head")
  908. if Head then
  909. local Neck = Instance.new("Weld")
  910. Neck.Name = "Neck"
  911. Neck.Part0 = Torso2
  912. Neck.Part1 = Head
  913. Neck.C0 = CFrame.new(0, 1.5, 0)
  914. Neck.C1 = CFrame.new()
  915. Neck.Parent = Torso2
  916.  
  917. end
  918. local Limb = Character2:FindFirstChild("Right Arm")
  919. if Limb then
  920.  
  921. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  922. local Joint = Instance.new("Glue")
  923. Joint.Name = "RightShoulder"
  924. Joint.Part0 = Torso2
  925. Joint.Part1 = Limb
  926. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  927. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  928. Joint.Parent = Torso2
  929.  
  930. local B = Instance.new("Part")
  931. B.TopSurface = 0
  932. B.BottomSurface = 0
  933. B.formFactor = "Symmetric"
  934. B.Size = Vector3.new(1, 1, 1)
  935. B.Transparency = 1
  936. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  937. B.Parent = Character2
  938. local W = Instance.new("Weld")
  939. W.Part0 = Limb
  940. W.Part1 = B
  941. W.C0 = CFrame.new(0, -0.5, 0)
  942. W.Parent = Limb
  943.  
  944. end
  945. local Limb = Character2:FindFirstChild("Left Arm")
  946. if Limb then
  947.  
  948. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  949. local Joint = Instance.new("Glue")
  950. Joint.Name = "LeftShoulder"
  951. Joint.Part0 = Torso2
  952. Joint.Part1 = Limb
  953. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  954. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  955. Joint.Parent = Torso2
  956.  
  957. local B = Instance.new("Part")
  958. B.TopSurface = 0
  959. B.BottomSurface = 0
  960. B.formFactor = "Symmetric"
  961. B.Size = Vector3.new(1, 1, 1)
  962. B.Transparency = 1
  963. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  964. B.Parent = Character2
  965. local W = Instance.new("Weld")
  966. W.Part0 = Limb
  967. W.Part1 = B
  968. W.C0 = CFrame.new(0, -0.5, 0)
  969. W.Parent = Limb
  970.  
  971. end
  972. local Limb = Character2:FindFirstChild("Right Leg")
  973. if Limb then
  974.  
  975. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  976. local Joint = Instance.new("Glue")
  977. Joint.Name = "RightHip"
  978. Joint.Part0 = Torso2
  979. Joint.Part1 = Limb
  980. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  981. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  982. Joint.Parent = Torso2
  983.  
  984. local B = Instance.new("Part")
  985. B.TopSurface = 0
  986. B.BottomSurface = 0
  987. B.formFactor = "Symmetric"
  988. B.Size = Vector3.new(1, 1, 1)
  989. B.Transparency = 1
  990. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  991. B.Parent = Character2
  992. local W = Instance.new("Weld")
  993. W.Part0 = Limb
  994. W.Part1 = B
  995. W.C0 = CFrame.new(0, -0.5, 0)
  996. W.Parent = Limb
  997.  
  998. end
  999. local Limb = Character2:FindFirstChild("Left Leg")
  1000. if Limb then
  1001.  
  1002. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1003. local Joint = Instance.new("Glue")
  1004. Joint.Name = "LeftHip"
  1005. Joint.Part0 = Torso2
  1006. Joint.Part1 = Limb
  1007. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1008. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1009. Joint.Parent = Torso2
  1010.  
  1011. local B = Instance.new("Part")
  1012. B.TopSurface = 0
  1013. B.BottomSurface = 0
  1014. B.formFactor = "Symmetric"
  1015. B.Size = Vector3.new(1, 1, 1)
  1016. B.Transparency = 1
  1017. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1018. B.Parent = Character2
  1019. local W = Instance.new("Weld")
  1020. W.Part0 = Limb
  1021. W.Part1 = B
  1022. W.C0 = CFrame.new(0, -0.5, 0)
  1023. W.Parent = Limb
  1024.  
  1025. end
  1026. --[
  1027. local Bar = Instance.new("Part")
  1028. Bar.TopSurface = 0
  1029. Bar.BottomSurface = 0
  1030. Bar.formFactor = "Symmetric"
  1031. Bar.Size = Vector3.new(1, 1, 1)
  1032. Bar.Transparency = 1
  1033. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1034. Bar.Parent = Character2
  1035. local Weld = Instance.new("Weld")
  1036. Weld.Part0 = Torso2
  1037. Weld.Part1 = Bar
  1038. Weld.C0 = CFrame.new(0, 0.5, 0)
  1039. Weld.Parent = Torso2
  1040. --]]
  1041. end
  1042. Character2.Parent = workspace
  1043. Debris:AddItem(Character2,5)
  1044.  
  1045. return Character2,Torso2
  1046. end
  1047.  
  1048. punch = true
  1049.  
  1050.  
  1051. function help_me()
  1052. ATTACK = true
  1053. Rooted = true
  1054. CreateSound("0", Head, 10, 1)
  1055. for i=0, 1, 0.1 / Animation_Speed do
  1056. Swait()
  1057. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1058. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1059. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1060. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1061. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1062. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1063.  
  1064. end
  1065. for i=0, 1, 0.1 / Animation_Speed do
  1066. Swait()
  1067. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1068. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1069. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1070. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1071. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1072. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1073.  
  1074. end
  1075. for i=0, 1, 0.1 / Animation_Speed do
  1076. Swait()
  1077. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1078. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1079. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1080. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1081. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1082. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1083.  
  1084. end
  1085. for i=0, 1, 0.1 / Animation_Speed do
  1086. Swait()
  1087. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1088. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1091. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1092. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1093.  
  1094. end
  1095. for i=0, 1, 0.1 / Animation_Speed do
  1096. Swait()
  1097. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1098. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1099. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1100. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1101. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1102. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1103.  
  1104. end
  1105. for i=0, 1, 0.1 / Animation_Speed do
  1106. Swait()
  1107. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1108. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1109. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1110. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1111. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1112. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1113.  
  1114. end
  1115. for i=0, 1, 0.1 / Animation_Speed do
  1116. Swait()
  1117. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1118. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1119. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1120. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1121. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1122. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1123.  
  1124. end
  1125. for i=0, 1, 0.1 / Animation_Speed do
  1126. Swait()
  1127. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1128. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1129. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1130. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1131. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1132. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1133.  
  1134. end
  1135. for i=0, 1, 0.1 / Animation_Speed do
  1136. Swait()
  1137. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1138. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1139. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1140. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1141. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1142. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1143.  
  1144. end
  1145. for i=0, 1, 0.1 / Animation_Speed do
  1146. Swait()
  1147. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1149. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(40), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1150. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(40), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1151. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1152. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1153.  
  1154. end
  1155. for i=0, 1, 0.1 / Animation_Speed do
  1156. Swait()
  1157. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1158. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1159. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1160. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1161. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1162. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1163.  
  1164. end
  1165. for i=0, 1, 0.1 / Animation_Speed do
  1166. Swait()
  1167. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1168. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1169. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1170. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1171. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1172. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1173.  
  1174. end
  1175. for i=0, 1, 0.1 / Animation_Speed do
  1176. Swait()
  1177. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1178. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1179. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1180. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1181. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1182. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1183.  
  1184. end
  1185. for i=0, 1, 0.1 / Animation_Speed do
  1186. Swait()
  1187. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1188. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1189. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1190. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1191. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1192. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1193.  
  1194. end
  1195. for i=0, 1, 0.1 / Animation_Speed do
  1196. Swait()
  1197. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1198. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1199. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1200. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1201. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1202. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1203.  
  1204. end
  1205. for i=0, 1, 0.1 / Animation_Speed do
  1206. Swait()
  1207. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1208. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1209. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1210. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1211. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1212. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1213.  
  1214. end
  1215. for i=0, 1, 0.1 / Animation_Speed do
  1216. Swait()
  1217. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1218. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1219. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1220. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1221. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1222. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1223.  
  1224. end
  1225. for i=0, 1, 0.1 / Animation_Speed do
  1226. Swait()
  1227. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1228. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1229. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1230. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1231. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1232. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1233.  
  1234. end
  1235. for i=0, 1, 0.1 / Animation_Speed do
  1236. Swait()
  1237. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1238. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1239. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1240. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1241. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1242. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1243.  
  1244. end
  1245. for i=0, 1, 0.1 / Animation_Speed do
  1246. Swait()
  1247. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1248. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1249. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(40), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1250. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(40), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1251. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1252. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1253.  
  1254. end
  1255. for i=0, 1, 0.1 / Animation_Speed do
  1256. Swait()
  1257. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1258. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1259. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1260. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1261. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1262. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1263.  
  1264. end
  1265. for i=0, 1, 0.1 / Animation_Speed do
  1266. Swait()
  1267. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1268. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1269. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1270. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1271. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1272. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1273.  
  1274. end
  1275. for i=0, 1, 0.1 / Animation_Speed do
  1276. Swait()
  1277. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1278. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1279. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1280. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1281. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1282. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1283.  
  1284. end
  1285. for i=0, 1, 0.1 / Animation_Speed do
  1286. Swait()
  1287. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1288. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1289. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1290. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1291. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1292. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1293.  
  1294. end
  1295. for i=0, 1, 0.1 / Animation_Speed do
  1296. Swait()
  1297. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1298. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1299. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1300. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1301. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1302. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1303.  
  1304. end
  1305. for i=0, 1, 0.1 / Animation_Speed do
  1306. Swait()
  1307. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1308. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1309. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1310. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1311. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1312. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1313.  
  1314. end
  1315. for i=0, 1, 0.1 / Animation_Speed do
  1316. Swait()
  1317. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1318. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1319. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1320. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1321. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1322. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1323.  
  1324. end
  1325. for i=0, 1, 0.1 / Animation_Speed do
  1326. Swait()
  1327. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1328. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1329. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1330. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1331. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1332. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1333.  
  1334. end
  1335. for i=0, 1, 0.1 / Animation_Speed do
  1336. Swait()
  1337. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1338. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1339. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1340. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1341. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1342. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1343.  
  1344. end
  1345. for i=0, 1, 0.1 / Animation_Speed do
  1346. Swait()
  1347. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1348. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1349. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(40), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1350. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(40), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1351. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1352. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1353. end
  1354. for i=0, 1, 0.1 / Animation_Speed do
  1355. Swait()
  1356. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1357. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1358. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1359. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1360. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1361. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1362.  
  1363. end
  1364. for i=0, 1, 0.1 / Animation_Speed do
  1365. Swait()
  1366. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1367. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1368. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1369. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1370. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1371. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1372.  
  1373. end
  1374. for i=0, 1, 0.1 / Animation_Speed do
  1375. Swait()
  1376. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1377. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1378. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1379. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1380. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1381. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1382.  
  1383. end
  1384. for i=0, 1, 0.1 / Animation_Speed do
  1385. Swait()
  1386. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1387. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1388. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1389. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1390. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1391. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1392.  
  1393. end
  1394. for i=0, 1, 0.1 / Animation_Speed do
  1395. Swait()
  1396. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1397. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1398. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1399. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1400. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1401. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1402.  
  1403. end
  1404. for i=0, 1, 0.1 / Animation_Speed do
  1405. Swait()
  1406. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1407. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1408. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1409. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1410. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1411. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1412.  
  1413. end
  1414. for i=0, 1, 0.1 / Animation_Speed do
  1415. Swait()
  1416. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1417. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1418. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1419. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1420. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1421. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1422.  
  1423. end
  1424. for i=0, 1, 0.1 / Animation_Speed do
  1425. Swait()
  1426. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1427. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1428. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1429. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1430. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1431. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1432.  
  1433. end
  1434. for i=0, 1, 0.1 / Animation_Speed do
  1435. Swait()
  1436. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1437. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1438. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1439. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1440. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1441. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1442.  
  1443. end
  1444. for i=0, 1, 0.1 / Animation_Speed do
  1445. Swait()
  1446. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1447. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1448. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(40), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1449. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(40), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1450. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1451. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1452.  
  1453. end
  1454. for i=0, 1, 0.1 / Animation_Speed do
  1455. Swait()
  1456. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1457. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1458. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1459. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1460. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1461. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1462.  
  1463. end
  1464. for i=0, 1, 0.1 / Animation_Speed do
  1465. Swait()
  1466. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1467. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1468. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1469. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1470. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1471. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1472.  
  1473. end
  1474. for i=0, 1, 0.1 / Animation_Speed do
  1475. Swait()
  1476. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1477. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1478. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1479. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1480. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1481. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1482.  
  1483. end
  1484. for i=0, 1, 0.1 / Animation_Speed do
  1485. Swait()
  1486. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1487. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1488. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1489. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1490. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1491. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1492.  
  1493. end
  1494. for i=0, 1, 0.1 / Animation_Speed do
  1495. Swait()
  1496. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1497. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1498. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1499. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1500. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1501. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1502.  
  1503. end
  1504. for i=0, 1, 0.1 / Animation_Speed do
  1505. Swait()
  1506. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1507. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1508. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1509. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1510. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1511. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1512.  
  1513. end
  1514. for i=0, 1, 0.1 / Animation_Speed do
  1515. Swait()
  1516. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1517. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1518. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1519. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1520. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1521. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1522.  
  1523. end
  1524. for i=0, 1, 0.1 / Animation_Speed do
  1525. Swait()
  1526. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1527. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1528. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1529. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1530. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1531. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1532.  
  1533. end
  1534. for i=0, 1, 0.1 / Animation_Speed do
  1535. Swait()
  1536. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1537. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1538. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1539. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1540. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1541. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1542.  
  1543. end
  1544. for i=0, 1, 0.1 / Animation_Speed do
  1545. Swait()
  1546. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1547. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(40), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1549. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(40), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1550. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1551. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1552.  
  1553. end
  1554. for i=0, 1, 0.1 / Animation_Speed do
  1555. Swait()
  1556. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1557. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1558. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1559. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1560. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1561. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1562.  
  1563. end
  1564. for i=0, 1, 0.1 / Animation_Speed do
  1565. Swait()
  1566. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1567. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1568. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1569. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1570. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1571. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1572.  
  1573. end
  1574. for i=0, 1, 0.1 / Animation_Speed do
  1575. Swait()
  1576. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1580. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1581. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1582.  
  1583. end
  1584. for i=0, 1, 0.1 / Animation_Speed do
  1585. Swait()
  1586. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1587. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1588. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1589. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1590. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1591. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1592.  
  1593. end
  1594. for i=0, 1, 0.1 / Animation_Speed do
  1595. Swait()
  1596. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1597. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1599. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1600. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1601. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1602.  
  1603. end
  1604. for i=0, 1, 0.1 / Animation_Speed do
  1605. Swait()
  1606. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1607. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1608. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1609. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1610. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1611. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1612.  
  1613. end
  1614. for i=0, 1, 0.1 / Animation_Speed do
  1615. Swait()
  1616. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1617. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1618. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1619. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(150), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1620. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1621. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1622.  
  1623. end
  1624. for i=0, 1, 0.1 / Animation_Speed do
  1625. Swait()
  1626. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1627. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1628. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1629. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1630. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1631. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1632.  
  1633. end
  1634. for i=0, 1, 0.1 / Animation_Speed do
  1635. Swait()
  1636. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1637. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1638. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1639. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1640. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1641. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1642. end
  1643. wait(1)
  1644. ATTACK = false
  1645. Rooted = false
  1646. end
  1647.  
  1648. function punche()
  1649. punch = true
  1650. ATTACK = true
  1651. Rooted = true
  1652. CreateSound("0", Head, 10, 1)
  1653. game.Players.LocalPlayer.Character["Right Arm"].Touched:connect(function(hit)
  1654. local humanoid = hit.Parent:findFirstChild("Humanoid")
  1655. if punch == true then
  1656. humanoid:TakeDamage(10)
  1657. end
  1658. end)
  1659. for i=0, 1, 0.1 / Animation_Speed do
  1660. Swait()
  1661. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1662. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1663. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1664. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1665. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1666. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1667.  
  1668. end
  1669. for i=0, 1, 0.1 / Animation_Speed do
  1670. Swait()
  1671. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1672. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1673. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(130), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1674. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1675. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1676. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1677.  
  1678. end
  1679. wait(1)
  1680. punch = false
  1681. ATTACK = false
  1682. Rooted = false
  1683. end
  1684.  
  1685.  
  1686.  
  1687. function MouseUp(Mouse)
  1688. HOLD = false
  1689. end
  1690.  
  1691. function KeyDown(Key)
  1692. KEYHOLD = true
  1693. if Key == "q" and ATTACK == false then
  1694. help_me()
  1695. end
  1696.  
  1697. if Key == "e" and ATTACK == false then
  1698. punche()
  1699.  
  1700. end
  1701. end
  1702.  
  1703. function KeyUp(Key)
  1704. KEYHOLD = false
  1705. end
  1706.  
  1707. Mouse.Button1Down:connect(function(NEWKEY)
  1708. MouseDown(NEWKEY)
  1709. end)
  1710. Mouse.Button1Up:connect(function(NEWKEY)
  1711. MouseUp(NEWKEY)
  1712. end)
  1713. Mouse.KeyDown:connect(function(NEWKEY)
  1714. KeyDown(NEWKEY)
  1715. end)
  1716. Mouse.KeyUp:connect(function(NEWKEY)
  1717. KeyUp(NEWKEY)
  1718. end)
  1719.  
  1720.  
  1721. Humanoid.Changed:connect(function(Jump)
  1722. if Jump == "Jump" and (Disable_Jump == true) then
  1723. Humanoid.Jump = false
  1724. end
  1725. end)
  1726.  
  1727. while true do
  1728. Swait()
  1729. script.Parent = WEAPONGUI
  1730. ANIMATE.Parent = nil
  1731. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1732. v:Stop();
  1733. end
  1734. SINE = SINE + CHANGE
  1735. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1736. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1737. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1738. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1739. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1740. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1741. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1742. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.3 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1743. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.3 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1744. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1745. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1746. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1747. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1748. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1749. end
  1750. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1751. ANIM = "Jump"
  1752. if PLAYANIMS == true then
  1753. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1754. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1755. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1756. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1757. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1758. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1759. end
  1760. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1761. ANIM = "Fall"
  1762. if PLAYANIMS == true then
  1763. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1766. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1767. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1768. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1769. end
  1770. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1771. ANIM = "Idle"
  1772. if PLAYANIMS == true then
  1773. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1774. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1775. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1776. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1777. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1778. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1779. end
  1780. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1781. ANIM = "Walk"
  1782. if PLAYANIMS == true then
  1783. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1784. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1785. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0 / Animation_Speed)
  1786. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0 / Animation_Speed)
  1787. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1788. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1789.  
  1790. end
  1791. end
  1792. end
  1793. if Rooted == false then
  1794. Disable_Jump = false
  1795. Humanoid.WalkSpeed = Speed
  1796. elseif Rooted == true then
  1797. Disable_Jump = true
  1798. Humanoid.WalkSpeed = 0
  1799. end
  1800.  
  1801. Humanoid.Health = Humanoid.Health + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement