Navy Base Uncopylocked.
Oct 8th, 2017
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- local env =getfenv(func)
- __index =function(self,k)
- return var
- return env[k]
- end,
- setfenv(func,newenv)
- end
- mas = Instance.new('Model',game:GetService('Lighting'))
- Part1 = Instance.new('Part')
- LocalScript3 = Instance.new('LocalScript')
- SpecialMesh5 = Instance.new('SpecialMesh')
- Tool0.Parent = mas
- Tool0.TextureId ='http://www.roblox.com/asset/?id=19339420'
- Part1.Name ='Handle'
- Part1.BrickColor = BrickColor.new('Black')
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.CFrame = CFrame.new(-6.63999891,0.500003994,-11.4400177,0,0,-1,0,1,0,1,0,0)
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.105882,0.164706,0.207843)
- Part1.Position = Vector3.new(-6.63999891,0.500003994,-11.4400177)
- Part1.Color = Color3.new(0.105882,0.164706,0.207843)
- SpecialMesh2.MeshId ='http://www.roblox.com/asset/?id=94219391'
- SpecialMesh2.TextureId ='http://www.roblox.com/asset/?id=94219470'
- SpecialMesh2.Scale = Vector3.new(0.75,0.75,0.75)
- LocalScript3.Parent = Tool0
- --Made by Ahtoh13131423144235
- local char=nil--Do not change this
- local maxAmmo=9--Max Ammo
- local ammo=32--Stored Ammo
- --WELDS
- local leftArmWeld=nil
- flameWeld.Parent=script.Parent.Handle
- flameWeld.Part0=script.Parent.Handle
- flameWeld.C0=CFrame.new(0,0.3,-3.5)*CFrame.fromEulerAnglesXYZ(0,80.1,0)
- function equip()
- rightArmWeld.C0=rightArmWeld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
- leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
- end
- leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(0,0,0.1)
- end
- leftArmWeld.C0=leftArmWeld.C0*CFrame.new(0.1,0,0)
- end
- leftArmWeld.C0=leftArmWeld.C0*CFrame.new(0,-0.1,0)
- end
- leftArmWeld.C0=leftArmWeld.C0*CFrame.new(-0.1,-0.1,0)
- end
- for i=1,2do
- rightArmWeld.C0=rightArmWeld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
- leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
- script.Parent.Flame.Transparency=script.Parent.Flame.Transparency-0.4
- end
- rightArmWeld.C0=rightArmWeld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
- leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
- script.Parent.Flame.Transparency=script.Parent.Flame.Transparency+0.4
- end
- leftArmWeld.C0=leftArmWeld.C0*CFrame.new(-0.1,-0.1,0)
- end
- leftArmWeld.C0=leftArmWeld.C0*CFrame.new(0.1,0.1,0)
- end
- function reload()
- leftArmWeld.C0=leftArmWeld.C0*CFrame.new(0.1,0.1,0)
- end
- leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,-0.1)
- end
- for i=1,14do
- leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0.1)
- end
- leftArmWeld.C0=leftArmWeld.C0*CFrame.new(-0.1,-0.1,0)
- end
- leftArmWeld.C0=leftArmWeld.C0*CFrame.new(-0.1,-0.1,0)
- end
- leftArmWeld.C0=leftArmWeld.C0*CFrame.new(0.1,0.1,0)
- end
- --SCRIPT
- if debouncefalseand clip>0then
- local mouse=game.Players.LocalPlayer:GetMouse()
- if mouse.Target.Parent:FindFirstChild('Humanoid')~=nilthen
- mouse.Target.Parent.Humanoid.Health=mouse.Target.Parent.Humanoid.Health-damage
- end
- local shell=Instance.new('Part')
- shell.Name='Shell'
- shell.Position=script.Parent.Handle.Position+Vector3.new(0.4,0,0)
- shell.BrickColor=BrickColor.new('Bright red')
- mesh.Parent=shell
- game.Debris:AddItem(shell,4)
- debounce=false
- debounce=true
- clip=maxAmmo
- debounce=false
- end)
- char=script.Parent.Parent
- rightArmWeld.Parent=char.Torso
- rightArmWeld.Part1=char['Right Arm']
- rightArmWeld.C0=CFrame.new(1.5,0.5,0)
- leftArmWeld=Instance.new('Weld')
- leftArmWeld.Name='LeftWeld'
- leftArmWeld.Part1=char['Left Arm']
- leftArmWeld.C1=CFrame.new(0,0.5,0)
- debounce=false
- script.Parent.Unequipped:connect(function()
- rightArmWeld:Remove()
- rightArmWeld=nil
- end)
- Part4.Name ='Flame'
- Part4.BrickColor = BrickColor.new('Bright red')
- Part4.Size = Vector3.new(1.97999871,0.640000284,0.510000348)
- Part4.CFrame = CFrame.new(-3.19277,0.801472008,-11.4081182,1,0,0,0,1,0,0,0,1)
- Part4.Color = Color3.new(0.768628,0.156863,0.109804)
- Part4.Position = Vector3.new(-3.19277,0.801472008,-11.4081182)
- Part4.Color = Color3.new(0.768628,0.156863,0.109804)
- SpecialMesh5.MeshType = Enum.MeshType.Sphere
- v.Parent = game.Players.LocalPlayer.Backpack
- end
- for i,v inpairs(cors)do
- pcall(v)
- end