Advertisement
Theskyler900

kamehameha

Aug 9th, 2017
1,758
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- kamehameha script by PaintfulfreeMLG
  2. -- i know i only make not leaked scripts but...
  3. -- i think i will leak this, enjoy!
  4. -- oh and is an edit kk bye.
  5.  
  6. head.face.Texture = "rbxassetid://33395282"
  7. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  8. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  9. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  10. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  11. ----------------------------------------------------
  12. ypcall(function()
  13. char.Shirt:Destroy()
  14. char.Pants:Destroy()
  15. shirt = Instance.new("Shirt", char)
  16. shirt.Name = "Shirt"
  17. pants = Instance.new("Pants", char)
  18. pants.Name = "Pants"
  19. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=513620832"
  20. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=513621366"
  21. end)
  22.  
  23. local new=Instance.new
  24. local rad=math.rad
  25. local cf=CFrame.new
  26. local v3=Vector3.new
  27. local ang=function(x,y,z)
  28. return CFrame.Angles(rad(x),rad(y),rad(z))
  29. end
  30. local player=game:service'Players'.LocalPlayer
  31. local char=player.Character
  32. local cam=workspace.Camera
  33. local mouse=player:GetMouse()
  34. local weld=function(a,b,c0,c1)
  35. m=Instance.new('Motor',a)
  36. m.Part0=a
  37. m.Part1=b
  38. m.C0=c0
  39. m.C1=c1
  40. return m
  41. end
  42.  
  43. snd='rbxassetid://130777838'
  44. beamm=Instance.new('Model',workspace)
  45. beamm.Name='beam'
  46.  
  47. laser=false
  48.  
  49. rs=Instance.new('Part',char)
  50. rs.Transparency=1
  51. rs.CanCollide=false
  52. rs.TopSurface,rs.BottomSurface=0,0
  53. rs.FormFactor=3
  54. rs.Size=Vector3.new(.5,.5,.5)
  55.  
  56. ls=rs:Clone()
  57. ls.Parent=char
  58.  
  59. rsw=weld(rs,char.Torso,cf(-1,-.5,0),cf())
  60. lsw=weld(ls,char.Torso,cf(1,-.5,0),cf())
  61. raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8))
  62. law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43))
  63.  
  64. s1=Instance.new('Sound',char)
  65. s1.Volume=1
  66. s1.Pitch=1
  67. s1.Looped=true
  68. s1.SoundId=snd
  69.  
  70. particles={}
  71.  
  72. local wep=new('Part',char)
  73. wep.FormFactor=3
  74. wep.CanCollide=false
  75. wep.Size=v3(1,3,1)
  76. wep.TopSurface,wep.BottomSurface=0,0
  77. local wepw=weld(wep,char['Right Arm'],cf(.26,.4,.7),ang(0,0,8))
  78.  
  79. local beam=wep:Clone()
  80. beam:ClearAllChildren()
  81. beam.Material='Neon'
  82. beam.BrickColor=BrickColor.new('Toothpaste')
  83. beam.Size=Vector3.new(3,3,1)
  84. beam.Transparency=.5
  85. beam.Anchored=true
  86. local ms=Instance.new('BlockMesh',beam)
  87. local inner=beam:Clone()
  88. inner.Transparency=0
  89. inner.Material='SmoothPlastic'
  90. inner.BrickColor=BrickColor.new('Navy blue')
  91. local ms2=inner.Mesh
  92.  
  93. local expl=inner:Clone()
  94. expl.Mesh:Destroy()
  95. expl.Material='Neon'
  96. expl.BrickColor=BrickColor.new('Toothpaste')
  97. expl.Size=Vector3.new(11,11,11)
  98. expl.Transparency=.55
  99. pl=Instance.new('PointLight',expl)
  100. pl.Color=expl.BrickColor.Color
  101. pl.Range=pl.Range*2
  102. pl.Name='light'
  103. local br=pl.Range
  104.  
  105. local exa=expl:Clone()
  106. exa.Size=Vector3.new(4,4,4)
  107. pl2=exa.light
  108.  
  109. local part=exa:Clone()
  110. part.Size=Vector3.new(1.5,1.5,1.5)
  111. pl3=part.light
  112. pms=Instance.new('BlockMesh',part)
  113.  
  114. char.Humanoid.Died:connect(function()
  115. laser=false
  116. beam.Parent=nil
  117. inner.Parent=nil
  118. expl.Parent=nil
  119. exa.Parent=nil
  120. s1:stop()
  121. end)
  122.  
  123. mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
  124. laser=true
  125. s1.Volume=1
  126. s1:play()
  127. end end)
  128. mouse.Button1Up:connect(function()
  129. laser=false
  130. beam.Parent=nil
  131. inner.Parent=nil
  132. expl.Parent=nil
  133. exa.Parent=nil
  134. s1:stop()
  135. end)
  136.  
  137. parti=0
  138. game:service'RunService'.Stepped:connect(function()
  139. parti=parti+1
  140. for i,v in pairs(particles) do
  141. v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
  142. v.Transparency=v.Transparency+.08
  143. if v.Transparency >= 1 then
  144. v:Destroy()
  145. table.remove(particles,i)
  146. else
  147. v.Parent=beamm
  148. end
  149. end
  150. a=cam.CoordinateFrame.p
  151. b=mouse.Hit.p
  152. mhitr=Ray.new(a,(b-a).unit*999)
  153. mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
  154. raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
  155. law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
  156. if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
  157. char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
  158. end
  159. if laser then
  160. beamm.Parent=workspace
  161. beam.Parent=beamm
  162. inner.Parent=beamm
  163. expl.Parent=beamm
  164. exa.Parent=beamm
  165. s1.Volume=s1.Volume-.002
  166.  
  167. 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)
  168. hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
  169.  
  170. if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
  171. Instance.new('Explosion',workspace).Position=pos
  172. end
  173. if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then
  174. e=Instance.new('Explosion',workspace)
  175. e.Position=pos
  176. e.BlastRadius=14
  177. e.BlastPressure=1e4
  178. end
  179. if hit and not hit.Anchored and not (hit:GetMass()>1e4) then
  180. hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass())
  181. end
  182.  
  183. if parti==math.floor(parti) then
  184. par=part:Clone()
  185. table.insert(particles,par)
  186. par.Parent=beamm
  187. par.Transparency=1-s1.Volume
  188. par.light.Range=br*s1.Volume
  189. par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10)
  190. end
  191.  
  192. mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude
  193. ms.Scale=v3(s1.Volume,s1.Volume,mag)
  194. ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag))
  195. beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180))
  196. inner.CFrame=beam.CFrame
  197. pl.Range=br*s1.Volume
  198. pl2.Range=br*s1.Volume
  199. expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
  200. expl.Transparency=math.random(40,60)/100
  201. expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  202. exa.Size=v3(4,4,4)*s1.Volume
  203. exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  204. char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume)
  205. end
  206. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement