123iamstupid123

Untitled

Jul 8th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.08 KB | None | 0 0
  1. pls=game:GetService'Players';
  2. rs=game:GetService'RunService';
  3. uinps=game:GetService'UserInputService';
  4. lp=pls.LocalPlayer;
  5. mouse=lp:GetMouse();
  6. c=lp.Character;
  7. rayModel=Instance.new('Model',c);
  8. human=c.Humanoid;
  9. Cone=nil;
  10. human.MaxHealth=5000;
  11. wait();
  12. human.Health=5000;
  13. c.Health:Destroy();
  14. Debounces={
  15. FPS=0;
  16. isAttacking=false;
  17. isMoving=false;
  18. isSprinting=false;
  19. Debounce=false;
  20. isTyping=false;
  21. isJumping=false;
  22. isFlash=false;
  23. };
  24. numLerp=function(start,goal,alpha)
  25. return(((goal-start)*alpha)+start);
  26. end;
  27. CFrameZero=function()
  28. return CFrame.new(Vector3.new());
  29. end;
  30. local function a()
  31. local t=tick();
  32. local l=t%1*3;
  33. local t=.5*math.pi*(l%1);
  34. if l<1 then
  35. return Color3.new(1,1-math.cos(t),1-math.sin(t));
  36. elseif l<2 then
  37. return Color3.new(1-math.sin(t),1,1-math.cos(t));
  38. else
  39. return Color3.new(1-math.cos(t),1-math.sin(t),1);
  40. end;
  41. end;
  42. rad=function(value)
  43. return math.rad(value);
  44. end;
  45. CFAngles=function(Vector)
  46. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z));
  47. end;
  48. AnimStat={
  49. lerpSpeed=.2;
  50. lerpSpeed2=.35;
  51. lerpTween=0;
  52. };
  53. Joints={
  54. c.HumanoidRootPart.RootJoint;
  55. c.Torso.Neck;
  56. c.Torso['Left Shoulder'];
  57. c.Torso['Right Shoulder'];
  58. c.Torso['Left Hip'];
  59. c.Torso['Right Hip'];
  60. };
  61. JointTargets={
  62. CFrameZero();
  63. CFrameZero();
  64. CFrameZero();
  65. CFrameZero();
  66. CFrameZero();
  67. CFrameZero();
  68. };
  69. prepareCharacter=function()
  70. music=Instance.new('Sound',c.HumanoidRootPart);
  71. music.SoundId='rbxassetid://394144904';
  72. music.Looped=true;
  73. music.Volume=.6;
  74. music2=Instance.new('Sound',c);
  75. music2.SoundId='rbxassetid://259613634';
  76. music2.Looped=true;
  77. music2.Volume=1;
  78. music3=Instance.new('Sound',c.HumanoidRootPart);
  79. music3.SoundId='rbxassetid://266530326';
  80. music3.Looped=true;
  81. music3.Volume=1;
  82. music4=Instance.new('Sound',c.HumanoidRootPart);
  83. music4.SoundId='rbxassetid://155738252';
  84. music4.Looped=true;
  85. music4.Volume=1;
  86. music5=Instance.new('Sound',c.HumanoidRootPart);
  87. music5.SoundId='rbxassetid://215391212';
  88. music5.Looped=true;
  89. music5.Volume=1;
  90. human.WalkSpeed=0;
  91. human.JumpPower=0;
  92. for i,v in pairs(c:children())do
  93. if v:isA'Hat'then v:Destroy();end;
  94. if v:FindFirstChild'roblox'then v.roblox:Destroy();end;
  95. 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;
  96. if v:FindFirstChild'face'then v.face:Destroy();end;
  97. if v:isA'Part'then v.BrickColor=BrickColor.new'White';end;
  98. end
  99. local shirt=c:FindFirstChild'Shirt'or Instance.new('Shirt',c);
  100. local pants=c:FindFirstChild'Pants'or Instance.new('Pants',c);
  101. shirt.ShirtTemplate='rbxassetid://334755544';
  102. pants.PantsTemplate='rbxassetid://315964941';
  103. local Head=Instance.new('Part',c);
  104. Head.Size=Vector3.new(2.5,2.5,1);
  105. Head.Transparency=1;
  106. Head:BreakJoints();
  107. local hw=Instance.new('Weld',c.Head);
  108. hw.Part0=c.Head;
  109. hw.Part1=Head;
  110. hw.C0=CFrame.new(0,.3,0);
  111. faceDecal=Instance.new('Decal',Head);
  112. faceDecal.Face=Enum.NormalId.Front;
  113. faceDecal.Texture='rbxassetid://400387868';
  114. local backDecal=Instance.new('Decal',Head);
  115. backDecal.Face=Enum.NormalId.Back;
  116. backDecal.Texture='rbxassetid://400377807';
  117. local mes=Instance.new('BlockMesh',Head);
  118. mes.Scale=Vector3.new(1,1,.4);
  119. local Anim=human:FindFirstChild'Animator'
  120. if Anim then Anim:Destroy();end;
  121. end;
  122. setJointCFrames=function(table)
  123. for i=1,#table do
  124. JointTargets[i]=table[i];
  125. end;
  126. end;
  127. triWave=function(x)
  128. local pi2=math.pi/2;
  129. return math.abs((x/pi2)%4-2)-1;
  130. end;
  131. setLerp=function(speed)
  132. AnimStat.lerpSpeed=speed;
  133. end;
  134. setTween=function(tween)
  135. AnimStat.lerpTween=tween;
  136. end;
  137. playSound=function(id,part,vol,pitch)
  138. local vol=vol or 1;
  139. local pitch=pitch or 1;
  140. local x=Instance.new('Sound',part);
  141. x.Volume=vol;
  142. x.Pitch=pitch;
  143. x.SoundId='rbxassetid://'..id;
  144. spawn(function()
  145. wait();
  146. x:Play();
  147. wait(x.TimeLength+.2);
  148. x:Destroy();
  149. end);
  150. end;
  151. lerpBoom=function()
  152. if Cone then
  153. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  154. cMesh.Scale=Vector3.new(20,20+c.HumanoidRootPart.Velocity.magnitude/10,20);
  155. Cone.Transparency=1-c.HumanoidRootPart.Velocity.magnitude/1000;
  156. else
  157. Cone=Instance.new('Part',c);
  158. Cone.Anchored=true;
  159. Cone.CanCollide=false;
  160. Cone.Transparency=math.random(50,70)/100;
  161. Cone.Size=Vector3.new(1,1,1);
  162. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  163. cMesh=Instance.new('SpecialMesh',Cone);
  164. cMesh.MeshId='rbxassetid://1033714';
  165. cMesh.Scale=Vector3.new(20,50,20);
  166. end;
  167. end;
  168. noBoom=function()
  169. if Cone then local x=Cone Cone=nil;
  170. for i=1,20 do
  171. wait();
  172. x.Mesh.Scale=x.Mesh.Scale+Vector3.new(-.5,1,-.5);
  173. x.Transparency=x.Transparency+1/30;
  174. end;
  175. end;
  176. end;
  177. gasterBlast=function(tCFrame,aimPos,charge)
  178. local aimTarget;
  179. if aimPos then
  180. aimTarget=CFrame.new(tCFrame,aimPos);
  181. else
  182. aimTarget=tCFrame;
  183. end;
  184. local gast=Instance.new('Part',c);
  185. gast.Size=Vector3.new(12,.2,12);
  186. gast.CanCollide=false;
  187. gast.Anchored=true;
  188. gast.Transparency=1;
  189. if charge then
  190. playSound(400523331,gast,math.random(90,110)/100);
  191. end;
  192. wait();
  193. for i=1,2 do
  194. local decal=Instance.new('Decal',gast);
  195. decal.Texture='rbxassetid://323497117';
  196. if i==1 then
  197. decal.Face=Enum.NormalId.Top;
  198. else
  199. decal.Face=Enum.NormalId.Bottom;
  200. end;
  201. end;
  202. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  203. spawn(function()
  204. local tarCFrame=gast.CFrame;
  205. local isLooping=true;
  206. spawn(function()
  207. while rs.RenderStepped:wait()and isLooping do
  208. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  209. end;
  210. end);
  211. for i=1,30 do
  212. wait();
  213. tarCFrame=gast.CFrame:lerp(aimTarget,.24);
  214. end;
  215. playSound(340722848,gast,math.random(90,110)/100);
  216. isLooping=false;
  217. wait(.08);
  218. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  219. local _,pos=workspace:FindPartOnRay(ray,c);
  220. local dis=(aimTarget.p-pos).magnitude;
  221. 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);
  222. local rayPart=Instance.new('Part',rayModel);
  223. rayPart.Material='Neon';
  224. rayPart.FormFactor='Custom';
  225. rayPart.Color=a();
  226. rayPart.Anchored=true;
  227. rayPart.CanCollide=false;
  228. rayPart.Shape='Cylinder';
  229. rayPart.Size=Vector3.new(dis+400,8,8);
  230. rayPart.CFrame=rayCFrame;
  231. gast:Destroy();
  232. end);
  233. end;
  234. largegasterBlast=function(tCFrame,aimPos)
  235. local aimTarget;
  236. if aimPos then
  237. aimTarget=CFrame.new(tCFrame,aimPos);
  238. else
  239. aimTarget=tCFrame;
  240. end;
  241. local gast=Instance.new('Part',c);
  242. gast.Size=Vector3.new(25,.2,25);
  243. gast.CanCollide=false;
  244. gast.Anchored=true;
  245. gast.Transparency=1;
  246. playSound(400523331,gast,math.random(85,97)/100);
  247. wait();
  248. for i=1,2 do
  249. local decal=Instance.new('Decal',gast);
  250. decal.Texture='rbxassetid://323497117';
  251. if i==1 then
  252. decal.Face=Enum.NormalId.Top;
  253. else
  254. decal.Face=Enum.NormalId.Bottom;
  255. end;
  256. end;
  257. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  258. spawn(function()
  259. local tarCFrame=gast.CFrame;
  260. local isLooping=true;
  261. spawn(function()
  262. while rs.RenderStepped:wait()and isLooping do
  263. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  264. end;
  265. end);
  266. for i=1,40 do
  267. wait();
  268. tarCFrame=gast.CFrame:lerp(aimTarget,.18);
  269. end;
  270. playSound(340722848,gast,math.random(80,95)/100);
  271. isLooping=false;
  272. wait(.08);
  273. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  274. local _,pos=workspace:FindPartOnRay(ray,c);
  275. local dis=(aimTarget.p-pos).magnitude;
  276. 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);
  277. local rayPart=Instance.new('Part',rayModel);
  278. rayPart.Material='Neon';
  279. rayPart.FormFactor='Custom';
  280. rayPart.Color=a();
  281. rayPart.Anchored=true;
  282. rayPart.CanCollide=false;
  283. rayPart.Shape='Cylinder';
  284. rayPart.Size=Vector3.new(dis+400,17,17);
  285. rayPart.CFrame=rayCFrame;
  286. gast:Destroy();
  287. end);
  288. end;
  289. prepareCharacter();
  290. spawn(function()
  291. local sine=0;
  292. while wait()do
  293. if Debounces.isFlash then
  294. if(tick()*8)%2>1 then
  295. faceDecal.Texture='rbxassetid://400377503';
  296. else
  297. faceDecal.Texture='rbxassetid://400387868';
  298. end;
  299. else
  300. faceDecal.Texture='rbxassetid://400387868';
  301. end;
  302. if Debounces.isAttacking==false and Debounces.isMoving==false and Debounces.Debounce==false and Debounces.isJumping==false then
  303. setLerp(.8);
  304. local spasm=math.abs(math.sin(tick()*20))*1.1;
  305. local spasm2=math.abs(math.sin(tick()*20-2))*1.1;
  306. local spasm3=math.abs(math.sin(tick()*20-2.3))*1.1;
  307. setJointCFrames({
  308. CFrame.new(Vector3.new(0,0-spasm,0))*CFAngles(Vector3.new(0,0,0));
  309. CFrame.new(Vector3.new(0,1.5,0))*CFAngles(Vector3.new(-0.011,-0.502,-1.177));
  310. CFrame.new(Vector3.new(-1.5-spasm2^2/3,-0.001,0))*CFAngles(Vector3.new(-2.344,7.899,-2.82+spasm3^2*-60));
  311. CFrame.new(Vector3.new(1.569+spasm2^2/3,0,-0.1))*CFAngles(Vector3.new(4.822,1.123,6.383+spasm3^2*60));
  312. CFrame.new(Vector3.new(-0.61,-2+spasm/1.01,-.15))*CFAngles(Vector3.new(-2.206,0.767,-0.582));
  313. CFrame.new(Vector3.new(0.55,-2+spasm/1.01,-.1))*CFAngles(Vector3.new(-0.026,0.463,3.184));
  314. });
  315. elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==false and Debounces.isJumping==false then
  316. sine=tick()*18;
  317. human.WalkSpeed=120;
  318. setLerp(.35);
  319. setJointCFrames({
  320. 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));
  321. CFrame.new(Vector3.new(0,1.48,0.099))*CFAngles(Vector3.new(14.999,-0.001,0));
  322. 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));
  323. 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));
  324. 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));
  325. 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));
  326. });
  327. elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==true and Debounces.isJumping==false then
  328. sine=tick()*28;
  329. human.WalkSpeed=400;
  330. lerpBoom();
  331. setLerp(.65);
  332. setJointCFrames({
  333. 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));
  334. CFrame.new(Vector3.new(0,1.48,0.099))*CFAngles(Vector3.new(14.999,-0.001,0));
  335. 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));
  336. 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));
  337. 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));
  338. 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));
  339. });
  340. elseif Debounces.isJumping==true and Debounces.Debounce==false then
  341. setLerp(.14);
  342. human.WalkSpeed=45;
  343. setJointCFrames({
  344. CFrame.new(Vector3.new(0,0,0))*CFAngles(Vector3.new(-8,0,0));
  345. CFrame.new(Vector3.new(0,1.5,-0.15))*CFAngles(Vector3.new(-10.138,3.687,0.306));
  346. CFrame.new(Vector3.new(-1.23,0.069,-0.56))*CFAngles(Vector3.new(50.809,0.672,18.704));
  347. CFrame.new(Vector3.new(0.929,-0.031,-1.0912))*CFAngles(Vector3.new(63.00,13.85,-36.416));
  348. CFrame.new(Vector3.new(-0.63,-1.82,-0.74))*CFAngles(Vector3.new(31.324,3.424,-1.249));
  349. CFrame.new(Vector3.new(0.619,-1.331,0.82))*CFAngles(Vector3.new(-59.644,0.998,9.776));
  350. });
  351. end;
  352. end;
  353. end);
  354. human.Changed:connect(function(prop)
  355. if prop=='MoveDirection'then
  356. if human.MoveDirection.magnitude>.02 then
  357. Debounces.isMoving=true;
  358. else
  359. Debounces.isMoving=false;
  360. end;
  361. end;
  362. end);
  363. uinps.InputBegan:connect(function(InputObj)
  364. if InputObj.KeyCode==Enum.KeyCode.Slash then
  365. local finishEvent=nil;
  366. Debounces.isTyping=true
  367. finishEvent=uinps.InputBegan:connect(function(InputObj)
  368. if InputObj.KeyCode==Enum.KeyCode.Return or InputObj.UserInputType==Enum.UserInputType.MouseButton1 then
  369. Debounces.isTyping=false;
  370. finishEvent:disconnect();
  371. end;
  372. end);
  373. end;
  374. end);
  375. mouse.KeyDown:connect(function(key)
  376. if key=='0'then
  377. Debounces.isSprinting=true;
  378. playSound(160248522,c.Torso);
  379. for i=1,3 do
  380. spawn(function()
  381. local e=Instance.new('Part',c);
  382. e.Size=Vector3.new(1,1,1);
  383. e.Material='Neon';
  384. e.Color=a();
  385. e.Anchored=true;
  386. e.CFrame=c.HumanoidRootPart.CFrame*CFrame.Angles(0,0,-math.pi/2);
  387. e.CanCollide=false;
  388. local rm=Instance.new('SpecialMesh',e);
  389. rm.MeshType='FileMesh';
  390. rm.MeshId='rbxassetid://3270017';
  391. rm.Scale=Vector3.new(3.2,3.2,10);
  392. for x=1,30 do
  393. wait();
  394. rm.Scale=rm.Scale:lerp(Vector3.new(i*30,i*30,(4-i)*450),.1);
  395. e.Transparency=x/30+.5;
  396. end;
  397. end);
  398. end;
  399. c.HumanoidRootPart.Velocity=c.HumanoidRootPart.CFrame.lookVector*200;
  400. end;
  401. end);
  402. mouse.KeyUp:connect(function(key)
  403. if key=='0'then
  404. Debounces.isSprinting=false;
  405. end;
  406. end);
  407. mouse.KeyDown:connect(function(key)
  408. if key=='v'then
  409. playSound(201858087,c.Torso,math.random(90,120)/100);
  410. local oldPos=c.HumanoidRootPart.CFrame.p;
  411. local mHit=mouse.Hit.p;
  412. for i=1,2 do
  413. spawn(function()
  414. local pos
  415. if i==1 then pos=oldPos else pos=mHit end
  416. local p=Instance.new('Part',workspace);
  417. p.Anchored=true;
  418. p.CanCollide=false;
  419. p.Color=a();
  420. p.FormFactor='Custom';
  421. p.CFrame=CFrame.new(pos+Vector3.new(0,500,0));
  422. p.Transparency=.4;
  423. p.Size=Vector3.new(20,1000,20);
  424. for i=1,20 do
  425. wait();
  426. p.Transparency=.4+(i/10)*.6;
  427. p.Size=Vector3.new(20-i*1.5,1000,20-i*1.5);
  428. p.CFrame=CFrame.new(pos+Vector3.new(0,500,0));
  429. end;
  430. p:Destroy();
  431. end);
  432. end;
  433. if Debounces.isMoving then
  434. 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));
  435. else
  436. c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(oldPos.x,mouse.Hit.p.y+4,oldPos.z));
  437. end;
  438. end;
  439. end);
  440. mouse.KeyDown:connect(function(key)
  441. if key=='r'then
  442. local pointTarget=mouse.Hit.p;
  443. for i=1,20 do
  444. wait();
  445. gasterBlast(CFrame.new(pointTarget+Vector3.new(math.sin(tick()*10)*20,5+math.abs(math.sin(tick()*5)*10),math.cos(tick()*10)*20),pointTarget));
  446. end;
  447. wait();
  448. largegasterBlast(CFrame.new(pointTarget+Vector3.new(0,35,0),pointTarget));
  449. end;
  450. end);
  451. mouse.KeyDown:connect(function(key)
  452. if key=='f'then
  453. local pointTarget=mouse.Hit.p;
  454. for i=1,20 do
  455. wait();
  456. gasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(math.sin(i/2)*(20-i),math.cos(i/2)*(20-i),-i)));
  457. end;
  458. largegasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(0,0,-25)));
  459. end;
  460. end);
  461. mouse.Button1Down:connect(function()
  462. Debounces.isFlash=true;
  463. end);
  464. mouse.Button1Up:connect(function()
  465. Debounces.isFlash=false;
  466. end);
  467. mouse.KeyDown:connect(function(key)
  468. if key=='k'then
  469. if music.isPlaying then music:Stop();else music:Play();end;
  470. end;
  471. end);
  472. mouse.KeyDown:connect(function(key)
  473. if key=='j'then
  474. if music2.isPlaying then music2:Stop();else music2:Play();end;
  475. end;
  476. end);
  477. mouse.KeyDown:connect(function(key)
  478. if key=='l'then
  479. if music3.isPlaying then music3:Stop();else music3:Play();end;
  480. end;
  481. end);
  482. mouse.KeyDown:connect(function(key)
  483. if key=='p'then
  484. if music4.isPlaying then music4:Stop();else music4:Play();end;
  485. end;
  486. end);
  487. mouse.KeyDown:connect(function(key)
  488. if key=='o'then
  489. if music5.isPlaying then music4:Stop();else music5:Play();end;
  490. end;
  491. end);
  492. mouse.KeyDown:connect(function(key)
  493. if key=='e'then
  494. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p,true);
  495. end;
  496. end);
  497. mouse.KeyDown:connect(function(key)
  498. if key=='c'then
  499. largegasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  500. end;
  501. end);
  502. mouse.KeyDown:connect(function(key)
  503. if key=='q'then
  504. for i=1,5 do
  505. wait();
  506. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  507. end;
  508. largegasterBlast(c.Torso.CFrame.p+Vector3.new(0,25,0),mouse.Hit.p);
  509. end;
  510. end);
  511. mouse.KeyDown:connect(function(key)
  512. if key=='t'then
  513. local pointTarget=mouse.Hit.p;
  514. for i=1,20 do
  515. gasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/40)*i))*(20-i),5+i,math.cos(math.deg((360/40)*i))*(20-i)),pointTarget);
  516. end;
  517. wait(.2);
  518. for i=1,10 do
  519. largegasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/20)*i))*25,20,math.cos(math.deg((360/20)*i))*25),pointTarget);
  520. end;
  521. end;
  522. end);
  523. human.StateChanged:connect(function(os,ns)
  524. if c.HumanoidRootPart.Velocity.Y<.1 and Debounces.isJumping==true and ns==Enum.HumanoidStateType.Landed then
  525. Debounces.isJumping=false;
  526. end;
  527. end);
  528. for i=1,#Joints do
  529. Joints[i].C1=CFrameZero();
  530. end;
  531. rs.RenderStepped:connect(function()
  532. Debounces.FPS=1/rs.RenderStepped:wait();
  533. if Debounces.FPS<30 then
  534. Debounces.FPS=30;
  535. end;
  536. if Debounces.isSprinting then
  537. lerpBoom();
  538. else
  539. noBoom();
  540. end;
  541. for _,v in pairs(rayModel:children())do
  542. v.Transparency=v.Transparency+.06/(Debounces.FPS/60);
  543. if v.Transparency>.99 then v:Destroy();return;end;
  544. v.CanCollide=true;
  545. local tParts=v:GetTouchingParts();
  546. v.CanCollide=false;
  547. local vCFrame=v.CFrame;
  548. v.Size=v.Size+Vector3.new(0,1,1)/(Debounces.FPS/60);
  549. v.CFrame=vCFrame;
  550. for _,x in pairs(tParts)do
  551. if x and x.Parent and x.Parent:FindFirstChild'Humanoid'and x.Parent.Humanoid:isA'Humanoid'and x.Parent~=c then
  552. x.Parent.Humanoid:TakeDamage(1,2);
  553. end;
  554. end;
  555. end;
  556. local FPSLerp=AnimStat.lerpSpeed/(Debounces.FPS/60);
  557. for i=1,#Joints do
  558. Joints[i].C0=Joints[i].C0:lerp(JointTargets[i],FPSLerp);
  559. end;
  560. end);
  561.  
  562. -- Genosans. leaked by CLarramore
  563. -- NOTE: This was edited from error-sans another script edit of mine.
  564.  
  565. dot = false
  566. des = false
  567. local ChatService = game:GetService("Chat")
  568. local player = game.Players.LocalPlayer
  569. char = player.Character
  570. hum = char.Humanoid
  571. torso = hum.Torso
  572. lig = Instance.new("PointLight",player.Character.Torso)
  573. lig.Color=Color3.new(0,255,255)
  574. m=player:GetMouse()
  575. bb = Instance.new("BillboardGui",player.Character.Head)
  576. bb.Enabled = true
  577. bb.AlwaysOnTop = true
  578. bb.Size = UDim2.new(0,200,0,50)
  579. bb.StudsOffset = Vector3.new(0,1,0)
  580. gui=Instance.new("TextBox",bb)
  581. gui.Text = "* "
  582. gui.Size = UDim2.new(0,133,0,45)
  583. gui.Position=UDim2.new(0,57,0,-40)
  584. gui.TextColor3 = Color3.new(255,255,255)
  585. gui.BackgroundColor3=Color3.new(0,0,0)
  586. gui.TextWrapped = true
  587. gui.TextScaled = true
  588. gui.TextXAlignment = "Left"
  589. gui.TextYAlignment = "Top"
  590. gui.Visible = false
  591. gui.BorderColor3 = Color3.new(0,0,0)
  592.  
  593. gui1=Instance.new("TextButton",bb)
  594. gui1.Position=UDim2.new(0,5,0,-43)
  595. gui1.Size = UDim2.new(0,190,0,51)
  596.  
  597. gui1.TextColor3 = Color3.new(255,255,255)
  598. gui1.BackgroundColor3=Color3.new(255,255,255)
  599.  
  600. Debounces = {
  601. ["IsSpeech"]=false;
  602. }
  603.  
  604.  
  605. Speeches = {
  606. "rbxassetid://316403916",
  607. "rbxassetid://316403844",
  608. "rbxassetid://316403787",
  609. "rbxassetid://316403490"
  610. };
  611.  
  612.  
  613.  
  614.  
  615. function swait(num)
  616. if num==0 or num==nil then
  617. game:service'RunService'.Stepped:wait(0)
  618. else
  619. for i=0,num do
  620. game:service'RunService'.Stepped:wait(0)
  621. end
  622. end
  623. end
  624.  
  625.  
  626. for _,v in pairs(Speeches) do
  627.  
  628. game:GetService("ContentProvider"):Preload(v)
  629.  
  630. end
  631.  
  632. so = function(id,par,vol,pit)
  633. coroutine.resume(coroutine.create(function()
  634. local sou = Instance.new("Sound",par or workspace)
  635. sou.Volume=vol
  636. sou.Pitch=pit or 1
  637. sou.SoundId=id
  638. swait()
  639. sou:play()
  640. game:GetService("Debris"):AddItem(sou,sou.TimeLength)
  641. end))
  642. end
  643.  
  644.  
  645.  
  646. function speech()
  647. if Debounces.IsSpeech then return end
  648. Debounces.IsSpeech = true
  649.  
  650. so(""..Speeches[math.random(1,#Speeches)].."",torso,1,1)
  651.  
  652. swait()
  653.  
  654. Debounces.IsSpeech = false
  655. end
  656.  
  657.  
  658. gui1.Visible = false
  659. img = Instance.new("ImageLabel",bb)
  660. img.Size = UDim2.new(0,46,0,47)
  661. img.Position = UDim2.new(0,10,0,-41)
  662. img.Image = "rbxassetid://388166921"
  663. img.BorderColor3 = Color3.new(0,0,0)
  664. img.Visible = false
  665. asd = Instance.new("Sound",player.Character.Torso)
  666. asd.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  667.  
  668. asd1 = Instance.new("Sound",player.Character.Torso)
  669. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  670.  
  671. asd2 = Instance.new("Sound",player.Character.Torso)
  672. asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481"
  673. asd2.Looped = true
  674. asd3 = Instance.new("Sound",player.Character.Torso)
  675. asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309"
  676. asd3.Looped = true
  677. asd4 = Instance.new("Sound",player.Character.Torso)
  678. asd4.SoundId = "http://www.roblox.com/asset/?id = 388938813"
  679. asd4.Looped = false
  680. asd5 = Instance.new("Sound",player.Character.Torso)
  681. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  682. asd5.Looped = true
  683. dunkd = Instance.new("Sound",player.Character.Torso)
  684. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  685. dunkd.Looped = false
  686. function play(play)
  687. asd:Play()
  688. asd1:Play()
  689. end
  690. eye = Instance.new("Part",player.Character)
  691. eye.BrickColor = BrickColor.new("Toothpaste")
  692. eye.Material = "Neon"
  693. eye.FormFactor = 3
  694. eye.Shape = "Ball"
  695. eye.Size = Vector3.new(0.37,0.37,0.1)
  696. weld = Instance.new("Weld",eye)
  697. weld.Part0 = eye
  698. weld.Part1 = player.Character.Head
  699. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  700. eye.Transparency = 1
  701. -- listen for their chatting
  702. player.Chatted:connect(function(message)
  703. a = string.len(message)
  704. gui.Text = "* "
  705. gui.Visible = true
  706. gui1.Visible = true
  707. des = false
  708. img.Visible = true
  709. print(a)
  710. if dot == false then
  711. for i = 1,string.len(message) do wait(0.07)
  712. gui.Text =gui.Text..message:sub(i,i)
  713.  
  714. play()
  715. end
  716. end
  717.  
  718. des = true
  719. end)
  720. m.KeyDown:connect(function(k)
  721. if k == "g" then
  722. asd2:Play()
  723. eye.Transparency = 0
  724.  
  725. elseif k == "k" then
  726. speech()
  727. end
  728. end)
  729. m.KeyDown:connect(function(k)
  730. if k == "p" then
  731. eye.Transparency = 1
  732. asd3:Play()
  733. end
  734. end)
  735. m.KeyDown:connect(function(k)
  736. if k == "r" then
  737. eye.Transparency = 0
  738. asd4:Play()
  739. end
  740. end)
  741. m.KeyDown:connect(function(k)
  742. if k == "q" then
  743. eye.Transparency = 1
  744. asd5:Play()
  745. end
  746. end)
  747. m.KeyDown:connect(function(k)
  748. if k == "z" then
  749.  
  750. img.Image = "rbxassetid://388167098"
  751. end
  752. end)
  753. m.KeyDown:connect(function(k)
  754. if k == "c" then
  755. img.Image = "rbxassetid://388166921"
  756. end
  757. end)
  758. m.KeyDown:connect(function(k)
  759. if k == "n" then
  760. img.Image = "rbxassetid://388166991"
  761. end
  762. end)
  763. m.KeyDown:connect(function(k)
  764. if k == "b" then
  765. img.Image = "rbxassetid://378060690"
  766. end
  767. end)
  768. m.KeyDown:connect(function(k)
  769. if k == "m" then
  770. img.Image = "rbxassetid://378609498"
  771. end
  772. end)
  773. m.KeyDown:connect(function(k)
  774. if k == "v" then
  775. img.Image = "rbxassetid://388166961"
  776. end
  777. end)
  778. m.KeyDown:connect(function(k)
  779. if k == "h" then
  780. img.Image = "rbxassetid://378577428"
  781. end
  782. end)
  783. m.KeyDown:connect(function(k)
  784. if k == "j" then
  785. img.Image = "rbxassetid://388167116"
  786. end
  787. end)
  788. m.KeyDown:connect(function(k)
  789. if k == "l" then
  790. img.Image = "rbxassetid://388167154"
  791. print("You take your very last breath...")
  792. asdd = Instance.new("Sound",player.Character.Torso)
  793. asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
  794. asdd.Looped = false
  795. spawn(function()
  796. wait()
  797. asdd:Play()
  798. end)
  799. wait(2)
  800. asddd = Instance.new("Sound",player.Character.Torso)
  801. asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
  802. asddd.Looped = false
  803. spawn(function()
  804. wait()
  805. asddd:Play()
  806. end)
  807. wait(2)
  808. asdded = Instance.new("Sound",player.Character.Torso)
  809. asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  810. asdded.Looped = false
  811. spawn(function()
  812. wait()
  813. asdded:Play()
  814. end)
  815. char:BreakJoints()
  816. end
  817. end)
  818. m.KeyDown:connect(function(k)
  819. if k == "x" then
  820. if des == true then
  821. gui.Visible = false
  822. gui.Text = "* "
  823. gui1.Visible = false
  824. img.Visible = false
  825. end
  826. end
  827. end)
  828. m.KeyDown:connect(function(k)
  829. if k == "f" then
  830. asd3:Stop()
  831. asd2:Stop()
  832. asd4:Stop()
  833. dunkd:Stop()
  834. eye.Transparency = 1
  835. asd5:Stop()
  836. end
  837. end)
  838. m.KeyDown:connect(function(k)
  839. if k == "u" then
  840. dunkd = Instance.new("Sound",player.Character.Torso)
  841. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  842. dunkd.Looped = false
  843. dunkd:Play()
  844. end
  845. end)
  846. m.KeyDown:connect(function(k)
  847. if k == "y" then
  848. img.Image = "rbxassetid://378198656"
  849. end
  850. end)
  851. -- my god...
  852. -- Suck_HiyaThere moves to arizona
  853.  
  854. --------------------------------------------------------
  855.  
  856. pls = game:GetService'Players'
  857. rs = game:GetService'RunService'
  858. uinps = game:GetService'UserInputService'
  859. lp = pls.LocalPlayer
  860. mouse = lp:GetMouse()
  861. c = lp.Character
  862. human = c.Humanoid
  863. human.MaxHealth = 50
  864. soundVol = 0
  865. wait()
  866. human.Health = 50
  867. c.Health:Destroy()
  868.  
  869. --------------------------------------------------------
  870.  
  871. Debounces = {
  872. AnimationCycles = 0;
  873. FPS = 0;
  874. scalingDamage = false;
  875. damageLevel = 0;
  876. attackNumber = 0;
  877. isAttacking = false;
  878. isMoving = false;
  879. isSprinting = false;
  880. isBoosting = false;
  881. isPassive = false;
  882. isTyping = false;
  883. }
  884.  
  885. --------------------------------------------------------
  886.  
  887. numLerp = function(start, goal, alpha)
  888. return(((goal - start) * alpha) + start)
  889. end
  890.  
  891. CFrameZero = function()
  892. return CFrame.new(Vector3.new())
  893. end
  894.  
  895. rad = function(value)
  896. return math.rad(value)
  897. end
  898.  
  899. CFAngles = function(Vector)
  900. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  901. end
  902.  
  903. --------------------------------------------------------
  904.  
  905. AnimStat = {
  906. lerpSpeed = .2;
  907. lerpSpeed2 = .35;
  908. lerpTween = 0;
  909. }
  910.  
  911. Joints = {
  912. c.HumanoidRootPart.RootJoint;
  913. c.Torso.Neck;
  914. c.Torso['Left Shoulder'];
  915. c.Torso['Right Shoulder'];
  916. c.Torso['Left Hip'];
  917. c.Torso['Right Hip'];
  918. }
  919.  
  920. JointTargets = {
  921. CFrameZero();
  922. CFrameZero();
  923. CFrameZero();
  924. CFrameZero();
  925. CFrameZero();
  926. CFrameZero();
  927. }
  928.  
  929. --------------------------------------------------------
  930.  
  931. BodyColors = {
  932. HeadColor = BrickColor.new("Institutional white");
  933. LeftArmColor = BrickColor.new("Institutional white");
  934. RightArmColor = BrickColor.new("Institutional white");
  935. LeftLegColor = BrickColor.new("Institutional white");
  936. RightLegColor = BrickColor.new("Institutional white");
  937. TorsoColor = BrickColor.new("Mid gray");
  938. }
  939.  
  940. Customs = {
  941. Face = "http://www.roblox.com/asset/?id=8560915";
  942. Shirt = "http://www.roblox.com/asset/?id=334781688";
  943. Pants = "http://www.roblox.com/asset/?id=335237283";
  944. }
  945.  
  946. --------------------------------------------------------
  947.  
  948. prepareCharacter = function()
  949. local transPoints = {
  950. NumberSequenceKeypoint.new(0,0,0),
  951. NumberSequenceKeypoint.new(.4,.05,0),
  952. NumberSequenceKeypoint.new(.8,.16,0),
  953. NumberSequenceKeypoint.new(1,.25,0)
  954. }
  955. local sizePoints = {
  956. NumberSequenceKeypoint.new(0,.5,0),
  957. NumberSequenceKeypoint.new(.18,.5,0),
  958. NumberSequenceKeypoint.new(.49,.69,0),
  959. NumberSequenceKeypoint.new(.74,.5,0),
  960. NumberSequenceKeypoint.new(.92,.25,0),
  961. NumberSequenceKeypoint.new(1,.0625,0)
  962. }
  963. local Size = NumberSequence.new(sizePoints)
  964. local Transparency = NumberSequence.new(transPoints)
  965. rayModel = Instance.new("Model",c)
  966. efxBlock = Instance.new("Part",c)
  967. efxBlock.Material = "Neon"
  968. efxBlock.FormFactor = "Custom"
  969. efxBlock.Size = Vector3.new(.3,.3,.3)
  970. light = Instance.new("PointLight",c.Head)
  971. light.Range = 8
  972. light.Color = Color3.new(1,1,1)
  973. light.Shadows = false
  974. local particles = Instance.new("ParticleEmitter",efxBlock)
  975. particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
  976. particles.ZOffset = 1
  977. particles.LightEmission = .96
  978. particles.Size = Size
  979. particles.Name = "Fire"
  980. particles.Transparency = Transparency
  981. particles.LockedToPart = true
  982. particles.Rate = 25
  983. particles.EmissionDirection = "Right"
  984. particles.Acceleration = Vector3.new(-.5,0,0)
  985. particles.Texture = "rbxassetid://24378732"
  986. particles.Lifetime = NumberRange.new(.25,.25)
  987. particles.Speed = NumberRange.new(-.5,5)
  988. script.Parent = efxBlock
  989. fire = particles
  990. local offset = Vector3.new(0.2, .23, -0.5)
  991. local weld = Instance.new("Weld",c.Head)
  992. weld.Part0 = c.Head
  993. weld.Part1 = efxBlock
  994. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  995. efxBlock.Parent = c
  996. local music = Instance.new("Sound",c.Torso)
  997. music.SoundId = "rbxassetid://316012176"
  998. music.Looped = true
  999. music.Volume = soundVol
  1000. fight = music
  1001. local music2 = Instance.new("Sound",c.Torso)
  1002. music2.SoundId = "rbxassetid://316014309"
  1003. music2.Looped = true
  1004. music2.Volume = soundVol
  1005. sans = music2
  1006. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  1007. pointGyro.P = 1e7
  1008. pointGyro.D = 1e3
  1009. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  1010. animator = c.Humanoid:FindFirstChild("Animator")
  1011. if animator then
  1012. animator:Destroy()
  1013. end
  1014. c.Torso.roblox:Destroy()
  1015. for i,v in pairs (c.Head:children()) do
  1016. if v.ClassName == "Sound" then
  1017. v:Destroy()
  1018. end
  1019. end
  1020. for i = 1,#Joints do
  1021. Joints[i].C1 = CFrame.new(Vector3.new())
  1022. end
  1023. human.WalkSpeed = 0
  1024. human.JumpPower = 0
  1025. end
  1026.  
  1027. uinps.InputBegan:connect(function(InputObject)
  1028. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  1029. Debounces.isPassive = not Debounces.isPassive
  1030. if Debounces.isPassive == true then
  1031.  
  1032. --speech()
  1033. end
  1034.  
  1035. end
  1036. end)
  1037.  
  1038. setJointCFrames = function(table)
  1039. for i = 1,#table do
  1040. JointTargets[i] = table[i]
  1041. end
  1042. AnimationCycles = 0
  1043. end
  1044.  
  1045. setLerp = function(speed)
  1046. AnimStat.lerpSpeed = speed
  1047. end
  1048.  
  1049. setTween = function(tween)
  1050. AnimStat.lerpTween = tween
  1051. end
  1052.  
  1053. takeDamage = function(position,damage,distance,platformStand)
  1054. for i,v in pairs (pls:children()) do
  1055. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  1056. local torso = v.Character:FindFirstChild("Torso")
  1057. if torso and (torso.Position - position).magnitude < distance then
  1058. if v.Character.Humanoid.MaxHealth > 1000 then
  1059. v.Character.Humanoid.MaxHealth = 100;
  1060. v.Character.Humanoid.Breakjoints()
  1061. end
  1062.  
  1063.  
  1064. v.Character.Humanoid:TakeDamage(damage)
  1065. if platformStand == true then
  1066. v.Character.PlatformStand = platformStand
  1067. end
  1068. end
  1069. end
  1070. end
  1071. end
  1072.  
  1073. --------------------------------------------------------
  1074.  
  1075. prepareCharacter()
  1076.  
  1077. --------------------------------------------------------
  1078.  
  1079. spawn(function()
  1080. local sine = 0
  1081. while wait() do
  1082. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  1083. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  1084. setLerp(.1)
  1085. if Debounces.isPassive == true then
  1086. setJointCFrames({
  1087. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1088. CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
  1089. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  1090. CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
  1091. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  1092. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  1093. })
  1094. else
  1095. setJointCFrames({
  1096. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1097. CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
  1098. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  1099. CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
  1100. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  1101. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  1102. })
  1103. end
  1104. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  1105. sine = sine + math.rad(12)
  1106. human.WalkSpeed = 15
  1107. setLerp(.15)
  1108. setJointCFrames({
  1109. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  1110. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  1111. CFrame.new(Vector3.new(-1.97, 0 + math.sin(sine + .5)/20, 0.1 + math.sin(-sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(sine) * 23, 0, 0));
  1112. CFrame.new(Vector3.new(1.97, 0 - math.sin(sine + .5)/20, 0.1 + math.sin(sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(-sine) * 23, 0, 0));
  1113. CFrame.new(Vector3.new(-0.5, -1.93 - math.cos(sine)/8.7, 0.2 + math.sin(sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(-sine) * 30, 0, 0));
  1114. CFrame.new(Vector3.new(0.5, -1.93 + math.cos(sine)/8.7, 0.2 + math.sin(-sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(sine) * 30, 0, 0));
  1115. })
  1116. end
  1117. if Debounces.scalingDamage == true then
  1118. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  1119. end
  1120. end
  1121. end)
  1122.  
  1123. human.Changed:connect(function(prop)
  1124. if prop == "MoveDirection" then
  1125. if human.MoveDirection.magnitude > .02 then
  1126. Debounces.isMoving = true
  1127. else
  1128. Debounces.isMoving = false
  1129. end
  1130. end
  1131. end)
  1132.  
  1133. uinps.InputBegan:connect(function(InputObject)
  1134. if InputObject.KeyCode == Enum.KeyCode.A and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1135. Debounces.isBoosting = true
  1136. Debounces.damageLevel = 10
  1137. Debounces.scalingDamage = true
  1138. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1139. setLerp(.15)
  1140. setJointCFrames({
  1141. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  1142. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  1143. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  1144. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  1145. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  1146. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  1147. })
  1148. local boostSpeed = 250
  1149. local efx = Instance.new("Sound",c.Head)
  1150. efx.SoundId = "rbxassetid://200632875"
  1151. efx.Pitch = math.random(1100,1300)/1000
  1152. efx.Volume = .5
  1153. efx:Play()
  1154. spawn(function()
  1155. wait(5)
  1156. efx:Destroy()
  1157. end)
  1158. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  1159. vel.P = 1e3
  1160. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1161. wait(.15)
  1162. vel.P = 1000
  1163. vel.MaxForce = Vector3.new(3000,0,3000)
  1164. vel.Velocity = Vector3.new()
  1165. wait(.3)
  1166. setLerp(.3)
  1167. setJointCFrames({
  1168. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  1169. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  1170. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  1171. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  1172. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  1173. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  1174. })
  1175. wait(.2)
  1176. vel:Destroy()
  1177. Debounces.damageLevel = 0
  1178. Debounces.scalingDamage = false
  1179. Debounces.isBoosting = false
  1180. end
  1181. end)
  1182.  
  1183. uinps.InputBegan:connect(function(InputObject)
  1184. if InputObject.KeyCode == Enum.KeyCode.D and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1185. Debounces.isBoosting = true
  1186. Debounces.damageLevel = 10
  1187. Debounces.scalingDamage = true
  1188. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1189. setLerp(.15)
  1190. setJointCFrames({
  1191. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  1192. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  1193. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  1194. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  1195. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  1196. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  1197. })
  1198. local boostSpeed = 250
  1199. local efx = Instance.new("Sound",c.Head)
  1200. efx.SoundId = "rbxassetid://200632875"
  1201. efx.Pitch = math.random(1100,1300)/1000
  1202. efx.Volume = .5
  1203. efx:Play()
  1204. spawn(function()
  1205. wait(5)
  1206. efx:Destroy()
  1207. end)
  1208. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  1209. vel.P = 1e3
  1210. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1211. wait(.15)
  1212. vel.P = 1000
  1213. vel.MaxForce = Vector3.new(3000,0,3000)
  1214. vel.Velocity = Vector3.new()
  1215. wait(.3)
  1216. setLerp(.3)
  1217. setJointCFrames({
  1218. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  1219. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1220. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1221. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1222. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1223. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1224. })
  1225. wait(.2)
  1226. vel:Destroy()
  1227. Debounces.damageLevel = 0
  1228. Debounces.scalingDamage = false
  1229. Debounces.isBoosting = false
  1230. end
  1231. end)
  1232.  
  1233. uinps.InputBegan:connect(function(InputObject)
  1234. if InputObject.KeyCode == Enum.KeyCode.W and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1235. Debounces.isBoosting = true
  1236. Debounces.damageLevel = 10
  1237. Debounces.scalingDamage = true
  1238. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1239. setLerp(.15)
  1240. setJointCFrames({
  1241. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  1242. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  1243. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  1244. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  1245. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  1246. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1247. })
  1248. local boostSpeed = 250
  1249. local efx = Instance.new("Sound",c.Head)
  1250. efx.SoundId = "rbxassetid://200632875"
  1251. efx.Pitch = math.random(1100,1300)/1000
  1252. efx.Volume = .5
  1253. efx:Play()
  1254. spawn(function()
  1255. wait(5)
  1256. efx:Destroy()
  1257. end)
  1258. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  1259. vel.P = 1e3
  1260. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1261. wait(.15)
  1262. vel.P = 1000
  1263. vel.MaxForce = Vector3.new(3000,0,3000)
  1264. vel.Velocity = Vector3.new()
  1265. wait(.3)
  1266. setLerp(.3)
  1267. setJointCFrames({
  1268. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  1269. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1270. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1271. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1272. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1273. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1274. })
  1275. wait(.2)
  1276. vel:Destroy()
  1277. Debounces.damageLevel = 0
  1278. Debounces.scalingDamage = false
  1279. Debounces.isBoosting = false
  1280. end
  1281. end)
  1282.  
  1283. uinps.InputBegan:connect(function(InputObject)
  1284. if InputObject.KeyCode == Enum.KeyCode.S and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1285. Debounces.isBoosting = true
  1286. Debounces.damageLevel = 10
  1287. Debounces.scalingDamage = true
  1288. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1289. setLerp(.15)
  1290. setJointCFrames({
  1291. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  1292. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  1293. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  1294. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  1295. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  1296. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1297. })
  1298. local boostSpeed = 150
  1299. local boostSpeed = 250
  1300. local efx = Instance.new("Sound",c.Head)
  1301. efx.SoundId = "rbxassetid://200632875"
  1302. efx.Pitch = math.random(1100,1300)/1000
  1303. efx.Volume = .5
  1304. efx:Play()
  1305. spawn(function()
  1306. wait(5)
  1307. efx:Destroy()
  1308. end)
  1309. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  1310. vel.P = 1e3
  1311. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1312. wait(.15)
  1313. vel.P = 1000
  1314. vel.MaxForce = Vector3.new(3000,0,3000)
  1315. vel.Velocity = Vector3.new()
  1316. wait(.3)
  1317. setLerp(.3)
  1318. setJointCFrames({
  1319. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  1320. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  1321. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  1322. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  1323. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  1324. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  1325. })
  1326. wait(.2)
  1327. vel:Destroy()
  1328. Debounces.damageLevel = 0
  1329. Debounces.scalingDamage = false
  1330. Debounces.isBoosting = false
  1331. end
  1332. end)
  1333.  
  1334. uinps.InputBegan:connect(function(InputObject)
  1335. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1336. local isLooping = true
  1337. uinps.InputEnded:connect(function(InputObject2)
  1338. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1339. isLooping = false
  1340. end
  1341. end)
  1342. while true do
  1343. if isLooping == false then
  1344. break
  1345. end
  1346. Debounces.attackNumber = Debounces.attackNumber + 1
  1347. local aimPos = mouse.Hit.p
  1348. local head = Instance.new("Part",c)
  1349. head.Size = Vector3.new(12,.2,12)
  1350. head.CanCollide = false
  1351. head.Anchored = true
  1352. head.Transparency = 1
  1353. for i = 1,2 do
  1354. local decal = Instance.new("Decal",head)
  1355. decal.Texture = "rbxassetid://323497117"
  1356. if i == 1 then
  1357. decal.Face = Enum.NormalId.Top
  1358. else
  1359. decal.Face = Enum.NormalId.Bottom
  1360. end
  1361. end
  1362. if Debounces.attackNumber%2 == 1 then
  1363. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1364. else
  1365. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1366. end
  1367. spawn(function()
  1368. local timer = 0
  1369. while rs.RenderStepped:wait() do
  1370. if timer >= 1.55 then
  1371. break
  1372. end
  1373. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1374. timer = timer + 1/30/(Debounces.FPS/60)
  1375. end
  1376. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1377. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1378. local hit, pos = workspace:FindPartOnRay(ray,c)
  1379. local dis = (head.CFrame.p - pos).magnitude
  1380. local rayPart = Instance.new("Part",rayModel)
  1381. rayPart.Material = "Neon"
  1382. rayPart.FormFactor = "Custom"
  1383. rayPart.BrickColor = BrickColor.new(1,1,1)
  1384. rayPart.Anchored = true
  1385. rayPart.CanCollide = false
  1386. rayPart.Size = Vector3.new(7,7,dis + 400)
  1387. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  1388. rayPart.CFrame = rayCFrame
  1389. head:Destroy()
  1390. end)
  1391. wait()
  1392. local s = Instance.new("Sound",head)
  1393. s.Volume = 1
  1394. s.SoundId = "rbxassetid://332223043"
  1395. s:Play()
  1396. wait(.04)
  1397. end
  1398. end
  1399. end)
  1400.  
  1401. uinps.InputBegan:connect(function(InputObj)
  1402. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1403. Debounces.isAttacking = true
  1404. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1405. local head = Instance.new("Part",c)
  1406. head.Size = Vector3.new(18,.2,18)
  1407. head.CanCollide = false
  1408. head.Anchored = true
  1409. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1410. head.Transparency = 1
  1411. for i = 1,2 do
  1412. local decal = Instance.new("Decal",head)
  1413. decal.Texture = "rbxassetid://323497117"
  1414. if i == 1 then
  1415. decal.Face = Enum.NormalId.Top
  1416. else
  1417. decal.Face = Enum.NormalId.Bottom
  1418. end
  1419. end
  1420. setLerp(.1)
  1421. setJointCFrames({
  1422. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1423. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1424. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1425. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1426. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1427. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1428. })
  1429. spawn(function()
  1430. local timer = 0
  1431. while rs.RenderStepped:wait() do
  1432. if timer >= 1.55/.8 then
  1433. break
  1434. end
  1435. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1436. timer = timer + 1/30/(Debounces.FPS/60)
  1437. end
  1438. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1439. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1440. local hit, pos = workspace:FindPartOnRay(ray,c)
  1441. local dis = (head.CFrame.p - pos).magnitude
  1442. local rayPart = Instance.new("Part",rayModel)
  1443. rayPart.Material = "Neon"
  1444. rayPart.FormFactor = "Custom"
  1445. rayPart.Name = "Punch"
  1446. rayPart.BrickColor = BrickColor.new(1,1,1)
  1447. rayPart.Anchored = true
  1448. rayPart.CanCollide = false
  1449. rayPart.Size = Vector3.new(28,28,dis + 400)
  1450. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  1451. rayPart.CFrame = rayCFrame
  1452. head:Destroy()
  1453. end)
  1454. wait()
  1455. local s = Instance.new("Sound",head)
  1456. s.Volume = 1
  1457. s.SoundId = "rbxassetid://332223043"
  1458. s.Pitch = .8
  1459. s:Play()
  1460. wait(.75)
  1461. setLerp(.17)
  1462. setJointCFrames({
  1463. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1464. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1465. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1466. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1467. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1468. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1469. })
  1470. wait(.5)
  1471. Debounces.isAttacking = false
  1472. end
  1473. end)
  1474.  
  1475. reflect = function(d,n)
  1476. local i, n = -1 * d.unit, n.unit
  1477. local dot = n:Dot(i)
  1478. return 2*dot*n - i
  1479. end
  1480.  
  1481. makeReflectionBeam = function(pos,look,isCrit)
  1482. local ray = Ray.new(pos,look)
  1483. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  1484. local e = Instance.new("Part",rayModel)
  1485. e.Anchored = true
  1486. e.CanCollide = false
  1487. e.BrickColor = BrickColor.new("White")
  1488. e.Material = "Neon"
  1489. e.FormFactor = "Custom"
  1490. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  1491. if isCrit == true then
  1492. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  1493. e.Name = "Punch"
  1494. end
  1495. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  1496. local e = Instance.new("Sound",c)
  1497. if isCrit == true then
  1498. e.Volume = .5
  1499. else
  1500. e.Volume = .3
  1501. e.Pitch = 1.5
  1502. end
  1503. e.SoundId = "rbxassetid://200632875"
  1504. e:Play()
  1505. spawn(function()
  1506. wait(6)
  1507. e:Destroy()
  1508. end)
  1509. wait(.05)
  1510. if hit ~= nil then
  1511. newDir = reflect(look.unit,norm,isCrit)
  1512. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  1513. end
  1514. end
  1515.  
  1516. uinps.InputBegan:connect(function(InputObject)
  1517. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1518. local isLooping = true
  1519. uinps.InputEnded:connect(function(InputObject2)
  1520. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1521. isLooping = false
  1522. end
  1523. end)
  1524. while true do
  1525. if isLooping == false then
  1526. break
  1527. end
  1528. Debounces.attackNumber = Debounces.attackNumber + 1
  1529. local aimPos = mouse.Hit.p
  1530. local head = Instance.new("Part",c)
  1531. head.Size = Vector3.new(12,.2,12)
  1532. head.CanCollide = false
  1533. head.Anchored = true
  1534. head.Transparency = 1
  1535. for i = 1,2 do
  1536. local decal = Instance.new("Decal",head)
  1537. decal.Texture = "rbxassetid://323497117"
  1538. if i == 1 then
  1539. decal.Face = Enum.NormalId.Top
  1540. else
  1541. decal.Face = Enum.NormalId.Bottom
  1542. end
  1543. end
  1544. if Debounces.attackNumber%2 == 1 then
  1545. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1546. else
  1547. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1548. end
  1549. spawn(function()
  1550. local timer = 0
  1551. while rs.RenderStepped:wait() do
  1552. if timer >= 1.55 then
  1553. break
  1554. end
  1555. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1556. timer = timer + 1/30/(Debounces.FPS/60)
  1557. end
  1558. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1559. head:Destroy()
  1560. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  1561. end)
  1562.  
  1563. wait()
  1564. local s = Instance.new("Sound",head)
  1565. s.Volume = 1
  1566. s.SoundId = "rbxassetid://332223043"
  1567. s.Pitch = 1.02
  1568. s:Play()
  1569. wait(.2)
  1570. end
  1571. end
  1572. end)
  1573.  
  1574. uinps.InputBegan:connect(function(InputObj)
  1575. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1576. Debounces.isAttacking = true
  1577. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1578. local head = Instance.new("Part",c)
  1579. head.Size = Vector3.new(18,.2,18)
  1580. head.CanCollide = false
  1581. head.Anchored = true
  1582. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1583. head.Transparency = 1
  1584. for i = 1,2 do
  1585. local decal = Instance.new("Decal",head)
  1586. decal.Texture = "rbxassetid://323497117"
  1587. if i == 1 then
  1588. decal.Face = Enum.NormalId.Top
  1589. else
  1590. decal.Face = Enum.NormalId.Bottom
  1591. end
  1592. end
  1593. setLerp(.1)
  1594. setJointCFrames({
  1595. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1596. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1597. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1598. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1599. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1600. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1601. })
  1602. spawn(function()
  1603. local timer = 0
  1604. while rs.RenderStepped:wait() do
  1605. if timer >= 1.55/.8 then
  1606. break
  1607. end
  1608. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1609. timer = timer + 1/30/(Debounces.FPS/60)
  1610. end
  1611. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1612. head:Destroy()
  1613. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1614. end)
  1615. wait()
  1616. local s = Instance.new("Sound",head)
  1617. s.Volume = 2
  1618. s.SoundId = "rbxassetid://332223043"
  1619. s.Pitch = .8
  1620. s:Play()
  1621. wait(.75)
  1622. setLerp(.17)
  1623. setJointCFrames({
  1624. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1625. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1626. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1627. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1628. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1629. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1630. })
  1631. wait(.5)
  1632. Debounces.isAttacking = false
  1633. end
  1634. end)
  1635.  
  1636. uinps.InputBegan:connect(function(InputObj)
  1637. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1638. local finishEvent = nil
  1639. Debounces.isTyping = true
  1640. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1641. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1642. Debounces.isTyping = false
  1643. finishEvent:disconnect()
  1644. end
  1645. end)
  1646. end
  1647. end)
  1648.  
  1649. uinps.InputBegan:connect(function(InputObj)
  1650. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1651. Debounces.isSprinting = true
  1652. end
  1653. end)
  1654.  
  1655. uinps.InputEnded:connect(function(InputObj)
  1656. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1657. Debounces.isSprinting = false
  1658. end
  1659. end)
  1660.  
  1661. rs.RenderStepped:connect(function()
  1662. Debounces.FPS = 1/rs.RenderStepped:wait()
  1663. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  1664. if Debounces.isPassive == false then
  1665. fight:Pause()
  1666. sans:Resume()
  1667. efxBlock.Transparency = 1
  1668. else
  1669. fight:Resume()
  1670. sans:Pause()
  1671. efxBlock.Transparency = 0
  1672. end
  1673. for i,v in pairs (rayModel:children()) do
  1674. if v.Transparency >= 1 then
  1675. v:Destroy()
  1676. else
  1677. v.CanCollide = true
  1678. local parts = v:GetTouchingParts()
  1679. v.CanCollide = false
  1680. for i = 1,#parts do
  1681. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1682. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  1683. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1684. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  1685. end
  1686.  
  1687.  
  1688.  
  1689. end
  1690. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  1691. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1692. end
  1693. end
  1694. for i = 1,#Joints do
  1695. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1696. end
  1697. light.Brightness = math.random(1,4)
  1698. end)
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706. -- Auto-Lag for people at antis
  1707. -- heheheh easter egg
  1708.  
  1709. -- This is also to tell you "Please do not run in antis SB"
  1710. if game.PlaceId == 21053279 then
  1711. plr = game.Players.LocalPlayer
  1712. char = plr.Character
  1713. cam = workspace.CurrentCamera
  1714. cam.CameraType = "Scriptable"
  1715. cam.CoordinateFrame = CFrame.new(0,0,50)
  1716. local localContainer
  1717. local service=setmetatable({
  1718. MarketPlace=game:service("MarketplaceService");
  1719. GamepassService=game:service("GamePassService");
  1720. ChatService=game:service("Chat");
  1721. LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end;
  1722. },{
  1723. __index=function(tab,index)
  1724. local serv
  1725. local ran,err=pcall(function() serv=game:service(index) end)
  1726. if ran then
  1727. tab[index]=serv
  1728. return serv
  1729. end
  1730. end
  1731. })
  1732.  
  1733. local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end
  1734.  
  1735. x=game.Players.LocalPlayer
  1736. x.CameraMode=Enum.CameraMode.LockFirstPerson
  1737. f=Instance.new("Frame")
  1738. f.Size=UDim2.new(1,0,1,0)
  1739. f.BackgroundTransparency=0.01
  1740. f.BackgroundColor3=Color3.new()
  1741. pg=x.PlayerGui
  1742. gui=Instance.new("ScreenGui",pg)
  1743. wait(.1)
  1744. for i=1,28000 do
  1745. f:Clone().Parent=gui
  1746. f:Clone().Parent=gui
  1747. f:Clone().Parent=gui
  1748. end
  1749.  
  1750. script:Destroy();
  1751. local runService = Game:GetService("RunService").Stepped;
  1752. local LagNum = 1250;
  1753. local str = "lag fucker lag";
  1754.  
  1755. for i = 1, math.huge do
  1756. if i % LagNum == 0 then runService:wait(); end
  1757. Instance.new("Message", Workspace).Text = str;
  1758. end
  1759.  
  1760. local bores=coroutine.create(function() --Yolo?
  1761. cPcall(function()
  1762. --print(Game[("%s|"):rep(0xFFFFFFF)])
  1763. cPcall(print,'lol')
  1764. cPcall(warn,'lol')
  1765. cPcall(error,'lol')
  1766. while wait(0.1) do
  1767. spawn(function()
  1768. cPcall(function()
  1769. spawn(function()
  1770. local tab={}
  1771. pcall(function()
  1772. spawn(function()
  1773. for i=1,1000000 do
  1774. cPcall(function()
  1775. spawn(function()
  1776. local bob2=coroutine.create(function()
  1777. function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  1778. function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  1779. spawn(f1)
  1780. end)
  1781. spawn(function() delay(0,function() coroutine.resume(bob2) end) end)
  1782. spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end)
  1783. end)
  1784. end)
  1785. end
  1786. tab={}
  1787. end)
  1788. end)
  1789. end)
  1790. end)
  1791. end)
  1792. end
  1793. end)
  1794. end)
  1795.  
  1796. service.RunService.Stepped:connect(function()
  1797. for i=1,500000 do
  1798. delay(0,function() pcall(function() coroutine.resume(bores) end) end)
  1799. end
  1800. end)
  1801.  
  1802.  
  1803. local function bob()
  1804. cPcall(function()
  1805. while wait(0.1) do
  1806. --cPcall(function()
  1807. --for i=1,100 do
  1808. local p=Instance.new("Part")
  1809. p.Material="Neon"
  1810. p.Size=Vector3.new(50,50,50)
  1811. p.Anchored=true
  1812. p.BackSurface="Studs"
  1813. p.BottomSurface="Studs"
  1814. p.FrontSurface="Studs"
  1815. p.LeftSurface="Studs"
  1816. p.RightSurface="Studs"
  1817. p.TopSurface="Studs"
  1818. local t=Instance.new("Texture",p)
  1819. t.Texture="http://www.roblox.com/asset/?id=190803157"
  1820. t.Face="Top"
  1821. t.StudsPerTileU=1000
  1822. t.StudsPerTileV=1000
  1823. local t2=t:clone()
  1824. t2.Parent=p
  1825. t2.Face="Bottom"
  1826. local t2=t:clone()
  1827. t2.Parent=p
  1828. t2.Face="Left"
  1829. local t2=t:clone()
  1830. t2.Parent=p
  1831. t2.Face="Right"
  1832. local t2=t:clone()
  1833. t2.Parent=p
  1834. t2.Face="Front"
  1835. local t2=t:clone()
  1836. t2.Parent=p
  1837. t2.Face="Back"
  1838. p.Parent=service.LocalContainer()
  1839. --end
  1840. --end)
  1841. end
  1842. end)
  1843. end
  1844. bob() --while wait(0.1) do cPcall(bob) end
  1845. end
  1846.  
  1847.  
  1848. -- ~CLarramore
  1849. -- ~CLarramore 2016 (writing over my old signature)
  1850.  
  1851. -- P.S Fuck you.
  1852. -- Please don't run in antis
  1853. -- ~CL 2016
Advertisement
Add Comment
Please, Sign In to add comment