Advertisement
PotatoSaiyan

Sanessss Script

Jun 30th, 2016
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.40 KB | None | 0 0
  1. ID = '391535805'
  2. Looped = false
  3.  
  4. Music=Instance.new("Sound" ,workspace)
  5. Music.Name = "Music"
  6. if Looped == true then
  7. Music.Looped = true
  8. end
  9. Music.SoundId = "http://www.roblox.com/asset/?id=391535805"
  10. Music:Play()
  11.  
  12. pls=game:GetService'Players';
  13. rs=game:GetService'RunService';
  14. uinps=game:GetService'UserInputService';
  15. lp=pls.LocalPlayer;
  16. mouse=lp:GetMouse();
  17. c=lp.Character;
  18. rayModel=Instance.new('Model',c);
  19. human=c.Humanoid;
  20. Cone=nil;
  21. human.MaxHealth=10000;
  22. wait();
  23. human.Health=100000;
  24. c.Health:Destroy();
  25. Debounces={
  26. FPS=0;
  27. isAttacking=false;
  28. isMoving=false;
  29. isSprinting=false;
  30. Debounce=false;
  31. isTyping=false;
  32. isJumping=false;
  33. isFlash=false;
  34. };
  35. numLerp=function(start,goal,alpha)
  36. return(((goal-start)*alpha)+start);
  37. end;
  38. CFrameZero=function()
  39. return CFrame.new(Vector3.new());
  40. end;
  41. local function a()
  42. local t=tick();
  43. local l=t%1*3;
  44. local t=.5*math.pi*(l%1);
  45. if l<1 then
  46. return Color3.new(1,1-math.cos(t),1-math.sin(t));
  47. elseif l<2 then
  48. return Color3.new(1-math.sin(t),1,1-math.cos(t));
  49. else
  50. return Color3.new(1-math.cos(t),1-math.sin(t),1);
  51. end;
  52. end;
  53. rad=function(value)
  54. return math.rad(value);
  55. end;
  56. CFAngles=function(Vector)
  57. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z));
  58. end;
  59. AnimStat={
  60. lerpSpeed=.2;
  61. lerpSpeed2=.35;
  62. lerpTween=0;
  63. };
  64. Joints={
  65. c.HumanoidRootPart.RootJoint;
  66. c.Torso.Neck;
  67. c.Torso['Left Shoulder'];
  68. c.Torso['Right Shoulder'];
  69. c.Torso['Left Hip'];
  70. c.Torso['Right Hip'];
  71. };
  72. JointTargets={
  73. CFrameZero();
  74. CFrameZero();
  75. CFrameZero();
  76. CFrameZero();
  77. CFrameZero();
  78. CFrameZero();
  79. };
  80. prepareCharacter=function()
  81. music=Instance.new('Sound',c.HumanoidRootPart);
  82. music.SoundId='rbxassetid://';
  83. music.Looped=true;
  84. music.Volume=.6;
  85. music2=Instance.new('Sound',c);
  86. music2.SoundId='rbxassetid://0';
  87. music2.Looped=true;
  88. music2.Volume=1;
  89. music3=Instance.new('Sound',c.HumanoidRootPart);
  90. music3.SoundId='rbxassetid://0';
  91. music3.Looped=true;
  92. music3.Volume=1;
  93. music4=Instance.new('Sound',c.HumanoidRootPart);
  94. music4.SoundId='rbxassetid://0';
  95. music4.Looped=true;
  96. music4.Volume=1;
  97. music5=Instance.new('Sound',c.HumanoidRootPart);
  98. music5.SoundId='rbxassetid://0';
  99. music5.Looped=true;
  100. music5.Volume=1;
  101. human.WalkSpeed=0;
  102. human.JumpPower=0;
  103. for i,v in pairs(c:children())do
  104. if v:isA'Hat'then v:Destroy();end;
  105. if v:FindFirstChild'roblox'then v.roblox:Destroy();end;
  106. if v.Name=='Head'then v.Transparency=1 for _,x in pairs(v:children())do if x.ClassName=='Sound'then x:Destroy();end;end;end;
  107. if v:FindFirstChild'face'then v.face:Destroy();end;
  108. if v:isA'Part'then v.BrickColor=BrickColor.new'White';end;
  109. end
  110. local shirt=c:FindFirstChild'Shirt'or Instance.new('Shirt',c);
  111. local pants=c:FindFirstChild'Pants'or Instance.new('Pants',c);
  112. shirt.ShirtTemplate='rbxassetid://334755544';
  113. pants.PantsTemplate='rbxassetid://315964941';
  114. local Head=Instance.new('Part',c);
  115. Head.Size=Vector3.new(2.5,2.5,1);
  116. Head.Transparency=1;
  117. Head:BreakJoints();
  118. local hw=Instance.new('Weld',c.Head);
  119. hw.Part0=c.Head;
  120. hw.Part1=Head;
  121. hw.C0=CFrame.new(0,.3,0);
  122. faceDecal=Instance.new('Decal',Head);
  123. faceDecal.Face=Enum.NormalId.Front;
  124. faceDecal.Texture='rbxassetid://400387868';
  125. local backDecal=Instance.new('Decal',Head);
  126. backDecal.Face=Enum.NormalId.Back;
  127. backDecal.Texture='rbxassetid://400377807';
  128. local mes=Instance.new('BlockMesh',Head);
  129. mes.Scale=Vector3.new(1,1,.4);
  130. local Anim=human:FindFirstChild'Animator'
  131. if Anim then Anim:Destroy();end;
  132. end;
  133. setJointCFrames=function(table)
  134. for i=1,#table do
  135. JointTargets[i]=table[i];
  136. end;
  137. end;
  138. triWave=function(x)
  139. local pi2=math.pi/2;
  140. return math.abs((x/pi2)%4-2)-1;
  141. end;
  142. setLerp=function(speed)
  143. AnimStat.lerpSpeed=speed;
  144. end;
  145. setTween=function(tween)
  146. AnimStat.lerpTween=tween;
  147. end;
  148. playSound=function(id,part,vol,pitch)
  149. local vol=vol or 1;
  150. local pitch=pitch or 1;
  151. local x=Instance.new('Sound',part);
  152. x.Volume=vol;
  153. x.Pitch=pitch;
  154. x.SoundId='rbxassetid://'..id;
  155. spawn(function()
  156. wait();
  157. x:Play();
  158. wait(x.TimeLength+.2);
  159. x:Destroy();
  160. end);
  161. end;
  162. lerpBoom=function()
  163. if Cone then
  164. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  165. cMesh.Scale=Vector3.new(20,20+c.HumanoidRootPart.Velocity.magnitude/10,20);
  166. Cone.Transparency=1-c.HumanoidRootPart.Velocity.magnitude/1000;
  167. else
  168. Cone=Instance.new('Part',c);
  169. Cone.Anchored=true;
  170. Cone.CanCollide=false;
  171. Cone.Transparency=math.random(50,70)/100;
  172. Cone.Size=Vector3.new(1,1,1);
  173. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  174. cMesh=Instance.new('SpecialMesh',Cone);
  175. cMesh.MeshId='rbxassetid://1033714';
  176. cMesh.Scale=Vector3.new(20,50,20);
  177. end;
  178. end;
  179. noBoom=function()
  180. if Cone then local x=Cone Cone=nil;
  181. for i=1,20 do
  182. wait();
  183. x.Mesh.Scale=x.Mesh.Scale+Vector3.new(-.5,1,-.5);
  184. x.Transparency=x.Transparency+1/30;
  185. end;
  186. end;
  187. end;
  188. gasterBlast=function(tCFrame,aimPos,charge)
  189. local aimTarget;
  190. if aimPos then
  191. aimTarget=CFrame.new(tCFrame,aimPos);
  192. else
  193. aimTarget=tCFrame;
  194. end;
  195. local gast=Instance.new('Part',c);
  196. gast.Size=Vector3.new(12,.2,12);
  197. gast.CanCollide=false;
  198. gast.Anchored=true;
  199. gast.Transparency=1;
  200. if charge then
  201. playSound(400523331,gast,math.random(90,110)/100);
  202. end;
  203. wait();
  204. for i=1,2 do
  205. local decal=Instance.new('Decal',gast);
  206. decal.Texture='rbxassetid://323497117';
  207. if i==1 then
  208. decal.Face=Enum.NormalId.Top;
  209. else
  210. decal.Face=Enum.NormalId.Bottom;
  211. end;
  212. end;
  213. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  214. spawn(function()
  215. local tarCFrame=gast.CFrame;
  216. local isLooping=true;
  217. spawn(function()
  218. while rs.RenderStepped:wait()and isLooping do
  219. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  220. end;
  221. end);
  222. for i=1,30 do
  223. wait();
  224. tarCFrame=gast.CFrame:lerp(aimTarget,.24);
  225. end;
  226. playSound(340722848,gast,math.random(90,110)/100);
  227. isLooping=false;
  228. wait(.08);
  229. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  230. local _,pos=workspace:FindPartOnRay(ray,c);
  231. local dis=(aimTarget.p-pos).magnitude;
  232. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  233. local rayPart=Instance.new('Part',rayModel);
  234. rayPart.Material='Neon';
  235. rayPart.FormFactor='Custom';
  236. rayPart.Color=a();
  237. rayPart.Anchored=true;
  238. rayPart.CanCollide=false;
  239. rayPart.Shape='Cylinder';
  240. rayPart.Size=Vector3.new(dis+400,8,8);
  241. rayPart.CFrame=rayCFrame;
  242. gast:Destroy();
  243. end);
  244. end;
  245. largegasterBlast=function(tCFrame,aimPos)
  246. local aimTarget;
  247. if aimPos then
  248. aimTarget=CFrame.new(tCFrame,aimPos);
  249. else
  250. aimTarget=tCFrame;
  251. end;
  252. local gast=Instance.new('Part',c);
  253. gast.Size=Vector3.new(25,.2,25);
  254. gast.CanCollide=false;
  255. gast.Anchored=true;
  256. gast.Transparency=1;
  257. playSound(400523331,gast,math.random(85,97)/100);
  258. wait();
  259. for i=1,2 do
  260. local decal=Instance.new('Decal',gast);
  261. decal.Texture='rbxassetid://323497117';
  262. if i==1 then
  263. decal.Face=Enum.NormalId.Top;
  264. else
  265. decal.Face=Enum.NormalId.Bottom;
  266. end;
  267. end;
  268. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  269. spawn(function()
  270. local tarCFrame=gast.CFrame;
  271. local isLooping=true;
  272. spawn(function()
  273. while rs.RenderStepped:wait()and isLooping do
  274. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  275. end;
  276. end);
  277. for i=1,40 do
  278. wait();
  279. tarCFrame=gast.CFrame:lerp(aimTarget,.18);
  280. end;
  281. playSound(340722848,gast,math.random(80,95)/100);
  282. isLooping=false;
  283. wait(.08);
  284. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  285. local _,pos=workspace:FindPartOnRay(ray,c);
  286. local dis=(aimTarget.p-pos).magnitude;
  287. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  288. local rayPart=Instance.new('Part',rayModel);
  289. rayPart.Material='Neon';
  290. rayPart.FormFactor='Custom';
  291. rayPart.Color=a();
  292. rayPart.Anchored=true;
  293. rayPart.CanCollide=false;
  294. rayPart.Shape='Cylinder';
  295. rayPart.Size=Vector3.new(dis+400,17,17);
  296. rayPart.CFrame=rayCFrame;
  297. gast:Destroy();
  298. end);
  299. end;
  300. prepareCharacter();
  301. spawn(function()
  302. local sine=0;
  303. while wait()do
  304. if Debounces.isFlash then
  305. if(tick()*8)%2>1 then
  306. faceDecal.Texture='rbxassetid://400377503';
  307. else
  308. faceDecal.Texture='rbxassetid://400387868';
  309. end;
  310. else
  311. faceDecal.Texture='rbxassetid://400387868';
  312. end;
  313. if Debounces.isAttacking==false and Debounces.isMoving==false and Debounces.Debounce==false and Debounces.isJumping==false then
  314. setLerp(.8);
  315. local spasm=math.abs(math.sin(tick()*20))*1.1;
  316. local spasm2=math.abs(math.sin(tick()*20-2))*1.1;
  317. local spasm3=math.abs(math.sin(tick()*20-2.3))*1.1;
  318. setJointCFrames({
  319. CFrame.new(Vector3.new(0,0-spasm,0))*CFAngles(Vector3.new(0,0,0));
  320. CFrame.new(Vector3.new(0,1.5,0))*CFAngles(Vector3.new(-0.011,-0.502,-1.177));
  321. CFrame.new(Vector3.new(-1.5-spasm2^2/3,-0.001,0))*CFAngles(Vector3.new(-2.344,7.899,-2.82+spasm3^2*-60));
  322. CFrame.new(Vector3.new(1.569+spasm2^2/3,0,-0.1))*CFAngles(Vector3.new(4.822,1.123,6.383+spasm3^2*60));
  323. CFrame.new(Vector3.new(-0.61,-2+spasm/1.01,-.15))*CFAngles(Vector3.new(-2.206,0.767,-0.582));
  324. CFrame.new(Vector3.new(0.55,-2+spasm/1.01,-.1))*CFAngles(Vector3.new(-0.026,0.463,3.184));
  325. });
  326. elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==false and Debounces.isJumping==false then
  327. sine=tick()*18;
  328. human.WalkSpeed=150;
  329. setLerp(.35);
  330. setJointCFrames({
  331. CFrame.new(Vector3.new(0,math.sin(sine)/50-.3,0))*CFAngles(Vector3.new(-30-math.sin(sine*2)*3,math.sin(sine*2)*15,0));
  332. CFrame.new(Vector3.new(0,1.48,0.099))*CFAngles(Vector3.new(14.999,-0.001,0));
  333. CFrame.new(Vector3.new(-1.5,-0.001,0.2+math.sin(sine*2+math.pi)*1.2))*CFAngles(Vector3.new(-25.001+math.sin(sine*2+math.pi)*-90,0,-15));
  334. CFrame.new(Vector3.new(1.5,-0.001,0.2+math.sin(sine*2)*1.2))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-90,-0.001,14.999));
  335. CFrame.new(Vector3.new(-0.501,-2+math.cos(sine*2+math.pi)/3,.3+math.sin(sine*2)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-70,0,-0.001));
  336. CFrame.new(Vector3.new(0.499,-2+math.cos(sine*2)/3,.3+math.sin(sine*2+math.pi)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*70,0,0));
  337. });
  338. elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==true and Debounces.isJumping==true then
  339. sine=tick()*28;
  340. human.WalkSpeed=400;
  341. lerpBoom();
  342. setLerp(.65);
  343. setJointCFrames({
  344. CFrame.new(Vector3.new(0,math.sin(sine)/50-.3,0))*CFAngles(Vector3.new(-30-math.sin(sine*2)*3,math.sin(sine*2)*15,0));
  345. CFrame.new(Vector3.new(0,1.48,0.099))*CFAngles(Vector3.new(14.999,-0.001,0));
  346. CFrame.new(Vector3.new(-1.5,-0.001,0.2+math.sin(sine*2+math.pi)*1.2))*CFAngles(Vector3.new(-25.001+math.sin(sine*2+math.pi)*-90,0,-15));
  347. CFrame.new(Vector3.new(1.5,-0.001,0.2+math.sin(sine*2)*1.2))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-90,-0.001,14.999));
  348. CFrame.new(Vector3.new(-0.501,-2+math.cos(sine*2+math.pi)/3,.3+math.sin(sine*2)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-70,0,-0.001));
  349. CFrame.new(Vector3.new(0.499,-2+math.cos(sine*2)/3,.3+math.sin(sine*2+math.pi)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*70,0,0));
  350. });
  351. elseif Debounces.isJumping==true and Debounces.Debounce==false then
  352. setLerp(.14);
  353. human.WalkSpeed=45;
  354. setJointCFrames({
  355. CFrame.new(Vector3.new(0,0,0))*CFAngles(Vector3.new(-8,0,0));
  356. CFrame.new(Vector3.new(0,1.5,-0.15))*CFAngles(Vector3.new(-10.138,3.687,0.306));
  357. CFrame.new(Vector3.new(-1.23,0.069,-0.56))*CFAngles(Vector3.new(50.809,0.672,18.704));
  358. CFrame.new(Vector3.new(0.929,-0.031,-1.0912))*CFAngles(Vector3.new(63.00,13.85,-36.416));
  359. CFrame.new(Vector3.new(-0.63,-1.82,-0.74))*CFAngles(Vector3.new(31.324,3.424,-1.249));
  360. CFrame.new(Vector3.new(0.619,-1.331,0.82))*CFAngles(Vector3.new(-59.644,0.998,9.776));
  361. });
  362. end;
  363. end;
  364. end);
  365. human.Changed:connect(function(prop)
  366. if prop=='MoveDirection'then
  367. if human.MoveDirection.magnitude>.02 then
  368. Debounces.isMoving=true;
  369. else
  370. Debounces.isMoving=false;
  371. end;
  372. end;
  373. end);
  374. uinps.InputBegan:connect(function(InputObj)
  375. if InputObj.KeyCode==Enum.KeyCode.Slash then
  376. local finishEvent=nil;
  377. Debounces.isTyping=true
  378. finishEvent=uinps.InputBegan:connect(function(InputObj)
  379. if InputObj.KeyCode==Enum.KeyCode.Return or InputObj.UserInputType==Enum.UserInputType.MouseButton1 then
  380. Debounces.isTyping=false;
  381. finishEvent:disconnect();
  382. end;
  383. end);
  384. end;
  385. end);
  386. mouse.KeyDown:connect(function(key)
  387. if key=='0'then
  388. Debounces.isSprinting=true;
  389. playSound(160248522,c.Torso);
  390. for i=1,3 do
  391. spawn(function()
  392. local e=Instance.new('Part',c);
  393. e.Size=Vector3.new(1,1,1);
  394. e.Material='Neon';
  395. e.Color=a();
  396. e.Anchored=true;
  397. e.CFrame=c.HumanoidRootPart.CFrame*CFrame.Angles(0,0,-math.pi/2);
  398. e.CanCollide=false;
  399. local rm=Instance.new('SpecialMesh',e);
  400. rm.MeshType='FileMesh';
  401. rm.MeshId='rbxassetid://3270017';
  402. rm.Scale=Vector3.new(3.2,3.2,10);
  403. for x=1,30 do
  404. wait();
  405. rm.Scale=rm.Scale:lerp(Vector3.new(i*30,i*30,(4-i)*450),.1);
  406. e.Transparency=x/30+.5;
  407. end;
  408. end);
  409. end;
  410. c.HumanoidRootPart.Velocity=c.HumanoidRootPart.CFrame.lookVector*200;
  411. end;
  412. end);
  413. mouse.KeyUp:connect(function(key)
  414. if key=='0'then
  415. Debounces.isSprinting=false;
  416. end;
  417. end);
  418. mouse.KeyDown:connect(function(key)
  419. if key=='r'then
  420. playSound(201858087,c.Torso,math.random(90,120)/100);
  421. local oldPos=c.HumanoidRootPart.CFrame.p;
  422. local mHit=mouse.Hit.p;
  423. for i=1,2 do
  424. spawn(function()
  425. local pos
  426. if i==1 then pos=oldPos else pos=mHit end
  427. local p=Instance.new('Part',workspace);
  428. p.Anchored=true;
  429. p.CanCollide=false;
  430. p.Color=a();
  431. p.FormFactor='Custom';
  432. p.CFrame=CFrame.new(pos+Vector3.new(0,500,0));
  433. p.Transparency=.4;
  434. p.Size=Vector3.new(20,1000,20);
  435. for i=1,20 do
  436. wait();
  437. p.Transparency=.4+(i/10)*.6;
  438. p.Size=Vector3.new(20-i*1.5,1000,20-i*1.5);
  439. p.CFrame=CFrame.new(pos+Vector3.new(0,500,0));
  440. end;
  441. p:Destroy();
  442. end);
  443. end;
  444. if Debounces.isMoving then
  445. c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(c.HumanoidRootPart.Velocity.x,mouse.Hit.p.y+4,c.HumanoidRootPart.Velocity.z));
  446. else
  447. c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(oldPos.x,mouse.Hit.p.y+4,oldPos.z));
  448. end;
  449. end;
  450. end);
  451. mouse.KeyDown:connect(function(key)
  452. if key=='e'then
  453. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p,true);
  454. end;
  455. end);
  456. mouse.KeyDown:connect(function(key)
  457. if key=='q'then
  458. largegasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  459. end;
  460. end);
  461. human.StateChanged:connect(function(os,ns)
  462. if c.HumanoidRootPart.Velocity.Y<.1 and Debounces.isJumping==true and ns==Enum.HumanoidStateType.Landed then
  463. Debounces.isJumping=false;
  464. end;
  465. end);
  466. for i=1,#Joints do
  467. Joints[i].C1=CFrameZero();
  468. end;
  469. rs.RenderStepped:connect(function()
  470. Debounces.FPS=1/rs.RenderStepped:wait();
  471. if Debounces.FPS<30 then
  472. Debounces.FPS=30;
  473. end;
  474. if Debounces.isSprinting then
  475. lerpBoom();
  476. else
  477. noBoom();
  478. end;
  479. for _,v in pairs(rayModel:children())do
  480. v.Transparency=v.Transparency+.06/(Debounces.FPS/60);
  481. if v.Transparency>.99 then v:Destroy();return;end;
  482. v.CanCollide=true;
  483. local tParts=v:GetTouchingParts();
  484. v.CanCollide=false;
  485. local vCFrame=v.CFrame;
  486. v.Size=v.Size+Vector3.new(0,1,1)/(Debounces.FPS/60);
  487. v.CFrame=vCFrame;
  488. for _,x in pairs(tParts)do
  489. if x and x.Parent and x.Parent:FindFirstChild'Humanoid'and x.Parent.Humanoid:isA'Humanoid'and x.Parent~=c then
  490. x.Parent.Humanoid:TakeDamage(1,2);
  491. end;
  492. end;
  493. end;
  494. local FPSLerp=AnimStat.lerpSpeed/(Debounces.FPS/60);
  495. for i=1,#Joints do
  496. Joints[i].C0=Joints[i].C0:lerp(JointTargets[i],FPSLerp);
  497. end;
  498. end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement