Advertisement
Piyangkoon

gaster

Jun 8th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Gaster Script
  2. -- By Gaster
  3.  
  4.  
  5. dot = false
  6. des = false
  7. local ChatService = game:GetService("Chat")
  8. local player = game.Players.LocalPlayer
  9. char = player.Character
  10. hum = char.Humanoid
  11. torso = hum.Torso
  12. hum.MaxHealth = 999999999
  13. wait()
  14. hum.Health = hum.MaxHealth
  15. lig = Instance.new("PointLight",player.Character.Torso)
  16. lig.Color=Color3.new(1,0,0)
  17. m=player:GetMouse()
  18. bb = Instance.new("BillboardGui",player.Character.Head)
  19. bb.Enabled = true
  20. bb.AlwaysOnTop = true
  21. bb.Size = UDim2.new(0,200,0,50)
  22. bb.StudsOffset = Vector3.new(0,1,0)
  23. gui=Instance.new("TextBox",bb)
  24. gui.Text = "* "
  25. gui.Size = UDim2.new(0,133,0,45)
  26. gui.Position=UDim2.new(0,57,0,-40)
  27. gui.TextColor3 = Color3.new(1,0,0)
  28. gui.BackgroundColor3=Color3.new(0,0,0)
  29. gui.TextWrapped = true
  30. gui.TextScaled = true
  31. gui.TextXAlignment = "Left"
  32. gui.TextYAlignment = "Top"
  33. gui.Visible = false
  34. gui.BorderColor3 = Color3.new(0,0,0)
  35.  
  36. gui1=Instance.new("TextButton",bb)
  37. gui1.Position=UDim2.new(0,5,0,-43)
  38. gui1.Size = UDim2.new(0,190,0,51)
  39.  
  40. gui1.TextColor3 = Color3.new(1,0,0)
  41. gui1.BackgroundColor3=Color3.new(255,255,255)
  42.  
  43. gui1.Visible = false
  44. img = Instance.new("ImageLabel",bb)
  45. img.Size = UDim2.new(0,46,0,47)
  46. img.Position = UDim2.new(0,10,0,-41)
  47. img.Image = "rbxassetid://388166921"
  48. img.BorderColor3 = Color3.new(0,0,0)
  49. img.Visible = false
  50. asd = Instance.new("Sound",player.Character.Torso)
  51. asd.SoundId = "http://www.roblox.com/asset/?id = 388981936"
  52.  
  53. asd1 = Instance.new("Sound",player.Character.Torso)
  54. asd1.SoundId = "http://www.roblox.com/asset/?id = 388981936"
  55. asd2 = Instance.new("Sound",player.Character.Torso)
  56. asd2.SoundId = "http://www.roblox.com/asset/?id = 366168126"
  57. asd2.Looped = true
  58. asd3 = Instance.new("Sound",player.Character.Torso)
  59. asd3.SoundId = "http://www.roblox.com/asset/?id = 359261051"
  60. function play(play)
  61. asd1:Play()
  62. asd1:Play()
  63. end
  64. eye = Instance.new("Part",player.Character)
  65. eye.Color=Color3.new(139,0,0)
  66. eye.Material = "Neon"
  67. eye.FormFactor = 3
  68. eye.Shape = "Ball"
  69. eye.Size = Vector3.new(0.37,0.37,0.1)
  70. weld = Instance.new("Weld",eye)
  71. weld.Part0 = eye
  72. weld.Part1 = player.Character.Head
  73. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  74. eye.Transparency = 1
  75. -- listen for their chatting
  76. player.Chatted:connect(function(message)
  77. a = string.len(message)
  78. gui.Text = "! "
  79. gui.Visible = true
  80. gui1.Visible = true
  81. des = false
  82. print(a)
  83. if dot == false then
  84. for i = 1,string.len(message) do wait(0.07)
  85. gui.Text =gui.Text..message:sub(i,i)
  86.  
  87. play()
  88. end
  89. end
  90.  
  91. des = true
  92. end)
  93. m.KeyDown:connect(function(k)
  94. if k == "g" then
  95. asd2:Play()
  96. eye.Transparency = 0
  97.  
  98. end
  99. end)
  100. m.KeyDown:connect(function(k)
  101. if k == "m" then
  102. eye.Transparency = 1
  103. asd3:Play()
  104. end
  105. end)
  106. m.KeyDown:connect(function(k)
  107. if k == "u" then
  108. eye.Transparency = 0
  109. asd4:Play()
  110. end
  111. end)
  112. m.KeyDown:connect(function(k)
  113. if k == "q" then
  114.  
  115. img.Image = "rbxassetid://389423480"
  116. end
  117. end)
  118. m.KeyDown:connect(function(k)
  119. if k == "p" then
  120.  
  121. img.Image = "rbxassetid://389423540"
  122. end
  123. end)
  124. m.KeyDown:connect(function(k)
  125. if k == "x" then
  126.  
  127. img.Image = "rbxassetid://389423917"
  128. end
  129. end)
  130. m.KeyDown:connect(function(k)
  131. if k == "z" then
  132.  
  133. img.Image = "rbxassetid://389423678"
  134. end
  135. end)
  136. m.KeyDown:connect(function(k)
  137. if k == ";" then
  138. asd3:Stop()
  139. asd2:Stop()
  140. asd4:Stop()
  141. dunkd:Stop()
  142. eye.Transparency = 1
  143. asd5:Stop()
  144. TheEnd:Stop()
  145. dunkd:Stop()
  146. Megalomaniac:Stop()
  147. EpicText:Stop()
  148. end
  149. end)
  150. m.KeyDown:connect(function(k)
  151. if k == "l" then
  152. dunkd:Play()
  153. eye.Transparency = 0
  154.  
  155. end
  156. end)
  157. m.KeyDown:connect(function(k)
  158. if k == "j" then
  159. TheEnd:Play()
  160. eye.Transparency = 0
  161.  
  162. end
  163. end)
  164. m.KeyDown:connect(function(k)
  165. if k == "k" then
  166. eye.Transparency = 1
  167. LaughTrack:Play()
  168. LaughtTrack.Volume = 1000
  169. end
  170. end)
  171. m.KeyDown:connect(function(k)
  172. if k == "]" then
  173. Megalomaniac:Play()
  174. eye.Transparency = 0
  175.  
  176. end
  177. end)
  178. -- my god...
  179. -- Suck_HiyaThere moves to arizona
  180.  
  181. game.Workspace.KimmyKung5.Humanoid.DisplayDistanceType="None"
  182.  
  183. pls=game:GetService'Players';
  184. rs=game:GetService'RunService';
  185. uinps=game:GetService'UserInputService';
  186. lp=pls.LocalPlayer;
  187. mouse=lp:GetMouse();
  188. c=lp.Character;
  189. rayModel=Instance.new('Model',c);
  190. human=c.Humanoid;
  191. Cone=nil;
  192. wait();
  193. Debounces={
  194. FPS=0;
  195. isAttacking=false;
  196. isMoving=false;
  197. isSprinting=false;
  198. Debounce=false;
  199. isTyping=false;
  200. isJumping=false;
  201. isFlash=false;
  202. };
  203. numLerp=function(start,goal,alpha)
  204. return(((goal-start)*alpha)+start);
  205. end;
  206. CFrameZero=function()
  207. return CFrame.new(Vector3.new());
  208. end;
  209. local function a()
  210. local t=tick();
  211. local l=t%1*3;
  212. local t=.5*math.pi*(l%1);
  213. if l<1 then
  214. return Color3.new(1,1-math.cos(t),1-math.sin(t));
  215. elseif l<2 then
  216. return Color3.new(1-math.sin(t),1,1-math.cos(t));
  217. else
  218. return Color3.new(1-math.cos(t),1-math.sin(t),1);
  219. end;
  220. end;
  221. rad=function(value)
  222. return math.rad(value);
  223. end;
  224. CFAngles=function(Vector)
  225. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z));
  226. end;
  227. AnimStat={
  228. lerpSpeed=.2;
  229. lerpSpeed2=.35;
  230. lerpTween=0;
  231. };
  232. Joints={
  233. c.HumanoidRootPart.RootJoint;
  234. c.Torso.Neck;
  235. c.Torso['Left Shoulder'];
  236. c.Torso['Right Shoulder'];
  237. c.Torso['Left Hip'];
  238. c.Torso['Right Hip'];
  239. };
  240. prepareCharacter=function()
  241. music=Instance.new('Sound',c.HumanoidRootPart);
  242. music.SoundId='rbxassetid://394144904';
  243. music.Looped=true;
  244. music.Volume=.6;
  245. music2=Instance.new('Sound',c);
  246. music2.SoundId='rbxassetid://259613634';
  247. music2.Looped=true;
  248. music2.Volume=1;
  249. music3=Instance.new('Sound',c.HumanoidRootPart);
  250. music3.SoundId='rbxassetid://266530326';
  251. music3.Looped=true;
  252. music3.Volume=1;
  253. music4=Instance.new('Sound',c.HumanoidRootPart);
  254. music4.SoundId='rbxassetid://155738252';
  255. music4.Looped=true;
  256. music4.Volume=1;
  257. music5=Instance.new('Sound',c.HumanoidRootPart);
  258. music5.SoundId='rbxassetid://215391212';
  259. music5.Looped=true;
  260. music5.Volume=1;
  261. human.WalkSpeed=0;
  262. human.JumpPower=0;
  263. end;
  264. triWave=function(x)
  265. local pi2=math.pi/2;
  266. return math.abs((x/pi2)%4-2)-1;
  267. end;
  268. setLerp=function(speed)
  269. AnimStat.lerpSpeed=speed;
  270. end;
  271. setTween=function(tween)
  272. AnimStat.lerpTween=tween;
  273. end;
  274. playSound=function(id,part,vol,pitch)
  275. local vol=vol or 1;
  276. local pitch=pitch or 1;
  277. local x=Instance.new('Sound',part);
  278. x.Volume=vol;
  279. x.Pitch=pitch;
  280. x.SoundId='rbxassetid://'..id;
  281. spawn(function()
  282. wait();
  283. x:Play();
  284. wait(x.TimeLength+.2);
  285. x:Destroy();
  286. end);
  287. end;
  288. lerpBoom=function()
  289. if Cone then
  290. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  291. cMesh.Scale=Vector3.new(20,20+c.HumanoidRootPart.Velocity.magnitude/10,20);
  292. Cone.Transparency=1-c.HumanoidRootPart.Velocity.magnitude/1000;
  293. else
  294. Cone=Instance.new('Part',c);
  295. Cone.Anchored=true;
  296. Cone.CanCollide=false;
  297. Cone.Transparency=math.random(50,70)/100;
  298. Cone.Size=Vector3.new(1,1,1);
  299. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  300. cMesh=Instance.new('SpecialMesh',Cone);
  301. cMesh.MeshId='rbxassetid://1033714';
  302. cMesh.Scale=Vector3.new(20,50,20);
  303. end;
  304. end;
  305. noBoom=function()
  306. if Cone then local x=Cone Cone=nil;
  307. for i=1,20 do
  308. wait();
  309. x.Mesh.Scale=x.Mesh.Scale+Vector3.new(-.5,1,-.5);
  310. x.Transparency=x.Transparency+1/30;
  311. end;
  312. end;
  313. end;
  314. gasterBlast=function(tCFrame,aimPos,charge)
  315. local aimTarget;
  316. if aimPos then
  317. aimTarget=CFrame.new(tCFrame,aimPos);
  318. else
  319. aimTarget=tCFrame;
  320. end;
  321. local gast=Instance.new('Part',c);
  322. gast.Size=Vector3.new(12,.2,12);
  323. gast.CanCollide=false;
  324. gast.Anchored=true;
  325. gast.Transparency=1;
  326. if charge then
  327. playSound(400523331,gast,math.random(90,110)/100);
  328. end;
  329. wait();
  330. for i=1,2 do
  331. local decal=Instance.new('Decal',gast);
  332. decal.Texture='rbxassetid://323497117';
  333. if i==1 then
  334. decal.Face=Enum.NormalId.Top;
  335. else
  336. decal.Face=Enum.NormalId.Bottom;
  337. end;
  338. end;
  339. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  340. spawn(function()
  341. local tarCFrame=gast.CFrame;
  342. local isLooping=true;
  343. spawn(function()
  344. while rs.RenderStepped:wait()and isLooping do
  345. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  346. end;
  347. end);
  348. for i=1,30 do
  349. wait();
  350. tarCFrame=gast.CFrame:lerp(aimTarget,.24);
  351. end;
  352. playSound(340722848,gast,math.random(90,110)/100);
  353. isLooping=false;
  354. wait(.08);
  355. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  356. local _,pos=workspace:FindPartOnRay(ray,c);
  357. local dis=(aimTarget.p-pos).magnitude;
  358. 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);
  359. local rayPart=Instance.new('Part',rayModel);
  360. rayPart.Material='Neon';
  361. rayPart.FormFactor='Custom';
  362. rayPart.Anchored=true;
  363. rayPart.Color=Color3.new(139,0,0)
  364. rayPart.CanCollide=false;
  365. rayPart.Shape='Cylinder';
  366. rayPart.Size=Vector3.new(dis+400,8,8);
  367. rayPart.CFrame=rayCFrame;
  368. gast:Destroy();
  369. end);
  370. end;
  371. largegasterBlast=function(tCFrame,aimPos)
  372. local aimTarget;
  373. if aimPos then
  374. aimTarget=CFrame.new(tCFrame,aimPos);
  375. else
  376. aimTarget=tCFrame;
  377. end;
  378. local gast=Instance.new('Part',c);
  379. gast.Size=Vector3.new(25,.2,25);
  380. gast.CanCollide=false;
  381. gast.Anchored=true;
  382. gast.Transparency=1;
  383. playSound(400523331,gast,math.random(85,97)/100);
  384. wait();
  385. for i=1,2 do
  386. local decal=Instance.new('Decal',gast);
  387. decal.Texture='rbxassetid://323497117';
  388. if i==1 then
  389. decal.Face=Enum.NormalId.Top;
  390. else
  391. decal.Face=Enum.NormalId.Bottom;
  392. end;
  393. end;
  394. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  395. spawn(function()
  396. local tarCFrame=gast.CFrame;
  397. local isLooping=true;
  398. spawn(function()
  399. while rs.RenderStepped:wait()and isLooping do
  400. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  401. end;
  402. end);
  403. for i=1,40 do
  404. wait();
  405. tarCFrame=gast.CFrame:lerp(aimTarget,.18);
  406. end;
  407. playSound(340722848,gast,math.random(80,95)/100);
  408. isLooping=false;
  409. wait(.08);
  410. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  411. local _,pos=workspace:FindPartOnRay(ray,c);
  412. local dis=(aimTarget.p-pos).magnitude;
  413. 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);
  414. local rayPart=Instance.new('Part',rayModel);
  415. rayPart.Material='Neon';
  416. rayPart.FormFactor='Custom';
  417. rayPart.Anchored=true;
  418. rayPart.Color=Color3.new(139,0,0)
  419. rayPart.CanCollide=false;
  420. rayPart.Shape='Cylinder';
  421. rayPart.Size=Vector3.new(dis+400,17,17);
  422. rayPart.CFrame=rayCFrame;
  423. gast:Destroy();
  424. end);
  425. end;
  426.  
  427. if Debounces.isAttacking==false and Debounces.isMoving==false and Debounces.Debounce==false and Debounces.isJumping==false then
  428. setLerp(.8);
  429. elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==true and Debounces.isJumping==false then
  430. sine=tick()*28;
  431. human.WalkSpeed=400;
  432. lerpBoom();
  433. setLerp(.65);
  434. end;
  435. human.Changed:connect(function(prop)
  436. if prop=='MoveDirection'then
  437. if human.MoveDirection.magnitude>.02 then
  438. Debounces.isMoving=true;
  439. else
  440. Debounces.isMoving=false;
  441. end;
  442. end;
  443. end);
  444. uinps.InputBegan:connect(function(InputObj)
  445. if InputObj.KeyCode==Enum.KeyCode.Slash then
  446. local finishEvent=nil;
  447. Debounces.isTyping=true
  448. finishEvent=uinps.InputBegan:connect(function(InputObj)
  449. if InputObj.KeyCode==Enum.KeyCode.Return or InputObj.UserInputType==Enum.UserInputType.MouseButton1 then
  450. Debounces.isTyping=false;
  451. finishEvent:disconnect();
  452. end;
  453. end);
  454. end;
  455. end);
  456. mouse.KeyDown:connect(function(key)
  457. if key=='0'then
  458. Debounces.isSprinting=true;
  459. playSound(160248522,c.Torso);
  460. for i=1,3 do
  461. spawn(function()
  462. local e=Instance.new('Part',c);
  463. e.Size=Vector3.new(1,1,1);
  464. e.Material='Neon';
  465. e.Anchored=true;
  466. e.CFrame=c.HumanoidRootPart.CFrame*CFrame.Angles(0,0,-math.pi/2);
  467. e.CanCollide=false;
  468. local rm=Instance.new('SpecialMesh',e);
  469. rm.MeshType='FileMesh';
  470. rm.MeshId='rbxassetid://3270017';
  471. rm.Scale=Vector3.new(3.2,3.2,10);
  472. for x=1,30 do
  473. wait();
  474. rm.Scale=rm.Scale:lerp(Vector3.new(i*30,i*30,(4-i)*450),.1);
  475. e.Transparency=x/30+.5;
  476. end;
  477. end);
  478. end;
  479. c.HumanoidRootPart.Velocity=c.HumanoidRootPart.CFrame.lookVector*200;
  480. end;
  481. end);
  482. mouse.KeyUp:connect(function(key)
  483. if key=='0'then
  484. Debounces.isSprinting=false;
  485. end;
  486. end);
  487. mouse.KeyDown:connect(function(key)
  488. if key=='v'then
  489. playSound(446961725,c.Torso,math.random(90,120)/100);
  490. local oldPos=c.HumanoidRootPart.CFrame.p;
  491. local mHit=mouse.Hit.p;
  492. for i=1,2 do
  493. spawn(function()
  494. local pos
  495. if i==1 then pos=oldPos else pos=mHit end
  496. local p=Instance.new('Part',workspace);
  497. p.Anchored=true;
  498. p.CanCollide=false;
  499. p.FormFactor='Custom';
  500. p.Color=Color3.new(139,0,0)
  501. p.CFrame=CFrame.new(pos+Vector3.new(0,500,0));
  502. p.Transparency=.4;
  503. p.Size=Vector3.new(20,1000,20);
  504. for i=1,20 do
  505. wait();
  506. p.Transparency=.4+(i/10)*.6;
  507. p.Size=Vector3.new(20-i*1.5,1000,20-i*1.5);
  508. p.CFrame=CFrame.new(pos+Vector3.new(0,500,0));
  509. end;
  510. p:Destroy();
  511. end);
  512. end;
  513. if Debounces.isMoving then
  514. 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));
  515. else
  516. c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(oldPos.x,mouse.Hit.p.y+4,oldPos.z));
  517. end;
  518. end;
  519. end);
  520. mouse.KeyDown:connect(function(key)
  521. if key=='r'then
  522. local pointTarget=mouse.Hit.p;
  523. eye.Transparency = 0
  524. for i=1,20 do
  525. wait();
  526. 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));
  527. end;
  528. wait();
  529. largegasterBlast(CFrame.new(pointTarget+Vector3.new(0,35,0),pointTarget));
  530. end;
  531. end);
  532. mouse.KeyDown:connect(function(key)
  533. if key=='f'then
  534. local pointTarget=mouse.Hit.p;
  535. for i=1,20 do
  536. wait();
  537. eye.Transparency = 0
  538. 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)));
  539. end;
  540. largegasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(0,0,-25)));
  541. end;
  542. end);
  543. mouse.Button1Down:connect(function()
  544. Debounces.isFlash=true;
  545. end);
  546. mouse.Button1Up:connect(function()
  547. Debounces.isFlash=false;
  548. end);
  549. mouse.KeyDown:connect(function(key)
  550. if key=='j'then
  551. if music2.isPlaying then music2:Stop();else music2:Play();end;
  552. end;
  553. end);
  554. mouse.KeyDown:connect(function(key)
  555. if key=='l'then
  556. if music3.isPlaying then music3:Stop();else music3:Play();end;
  557. end;
  558. end);
  559. mouse.KeyDown:connect(function(key)
  560. if key=='o'then
  561. if music5.isPlaying then music4:Stop();else music5:Play();end;
  562. end;
  563. end);
  564. mouse.KeyDown:connect(function(key)
  565. if key=='e'then
  566. eye.Transparency = 0
  567. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p,true);
  568. eye.Transparency = 0
  569. end;
  570. end);
  571. mouse.KeyDown:connect(function(key)
  572. if key=='c'then
  573. eye.Transparency = 0
  574. largegasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  575. eye.Transparency = 0
  576. end;
  577. end);
  578. mouse.KeyDown:connect(function(key)
  579. if key=='q'then
  580. eye.Transparency = 0
  581. for i=1,5 do
  582. wait();
  583. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  584. eye.Transparency = 0
  585. end;
  586. largegasterBlast(c.Torso.CFrame.p+Vector3.new(0,25,0),mouse.Hit.p);
  587. end;
  588. end);
  589. mouse.KeyDown:connect(function(key)
  590. if key=='t'then
  591. eye.Transparency = 0
  592. local pointTarget=mouse.Hit.p;
  593. for i=1,20 do
  594. 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);
  595. eye.Transparency = 0
  596. end;
  597. wait(.2);
  598. for i=1,10 do
  599. largegasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/20)*i))*25,20,math.cos(math.deg((360/20)*i))*25),pointTarget);
  600. end;
  601. end;
  602. end);
  603. human.StateChanged:connect(function(os,ns)
  604. if c.HumanoidRootPart.Velocity.Y<.1 and Debounces.isJumping==true and ns==Enum.HumanoidStateType.Landed then
  605. Debounces.isJumping=false;
  606. end;
  607. end);
  608. rs.RenderStepped:connect(function()
  609. Debounces.FPS=1/rs.RenderStepped:wait();
  610. if Debounces.FPS<30 then
  611. Debounces.FPS=30;
  612. end;
  613. if Debounces.isSprinting then
  614. lerpBoom();
  615. else
  616. noBoom();
  617. end;
  618. for _,v in pairs(rayModel:children())do
  619. v.Transparency=v.Transparency+.06/(Debounces.FPS/60);
  620. if v.Transparency>.99 then v:Destroy();return;end;
  621. v.CanCollide=true;
  622. v.Color=Color3.new(139,0,0)
  623. local tParts=v:GetTouchingParts();
  624. v.CanCollide=false;
  625. local vCFrame=v.CFrame;
  626. v.Size=v.Size+Vector3.new(0,1,1)/(Debounces.FPS/60);
  627. v.CFrame=vCFrame;
  628. for _,x in pairs(tParts)do
  629. if x and x.Parent and x.Parent:FindFirstChild'Humanoid'and x.Parent.Humanoid:isA'Humanoid'and x.Parent~=c then
  630. x.Parent.Humanoid.Health=0;
  631. end;
  632. end;
  633. end;
  634. local FPSLerp=AnimStat.lerpSpeed/(Debounces.FPS/60);
  635. end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement