lotushomerun

meme6

May 7th, 2017
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.54 KB | None | 0 0
  1. --Made In PopuVille by Kensington Weapons And Millatary Equipment(CEO: lotushomerun)® ©2015
  2. --Feel free to leak
  3.  
  4. mouse = game.Players.LocalPlayer:GetMouse()
  5. gun = Instance.new("Part", game.Players.LocalPlayer.Character)
  6. gun.Size = Vector3.new(1, 1, 1)
  7. gun.CanCollide = false
  8. mesh = Instance.new("SpecialMesh", gun)
  9. mesh.MeshId = "rbxassetid://72012879"
  10. mesh.TextureId = "rbxassetid://72012859"
  11. mesh.Scale = Vector3.new(2, 2, 2)
  12. weld = Instance.new("Weld", gun)
  13. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  14. weld.Part1 = gun
  15. weld.C0 = weld.C0 * CFrame.new(0,-1,-.4) * CFrame.Angles(91.1,0,0)
  16. swooshing = Instance.new("Sound", gun)
  17. swooshing.SoundId = "rbxassetid://280667448"
  18. swooshing.EmitterSize = 1
  19. swooshing.PlaybackSpeed = 0.9
  20. swooshing.Volume = 10
  21. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  22. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  23. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  24. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  25. rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  26. shooting = false
  27. damage = math.random(20, 30)
  28. for i = 1,2 do
  29.     wait()
  30.     rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.03)
  31. end
  32. for i = 1,2 do
  33.     wait()
  34.     rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.07)
  35. end
  36. swooshing:Play()
  37. for i = 1,7 do
  38.     wait()
  39.     rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.17)
  40. end
  41. for i = 1,2 do
  42.     wait()
  43.     rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.07)
  44. end
  45. for i = 1,2 do
  46.     wait()
  47.     rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.03)
  48. end
  49.  
  50. function shoot()
  51.     local shotsound = Instance.new("Sound", gun)
  52.     shotsound.EmitterSize = 1
  53.     shotsound.SoundId = "rbxassetid://139593133"
  54.     shotsound.Volume = 3
  55.     shotsound:Play()
  56.     local bullet = Instance.new("Part", workspace)
  57.     bullet.Size = Vector3.new(0.05,0.05,0.05)
  58.     bullet.CFrame = gun.CFrame * CFrame.new(0,2,0)
  59.     bullet.BrickColor = BrickColor.new("New Yeller")
  60.     bullet.Shape = "Ball"
  61.     bullet.CanCollide = false
  62.     bullet:BreakJoints()
  63.     local velo = Instance.new("BodyVelocity", bullet)
  64.     velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  65.     velo.Velocity = mouse.Hit.lookVector * 190
  66.     function hurt(hit)
  67.             bullet:Destroy()
  68.              local hum = hit.Parent:findFirstChild("Humanoid")
  69.             if hum ~= nil and hum.Parent.Name ~= game.Players.LocalPlayer.Name then
  70.             hum.Health = hum.Health - damage
  71.  
  72.         end
  73.        
  74.     end
  75.     bullet.Touched:connect(hurt)
  76.     end
  77.  
  78.  
  79. mouse.Button1Down:connect(shoot)
Add Comment
Please, Sign In to add comment