Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made In PopuVille by Kensington Weapons And Millatary Equipment(CEO: lotushomerun)® ©2015 -
- --Feel free to leak
- mouse = game.Players.LocalPlayer:GetMouse()
- gun = Instance.new("Part", game.Players.LocalPlayer.Character)
- gun.Size = Vector3.new(.4, .4, .5)
- gun.CanCollide = false
- mesh = Instance.new("SpecialMesh", gun)
- mesh.MeshId = "rbxassetid://4183097171"
- mesh.TextureId = "rbxassetid://4183097344"
- mesh.Scale = Vector3.new(.08, .08, .08)
- weld = Instance.new("Weld", gun)
- weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
- weld.Part1 = gun
- weld.C0 = weld.C0 * CFrame.new(0,-1,-.4) * CFrame.Angles(4.7,0,0)
- swooshing = Instance.new("Sound", gun)
- swooshing.SoundId = "rbxassetid://1438146024"
- swooshing.EmitterSize = 1
- swooshing.PlaybackSpeed = 0.9
- swooshing.Volume = 10
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- shooting = false
- damage = math.random(20, 30)
- for i = 1,2 do
- wait()
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.03)
- end
- for i = 1,2 do
- wait()
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.07)
- end
- swooshing:Play()
- for i = 1,7 do
- wait()
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.17)
- end
- for i = 1,2 do
- wait()
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.07)
- end
- for i = 1,2 do
- wait()
- rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.03)
- end
- function shoot()
- local shotsound = Instance.new("Sound", gun)
- shotsound.EmitterSize = 1
- shotsound.SoundId = "rbxassetid://1043082902"
- shotsound.Volume = 3
- shotsound:Play()
- local bullet = Instance.new("Part", workspace)
- bullet.Size = Vector3.new(0.05,0.05,0.05)
- bullet.CFrame = gun.CFrame * CFrame.new(0,2,0)
- bullet.BrickColor = BrickColor.new("Very pink")
- bullet.Shape = "Ball"
- bullet.CanCollide = false
- bullet:BreakJoints()
- local velo = Instance.new("BodyVelocity", bullet)
- velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- velo.Velocity = mouse.Hit.lookVector * 190
- function hurt(hit)
- bullet:Destroy()
- local hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent.Name ~= game.Players.LocalPlayer.Name then
- hum.Health = hum.Health - damage
- end
- end
- bullet.Touched:connect(hurt)
- end
- mouse.Button1Down:connect(shoot)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement