Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.64 KB | None | 0 0
  1.  
  2. -- Originally made by Alfederate :D --
  3. ----------------------------------------
  4.  
  5. -- there's no time to explain! --
  6.  
  7. local new=Instance.new
  8. local rad=math.rad
  9. local cf=CFrame.new
  10. local v3=Vector3.new
  11. local ang=function(x,y,z)
  12. return CFrame.Angles(rad(x),rad(y),rad(z))
  13. end
  14. local player=game:service'Players'.LocalPlayer
  15. local char=player.Character
  16. local cam=workspace.Camera
  17. local mouse=player:GetMouse()
  18. local weld=function(a,b,c0,c1)
  19. m=Instance.new('Motor',a)
  20. m.Part0=a
  21. m.Part1=b
  22. m.C0=c0
  23. m.C1=c1
  24. return m
  25. end
  26.  
  27. snd='rbxassetid://326396715'
  28. beamm=Instance.new('Model',workspace)
  29. beamm.Name='beam'
  30.  
  31. laser=false
  32.  
  33. rs=Instance.new('Part',char)
  34. rs.Transparency=1
  35. rs.CanCollide=false
  36. rs.TopSurface,rs.BottomSurface=0,0
  37. rs.FormFactor=1
  38. rs.Size=Vector3.new(.5,.5,.5)
  39.  
  40. ls=rs:Clone()
  41. ls.Parent=char
  42.  
  43. rsw=weld(rs,char.Torso,cf(-1,-.5,0),cf())
  44. lsw=weld(ls,char.Torso,cf(1,-.5,0),cf())
  45. raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8))
  46. law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43))
  47.  
  48. s1=Instance.new('Sound',char)
  49. s1.Volume=1
  50. s1.Pitch=1
  51. s1.Looped=true
  52. s1.SoundId=snd
  53.  
  54. particles={}
  55.  
  56. local wep=new('Part',char)
  57. wep.FormFactor=1
  58. wep.CanCollide=false
  59. wep.Size=v3(1,3,1)
  60. wep.TopSurface,wep.BottomSurface=0,0
  61. local wepw=weld(wep,char['Right Arm'],cf(.26,.4,.7),ang(0,0,8))
  62.  
  63. local beam=wep:Clone()
  64. beam:ClearAllChildren()
  65. beam.Material='Neon'
  66. beam.BrickColor=BrickColor.new('Hot white')
  67. beam.Size=Vector3.new(3,3,1)
  68. beam.Transparency=.5
  69. beam.Anchored=true
  70. local ms=Instance.new('BlockMesh',beam)
  71. local inner=beam:Clone()
  72. inner.Transparency=0
  73. inner.Material='SmoothPlastic'
  74. inner.BrickColor=BrickColor.new('New Yeller')
  75. local ms2=inner.Mesh
  76.  
  77. local expl=inner:Clone()
  78. expl.Mesh:Destroy()
  79. expl.Material='Neon'
  80. expl.BrickColor=BrickColor.new('Bright blue')
  81. expl.Size=Vector3.new(11,11,11)
  82. expl.Transparency=.55
  83. pl=Instance.new('PointLight',expl)
  84. pl.Color=expl.BrickColor.Color
  85. pl.Range=pl.Range*2
  86. pl.Name='light'
  87. local br=pl.Range
  88.  
  89. local exa=expl:Clone()
  90. exa.Size=Vector3.new(4,4,4)
  91. pl2=exa.light
  92.  
  93. local part=exa:Clone()
  94. part.Size=Vector3.new(1.5,1.5,1.5)
  95. pl3=part.light
  96. pms=Instance.new('BlockMesh',part)
  97.  
  98. char.Humanoid.Died:connect(function()
  99. laser=false
  100. beam.Parent=nil
  101. inner.Parent=nil
  102. expl.Parent=nil
  103. exa.Parent=nil
  104. s1:stop()
  105. end)
  106.  
  107. mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
  108. laser=true
  109. s1.Volume=1
  110. s1:play()
  111. end end)
  112. mouse.Button1Up:connect(function()
  113. laser=false
  114. beam.Parent=nil
  115. inner.Parent=nil
  116. expl.Parent=nil
  117. exa.Parent=nil
  118. s1:stop()
  119. end)
  120.  
  121. parti=0
  122. game:service'RunService'.Stepped:connect(function()
  123. parti=parti+1
  124. for i,v in pairs(particles) do
  125. v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
  126. v.Transparency=v.Transparency+.08
  127. if v.Transparency >= 1 then
  128. v:Destroy()
  129. table.remove(particles,i)
  130. else
  131. v.Parent=beamm
  132. end
  133. end
  134. a=cam.CoordinateFrame.p
  135. b=mouse.Hit.p
  136. mhitr=Ray.new(a,(b-a).unit*999)
  137. mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
  138. raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
  139. law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
  140. if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
  141. char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
  142. end
  143. if laser then
  144. beamm.Parent=workspace
  145. beam.Parent=beamm
  146. inner.Parent=beamm
  147. expl.Parent=beamm
  148. exa.Parent=beamm
  149. s1.Volume=s1.Volume-.0
  150.  
  151. ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999)
  152. hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
  153.  
  154. if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
  155. Instance.new('Explosion',workspace).Position=pos
  156. end
  157. if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then
  158. e=Instance.new('Explosion',workspace)
  159. e.Position=pos
  160. e.BlastRadius=14
  161. e.BlastPressure=1e4
  162. end
  163. if hit and not hit.Anchored and not (hit:GetMass()>1e4) then
  164. hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass())
  165. end
  166.  
  167. if parti==math.floor(parti) then
  168. par=part:Clone()
  169. table.insert(particles,par)
  170. par.Parent=beamm
  171. par.Transparency=1-s1.Volume
  172. par.light.Range=br*s1.Volume
  173. par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10)
  174. end
  175.  
  176. mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude
  177. ms.Scale=v3(s1.Volume,s1.Volume,mag)
  178. ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag))
  179. beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180))
  180. inner.CFrame=beam.CFrame
  181. pl.Range=br*s1.Volume
  182. pl2.Range=br*s1.Volume
  183. expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
  184. expl.Transparency=math.random(40,60)/100
  185. expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  186. exa.Size=v3(4,4,4)*s1.Volume
  187. exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  188. char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume)
  189. end
  190. end)
  191.  
  192.  
  193.  
  194.  
  195. local new=Instance.new
  196. local rad=math.rad
  197. local cf=CFrame.new
  198. local v3=Vector3.new
  199. local ang=function(x,y,z)
  200. return CFrame.Angles(rad(x),rad(y),rad(z))
  201. end
  202. local player=game:service'Players'.LocalPlayer
  203. local char=player.Character
  204. local cam=workspace.Camera
  205. local mouse=player:GetMouse()
  206. local weld=function(a,b,c0,c1)
  207. m=Instance.new('Motor',a)
  208. m.Part0=a
  209. m.Part1=b
  210. m.C0=c0
  211. m.C1=c1
  212. return m
  213. end
  214.  
  215. snd='rbxassetid://326396715'
  216. beamm=Instance.new('Model',workspace)
  217. beamm.Name='beam'
  218.  
  219. laser=false
  220.  
  221. rs=Instance.new('Part',char)
  222. rs.Transparency=1
  223. rs.CanCollide=false
  224. rs.TopSurface,rs.BottomSurface=0,0
  225. rs.FormFactor=1
  226. rs.Size=Vector3.new(.5,.5,.5)
  227.  
  228. ls=rs:Clone()
  229. ls.Parent=char
  230.  
  231. rsw=weld(rs,char.Torso,cf(-1,-.5,0),cf())
  232. lsw=weld(ls,char.Torso,cf(1,-.5,0),cf())
  233. raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8))
  234. law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43))
  235.  
  236. s1=Instance.new('Sound',char)
  237. s1.Volume=1
  238. s1.Pitch=1
  239. s1.Looped=true
  240. s1.SoundId=snd
  241.  
  242. particles={}
  243.  
  244. local wep=new('Part',char)
  245. wep.FormFactor=1
  246. wep.CanCollide=false
  247. wep.Size=v3(1,3,1)
  248. wep.TopSurface,wep.BottomSurface=0,0
  249. local wepw=weld(wep,char['Right Arm'],cf(.99,.4,1.5),ang(0,0,8))
  250.  
  251. local beam=wep:Clone()
  252. beam:ClearAllChildren()
  253. beam.Material='Neon'
  254. beam.BrickColor=BrickColor.new('Hot white')
  255. beam.Size=Vector3.new(3,3,1)
  256. beam.Transparency=.5
  257. beam.Anchored=true
  258. local ms=Instance.new('BlockMesh',beam)
  259. local inner=beam:Clone()
  260. inner.Transparency=0
  261. inner.Material='SmoothPlastic'
  262. inner.BrickColor=BrickColor.new('New Yeller')
  263. local ms2=inner.Mesh
  264.  
  265. local expl=inner:Clone()
  266. expl.Mesh:Destroy()
  267. expl.Material='Neon'
  268. expl.BrickColor=BrickColor.new('Bright blue')
  269. expl.Size=Vector3.new(11,11,11)
  270. expl.Transparency=.55
  271. pl=Instance.new('PointLight',expl)
  272. pl.Color=expl.BrickColor.Color
  273. pl.Range=pl.Range*2
  274. pl.Name='light'
  275. local br=pl.Range
  276.  
  277. local exa=expl:Clone()
  278. exa.Size=Vector3.new(4,4,4)
  279. pl2=exa.light
  280.  
  281. local part=exa:Clone()
  282. part.Size=Vector3.new(1.5,1.5,1.5)
  283. pl3=part.light
  284. pms=Instance.new('BlockMesh',part)
  285.  
  286. char.Humanoid.Died:connect(function()
  287. laser=false
  288. beam.Parent=nil
  289. inner.Parent=nil
  290. expl.Parent=nil
  291. exa.Parent=nil
  292. s1:stop()
  293. end)
  294.  
  295. mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
  296. laser=true
  297. s1.Volume=1
  298. s1:play()
  299. end end)
  300. mouse.Button1Up:connect(function()
  301. laser=false
  302. beam.Parent=nil
  303. inner.Parent=nil
  304. expl.Parent=nil
  305. exa.Parent=nil
  306. s1:stop()
  307. end)
  308.  
  309. parti=0
  310. game:service'RunService'.Stepped:connect(function()
  311. parti=parti+1
  312. for i,v in pairs(particles) do
  313. v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
  314. v.Transparency=v.Transparency+.08
  315. if v.Transparency >= 1 then
  316. v:Destroy()
  317. table.remove(particles,i)
  318. else
  319. v.Parent=beamm
  320. end
  321. end
  322. a=cam.CoordinateFrame.p
  323. b=mouse.Hit.p
  324. mhitr=Ray.new(a,(b-a).unit*999)
  325. mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
  326. raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
  327. law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
  328. if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
  329. char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
  330. end
  331. if laser then
  332. beamm.Parent=workspace
  333. beam.Parent=beamm
  334. inner.Parent=beamm
  335. expl.Parent=beamm
  336. exa.Parent=beamm
  337. s1.Volume=s1.Volume-.0
  338.  
  339. ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999)
  340. hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
  341.  
  342. if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
  343. Instance.new('Explosion',workspace).Position=pos
  344. end
  345. if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then
  346. e=Instance.new('Explosion',workspace)
  347. e.Position=pos
  348. e.BlastRadius=14
  349. e.BlastPressure=1e4
  350. end
  351. if hit and not hit.Anchored and not (hit:GetMass()>1e4) then
  352. hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass())
  353. end
  354.  
  355. if parti==math.floor(parti) then
  356. par=part:Clone()
  357. table.insert(particles,par)
  358. par.Parent=beamm
  359. par.Transparency=1-s1.Volume
  360. par.light.Range=br*s1.Volume
  361. par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10)
  362. end
  363.  
  364. mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude
  365. ms.Scale=v3(s1.Volume,s1.Volume,mag)
  366. ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag))
  367. beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180))
  368. inner.CFrame=beam.CFrame
  369. pl.Range=br*s1.Volume
  370. pl2.Range=br*s1.Volume
  371. expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
  372. expl.Transparency=math.random(40,60)/100
  373. expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  374. exa.Size=v3(4,4,4)*s1.Volume
  375. exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  376. char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume)
  377. end
  378. end)
  379.  
  380.  
  381.  
  382.  
  383. --3--
  384.  
  385. local new=Instance.new
  386. local rad=math.rad
  387. local cf=CFrame.new
  388. local v3=Vector3.new
  389. local ang=function(x,y,z)
  390. return CFrame.Angles(rad(x),rad(y),rad(z))
  391. end
  392. local player=game:service'Players'.LocalPlayer
  393. local char=player.Character
  394. local cam=workspace.Camera
  395. local mouse=player:GetMouse()
  396. local weld=function(a,b,c0,c1)
  397. m=Instance.new('Motor',a)
  398. m.Part0=a
  399. m.Part1=b
  400. m.C0=c0
  401. m.C1=c1
  402. return m
  403. end
  404.  
  405. snd='rbxassetid://326396715'
  406. beamm=Instance.new('Model',workspace)
  407. beamm.Name='beam'
  408.  
  409. laser=false
  410.  
  411. rs=Instance.new('Part',char)
  412. rs.Transparency=1
  413. rs.CanCollide=false
  414. rs.TopSurface,rs.BottomSurface=0,0
  415. rs.FormFactor=3
  416. rs.Size=Vector3.new(.5,.5,.5)
  417.  
  418. ls=rs:Clone()
  419. ls.Parent=char
  420.  
  421. rsw=weld(rs,char.Torso,cf(-1,-.5,0),cf())
  422. lsw=weld(ls,char.Torso,cf(1,-.5,0),cf())
  423. raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8))
  424. law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43))
  425.  
  426. s1=Instance.new('Sound',char)
  427. s1.Volume=1
  428. s1.Pitch=1
  429. s1.Looped=true
  430. s1.SoundId=snd
  431.  
  432. particles={}
  433.  
  434. local wep=new('Part',char)
  435. wep.FormFactor=3
  436. wep.CanCollide=false
  437. wep.Size=v3(1,3,1)
  438. wep.TopSurface,wep.BottomSurface=0,0
  439. local wepw=weld(wep,char['Right Arm'],cf(-.48,.4,1.5),ang(0,0,8))
  440.  
  441. local beam=wep:Clone()
  442. beam:ClearAllChildren()
  443. beam.Material='Neon'
  444. beam.BrickColor=BrickColor.new('Hot white')
  445. beam.Size=Vector3.new(3,3,1)
  446. beam.Transparency=.5
  447. beam.Anchored=true
  448. local ms=Instance.new('BlockMesh',beam)
  449. local inner=beam:Clone()
  450. inner.Transparency=0
  451. inner.Material='SmoothPlastic'
  452. inner.BrickColor=BrickColor.new('New Yeller')
  453. local ms2=inner.Mesh
  454.  
  455. local expl=inner:Clone()
  456. expl.Mesh:Destroy()
  457. expl.Material='Neon'
  458. expl.BrickColor=BrickColor.new('Bright blue')
  459. expl.Size=Vector3.new(11,11,11)
  460. expl.Transparency=.55
  461. pl=Instance.new('PointLight',expl)
  462. pl.Color=expl.BrickColor.Color
  463. pl.Range=pl.Range*2
  464. pl.Name='light'
  465. local br=pl.Range
  466.  
  467. local exa=expl:Clone()
  468. exa.Size=Vector3.new(4,4,4)
  469. pl2=exa.light
  470.  
  471. local part=exa:Clone()
  472. part.Size=Vector3.new(1.5,1.5,1.5)
  473. pl3=part.light
  474. pms=Instance.new('BlockMesh',part)
  475.  
  476. char.Humanoid.Died:connect(function()
  477. laser=false
  478. beam.Parent=nil
  479. inner.Parent=nil
  480. expl.Parent=nil
  481. exa.Parent=nil
  482. s1:stop()
  483. end)
  484.  
  485. mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
  486. laser=true
  487. s1.Volume=1
  488. s1:play()
  489. end end)
  490. mouse.Button1Up:connect(function()
  491. laser=false
  492. beam.Parent=nil
  493. inner.Parent=nil
  494. expl.Parent=nil
  495. exa.Parent=nil
  496. s1:stop()
  497. end)
  498.  
  499. parti=0
  500. game:service'RunService'.Stepped:connect(function()
  501. parti=parti+1
  502. for i,v in pairs(particles) do
  503. v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
  504. v.Transparency=v.Transparency+.08
  505. if v.Transparency >= 1 then
  506. v:Destroy()
  507. table.remove(particles,i)
  508. else
  509. v.Parent=beamm
  510. end
  511. end
  512. a=cam.CoordinateFrame.p
  513. b=mouse.Hit.p
  514. mhitr=Ray.new(a,(b-a).unit*999)
  515. mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
  516. raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
  517. law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
  518. if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
  519. char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
  520. end
  521. if laser then
  522. beamm.Parent=workspace
  523. beam.Parent=beamm
  524. inner.Parent=beamm
  525. expl.Parent=beamm
  526. exa.Parent=beamm
  527. s1.Volume=s1.Volume-.0
  528.  
  529. ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999)
  530. hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
  531.  
  532. if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
  533. Instance.new('Explosion',workspace).Position=pos
  534. end
  535. if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then
  536. e=Instance.new('Explosion',workspace)
  537. e.Position=pos
  538. e.BlastRadius=14
  539. e.BlastPressure=1e4
  540. end
  541. if hit and not hit.Anchored and not (hit:GetMass()>1e4) then
  542. hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass())
  543. end
  544.  
  545. if parti==math.floor(parti) then
  546. par=part:Clone()
  547. table.insert(particles,par)
  548. par.Parent=beamm
  549. par.Transparency=1-s1.Volume
  550. par.light.Range=br*s1.Volume
  551. par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10)
  552. end
  553.  
  554. mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude
  555. ms.Scale=v3(s1.Volume,s1.Volume,mag)
  556. ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag))
  557. beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180))
  558. inner.CFrame=beam.CFrame
  559. pl.Range=br*s1.Volume
  560. pl2.Range=br*s1.Volume
  561. expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
  562. expl.Transparency=math.random(40,60)/100
  563. expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  564. exa.Size=v3(4,4,4)*s1.Volume
  565. exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  566. char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume)
  567. end
  568. end)
  569. RAW Paste Data
  570.  
  571. ----------------------------------------
  572. -- Originally made by Alfederate :D --
  573. ----------------------------------------
  574.  
  575. -- there's no time to explain! --
  576.  
  577. local new=Instance.new
  578. local rad=math.rad
  579. local cf=CFrame.new
  580. local v3=Vector3.new
  581. local ang=function(x,y,z)
  582. return CFrame.Angles(rad(x),rad(y),rad(z))
  583. end
  584. local player=game:service'Players'.LocalPlayer
  585. local char=player.Character
  586. local cam=workspace.Camera
  587. local mouse=player:GetMouse()
  588. local weld=function(a,b,c0,c1)
  589. m=Instance.new('Motor',a)
  590. m.Part0=a
  591. m.Part1=b
  592. m.C0=c0
  593. m.C1=c1
  594. return m
  595. end
  596.  
  597. snd='rbxassetid://340617496'
  598. beamm=Instance.new('Model',workspace)
  599. beamm.Name='beam'
  600.  
  601. laser=false
  602.  
  603. rs=Instance.new('Part',char)
  604. rs.Transparency=1
  605. rs.CanCollide=false
  606. rs.TopSurface,rs.BottomSurface=0,0
  607. rs.FormFactor=1
  608. rs.Size=Vector3.new(.5,.5,.5)
  609.  
  610. ls=rs:Clone()
  611. ls.Parent=char
  612.  
  613. rsw=weld(rs,char.Torso,cf(-1,-.5,0),cf())
  614. lsw=weld(ls,char.Torso,cf(1,-.5,0),cf())
  615. raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8))
  616. law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43))
  617.  
  618. s1=Instance.new('Sound',char)
  619. s1.Volume=1
  620. s1.Pitch=1
  621. s1.Looped=true
  622. s1.SoundId=snd
  623.  
  624. particles={}
  625.  
  626. local wep=new('Part',char)
  627. wep.FormFactor=1
  628. wep.CanCollide=false
  629. wep.Size=v3(1,3,1)
  630. wep.TopSurface,wep.BottomSurface=0,0
  631. local wepw=weld(wep,char['Right Arm'],cf(.26,.4,.7),ang(0,0,8))
  632.  
  633. local beam=wep:Clone()
  634. beam:ClearAllChildren()
  635. beam.Material='Neon'
  636. beam.BrickColor=BrickColor.new('Hot white')
  637. beam.Size=Vector3.new(3,3,1)
  638. beam.Transparency=.5
  639. beam.Anchored=true
  640. local ms=Instance.new('BlockMesh',beam)
  641. local inner=beam:Clone()
  642. inner.Transparency=0
  643. inner.Material='SmoothPlastic'
  644. inner.BrickColor=BrickColor.new('New Yeller')
  645. local ms2=inner.Mesh
  646.  
  647. local expl=inner:Clone()
  648. expl.Mesh:Destroy()
  649. expl.Material='Neon'
  650. expl.BrickColor=BrickColor.new('Bright blue')
  651. expl.Size=Vector3.new(11,11,11)
  652. expl.Transparency=.55
  653. pl=Instance.new('PointLight',expl)
  654. pl.Color=expl.BrickColor.Color
  655. pl.Range=pl.Range*2
  656. pl.Name='light'
  657. local br=pl.Range
  658.  
  659. local exa=expl:Clone()
  660. exa.Size=Vector3.new(4,4,4)
  661. pl2=exa.light
  662.  
  663. local part=exa:Clone()
  664. part.Size=Vector3.new(1.5,1.5,1.5)
  665. pl3=part.light
  666. pms=Instance.new('BlockMesh',part)
  667.  
  668. char.Humanoid.Died:connect(function()
  669. laser=false
  670. beam.Parent=nil
  671. inner.Parent=nil
  672. expl.Parent=nil
  673. exa.Parent=nil
  674. s1:stop()
  675. end)
  676.  
  677. mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
  678. laser=true
  679. s1.Volume=1
  680. s1:play()
  681. end end)
  682. mouse.Button1Up:connect(function()
  683. laser=false
  684. beam.Parent=nil
  685. inner.Parent=nil
  686. expl.Parent=nil
  687. exa.Parent=nil
  688. s1:stop()
  689. end)
  690.  
  691. parti=0
  692. game:service'RunService'.Stepped:connect(function()
  693. parti=parti+1
  694. for i,v in pairs(particles) do
  695. v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
  696. v.Transparency=v.Transparency+.08
  697. if v.Transparency >= 1 then
  698. v:Destroy()
  699. table.remove(particles,i)
  700. else
  701. v.Parent=beamm
  702. end
  703. end
  704. a=cam.CoordinateFrame.p
  705. b=mouse.Hit.p
  706. mhitr=Ray.new(a,(b-a).unit*999)
  707. mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
  708. raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
  709. law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
  710. if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
  711. char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
  712. end
  713. if laser then
  714. beamm.Parent=workspace
  715. beam.Parent=beamm
  716. inner.Parent=beamm
  717. expl.Parent=beamm
  718. exa.Parent=beamm
  719. s1.Volume=s1.Volume-.0
  720.  
  721. ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999)
  722. hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
  723.  
  724. if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
  725. Instance.new('Explosion',workspace).Position=pos
  726. end
  727. if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then
  728. e=Instance.new('Explosion',workspace)
  729. e.Position=pos
  730. e.BlastRadius=14
  731. e.BlastPressure=1e4
  732. end
  733. if hit and not hit.Anchored and not (hit:GetMass()>1e4) then
  734. hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass())
  735. end
  736.  
  737. if parti==math.floor(parti) then
  738. par=part:Clone()
  739. table.insert(particles,par)
  740. par.Parent=beamm
  741. par.Transparency=1-s1.Volume
  742. par.light.Range=br*s1.Volume
  743. par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10)
  744. end
  745.  
  746. mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude
  747. ms.Scale=v3(s1.Volume,s1.Volume,mag)
  748. ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag))
  749. beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180))
  750. inner.CFrame=beam.CFrame
  751. pl.Range=br*s1.Volume
  752. pl2.Range=br*s1.Volume
  753. expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
  754. expl.Transparency=math.random(40,60)/100
  755. expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  756. exa.Size=v3(4,4,4)*s1.Volume
  757. exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  758. char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume)
  759. end
  760. end)
  761.  
  762.  
  763.  
  764.  
  765. local new=Instance.new
  766. local rad=math.rad
  767. local cf=CFrame.new
  768. local v3=Vector3.new
  769. local ang=function(x,y,z)
  770. return CFrame.Angles(rad(x),rad(y),rad(z))
  771. end
  772. local player=game:service'Players'.LocalPlayer
  773. local char=player.Character
  774. local cam=workspace.Camera
  775. local mouse=player:GetMouse()
  776. local weld=function(a,b,c0,c1)
  777. m=Instance.new('Motor',a)
  778. m.Part0=a
  779. m.Part1=b
  780. m.C0=c0
  781. m.C1=c1
  782. return m
  783. end
  784.  
  785. snd='rbxassetid://326396715'
  786. beamm=Instance.new('Model',workspace)
  787. beamm.Name='beam'
  788.  
  789. laser=false
  790.  
  791. rs=Instance.new('Part',char)
  792. rs.Transparency=1
  793. rs.CanCollide=false
  794. rs.TopSurface,rs.BottomSurface=0,0
  795. rs.FormFactor=1
  796. rs.Size=Vector3.new(.5,.5,.5)
  797.  
  798. ls=rs:Clone()
  799. ls.Parent=char
  800.  
  801. rsw=weld(rs,char.Torso,cf(-1,-.5,0),cf())
  802. lsw=weld(ls,char.Torso,cf(1,-.5,0),cf())
  803. raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8))
  804. law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43))
  805.  
  806. s1=Instance.new('Sound',char)
  807. s1.Volume=1
  808. s1.Pitch=1
  809. s1.Looped=true
  810. s1.SoundId=snd
  811.  
  812. particles={}
  813.  
  814. local wep=new('Part',char)
  815. wep.FormFactor=1
  816. wep.CanCollide=false
  817. wep.Size=v3(1,3,1)
  818. wep.TopSurface,wep.BottomSurface=0,0
  819. local wepw=weld(wep,char['Right Arm'],cf(.99,.4,1.5),ang(0,0,8))
  820.  
  821. local beam=wep:Clone()
  822. beam:ClearAllChildren()
  823. beam.Material='Neon'
  824. beam.BrickColor=BrickColor.new('Hot white')
  825. beam.Size=Vector3.new(3,3,1)
  826. beam.Transparency=.5
  827. beam.Anchored=true
  828. local ms=Instance.new('BlockMesh',beam)
  829. local inner=beam:Clone()
  830. inner.Transparency=0
  831. inner.Material='SmoothPlastic'
  832. inner.BrickColor=BrickColor.new('New Yeller')
  833. local ms2=inner.Mesh
  834.  
  835. local expl=inner:Clone()
  836. expl.Mesh:Destroy()
  837. expl.Material='Neon'
  838. expl.BrickColor=BrickColor.new('Bright blue')
  839. expl.Size=Vector3.new(11,11,11)
  840. expl.Transparency=.55
  841. pl=Instance.new('PointLight',expl)
  842. pl.Color=expl.BrickColor.Color
  843. pl.Range=pl.Range*2
  844. pl.Name='light'
  845. local br=pl.Range
  846.  
  847. local exa=expl:Clone()
  848. exa.Size=Vector3.new(4,4,4)
  849. pl2=exa.light
  850.  
  851. local part=exa:Clone()
  852. part.Size=Vector3.new(1.5,1.5,1.5)
  853. pl3=part.light
  854. pms=Instance.new('BlockMesh',part)
  855.  
  856. char.Humanoid.Died:connect(function()
  857. laser=false
  858. beam.Parent=nil
  859. inner.Parent=nil
  860. expl.Parent=nil
  861. exa.Parent=nil
  862. s1:stop()
  863. end)
  864.  
  865. mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
  866. laser=true
  867. s1.Volume=1
  868. s1:play()
  869. end end)
  870. mouse.Button1Up:connect(function()
  871. laser=false
  872. beam.Parent=nil
  873. inner.Parent=nil
  874. expl.Parent=nil
  875. exa.Parent=nil
  876. s1:stop()
  877. end)
  878.  
  879. parti=0
  880. game:service'RunService'.Stepped:connect(function()
  881. parti=parti+1
  882. for i,v in pairs(particles) do
  883. v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
  884. v.Transparency=v.Transparency+.08
  885. if v.Transparency >= 1 then
  886. v:Destroy()
  887. table.remove(particles,i)
  888. else
  889. v.Parent=beamm
  890. end
  891. end
  892. a=cam.CoordinateFrame.p
  893. b=mouse.Hit.p
  894. mhitr=Ray.new(a,(b-a).unit*999)
  895. mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
  896. raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
  897. law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
  898. if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
  899. char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
  900. end
  901. if laser then
  902. beamm.Parent=workspace
  903. beam.Parent=beamm
  904. inner.Parent=beamm
  905. expl.Parent=beamm
  906. exa.Parent=beamm
  907. s1.Volume=s1.Volume-.0
  908.  
  909. ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999)
  910. hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
  911.  
  912. if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
  913. Instance.new('Explosion',workspace).Position=pos
  914. end
  915. if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then
  916. e=Instance.new('Explosion',workspace)
  917. e.Position=pos
  918. e.BlastRadius=14
  919. e.BlastPressure=1e4
  920. end
  921. if hit and not hit.Anchored and not (hit:GetMass()>1e4) then
  922. hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass())
  923. end
  924.  
  925. if parti==math.floor(parti) then
  926. par=part:Clone()
  927. table.insert(particles,par)
  928. par.Parent=beamm
  929. par.Transparency=1-s1.Volume
  930. par.light.Range=br*s1.Volume
  931. par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10)
  932. end
  933.  
  934. mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude
  935. ms.Scale=v3(s1.Volume,s1.Volume,mag)
  936. ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag))
  937. beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180))
  938. inner.CFrame=beam.CFrame
  939. pl.Range=br*s1.Volume
  940. pl2.Range=br*s1.Volume
  941. expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
  942. expl.Transparency=math.random(40,60)/100
  943. expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  944. exa.Size=v3(4,4,4)*s1.Volume
  945. exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  946. char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume)
  947. end
  948. end)
  949.  
  950.  
  951.  
  952.  
  953. --3--
  954.  
  955. local new=Instance.new
  956. local rad=math.rad
  957. local cf=CFrame.new
  958. local v3=Vector3.new
  959. local ang=function(x,y,z)
  960. return CFrame.Angles(rad(x),rad(y),rad(z))
  961. end
  962. local player=game:service'Players'.LocalPlayer
  963. local char=player.Character
  964. local cam=workspace.Camera
  965. local mouse=player:GetMouse()
  966. local weld=function(a,b,c0,c1)
  967. m=Instance.new('Motor',a)
  968. m.Part0=a
  969. m.Part1=b
  970. m.C0=c0
  971. m.C1=c1
  972. return m
  973. end
  974.  
  975. snd='rbxassetid://326396715'
  976. beamm=Instance.new('Model',workspace)
  977. beamm.Name='beam'
  978.  
  979. laser=false
  980.  
  981. rs=Instance.new('Part',char)
  982. rs.Transparency=1
  983. rs.CanCollide=false
  984. rs.TopSurface,rs.BottomSurface=0,0
  985. rs.FormFactor=3
  986. rs.Size=Vector3.new(.5,.5,.5)
  987.  
  988. ls=rs:Clone()
  989. ls.Parent=char
  990.  
  991. rsw=weld(rs,char.Torso,cf(-1,-.5,0),cf())
  992. lsw=weld(ls,char.Torso,cf(1,-.5,0),cf())
  993. raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8))
  994. law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43))
  995.  
  996. s1=Instance.new('Sound',char)
  997. s1.Volume=1
  998. s1.Pitch=1
  999. s1.Looped=true
  1000. s1.SoundId=snd
  1001.  
  1002. particles={}
  1003.  
  1004. local wep=new('Part',char)
  1005. wep.FormFactor=3
  1006. wep.CanCollide=false
  1007. wep.Size=v3(1,3,1)
  1008. wep.TopSurface,wep.BottomSurface=0,0
  1009. local wepw=weld(wep,char['Right Arm'],cf(-.48,.4,1.5),ang(0,0,8))
  1010.  
  1011. local beam=wep:Clone()
  1012. beam:ClearAllChildren()
  1013. beam.Material='Neon'
  1014. beam.BrickColor=BrickColor.new('Hot white')
  1015. beam.Size=Vector3.new(3,3,1)
  1016. beam.Transparency=.5
  1017. beam.Anchored=true
  1018. local ms=Instance.new('BlockMesh',beam)
  1019. local inner=beam:Clone()
  1020. inner.Transparency=0
  1021. inner.Material='SmoothPlastic'
  1022. inner.BrickColor=BrickColor.new('New Yeller')
  1023. local ms2=inner.Mesh
  1024.  
  1025. local expl=inner:Clone()
  1026. expl.Mesh:Destroy()
  1027. expl.Material='Neon'
  1028. expl.BrickColor=BrickColor.new('Bright blue')
  1029. expl.Size=Vector3.new(11,11,11)
  1030. expl.Transparency=.55
  1031. pl=Instance.new('PointLight',expl)
  1032. pl.Color=expl.BrickColor.Color
  1033. pl.Range=pl.Range*2
  1034. pl.Name='light'
  1035. local br=pl.Range
  1036.  
  1037. local exa=expl:Clone()
  1038. exa.Size=Vector3.new(4,4,4)
  1039. pl2=exa.light
  1040.  
  1041. local part=exa:Clone()
  1042. part.Size=Vector3.new(1.5,1.5,1.5)
  1043. pl3=part.light
  1044. pms=Instance.new('BlockMesh',part)
  1045.  
  1046. char.Humanoid.Died:connect(function()
  1047. laser=false
  1048. beam.Parent=nil
  1049. inner.Parent=nil
  1050. expl.Parent=nil
  1051. exa.Parent=nil
  1052. s1:stop()
  1053. end)
  1054.  
  1055. mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
  1056. laser=true
  1057. s1.Volume=1
  1058. s1:play()
  1059. end end)
  1060. mouse.Button1Up:connect(function()
  1061. laser=false
  1062. beam.Parent=nil
  1063. inner.Parent=nil
  1064. expl.Parent=nil
  1065. exa.Parent=nil
  1066. s1:stop()
  1067. end)
  1068.  
  1069. parti=0
  1070. game:service'RunService'.Stepped:connect(function()
  1071. parti=parti+1
  1072. for i,v in pairs(particles) do
  1073. v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
  1074. v.Transparency=v.Transparency+.08
  1075. if v.Transparency >= 1 then
  1076. v:Destroy()
  1077. table.remove(particles,i)
  1078. else
  1079. v.Parent=beamm
  1080. end
  1081. end
  1082. a=cam.CoordinateFrame.p
  1083. b=mouse.Hit.p
  1084. mhitr=Ray.new(a,(b-a).unit*999)
  1085. mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
  1086. raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
  1087. law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
  1088. if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
  1089. char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
  1090. end
  1091. if laser then
  1092. beamm.Parent=workspace
  1093. beam.Parent=beamm
  1094. inner.Parent=beamm
  1095. expl.Parent=beamm
  1096. exa.Parent=beamm
  1097. s1.Volume=s1.Volume-.0
  1098.  
  1099. ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999)
  1100. hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
  1101.  
  1102. if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
  1103. Instance.new('Explosion',workspace).Position=pos
  1104. end
  1105. if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then
  1106. e=Instance.new('Explosion',workspace)
  1107. e.Position=pos
  1108. e.BlastRadius=14
  1109. e.BlastPressure=1e4
  1110. end
  1111. if hit and not hit.Anchored and not (hit:GetMass()>1e4) then
  1112. hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass())
  1113. end
  1114.  
  1115. if parti==math.floor(parti) then
  1116. par=part:Clone()
  1117. table.insert(particles,par)
  1118. par.Parent=beamm
  1119. par.Transparency=1-s1.Volume
  1120. par.light.Range=br*s1.Volume
  1121. par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10)
  1122. end
  1123.  
  1124. mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude
  1125. ms.Scale=v3(s1.Volume,s1.Volume,mag)
  1126. ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag))
  1127. beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180))
  1128. inner.CFrame=beam.CFrame
  1129. pl.Range=br*s1.Volume
  1130. pl2.Range=br*s1.Volume
  1131. expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
  1132. expl.Transparency=math.random(40,60)/100
  1133. expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  1134. exa.Size=v3(4,4,4)*s1.Volume
  1135. exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  1136. char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume)
  1137. end
  1138. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement