Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local char = player.Character
- local tor = char.Torso
- local mouse = player:GetMouse()
- local camera = game.Workspace.CurrentCamera
- local ra = char['Right Arm']
- local la = char['Left Arm']
- local ll = char['Left Leg']
- local rl = char['Right Leg']
- local ammo = 250
- local maxammo = 250
- function weld(p0,p1,c0)
- local w=Instance.new("Weld",p0)
- w.Part0=p0
- w.Part1=p1
- w.C0=c0
- return w
- end
- function animate(part,speed,cframe,corout)
- coroutine.resume(coroutine.create(function()
- local startCFrame = part.Weld.C0
- local endCFrame = cframe
- for i = 0,1,speed do wait()
- part.Weld.C0 = startCFrame:lerp(endCFrame,i)
- end
- end))
- end
- function animate2(part,speed,cframe,corout)
- local startCFrame = part.Weld.C0
- local endCFrame = cframe
- for i = 0,1,speed do wait()
- part.Weld.C0 = startCFrame:lerp(endCFrame,i)
- end
- end
- function bleed(victim,speed,amount,velocity)
- coroutine.resume(coroutine.create(function()
- for i = 1,amount do wait(speed)
- local blood = Instance.new("Part",workspace)
- blood.CanCollide = false
- blood.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.Transparency = 0
- blood.Anchored= false
- blood.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.Material = Enum.Material.Metal
- blood.Size = Vector3.new(0.3, 0.3, 0.3)
- blood.Name = "blood"
- blood.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.Position = victim.Position
- blood.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.BrickColor = BrickColor.new("Crimson")
- blood.Friction = 0.3
- blood.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.Transparency = 0
- if velocity == nil then
- blood.Velocity = victim.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
- end
- if velocity ~=nil then
- blood.Velocity = victim.CFrame.lookVector * velocity + Vector3.new(math.random(-10,10),20,math.random(-10,10))
- end
- blood.RotVelocity = Vector3.new(0,200,0)
- blood.Touched:connect(function(h)
- if (not h:isDescendantOf(victim.Parent)) then
- if h.Name ~= "blood" and h.Name ~="puddle" and h.Parent.Name ~="M60" and h.Parent:FindFirstChild("Humanoid")==nil then
- local debounce = false
- if debounce == false then
- debounce = true
- print(h)
- local puddle = Instance.new("Part", workspace)
- puddle.FormFactor = Enum.FormFactor.Plate
- puddle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.Transparency = 0.3
- puddle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.Anchored = false
- puddle.CanCollide = true
- puddle.Material = Enum.Material.Metal
- puddle.Size = Vector3.new(2, 0.1, 2)
- puddle.Name = "puddle"
- puddle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.BrickColor = BrickColor.new("Crimson")
- puddle.Friction = 0.3
- puddle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.Position = blood.Position
- local mesh = Instance.new("CylinderMesh", puddle)
- blood:Destroy()
- wait(1)
- puddle.Anchored = true
- puddle.CanCollide = false
- game.Debris:AddItem(puddle,8)
- coroutine.resume(coroutine.create(function()
- wait(.5)
- while puddle~=nil do wait(.5)
- puddle.Mesh.Scale = puddle.Mesh.Scale - Vector3.new(0,0,.1)
- puddle.Transparency = puddle.Transparency + .05
- end
- end))
- end
- end
- end
- end)
- end
- end))
- end
- --Health--
- char.Humanoid.MaxHealth = 250
- char.Humanoid.Health = 250
- ----------
- --Helmet--
- local helmet = Instance.new("Part",char)
- helmet.FormFactor = Enum.FormFactor.Symmetric
- helmet.CanCollide = true
- helmet.Elasticity = 0
- helmet.TopSurface = Enum.SurfaceType.Smooth
- helmet.Anchored = false
- helmet.Material = Enum.Material.Fabric
- helmet.Size = Vector3.new(1, 1, 1)
- helmet.Name = "Helmet"
- helmet.BrickColor = BrickColor.new("Grime")
- helmet.Friction = 1
- helmet.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh", helmet)
- mesh.Scale = Vector3.new(1.2, 1.3, 1.2)
- mesh.MeshId = "http://www.roblox.com/asset/?id=45609892"
- mesh.TextureId = "http://www.roblox.com/asset/?id=297898053"
- mesh.MeshType = Enum.MeshType.FileMesh
- local canteen = Instance.new("Model", char)
- canteen.Name = "Canteen"
- cap = Instance.new("Part", canteen)
- cap.FormFactor = Enum.FormFactor.Custom
- cap.CanCollide = false
- cap.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- cap.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- cap.Material = Enum.Material.Metal
- cap.Size = Vector3.new(0.221, 0.261, 0.196)
- cap.Name = "Cap"
- cap.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- cap.CFrame = CFrame.new(3.313, 1.074, -7.2)* CFrame.Angles(-2.4768741130829, 1.5692141056061, 2.4879095554352)
- cap.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- cap.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- cap.BrickColor = BrickColor.new("Really black")
- cap.Friction = 0.3
- cap.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_7 = Instance.new("CylinderMesh", cap)
- part_5 = Instance.new("Part", canteen)
- part_5.FormFactor = Enum.FormFactor.Custom
- part_5.CanCollide = false
- part_5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.Transparency = 1
- part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.Material = Enum.Material.Metal
- part_5.Size = Vector3.new(0.163, 0.212, 0.196)
- part_5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.CFrame = CFrame.new(3.318, 0.511, -7.348)* CFrame.Angles(-2.4764432907104, 1.5670937299728, 2.4883408546448)
- part_5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.BrickColor = BrickColor.new("Slime green")
- part_5.Friction = 0.3
- part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- decal_4 = Instance.new("Decal", part_5)
- decal_4.Face = Enum.NormalId.Right
- decal_4.Texture = "http://www.roblox.com/asset/?id=13449209"
- part_9 = Instance.new("Part", canteen)
- part_9.FormFactor = Enum.FormFactor.Custom
- part_9.CanCollide = false
- part_9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.Material = Enum.Material.Metal
- part_9.Size = Vector3.new(0.768, 0.441, 0.433)
- part_9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.CFrame = CFrame.new(3.305, 0.886, -7.202)* CFrame.Angles(-3.1307740211487, -0.00066667835926637, -0.00051849312148988)
- part_9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.BrickColor = BrickColor.new("Slime green")
- part_9.Friction = 0.3
- part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_6 = Instance.new("SpecialMesh", part_9)
- mesh_6.MeshType = Enum.MeshType.Sphere
- part_7 = Instance.new("Part", canteen)
- part_7.FormFactor = Enum.FormFactor.Custom
- part_7.CanCollide = false
- part_7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.Material = Enum.Material.Metal
- part_7.Size = Vector3.new(0.433, 0.817, 0.441)
- part_7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.CFrame = CFrame.new(3.146, 0.534, -7.21)* CFrame.Angles(-3.1307737827301, -0.00067682901863009, 3.1410744190216)
- part_7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.BrickColor = BrickColor.new("Slime green")
- part_7.Friction = 0.3
- part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_5 = Instance.new("CylinderMesh", part_7)
- part_4 = Instance.new("Part", canteen)
- part_4.FormFactor = Enum.FormFactor.Custom
- part_4.CanCollide = false
- part_4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.Material = Enum.Material.Metal
- part_4.Size = Vector3.new(0.433, 0.817, 0.343)
- part_4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.CFrame = CFrame.new(3.32, 0.534, -7.208)* CFrame.Angles(0.66492658853531, -1.5677275657654, 0.65342193841934)
- part_4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.BrickColor = BrickColor.new("Slime green")
- part_4.Friction = 0.3
- part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_4 = Instance.new("BlockMesh", part_4)
- part_8 = Instance.new("Part", canteen)
- part_8.FormFactor = Enum.FormFactor.Custom
- part_8.CanCollide = false
- part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Transparency = 1
- part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Material = Enum.Material.Metal
- part_8.Size = Vector3.new(0.163, 0.212, 0.196)
- part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.CFrame = CFrame.new(3.394, 0.577, -7.344)* CFrame.Angles(-2.4697623252869, 1.5698198080063, 2.4805817604065)
- part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BrickColor = BrickColor.new("Slime green")
- part_8.Friction = 0.3
- part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- decal_3 = Instance.new("Decal", part_8)
- decal_3.Face = Enum.NormalId.Right
- decal_3.Texture = "http://www.roblox.com/asset/?id=2273070"
- part_6 = Instance.new("Part", canteen)
- part_6.FormFactor = Enum.FormFactor.Custom
- part_6.CanCollide = false
- part_6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.Material = Enum.Material.Metal
- part_6.Size = Vector3.new(0.433, 0.817, 0.441)
- part_6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.CFrame = CFrame.new(3.472, 0.535, -7.21)* CFrame.Angles(-3.1307737827301, -0.00067682901863009, 3.1410744190216)
- part_6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.BrickColor = BrickColor.new("Slime green")
- part_6.Friction = 0.3
- part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_3 = Instance.new("CylinderMesh", part_6)
- part = Instance.new("Part", canteen)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = false
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.Transparency = 1
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.Material = Enum.Material.Metal
- part.Size = Vector3.new(0.163, 0.212, 0.196)
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part.CFrame = CFrame.new(3.23, 0.577, -7.344)* CFrame.Angles(-2.4769816398621, 1.5698828697205, 2.4878017902374)
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BrickColor = BrickColor.new("Slime green")
- part.Friction = 0.3
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- decal_2 = Instance.new("Decal", part)
- decal_2.Face = Enum.NormalId.Right
- decal_2.Texture = "http://www.roblox.com/asset/?id=2273074"
- part_3 = Instance.new("Part", canteen)
- part_3.FormFactor = Enum.FormFactor.Custom
- part_3.CanCollide = false
- part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.Material = Enum.Material.Metal
- part_3.Size = Vector3.new(0.449, 0.482, 0.163)
- part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.CFrame = CFrame.new(3.322, 0.752, -7.048)* CFrame.Angles(1.5816155672073, 0.0005181833403185, -1.5714731216431)
- part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.BrickColor = BrickColor.new("Slime green")
- part_3.Friction = 0.3
- part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_2 = Instance.new("CylinderMesh", part_3)
- part_2 = Instance.new("Part", canteen)
- part_2.FormFactor = Enum.FormFactor.Custom
- part_2.CanCollide = false
- part_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.Transparency = 1
- part_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.Material = Enum.Material.Metal
- part_2.Size = Vector3.new(0.163, 0.212, 0.196)
- part_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.CFrame = CFrame.new(3.155, 0.52, -7.347)* CFrame.Angles(-2.4764432907104, 1.5671586990356, 2.4883408546448)
- part_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.BrickColor = BrickColor.new("Slime green")
- part_2.Friction = 0.3
- part_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- decal = Instance.new("Decal", part_2)
- decal.Face = Enum.NormalId.Right
- decal.Texture = "http://www.roblox.com/asset/?id=13449209"
- canteenhandle = Instance.new("Part", canteen)
- canteenhandle.FormFactor = Enum.FormFactor.Symmetric
- canteenhandle.CanCollide = false
- canteenhandle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- canteenhandle.Transparency = 1
- canteenhandle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- canteenhandle.Reflectance = 0.2
- canteenhandle.Material = Enum.Material.Metal
- canteenhandle.Size = Vector3.new(0.817, 0.817, 0.817)
- canteenhandle.Name = "canteenhandle"
- canteenhandle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- canteenhandle.CFrame = CFrame.new(3.339, 0.535, -7.21)* CFrame.Angles(0.66461098194122, -1.5699505805969, 0.65379083156586)
- canteenhandle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- canteenhandle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- canteenhandle.BrickColor = BrickColor.new("Slime green")
- canteenhandle.Friction = 0.3
- canteenhandle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh = Instance.new("SpecialMesh", canteenhandle)
- mesh.Scale = Vector3.new(0.817, 1.389, 0.817)
- mesh.MeshId = "http://www.roblox.com/asset/?id=11409474"
- mesh.MeshType = Enum.MeshType.FileMesh
- canteen:BreakJoints()
- helmet:BreakJoints()
- local prev
- local parts = canteen:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then
- if (prev ~= nil)then
- if parts[i]:FindFirstChild("Weld") then parts[i]:FindFirstChild("Weld"):Destroy() end
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- parts[i].CanCollide = false
- end
- prev = parts[i]
- end
- end
- canteen:MakeJoints()
- helmet:MakeJoints()
- weld(helmet, char.Head, CFrame.new(0,-.6,0)*CFrame.Angles(math.rad(0),0,0))
- weld(canteen.canteenhandle, char.Torso, CFrame.new(.5,.5,-.5)*CFrame.Angles(math.rad(0),math.rad(-90),0))
- ----------
- ---M60---
- local m60 = Instance.new("Model", char)
- m60.Name = "M60"
- barrel = Instance.new("Part", m60)
- barrel.CanCollide = false
- barrel.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- barrel.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- barrel.Material = Enum.Material.Metal
- barrel.Size = Vector3.new(1, 0.403, 1)
- barrel.Name = "Barrel"
- barrel.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- barrel.CFrame = CFrame.new(-46.676, 1.505, -20.502)* CFrame.Angles(-1.5703084468842, -0.00032106894650497, -1.5708861351013)
- barrel.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- barrel.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- barrel.BrickColor = BrickColor.new("Really black")
- barrel.Friction = 0.3
- barrel.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh = Instance.new("CylinderMesh", barrel)
- mesh.Offset = Vector3.new(0, -0.14, 0)
- mesh.Scale = Vector3.new(1, 1, 0.1)
- chamber = Instance.new("Part", m60)
- chamber.FormFactor = Enum.FormFactor.Symmetric
- chamber.CanCollide = false
- chamber.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- chamber.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- chamber.Material = Enum.Material.Metal
- chamber.Size = Vector3.new(1, 1, 1)
- chamber.Name = "Chamber"
- chamber.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- chamber.CFrame = CFrame.new(-43.627, 1.47, -20.3)* CFrame.Angles(-3.1415917873383, 8.6724330685684e-06, -3.1415908336639)
- chamber.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- chamber.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- chamber.BrickColor = BrickColor.new("Dark stone grey")
- chamber.Friction = 0.3
- chamber.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_2 = Instance.new("SpecialMesh", chamber)
- mesh_2.Scale = Vector3.new(0.4, 0.05, 0.05)
- mesh_2.MeshType = Enum.MeshType.Wedge
- handle = Instance.new("Part", m60)
- handle.FormFactor = Enum.FormFactor.Symmetric
- handle.CanCollide = false
- handle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- handle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- handle.Material = Enum.Material.Metal
- handle.Size = Vector3.new(1, 1, 1)
- handle.Name = "Handle"
- handle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- handle.CFrame = CFrame.new(-42.677, 1.02, -20.5)* CFrame.Angles(6.1076320889697e-07, -7.301525783987e-06, -1.3147196398222e-07)
- handle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- handle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- handle.BrickColor = BrickColor.new("Dark stone grey")
- handle.Friction = 0.3
- handle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_3 = Instance.new("SpecialMesh", handle)
- mesh_3.Scale = Vector3.new(0.2, 0.05, 0.15)
- mesh_3.MeshType = Enum.MeshType.Brick
- muzzleflash = Instance.new("Part", m60)
- muzzleflash.CanCollide = false
- muzzleflash.Transparency = 1
- muzzleflash.TopSurface = Enum.SurfaceType.Smooth
- muzzleflash.Material = Enum.Material.Neon
- muzzleflash.Size = Vector3.new(1, 2, 2)
- muzzleflash.Name = "MuzzleFlash"
- muzzleflash.CFrame = CFrame.new(-47.81, 1.49, -20.511)* CFrame.Angles(-3.1415920257568, 4.016649654659e-06, 1.5707564353943)
- muzzleflash.BrickColor = BrickColor.new("Bright yellow")
- muzzleflash.Friction = 0.3
- muzzleflash.BottomSurface = Enum.SurfaceType.Smooth
- mesh_4 = Instance.new("SpecialMesh", muzzleflash)
- mesh_4.Scale = Vector3.new(0.5, 1, 0.5)
- mesh_4.MeshType = Enum.MeshType.Sphere
- pointlight = Instance.new("PointLight", muzzleflash)
- pointlight.Enabled = false
- pointlight.Color = Color3.new(1, 1, 0)
- pointlight.Brightness = 5
- pointlight.Range = 5
- part = Instance.new("Part", m60)
- part.FormFactor = Enum.FormFactor.Symmetric
- part.CanCollide = false
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.Material = Enum.Material.Metal
- part.Size = Vector3.new(1, 1, 1)
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part.CFrame = CFrame.new(-42.552, 0.97, -20.5)* CFrame.Angles(-3.1412317752838, -1.5703080892563, -3.1412346363068)
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.3
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_5 = Instance.new("SpecialMesh", part)
- mesh_5.Scale = Vector3.new(0.15, 0.15, 0.05)
- mesh_5.MeshType = Enum.MeshType.Wedge
- part_2 = Instance.new("Part", m60)
- part_2.FormFactor = Enum.FormFactor.Custom
- part_2.CanCollide = false
- part_2.Material = Enum.Material.Metal
- part_2.Size = Vector3.new(0.2, 0.2, 0.34)
- part_2.CFrame = CFrame.new(-43.339, 0.25, -20.044)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
- part_2.BrickColor = BrickColor.new("Brick yellow")
- part_2.Friction = 0.3
- bulletmesh = Instance.new("SpecialMesh", part_2)
- bulletmesh.Offset = Vector3.new(0.3, 0.3, 0.3)
- bulletmesh.Scale = Vector3.new(3, 3, 3)
- bulletmesh.MeshId = "http://www.roblox.com/asset/?id=95387759"
- bulletmesh.Name = "BulletMesh"
- bulletmesh.MeshType = Enum.MeshType.FileMesh
- part_3 = Instance.new("Part", m60)
- part_3.FormFactor = Enum.FormFactor.Symmetric
- part_3.CanCollide = false
- part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.Material = Enum.Material.Metal
- part_3.Size = Vector3.new(1, 1, 1)
- part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.CFrame = CFrame.new(-41.827, 1.145, -20.5)* CFrame.Angles(-0.2581761777401, 1.5704510211945, -2.8834161758423)
- part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.BrickColor = BrickColor.new("Dark stone grey")
- part_3.Friction = 0.3
- part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_6 = Instance.new("SpecialMesh", part_3)
- mesh_6.Scale = Vector3.new(0.15, 0.3, 0.5)
- mesh_6.MeshType = Enum.MeshType.Wedge
- part_4 = Instance.new("Part", m60)
- part_4.FormFactor = Enum.FormFactor.Symmetric
- part_4.CanCollide = false
- part_4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.Material = Enum.Material.Metal
- part_4.Size = Vector3.new(1, 1, 1)
- part_4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.CFrame = CFrame.new(-42.602, 1.27, -20.5)* CFrame.Angles(2.8834164142609, -1.5704510211945, -0.25817650556564)
- part_4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.BrickColor = BrickColor.new("Dark stone grey")
- part_4.Friction = 0.3
- part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_7 = Instance.new("SpecialMesh", part_4)
- mesh_7.Scale = Vector3.new(0.15, 0.05, 0.15)
- mesh_7.MeshType = Enum.MeshType.Wedge
- part_5 = Instance.new("Part", m60)
- part_5.FormFactor = Enum.FormFactor.Symmetric
- part_5.CanCollide = false
- part_5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.Material = Enum.Material.Metal
- part_5.Size = Vector3.new(1, 1, 1)
- part_5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.CFrame = CFrame.new(-41.527, 1.145, -20.5)* CFrame.Angles(5.9586210454654e-07, -6.8346721491253e-06, 3.5224346106588e-07)
- part_5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.BrickColor = BrickColor.new("Dark stone grey")
- part_5.Friction = 0.3
- part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_8 = Instance.new("SpecialMesh", part_5)
- mesh_8.Scale = Vector3.new(0.1, 0.3, 0.15)
- mesh_8.MeshType = Enum.MeshType.Brick
- part_6 = Instance.new("Part", m60)
- part_6.FormFactor = Enum.FormFactor.Symmetric
- part_6.CanCollide = false
- part_6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.Material = Enum.Material.Metal
- part_6.Size = Vector3.new(1, 1, 1)
- part_6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.CFrame = CFrame.new(-42.627, 1.145, -20.5)* CFrame.Angles(2.8834164142609, -1.5704510211945, 2.8834161758423)
- part_6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.BrickColor = BrickColor.new("Dark stone grey")
- part_6.Friction = 0.3
- part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_9 = Instance.new("SpecialMesh", part_6)
- mesh_9.Scale = Vector3.new(0.15, 0.2, 0.1)
- mesh_9.MeshType = Enum.MeshType.Wedge
- part_7 = Instance.new("Part", m60)
- part_7.FormFactor = Enum.FormFactor.Symmetric
- part_7.CanCollide = false
- part_7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.Material = Enum.Material.Metal
- part_7.Size = Vector3.new(1, 1, 1)
- part_7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.CFrame = CFrame.new(-42.727, 1.095, -20.5)* CFrame.Angles(7.8315343898794e-07, -8.6724330685684e-06, -1.769436835275e-06)
- part_7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.BrickColor = BrickColor.new("Dark stone grey")
- part_7.Friction = 0.3
- part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_10 = Instance.new("SpecialMesh", part_7)
- mesh_10.Scale = Vector3.new(0.1, 0.1, 0.15)
- mesh_10.MeshType = Enum.MeshType.Brick
- part_8 = Instance.new("Part", m60)
- part_8.FormFactor = Enum.FormFactor.Symmetric
- part_8.CanCollide = false
- part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Material = Enum.Material.Metal
- part_8.Size = Vector3.new(1, 1, 1)
- part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.CFrame = CFrame.new(-41.977, 1.57, -20.5)* CFrame.Angles(-0.25408187508583, 1.5704510211945, 0.25408214330673)
- part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BrickColor = BrickColor.new("Dark stone grey")
- part_8.Friction = 0.3
- part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_11 = Instance.new("SpecialMesh", part_8)
- mesh_11.Scale = Vector3.new(0.15, 0.05, 0.4)
- mesh_11.MeshType = Enum.MeshType.Wedge
- part_9 = Instance.new("Part", m60)
- part_9.FormFactor = Enum.FormFactor.Plate
- part_9.CanCollide = false
- part_9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.Material = Enum.Material.Metal
- part_9.Size = Vector3.new(1, 0.4, 1)
- part_9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.CFrame = CFrame.new(-46.657, 1.5, -20.5)* CFrame.Angles(1.5707969665527, -1.3038165214141e-08, -1.5707890987396)
- part_9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.BrickColor = BrickColor.new("Dark stone grey")
- part_9.Friction = 0.3
- part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_12 = Instance.new("CylinderMesh", part_9)
- mesh_12.Offset = Vector3.new(0, -0.14, 0)
- mesh_12.Scale = Vector3.new(1, 1.1, 0.13)
- part_10 = Instance.new("Part", m60)
- part_10.FormFactor = Enum.FormFactor.Symmetric
- part_10.CanCollide = false
- part_10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.Material = Enum.Material.Metal
- part_10.Size = Vector3.new(1, 1, 1)
- part_10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.CFrame = CFrame.new(-42.777, 1.22, -20.5)* CFrame.Angles(7.6334225695973e-07, -8.7022344814613e-06, -1.7636640450291e-06)
- part_10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.BrickColor = BrickColor.new("Dark stone grey")
- part_10.Friction = 0.3
- part_10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_13 = Instance.new("SpecialMesh", part_10)
- mesh_13.Scale = Vector3.new(0.2, 0.15, 0.15)
- mesh_13.MeshType = Enum.MeshType.Brick
- stock = Instance.new("Part", m60)
- stock.FormFactor = Enum.FormFactor.Symmetric
- stock.CanCollide = false
- stock.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- stock.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- stock.Material = Enum.Material.Metal
- stock.Size = Vector3.new(1, 1, 1)
- stock.Name = "Stock"
- stock.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- stock.CFrame = CFrame.new(-41.451, 1.295, -20.5)* CFrame.Angles(7.8246955581562e-07, -8.7022344814613e-06, -1.7694370626486e-06)
- stock.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- stock.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- stock.BrickColor = BrickColor.new("Dark stone grey")
- stock.Friction = 0.3
- stock.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_43 = Instance.new("SpecialMesh", stock)
- mesh_43.Scale = Vector3.new(0.05, 0.6, 0.15)
- mesh_43.MeshType = Enum.MeshType.Brick
- newp = Instance.new("Part", m60)
- newp.CanCollide = false
- newp.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- newp.Transparency = 1
- newp.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- newp.Material = Enum.Material.Metal
- newp.Size = Vector3.new(0.2, 0.2, 0.2)
- newp.Name = "newp"
- newp.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- newp.CFrame = CFrame.new(-47.05, 1.5, -20.5)* CFrame.Angles(-8.2679383694995e-07, 1.5707963705063, 0)
- newp.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- newp.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- newp.BrickColor = BrickColor.new("Really black")
- newp.Friction = 0.3
- newp.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13 = Instance.new("Part", m60)
- part_13.FormFactor = Enum.FormFactor.Symmetric
- part_13.CanCollide = false
- part_13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.Material = Enum.Material.Metal
- part_13.Size = Vector3.new(1, 1, 1)
- part_13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.CFrame = CFrame.new(-42.827, 1.045, -20.5)* CFrame.Angles(-0.2581761777401, 1.5704510211945, -2.8834161758423)
- part_13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.BrickColor = BrickColor.new("Dark stone grey")
- part_13.Friction = 0.3
- part_13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_14 = Instance.new("SpecialMesh", part_13)
- mesh_14.Scale = Vector3.new(0.15, 0.2, 0.1)
- mesh_14.MeshType = Enum.MeshType.Wedge
- part_14 = Instance.new("Part", m60)
- part_14.FormFactor = Enum.FormFactor.Custom
- part_14.CanCollide = false
- part_14.Material = Enum.Material.Metal
- part_14.Size = Vector3.new(0.2, 0.2, 0.34)
- part_14.CFrame = CFrame.new(-43.342, 0.8, -20.344)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
- part_14.BrickColor = BrickColor.new("Brick yellow")
- part_14.Friction = 0.3
- bulletmesh_4 = Instance.new("SpecialMesh", part_14)
- bulletmesh_4.Offset = Vector3.new(0.3, 0.3, 0.3)
- bulletmesh_4.Scale = Vector3.new(3, 3, 3)
- bulletmesh_4.MeshId = "http://www.roblox.com/asset/?id=95387759"
- bulletmesh_4.Name = "BulletMesh"
- bulletmesh_4.MeshType = Enum.MeshType.FileMesh
- part_15 = Instance.new("Part", m60)
- part_15.FormFactor = Enum.FormFactor.Custom
- part_15.CanCollide = false
- part_15.Material = Enum.Material.Metal
- part_15.Size = Vector3.new(0.2, 0.2, 0.34)
- part_15.CFrame = CFrame.new(-43.342, 0.66, -20.284)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
- part_15.BrickColor = BrickColor.new("Brick yellow")
- part_15.Friction = 0.3
- bulletmesh_5 = Instance.new("SpecialMesh", part_15)
- bulletmesh_5.Offset = Vector3.new(0.3, 0.3, 0.3)
- bulletmesh_5.Scale = Vector3.new(3, 3, 3)
- bulletmesh_5.MeshId = "http://www.roblox.com/asset/?id=95387759"
- bulletmesh_5.Name = "BulletMesh"
- bulletmesh_5.MeshType = Enum.MeshType.FileMesh
- part_16 = Instance.new("Part", m60)
- part_16.FormFactor = Enum.FormFactor.Custom
- part_16.CanCollide = false
- part_16.Material = Enum.Material.Metal
- part_16.Size = Vector3.new(0.2, 0.2, 0.34)
- part_16.CFrame = CFrame.new(-43.347, 1.17, -20.784)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
- part_16.BrickColor = BrickColor.new("Brick yellow")
- part_16.Friction = 0.3
- bulletmesh_6 = Instance.new("SpecialMesh", part_16)
- bulletmesh_6.Offset = Vector3.new(0.3, 0.3, 0.3)
- bulletmesh_6.Scale = Vector3.new(3, 3, 3)
- bulletmesh_6.MeshId = "http://www.roblox.com/asset/?id=95387759"
- bulletmesh_6.Name = "BulletMesh"
- bulletmesh_6.MeshType = Enum.MeshType.FileMesh
- part_50 = Instance.new("Part", m60)
- part_50.FormFactor = Enum.FormFactor.Symmetric
- part_50.CanCollide = false
- part_50.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.Material = Enum.Material.Metal
- part_50.Size = Vector3.new(1, 1, 1)
- part_50.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.CFrame = CFrame.new(-46.287, 1.705, -20.5)* CFrame.Angles(2.8806278705597, -1.5704510211945, 2.8806276321411)
- part_50.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.BrickColor = BrickColor.new("Dark stone grey")
- part_50.Friction = 0.3
- part_50.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_42 = Instance.new("SpecialMesh", part_50)
- mesh_42.Scale = Vector3.new(0.05, 0.1, 0.1)
- mesh_42.MeshType = Enum.MeshType.Wedge
- part_18 = Instance.new("Part", m60)
- part_18.FormFactor = Enum.FormFactor.Custom
- part_18.CanCollide = false
- part_18.Material = Enum.Material.Metal
- part_18.Size = Vector3.new(0.2, 0.2, 0.34)
- part_18.CFrame = CFrame.new(-43.343, 0.93, -20.424)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
- part_18.BrickColor = BrickColor.new("Brick yellow")
- part_18.Friction = 0.3
- bulletmesh_8 = Instance.new("SpecialMesh", part_18)
- bulletmesh_8.Offset = Vector3.new(0.3, 0.3, 0.3)
- bulletmesh_8.Scale = Vector3.new(3, 3, 3)
- bulletmesh_8.MeshId = "http://www.roblox.com/asset/?id=95387759"
- bulletmesh_8.Name = "BulletMesh"
- bulletmesh_8.MeshType = Enum.MeshType.FileMesh
- part_19 = Instance.new("Part", m60)
- part_19.FormFactor = Enum.FormFactor.Symmetric
- part_19.CanCollide = false
- part_19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.Material = Enum.Material.Metal
- part_19.Size = Vector3.new(1, 1, 1)
- part_19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.CFrame = CFrame.new(-44.032, 1.62, -20.5)* CFrame.Angles(7.8315343898794e-07, -8.6724330685684e-06, -1.769436835275e-06)
- part_19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.BrickColor = BrickColor.new("Dark stone grey")
- part_19.Friction = 0.3
- part_19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_15 = Instance.new("SpecialMesh", part_19)
- mesh_15.Scale = Vector3.new(0.05, 0.05, 0.05)
- mesh_15.MeshType = Enum.MeshType.Brick
- part_20 = Instance.new("Part", m60)
- part_20.FormFactor = Enum.FormFactor.Plate
- part_20.CanCollide = false
- part_20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.Material = Enum.Material.Metal
- part_20.Size = Vector3.new(1, 0.8, 1)
- part_20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.CFrame = CFrame.new(-44.367, 1.32, -20.5)* CFrame.Angles(1.5707967281342, -1.7694397911328e-06, -1.5707904100418)
- part_20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.BrickColor = BrickColor.new("Dark stone grey")
- part_20.Friction = 0.3
- part_20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_16 = Instance.new("SpecialMesh", part_20)
- mesh_16.Scale = Vector3.new(0.15, 1.95, 0.15)
- part_21 = Instance.new("Part", m60)
- part_21.FormFactor = Enum.FormFactor.Plate
- part_21.CanCollide = false
- part_21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.Material = Enum.Material.Metal
- part_21.Size = Vector3.new(1, 1.2, 1)
- part_21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.CFrame = CFrame.new(-45.547, 1.495, -20.5)* CFrame.Angles(1.5707967281342, 3.0846084086988e-07, -1.5707895755768)
- part_21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.BrickColor = BrickColor.new("Dark stone grey")
- part_21.Friction = 0.3
- part_21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_17 = Instance.new("SpecialMesh", part_21)
- mesh_17.Scale = Vector3.new(0.15, 1.967, 0.1)
- part_22 = Instance.new("Part", m60)
- part_22.FormFactor = Enum.FormFactor.Symmetric
- part_22.CanCollide = false
- part_22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.Material = Enum.Material.Metal
- part_22.Size = Vector3.new(1, 1, 1)
- part_22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.CFrame = CFrame.new(-42.677, 0.87, -20.5)* CFrame.Angles(-1.5707956552505, -3.5224439898229e-07, -1.5708031654358)
- part_22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.BrickColor = BrickColor.new("Dark stone grey")
- part_22.Friction = 0.3
- part_22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_18 = Instance.new("SpecialMesh", part_22)
- mesh_18.Scale = Vector3.new(0.15, 0.3, 0.05)
- mesh_18.MeshType = Enum.MeshType.Wedge
- part_23 = Instance.new("Part", m60)
- part_23.FormFactor = Enum.FormFactor.Custom
- part_23.CanCollide = false
- part_23.Material = Enum.Material.Metal
- part_23.Size = Vector3.new(0.2, 0.2, 0.34)
- part_23.CFrame = CFrame.new(-43.34, 0.37, -20.134)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
- part_23.BrickColor = BrickColor.new("Brick yellow")
- part_23.Friction = 0.3
- bulletmesh_9 = Instance.new("SpecialMesh", part_23)
- bulletmesh_9.Offset = Vector3.new(0.3, 0.3, 0.3)
- bulletmesh_9.Scale = Vector3.new(3, 3, 3)
- bulletmesh_9.MeshId = "http://www.roblox.com/asset/?id=95387759"
- bulletmesh_9.Name = "BulletMesh"
- bulletmesh_9.MeshType = Enum.MeshType.FileMesh
- part_24 = Instance.new("Part", m60)
- part_24.FormFactor = Enum.FormFactor.Custom
- part_24.CanCollide = false
- part_24.Material = Enum.Material.Metal
- part_24.Size = Vector3.new(0.2, 0.2, 0.34)
- part_24.CFrame = CFrame.new(-43.345, 1.13, -20.644)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
- part_24.BrickColor = BrickColor.new("Brick yellow")
- part_24.Friction = 0.3
- bulletmesh_10 = Instance.new("SpecialMesh", part_24)
- bulletmesh_10.Offset = Vector3.new(0.3, 0.3, 0.3)
- bulletmesh_10.Scale = Vector3.new(3, 3, 3)
- bulletmesh_10.MeshId = "http://www.roblox.com/asset/?id=95387759"
- bulletmesh_10.Name = "BulletMesh"
- bulletmesh_10.MeshType = Enum.MeshType.FileMesh
- part_25 = Instance.new("Part", m60)
- part_25.FormFactor = Enum.FormFactor.Symmetric
- part_25.CanCollide = false
- part_25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.Material = Enum.Material.Metal
- part_25.Size = Vector3.new(1, 1, 1)
- part_25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.CFrame = CFrame.new(-42.902, 1.22, -20.5)* CFrame.Angles(-0.2581761777401, 1.5704510211945, -2.8834161758423)
- part_25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.BrickColor = BrickColor.new("Dark stone grey")
- part_25.Friction = 0.3
- part_25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_19 = Instance.new("SpecialMesh", part_25)
- mesh_19.Scale = Vector3.new(0.15, 0.15, 0.05)
- mesh_19.MeshType = Enum.MeshType.Wedge
- part_26 = Instance.new("Part", m60)
- part_26.FormFactor = Enum.FormFactor.Symmetric
- part_26.CanCollide = false
- part_26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.Material = Enum.Material.Metal
- part_26.Size = Vector3.new(1, 1, 1)
- part_26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.CFrame = CFrame.new(-42.677, 0.945, -20.5)* CFrame.Angles(5.9064285551358e-07, -7.1823164944362e-06, 1.8052570993632e-08)
- part_26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.BrickColor = BrickColor.new("Dark stone grey")
- part_26.Friction = 0.3
- part_26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_20 = Instance.new("SpecialMesh", part_26)
- mesh_20.Scale = Vector3.new(0.2, 0.1, 0.15)
- mesh_20.MeshType = Enum.MeshType.Brick
- part_27 = Instance.new("Part", m60)
- part_27.FormFactor = Enum.FormFactor.Plate
- part_27.CanCollide = false
- part_27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.Material = Enum.Material.Metal
- part_27.Size = Vector3.new(1, 0.4, 1)
- part_27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.CFrame = CFrame.new(-43.002, 1.135, -20.5)* CFrame.Angles(7.8002278769418e-07, -8.7022344814613e-06, -1.7633529978411e-06)
- part_27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.BrickColor = BrickColor.new("Dark stone grey")
- part_27.Friction = 0.3
- part_27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_21 = Instance.new("SpecialMesh", part_27)
- mesh_21.Scale = Vector3.new(0.25, 0.05, 0.15)
- mesh_21.MeshType = Enum.MeshType.Brick
- part_28 = Instance.new("Part", m60)
- part_28.FormFactor = Enum.FormFactor.Symmetric
- part_28.CanCollide = false
- part_28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.Material = Enum.Material.Metal
- part_28.Size = Vector3.new(1, 1, 1)
- part_28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.CFrame = CFrame.new(-43.527, 1.57, -20.5)* CFrame.Angles(7.7129374176366e-07, -8.7022344814613e-06, -1.7694371763355e-06)
- part_28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.BrickColor = BrickColor.new("Dark stone grey")
- part_28.Friction = 0.3
- part_28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_22 = Instance.new("SpecialMesh", part_28)
- mesh_22.Scale = Vector3.new(0.9, 0.05, 0.15)
- mesh_22.MeshType = Enum.MeshType.Brick
- part_29 = Instance.new("Part", m60)
- part_29.FormFactor = Enum.FormFactor.Plate
- part_29.CanCollide = false
- part_29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.Material = Enum.Material.Metal
- part_29.Size = Vector3.new(1, 0.8, 1)
- part_29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.CFrame = CFrame.new(-44.367, 1.52, -20.5)* CFrame.Angles(1.5707967281342, -1.7694397911328e-06, -1.5707904100418)
- part_29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.BrickColor = BrickColor.new("Dark stone grey")
- part_29.Friction = 0.3
- part_29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_23 = Instance.new("SpecialMesh", part_29)
- mesh_23.Scale = Vector3.new(0.15, 1.95, 0.15)
- part_30 = Instance.new("Part", m60)
- part_30.FormFactor = Enum.FormFactor.Symmetric
- part_30.CanCollide = false
- part_30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.Material = Enum.Material.Metal
- part_30.Size = Vector3.new(1, 1, 1)
- part_30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.CFrame = CFrame.new(-42.802, 0.92, -20.5)* CFrame.Angles(1.5707967281342, -1.7694397911328e-06, 1.5708022117615)
- part_30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.BrickColor = BrickColor.new("Dark stone grey")
- part_30.Friction = 0.3
- part_30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_24 = Instance.new("SpecialMesh", part_30)
- mesh_24.Scale = Vector3.new(0.15, 0.05, 0.05)
- mesh_24.MeshType = Enum.MeshType.Wedge
- part_31 = Instance.new("Part", m60)
- part_31.FormFactor = Enum.FormFactor.Symmetric
- part_31.CanCollide = false
- part_31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.Material = Enum.Material.Metal
- part_31.Size = Vector3.new(1, 1, 1)
- part_31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.CFrame = CFrame.new(-41.627, 1.57, -20.5)* CFrame.Angles(7.7545547583213e-07, -8.6724330685684e-06, -1.7694295593174e-06)
- part_31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.BrickColor = BrickColor.new("Dark stone grey")
- part_31.Friction = 0.3
- part_31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_25 = Instance.new("SpecialMesh", part_31)
- mesh_25.Scale = Vector3.new(0.3, 0.05, 0.15)
- mesh_25.MeshType = Enum.MeshType.Brick
- part_32 = Instance.new("Part", m60)
- part_32.FormFactor = Enum.FormFactor.Plate
- part_32.CanCollide = false
- part_32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.Material = Enum.Material.Metal
- part_32.Size = Vector3.new(1, 0.4, 1)
- part_32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.CFrame = CFrame.new(-44.017, 1.72, -20.5)* CFrame.Angles(7.8246955581562e-07, -8.7022344814613e-06, 1.5707979202271)
- part_32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.BrickColor = BrickColor.new("Dark stone grey")
- part_32.Friction = 0.3
- part_32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_26 = Instance.new("SpecialMesh", part_32)
- mesh_26.Scale = Vector3.new(0.15, 0.05, 0.05)
- mesh_26.MeshType = Enum.MeshType.Brick
- part_33 = Instance.new("Part", m60)
- part_33.FormFactor = Enum.FormFactor.Plate
- part_33.CanCollide = false
- part_33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.Material = Enum.Material.Metal
- part_33.Size = Vector3.new(1, 0.8, 1)
- part_33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.CFrame = CFrame.new(-45.307, 1.355, -20.5)* CFrame.Angles(1.5707967281342, -1.7630960655879e-06, -1.5707904100418)
- part_33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.BrickColor = BrickColor.new("Dark stone grey")
- part_33.Friction = 0.3
- part_33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_27 = Instance.new("SpecialMesh", part_33)
- mesh_27.Scale = Vector3.new(0.15, 1.5, 0.1)
- part_34 = Instance.new("Part", m60)
- part_34.FormFactor = Enum.FormFactor.Symmetric
- part_34.CanCollide = false
- part_34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.Material = Enum.Material.Metal
- part_34.Size = Vector3.new(1, 1, 1)
- part_34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.CFrame = CFrame.new(-44.557, 1.42, -20.5)* CFrame.Angles(2.8806278705597, -1.5704510211945, -0.26096504926682)
- part_34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.BrickColor = BrickColor.new("Dark stone grey")
- part_34.Friction = 0.3
- part_34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_28 = Instance.new("SpecialMesh", part_34)
- mesh_28.Scale = Vector3.new(0.148, 0.149, 1.194)
- mesh_28.MeshType = Enum.MeshType.Brick
- part_35 = Instance.new("Part", m60)
- part_35.FormFactor = Enum.FormFactor.Symmetric
- part_35.CanCollide = false
- part_35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.Material = Enum.Material.Metal
- part_35.Size = Vector3.new(2, 1, 1)
- part_35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.CFrame = CFrame.new(-42.727, 1.495, -20.5)* CFrame.Angles(1.2389388075462e-06, -8.4638741100207e-06, -7.7411147003659e-07)
- part_35.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.BrickColor = BrickColor.new("Dark stone grey")
- part_35.Friction = 0.3
- part_35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_29 = Instance.new("SpecialMesh", part_35)
- mesh_29.Scale = Vector3.new(1.25, 0.1, 0.15)
- mesh_29.MeshType = Enum.MeshType.Brick
- part_36 = Instance.new("Part", m60)
- part_36.FormFactor = Enum.FormFactor.Custom
- part_36.CanCollide = false
- part_36.Material = Enum.Material.Metal
- part_36.Size = Vector3.new(0.2, 0.2, 0.34)
- part_36.CFrame = CFrame.new(-43.341, 0.51, -20.224)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
- part_36.BrickColor = BrickColor.new("Brick yellow")
- part_36.Friction = 0.3
- bulletmesh_11 = Instance.new("SpecialMesh", part_36)
- bulletmesh_11.Offset = Vector3.new(0.3, 0.3, 0.3)
- bulletmesh_11.Scale = Vector3.new(3, 3, 3)
- bulletmesh_11.MeshId = "http://www.roblox.com/asset/?id=95387759"
- bulletmesh_11.Name = "BulletMesh"
- bulletmesh_11.MeshType = Enum.MeshType.FileMesh
- part_37 = Instance.new("Part", m60)
- part_37.FormFactor = Enum.FormFactor.Plate
- part_37.CanCollide = false
- part_37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_37.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_37.Material = Enum.Material.Metal
- part_37.Size = Vector3.new(1, 0.4, 1)
- part_37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_37.CFrame = CFrame.new(-46.397, 1.58, -20.5)* CFrame.Angles(7.7501903206212e-07, -8.7022344814613e-06, 1.5707979202271)
- part_37.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_37.BrickColor = BrickColor.new("Dark stone grey")
- part_37.Friction = 0.3
- part_37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_30 = Instance.new("SpecialMesh", part_37)
- mesh_30.Scale = Vector3.new(0.15, 0.05, 0.05)
- mesh_30.MeshType = Enum.MeshType.Brick
- part_38 = Instance.new("Part", m60)
- part_38.FormFactor = Enum.FormFactor.Symmetric
- part_38.CanCollide = false
- part_38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_38.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_38.Material = Enum.Material.Metal
- part_38.Size = Vector3.new(1, 1, 1)
- part_38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_38.CFrame = CFrame.new(-43.627, 1.22, -20.375)* CFrame.Angles(-3.1415917873383, 8.6724330685684e-06, 1.7694295593174e-06)
- part_38.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_38.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_38.BrickColor = BrickColor.new("Dark stone grey")
- part_38.Friction = 0.3
- part_38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_31 = Instance.new("SpecialMesh", part_38)
- mesh_31.Scale = Vector3.new(0.396, 0.449, 0.199)
- mesh_31.MeshType = Enum.MeshType.Brick
- part_39 = Instance.new("Part", m60)
- part_39.FormFactor = Enum.FormFactor.Plate
- part_39.CanCollide = false
- part_39.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_39.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_39.Material = Enum.Material.Metal
- part_39.Size = Vector3.new(1, 0.4, 1)
- part_39.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_39.CFrame = CFrame.new(-43.837, 1.445, -20.35)* CFrame.Angles(7.6999185694149e-07, -8.7022344814613e-06, 1.5707979202271)
- part_39.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_39.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_39.BrickColor = BrickColor.new("Dark stone grey")
- part_39.Friction = 0.3
- part_39.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_32 = Instance.new("SpecialMesh", part_39)
- mesh_32.Scale = Vector3.new(0.2, 0.05, 0.15)
- mesh_32.MeshType = Enum.MeshType.Brick
- part_40 = Instance.new("Part", m60)
- part_40.FormFactor = Enum.FormFactor.Custom
- part_40.CanCollide = false
- part_40.Material = Enum.Material.Metal
- part_40.Size = Vector3.new(0.2, 0.2, 0.34)
- part_40.CFrame = CFrame.new(-43.344, 1.04, -20.524)* CFrame.Angles(-0.00063977972604334, -1.5613787174225, -0.00049307395238429)
- part_40.BrickColor = BrickColor.new("Brick yellow")
- part_40.Friction = 0.3
- bulletmesh_12 = Instance.new("SpecialMesh", part_40)
- bulletmesh_12.Offset = Vector3.new(0.3, 0.3, 0.3)
- bulletmesh_12.Scale = Vector3.new(3, 3, 3)
- bulletmesh_12.MeshId = "http://www.roblox.com/asset/?id=95387759"
- bulletmesh_12.Name = "BulletMesh"
- bulletmesh_12.MeshType = Enum.MeshType.FileMesh
- part_41 = Instance.new("Part", m60)
- part_41.FormFactor = Enum.FormFactor.Symmetric
- part_41.CanCollide = false
- part_41.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_41.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_41.Material = Enum.Material.Metal
- part_41.Size = Vector3.new(2, 1, 1)
- part_41.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_41.CFrame = CFrame.new(-42.727, 1.37, -20.5)* CFrame.Angles(7.7545547583213e-07, -8.6575309978798e-06, -1.7694294456305e-06)
- part_41.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_41.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_41.BrickColor = BrickColor.new("Dark stone grey")
- part_41.Friction = 0.3
- part_41.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_33 = Instance.new("SpecialMesh", part_41)
- mesh_33.Scale = Vector3.new(1.25, 0.15, 0.15)
- mesh_33.MeshType = Enum.MeshType.Brick
- part_42 = Instance.new("Part", m60)
- part_42.FormFactor = Enum.FormFactor.Symmetric
- part_42.CanCollide = false
- part_42.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_42.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_42.Material = Enum.Material.Metal
- part_42.Size = Vector3.new(1, 1, 1)
- part_42.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_42.CFrame = CFrame.new(-43.552, 1.27, -20.5)* CFrame.Angles(7.7079295124349e-07, -8.7022344814613e-06, -1.7636640450291e-06)
- part_42.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_42.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_42.BrickColor = BrickColor.new("Dark stone grey")
- part_42.Friction = 0.3
- part_42.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_34 = Instance.new("SpecialMesh", part_42)
- mesh_34.Scale = Vector3.new(0.85, 0.05, 0.15)
- mesh_34.MeshType = Enum.MeshType.Brick
- part_43 = Instance.new("Part", m60)
- part_43.FormFactor = Enum.FormFactor.Symmetric
- part_43.CanCollide = false
- part_43.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_43.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_43.Material = Enum.Material.Metal
- part_43.Size = Vector3.new(1, 1, 1)
- part_43.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_43.CFrame = CFrame.new(-46.362, 1.68, -20.5)* CFrame.Angles(-0.26096475124359, 1.5704510211945, 0.26096504926682)
- part_43.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_43.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_43.BrickColor = BrickColor.new("Dark stone grey")
- part_43.Friction = 0.3
- part_43.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_35 = Instance.new("SpecialMesh", part_43)
- mesh_35.Scale = Vector3.new(0.05, 0.05, 0.05)
- mesh_35.MeshType = Enum.MeshType.Wedge
- part_44 = Instance.new("Part", m60)
- part_44.FormFactor = Enum.FormFactor.Symmetric
- part_44.CanCollide = false
- part_44.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_44.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_44.Material = Enum.Material.Metal
- part_44.Size = Vector3.new(1, 1, 1)
- part_44.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_44.CFrame = CFrame.new(-45.762, 1.42, -20.5)* CFrame.Angles(2.880912065506, -1.5703080892563, -0.25942268967628)
- part_44.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_44.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_44.BrickColor = BrickColor.new("Dark stone grey")
- part_44.Friction = 0.3
- part_44.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_36 = Instance.new("SpecialMesh", part_44)
- mesh_36.Scale = Vector3.new(0.049, 0.149, 0.1)
- mesh_36.MeshType = Enum.MeshType.Brick
- part_45 = Instance.new("Part", m60)
- part_45.FormFactor = Enum.FormFactor.Symmetric
- part_45.CanCollide = false
- part_45.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_45.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_45.Material = Enum.Material.Metal
- part_45.Size = Vector3.new(1, 1, 1)
- part_45.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_45.CFrame = CFrame.new(-42.827, 1.57, -20.5)* CFrame.Angles(2.8857929706573, -1.5704510211945, 2.887020111084)
- part_45.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_45.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_45.BrickColor = BrickColor.new("Dark stone grey")
- part_45.Friction = 0.3
- part_45.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_37 = Instance.new("SpecialMesh", part_45)
- mesh_37.Scale = Vector3.new(0.15, 0.05, 0.5)
- mesh_37.MeshType = Enum.MeshType.Wedge
- part_46 = Instance.new("Part", m60)
- part_46.FormFactor = Enum.FormFactor.Plate
- part_46.CanCollide = false
- part_46.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_46.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_46.Material = Enum.Material.Metal
- part_46.Size = Vector3.new(1, 0.4, 1)
- part_46.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_46.CFrame = CFrame.new(-43.417, 1.445, -20.35)* CFrame.Angles(7.7546997090394e-07, -8.6724330685684e-06, 1.5707979202271)
- part_46.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_46.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_46.BrickColor = BrickColor.new("Dark stone grey")
- part_46.Friction = 0.3
- part_46.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_38 = Instance.new("SpecialMesh", part_46)
- mesh_38.Scale = Vector3.new(0.2, 0.05, 0.15)
- mesh_38.MeshType = Enum.MeshType.Brick
- part_47 = Instance.new("Part", m60)
- part_47.FormFactor = Enum.FormFactor.Symmetric
- part_47.CanCollide = false
- part_47.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_47.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_47.Material = Enum.Material.Metal
- part_47.Size = Vector3.new(1, 1, 1)
- part_47.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_47.CFrame = CFrame.new(-43.102, 1.22, -20.5)* CFrame.Angles(2.8870434761047, -1.5704510211945, 2.8870432376862)
- part_47.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_47.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_47.BrickColor = BrickColor.new("Dark stone grey")
- part_47.Friction = 0.3
- part_47.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_39 = Instance.new("SpecialMesh", part_47)
- mesh_39.Scale = Vector3.new(0.15, 0.15, 0.05)
- mesh_39.MeshType = Enum.MeshType.Wedge
- part_48 = Instance.new("Part", m60)
- part_48.FormFactor = Enum.FormFactor.Symmetric
- part_48.CanCollide = false
- part_48.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_48.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_48.Material = Enum.Material.Metal
- part_48.Size = Vector3.new(1, 1, 1)
- part_48.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_48.CFrame = CFrame.new(-46.212, 1.58, -20.5)* CFrame.Angles(2.880912065506, -1.5703080892563, 2.8821699619293)
- part_48.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_48.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_48.BrickColor = BrickColor.new("Dark stone grey")
- part_48.Friction = 0.3
- part_48.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_40 = Instance.new("SpecialMesh", part_48)
- mesh_40.Scale = Vector3.new(0.05, 0.15, 0.05)
- mesh_40.MeshType = Enum.MeshType.Wedge
- part_49 = Instance.new("Part", m60)
- part_49.FormFactor = Enum.FormFactor.Plate
- part_49.CanCollide = false
- part_49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_49.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_49.Material = Enum.Material.Metal
- part_49.Size = Vector3.new(1, 0.4, 1)
- part_49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_49.CFrame = CFrame.new(-46.247, 1.58, -20.5)* CFrame.Angles(7.7501903206212e-07, -8.7022344814613e-06, 1.5707979202271)
- part_49.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_49.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_49.BrickColor = BrickColor.new("Dark stone grey")
- part_49.Friction = 0.3
- part_49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_41 = Instance.new("SpecialMesh", part_49)
- mesh_41.Scale = Vector3.new(0.15, 0.05, 0.05)
- mesh_41.MeshType = Enum.MeshType.Brick
- m60:BreakJoints()
- local prev
- local parts = m60:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then
- if (prev ~= nil)then
- if parts[i]:FindFirstChild("Weld") then parts[i]:FindFirstChild("Weld"):Destroy() end
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- parts[i].CanCollide = false
- end
- prev = parts[i]
- end
- end
- m60:MakeJoints()
- weld(ra, tor, CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),0,0))
- weld(la, tor, CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
- m60.Handle.Weld.Name = "Weld2"
- weld(m60.Handle, ra, CFrame.new(.6,-.2,0)*CFrame.Angles(math.rad(90),0,math.rad(-90)))
- ---------
- ---Clothing------------------------------------------------------
- wait(1)
- if char:FindFirstChild("Shirt") then
- char.Shirt:Destroy()
- end
- if char:FindFirstChild("Pants") then
- char.Pants:Destroy()
- end
- if char:FindFirstChild("Shirt Graphic") then
- char["Shirt Graphic"]:Destroy()
- end
- if char.Torso:FindFirstChild("roblox") then
- char.Torso.roblox:Destroy()
- end
- local hid0r = char:GetChildren()
- for i=1, #hid0r do
- if (hid0r[i].className == "Accessory") then hid0r[i]:remove()
- end
- end
- local Shirt = Instance.new("Shirt",char)
- Shirt.Name = "Shirt"
- local Pants = Instance.new("Pants",char)
- Pants.Name = "Pants"
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=231237881"
- Pants.PantsTemplate = "http://www.roblox.com/asset/?id=231237713"
- -----------------------------------------------------------------
- local gungui = Instance.new("GuiMain", player.PlayerGui)
- gungui.Name = "GunGUI"
- main = Instance.new("Frame", gungui)
- main.ZIndex = 2
- main.Size = UDim2.new(0, 120, 0, 75)
- main.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- main.Name = "Main"
- main.Position = UDim2.new(1, -250, 1, -100)
- main.BorderSizePixel = 0
- main.BackgroundTransparency = 1
- main.BackgroundColor3 = Color3.new(1, 1, 1)
- local amount = Instance.new("TextLabel", main)
- amount.TextStrokeTransparency = 0.8
- amount.BackgroundColor3 = Color3.new(1, 1, 1)
- amount.BackgroundTransparency = 1
- amount.Size = UDim2.new(0.5, 0, 0.5, 0)
- amount.TextColor3 = Color3.new(1, 1, 1)
- amount.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- amount.Text = "["..ammo.."/"..maxammo.."]"
- amount.Position = UDim2.new(0.25, 0, 0, 20)
- amount.Font = Enum.Font.SourceSansBold
- amount.Name = "Amount"
- amount.FontSize = Enum.FontSize.Size36
- borders = Instance.new("Frame", main)
- borders.ZIndex = 2
- borders.Size = UDim2.new(1, 0, 1, 0)
- borders.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- borders.Name = "Borders"
- borders.BackgroundTransparency = 1
- borders.BackgroundColor3 = Color3.new(1, 1, 1)
- gname = Instance.new("TextLabel", main)
- gname.TextStrokeTransparency = 0.8
- gname.BackgroundColor3 = Color3.new(1, 1, 1)
- gname.BackgroundTransparency = 1
- gname.Size = UDim2.new(0.5, 0, 0.5, 0)
- gname.TextColor3 = Color3.new(1, 1, 1)
- gname.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- gname.Text = "M60"
- gname.Position = UDim2.new(0.25, 0, 0, -20)
- gname.Font = Enum.Font.SourceSansBold
- gname.Name = "gname"
- gname.FontSize = Enum.FontSize.Size36
- desc = Instance.new("TextLabel", main)
- desc.TextStrokeTransparency = 0.8
- desc.BackgroundColor3 = Color3.new(1, 1, 1)
- desc.BackgroundTransparency = 1
- desc.Size = UDim2.new(0.5, 0, 0.5, 0)
- desc.TextColor3 = Color3.new(1, 1, 1)
- desc.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- desc.Text = "Vietnam War Era Machine Gun"
- desc.Position = UDim2.new(0.25, 0, 0, 50)
- desc.Font = Enum.Font.SourceSansBold
- desc.Name = "desc"
- desc.FontSize = Enum.FontSize.Size18
- local hitm = Instance.new("ImageLabel", gungui)
- hitm.Visible = false
- hitm.BorderSizePixel = 0
- hitm.Image = "http://www.roblox.com/asset/?id=131358529"
- hitm.Name = "Hit"
- hitm.Position = UDim2.new(0, 938, 0, 198)
- hitm.BorderColor3 = Color3.new(0, 0, 0)
- hitm.BackgroundTransparency = 1
- hitm.Size = UDim2.new(0, 45, 0, 45)
- hitm.BackgroundColor3 = Color3.new(0, 0, 0)
- --mouse.TargetFilter = workspace
- mouse.Move:connect(function(key)
- --mouse.Icon = "http://www.roblox.com/asset/?id=316279304"
- hitm.Position = UDim2.new(0, mouse.X-22.5, 0, mouse.Y-22.5)
- end)
- local firing = false
- local gf1 = Instance.new("Sound")
- gf1.SoundId="http://www.roblox.com/asset/?id=165946448"
- gf1.PlayOnRemove=false
- gf1.Volume=0.8
- gf1.Looped=false
- gf1.Pitch = 1
- gf1.MaxDistance = 60
- gf1.Parent=m60.Barrel
- function fireanim()
- if firing == false then
- firing = true
- gf1:Play()
- ammo = ammo - 1
- amount.Text = "["..ammo.."/"..maxammo.."]"
- animate(ra,.3,CFrame.new(-1,-.4,.2)*CFrame.Angles(math.rad(-100),math.rad(0),0))
- animate(la,.3,CFrame.new(-.2,.8,.19)*CFrame.Angles(math.rad(-100),math.rad(10),0))
- pcall(function()
- local mpos=mouse.Hit.p
- local ray=Ray.new(m60.newp.CFrame.p,(mpos-m60.newp.CFrame.p).unit*999)
- local Ignore = {char}
- local rhit,bpos=game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
- while rhit and rhit.Parent:IsA("Accessory") do
- table.insert(Ignore, rhit)
- rhit, bpos = game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
- return rhit, bpos
- end
- local shell = Instance.new("Part")
- shell.CFrame = m60.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,0)
- shell.Size = Vector3.new(1,1,1)
- shell.BrickColor = BrickColor.new(24)
- shell.BottomSurface = 0
- shell.TopSurface = 0
- shell.Name = "Shell"
- shell.Velocity = m60.Chamber.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
- shell.RotVelocity = Vector3.new(0,200,0)
- shell.CanCollide = false
- shell.Parent = workspace
- local shellmesh = Instance.new("SpecialMesh")
- shellmesh.Scale = Vector3.new(.1,.25,.1)
- shellmesh.Parent = shell
- game.Debris:AddItem(shell,1)
- coroutine.resume(coroutine.create(function()
- wait()
- m60.MuzzleFlash.Transparency = 0.3
- m60.MuzzleFlash.PointLight.Enabled = true
- wait()
- m60.MuzzleFlash.Transparency = 1
- m60.MuzzleFlash.PointLight.Enabled = false
- end))
- if rhit.Parent:FindFirstChild("Humanoid") then
- local h = rhit.Parent.Humanoid
- local damage = math.random(5,8)
- bleed(rhit,0,1)
- coroutine.resume(coroutine.create(function()
- hitm.Rotation = math.random(1, 360)
- hitm.Visible = true
- wait(.1)
- hitm.Visible = false
- end))
- local hitms = Instance.new("Sound")
- hitms.SoundId="rbxassetid://131864673"
- hitms.PlayOnRemove=false
- hitms.Volume=0.7
- hitms.Looped=false
- hitms.Pitch = 1
- hitms.Parent=player.PlayerGui
- hitms:Play()
- game.Debris:AddItem(hitms,1)
- local hitsound = Instance.new("Sound")
- hitsound.SoundId="rbxassetid://151130059"
- hitsound.PlayOnRemove=false
- hitsound.Volume=.8
- hitsound.MaxDistance = 60
- hitsound.Looped=false
- hitsound.Pitch = 1
- hitsound.Parent=rhit
- hitsound:Play()
- h:TakeDamage(damage)
- local guiMain = Instance.new("BillboardGui",h.Parent.Head)
- guiMain.AlwaysOnTop = true
- guiMain.Size = UDim2.new(5,5,5)
- guiMain.Name = "guiMain"
- local bar3 = Instance.new("TextLabel")
- bar3.Position = UDim2.new(0, 50, 0, 0)
- bar3.Size = UDim2.new(0, 100, 0, 100)
- bar3.Parent = guiMain;
- bar3.BackgroundColor3 = Color3.new(255/255,255/255,255/255)
- bar3.BorderColor3 = Color3.new(27/255,42/255,53/255)
- bar3.BackgroundTransparency = 1
- bar3.BorderSizePixel = 1
- bar3.Text = damage
- bar3.TextColor3 = Color3.new(255/255,0/255,0/255)
- bar3.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
- bar3.TextStrokeTransparency = 1
- bar3.Font = "SourceSans"
- bar3.FontSize = Enum.FontSize.Size24
- coroutine.resume(coroutine.create(function()
- wait(.2) guiMain:Destroy()
- end))
- end
- end)
- wait(.1)
- animate(ra,.3,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
- animate(la,.3,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
- firing = false
- end
- end
- function fireanim2()
- if firing == false then
- firing = true
- gf1:Play()
- ammo = ammo - 1
- amount.Text = "["..ammo.."/"..maxammo.."]"
- animate(ra,.4,CFrame.new(-1,-.4,.2)*CFrame.Angles(math.rad(-100),math.rad(0),0))
- animate(la,.4,CFrame.new(-.2,.8,.19)*CFrame.Angles(math.rad(-100),math.rad(10),0))
- pcall(function()
- local mpos=mouse.Hit.p
- local ray=Ray.new(m60.newp.CFrame.p,(mpos-m60.newp.CFrame.p).unit*999)
- local Ignore = {char}
- local rhit,bpos=game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
- while rhit and rhit.Parent:IsA("Accessory") do
- table.insert(Ignore, rhit)
- rhit, bpos = game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
- return rhit, bpos
- end
- local shell = Instance.new("Part")
- shell.CFrame = m60.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,0)
- shell.Size = Vector3.new(1,1,1)
- shell.BrickColor = BrickColor.new(24)
- shell.BottomSurface = 0
- shell.TopSurface = 0
- shell.Name = "Shell"
- shell.Velocity = m60.Chamber.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
- shell.RotVelocity = Vector3.new(0,200,0)
- shell.CanCollide = false
- shell.Parent = workspace
- local shellmesh = Instance.new("SpecialMesh")
- shellmesh.Scale = Vector3.new(.1,.25,.1)
- shellmesh.Parent = shell
- game.Debris:AddItem(shell,1)
- coroutine.resume(coroutine.create(function()
- wait()
- m60.MuzzleFlash.Transparency = 0.3
- m60.MuzzleFlash.PointLight.Enabled = true
- wait()
- m60.MuzzleFlash.Transparency = 1
- m60.MuzzleFlash.PointLight.Enabled = false
- end))
- if rhit.Parent:FindFirstChild("Humanoid") then
- local h = rhit.Parent.Humanoid
- local damage = math.random(5,8)
- bleed(rhit,0,1)
- coroutine.resume(coroutine.create(function()
- hitm.Rotation = math.random(1, 360)
- hitm.Visible = true
- wait(.1)
- hitm.Visible = false
- end))
- local hitms = Instance.new("Sound")
- hitms.SoundId="rbxassetid://131864673"
- hitms.PlayOnRemove=false
- hitms.Volume=0.7
- hitms.Looped=false
- hitms.Pitch = 1
- hitms.Parent=player.PlayerGui
- hitms:Play()
- game.Debris:AddItem(hitms,1)
- local hitsound = Instance.new("Sound")
- hitsound.SoundId="rbxassetid://151130059"
- hitsound.PlayOnRemove=false
- hitsound.Volume=.8
- hitsound.MaxDistance = 60
- hitsound.Looped=false
- hitsound.Pitch = 1
- hitsound.Parent=rhit
- hitsound:Play()
- h:TakeDamage(damage)
- local guiMain = Instance.new("BillboardGui",h.Parent.Head)
- guiMain.AlwaysOnTop = true
- guiMain.Size = UDim2.new(5,5,5)
- guiMain.Name = "guiMain"
- local bar3 = Instance.new("TextLabel")
- bar3.Position = UDim2.new(0, 50, 0, 0)
- bar3.Size = UDim2.new(0, 100, 0, 100)
- bar3.Parent = guiMain;
- bar3.BackgroundColor3 = Color3.new(255/255,255/255,255/255)
- bar3.BorderColor3 = Color3.new(27/255,42/255,53/255)
- bar3.BackgroundTransparency = 1
- bar3.BorderSizePixel = 1
- bar3.Text = damage
- bar3.TextColor3 = Color3.new(255/255,0/255,0/255)
- bar3.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
- bar3.TextStrokeTransparency = 1
- bar3.Font = "SourceSans"
- bar3.FontSize = Enum.FontSize.Size24
- coroutine.resume(coroutine.create(function()
- wait(.2) guiMain:Destroy()
- end))
- end
- end)
- wait(.1)
- animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
- animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
- firing = false
- end
- end
- function castray()
- pcall(function()
- local mpos=mouse.Hit.p
- local ray=Ray.new(m60.newp.CFrame.p,(mpos-m60.newp.CFrame.p).unit*999)
- local Ignore = {char}
- local rhit,bpos=game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
- while rhit and rhit.Parent:IsA("Accessory") do
- table.insert(Ignore, rhit)
- rhit, bpos = game.Workspace:FindPartOnRayWithIgnoreList(ray, Ignore)
- return rhit, bpos
- end
- local shell = Instance.new("Part")
- shell.CFrame = m60.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,0)
- shell.Size = Vector3.new(1,1,1)
- shell.BrickColor = BrickColor.new(24)
- shell.BottomSurface = 0
- shell.TopSurface = 0
- shell.Name = "Shell"
- shell.Velocity = m60.Chamber.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
- shell.RotVelocity = Vector3.new(0,200,0)
- shell.CanCollide = false
- shell.Parent = workspace
- local shellmesh = Instance.new("SpecialMesh")
- shellmesh.Scale = Vector3.new(.1,.25,.1)
- shellmesh.Parent = shell
- game.Debris:AddItem(shell,1)
- coroutine.resume(coroutine.create(function()
- wait()
- m60.MuzzleFlash.Transparency = 0.3
- m60.MuzzleFlash.PointLight.Enabled = true
- wait()
- m60.MuzzleFlash.Transparency = 1
- m60.MuzzleFlash.PointLight.Enabled = false
- end))
- if rhit.Parent:FindFirstChild("Humanoid") then
- local h = rhit.Parent.Humanoid
- if rhit.Parent:FindFirstChild("ForceField") then rhit.Parent.ForceField:Destroy() end
- local damage = math.random(5,8)
- bleed(rhit,0,1)
- coroutine.resume(coroutine.create(function()
- hitm.Rotation = math.random(1, 360)
- hitm.Visible = true
- wait(.1)
- hitm.Visible = false
- end))
- local hitms = Instance.new("Sound")
- hitms.SoundId="rbxassetid://131864673"
- hitms.PlayOnRemove=false
- hitms.Volume=0.7
- hitms.Looped=false
- hitms.Pitch = 1
- hitms.Parent=player.PlayerGui
- hitms:Play()
- game.Debris:AddItem(hitms,1)
- local hitsound = Instance.new("Sound")
- hitsound.SoundId="rbxassetid://151130059"
- hitsound.PlayOnRemove=false
- hitsound.Volume=.8
- hitsound.MaxDistance = 60
- hitsound.Looped=false
- hitsound.Pitch = 1
- hitsound.Parent=rhit
- hitsound:Play()
- h:TakeDamage(damage)
- local guiMain = Instance.new("BillboardGui",h.Parent.Head)
- guiMain.AlwaysOnTop = true
- guiMain.Size = UDim2.new(5,5,5)
- guiMain.Name = "guiMain"
- local bar3 = Instance.new("TextLabel")
- bar3.Position = UDim2.new(0, 50, 0, 0)
- bar3.Size = UDim2.new(0, 100, 0, 100)
- bar3.Parent = guiMain;
- bar3.BackgroundColor3 = Color3.new(255/255,255/255,255/255)
- bar3.BorderColor3 = Color3.new(27/255,42/255,53/255)
- bar3.BackgroundTransparency = 1
- bar3.BorderSizePixel = 1
- bar3.Text = damage
- bar3.TextColor3 = Color3.new(255/255,0/255,0/255)
- bar3.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
- bar3.TextStrokeTransparency = 1
- bar3.Font = "SourceSans"
- bar3.FontSize = Enum.FontSize.Size24
- coroutine.resume(coroutine.create(function()
- wait(.2) guiMain:Destroy()
- end))
- end
- end)
- end
- function fireanim3()
- if firing == false then
- firing = true
- gf1:Play()
- ammo = ammo - 1
- amount.Text = "["..ammo.."/"..maxammo.."]"
- animate(ra,.4,CFrame.new(-1,-.4,.2)*CFrame.Angles(math.rad(-100),math.rad(0),0))
- animate(la,.4,CFrame.new(-.2,.8,.19)*CFrame.Angles(math.rad(-100),math.rad(10),0))
- castray()
- wait(.1)
- animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
- animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
- wait(.1)
- animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(-10),0))
- animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(0),0))
- wait(.1)
- gf1:Play()
- ammo = ammo - 1
- amount.Text = "["..ammo.."/"..maxammo.."]"
- animate(ra,.4,CFrame.new(-1,-.4,.2)*CFrame.Angles(math.rad(-100),math.rad(-10),0))
- animate(la,.4,CFrame.new(-.2,.8,.19)*CFrame.Angles(math.rad(-100),math.rad(0),0))
- castray()
- wait(.1)
- animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
- animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
- wait(.1)
- animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(20),0))
- animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(20),0))
- wait(.1)
- gf1:Play()
- ammo = ammo - 1
- amount.Text = "["..ammo.."/"..maxammo.."]"
- animate(ra,.4,CFrame.new(-1,-.4,.2)*CFrame.Angles(math.rad(-100),math.rad(10),0))
- animate(la,.4,CFrame.new(-.2,.8,.19)*CFrame.Angles(math.rad(-100),math.rad(10),0))
- castray()
- wait(.1)
- animate(ra,.4,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
- animate(la,.4,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
- firing = false
- end
- end
- local mousedown = false
- mouse.Button1Down:connect(function()
- if mousedown == false and firing == false then
- mousedown = true
- while mousedown == true do wait(.1)
- if firing == false then
- fireanim()
- end
- end
- end
- end)
- mouse.Button1Up:connect(function()
- mousedown = false
- end)
- local animating = false
- function sprintanim()
- if animating == false then
- animating = true
- animate(ra,.2,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-80),math.rad(-40),0))
- animate(la,.2,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-80),math.rad(-40),0))
- wait(.2)
- animate(ra,.2,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-80),math.rad(10),0))
- animate(la,.2,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-80),math.rad(10),0))
- wait(.2)
- animate(ra,.2,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
- animate(la,.2,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(0),0))
- animating = false
- end
- end
- local sprinting = false
- mouse.KeyDown:connect(function(sprint)
- if sprint:byte() == 48 and firing == false and animating == false then
- if sprinting == false then
- sprinting = true
- char.Humanoid.WalkSpeed = 30
- while sprinting == true and firing == false and animating == false and sprinting == true do wait(.1)
- sprintanim()
- end
- end
- end
- end)
- mouse.KeyUp:connect(function(sprint)
- if sprint:byte() == 48 and firing == false then
- sprinting = false
- char.Humanoid.WalkSpeed = 16
- end
- end)
- local cpressed = false
- local cooldown2 = false
- local walkspeed = nil
- mouse.KeyDown:connect(function(key)
- if key == "c" and cooldown2 == false then
- cpressed = true
- cooldown2 = true
- walkspeed = char.Humanoid.WalkSpeed
- tor["Right Hip"].Part1 = nil
- tor["Left Hip"].Part1 = nil
- weld(ll, tor, CFrame.new(.5,2,0)*CFrame.Angles(math.rad(0),0,0))
- weld(rl, tor, CFrame.new(-.5,2,0)*CFrame.Angles(math.rad(0),0,0))
- coroutine.resume(coroutine.create(function()
- animate2(rl,.2,CFrame.new(-.5,1,1)*CFrame.Angles(math.rad(40),0,0))
- end))
- animate2(ll,.2,CFrame.new(.5,1,1)*CFrame.Angles(math.rad(0),0,0))
- camera.CameraSubject = char.Head
- local collider = Instance.new("Part",char)
- collider.Transparency = 1
- collider.CanCollide = true
- collider.Size = Vector3.new(2, 0.2, 3)
- collider.Name = "Collider"
- collider:BreakJoints()
- weld(collider, char.Head, CFrame.new(0,.5,0))
- char.HumanoidRootPart.RootJoint.Part1 = collider
- char.Humanoid.WalkSpeed = 5
- cooldown2 = false
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "c" then
- cpressed = false
- coroutine.resume(coroutine.create(function()
- animate(rl,.2,CFrame.new(-.5,2,1)*CFrame.Angles(math.rad(0),0,0))
- end))
- animate(ll,.2,CFrame.new(.5,2,1)*CFrame.Angles(math.rad(0),0,0))
- camera.CameraSubject = char.Humanoid
- char.HumanoidRootPart.RootJoint.Part1 = char.Torso
- char.Collider:Destroy()
- if rl:FindFirstChild("Weld") then rl.Weld:Destroy() end
- tor["Right Hip"].Part1 = rl
- if ll:FindFirstChild("Weld") then ll.Weld:Destroy() end
- tor["Left Hip"].Part1 = ll
- char.Humanoid.WalkSpeed = walkspeed
- end
- end)
- local dth2 = Instance.new("Sound")
- dth2.SoundId="rbxasset://sounds/uuhhh.wav"
- dth2.PlayOnRemove=false
- dth2.Volume=0.7
- dth2.Looped=false
- dth2.Pitch = 1
- dth2.Parent = handle
- function suicide()
- firing = true
- animate(ra,.2,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(0),0))
- animate(la,.2,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(0),0))
- wait()
- animate(ra,.2,CFrame.new(-1,.5,.2)*CFrame.Angles(math.rad(-90),math.rad(-20),0))
- animate(la,.2,CFrame.new(1,1,.2)*CFrame.Angles(math.rad(-90),math.rad(20),0))
- m60.Handle.Weld.C0 = CFrame.new(-3.2,-.2,.8)*CFrame.Angles(math.rad(90),math.rad(40),math.rad(60))
- wait(1)
- gf1:Play()
- ammo = ammo - 1
- amount.Text = "["..ammo.."/"..maxammo.."]"
- local shell = Instance.new("Part")
- shell.CFrame = m60.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,0)
- shell.Size = Vector3.new(1,1,1)
- shell.BrickColor = BrickColor.new(24)
- shell.BottomSurface = 0
- shell.TopSurface = 0
- shell.Name = "Shell"
- shell.Velocity = m60.Chamber.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
- shell.RotVelocity = Vector3.new(0,200,0)
- shell.CanCollide = false
- shell.Parent = workspace
- local shellmesh = Instance.new("SpecialMesh")
- shellmesh.Scale = Vector3.new(.1,.25,.1)
- shellmesh.Parent = shell
- game.Debris:AddItem(shell,1)
- coroutine.resume(coroutine.create(function()
- wait()
- m60.MuzzleFlash.Transparency = 0.3
- m60.MuzzleFlash.PointLight.Enabled = true
- wait()
- m60.MuzzleFlash.Transparency = 1
- m60.MuzzleFlash.PointLight.Enabled = false
- end))
- char.Head.BrickColor = BrickColor.new("Crimson")
- bleed(char.Head,0,100,50)
- m60.Handle.Weld:Destroy()
- m60.Parent = workspace
- animate(ra,.2,CFrame.new(-1.5,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
- animate(la,.2,CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
- local bodygyro = Instance.new("BodyGyro",char.Torso)
- bodygyro.CFrame = CFrame.new(0,0,0)*CFrame.Angles(0,0,math.rad(90))
- wait()
- char.Humanoid.PlatformStand = true
- if char.Humanoid.Health >100 then
- char.Humanoid.Health = 100
- end
- while char.Humanoid.Health >0 do wait(.5)
- char.Humanoid:TakeDamage(10)
- local dths2 = dth2:Clone()
- dths2.Parent = char.Head
- dths2.Pitch = math.random(90,110)/100
- dths2:Play()
- game.Debris:AddItem(dths2,.5)
- end
- end
- local swingsound = Instance.new("Sound")
- swingsound.SoundId="rbxassetid://210946558"
- swingsound.PlayOnRemove=false
- swingsound.Volume=.5
- swingsound.MaxDistance = 60
- swingsound.Looped=false
- swingsound.Pitch = 1
- swingsound.Parent=la
- function punchanim()
- animate(la,.2,CFrame.new(1,1,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
- wait(.2)
- swingsound:Play()
- animate(la,.2,CFrame.new(1,.1,.19)*CFrame.Angles(math.rad(-90),math.rad(-20),0))
- wait(.2)
- animate(la,.2,CFrame.new(1,2,.19)*CFrame.Angles(math.rad(-90),math.rad(20),0))
- for _,guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy~=char and (guy:FindFirstChild("Torso").Position-la.Position).magnitude<5 then
- guy.Humanoid:TakeDamage(math.random(10,12))
- local hitsound = Instance.new("Sound")
- hitsound.SoundId="rbxassetid://743886825"
- hitsound.PlayOnRemove=false
- hitsound.Volume=.5
- hitsound.MaxDistance = 60
- hitsound.Looped=false
- hitsound.Pitch = 1
- hitsound.Parent=guy.Torso
- hitsound:Play()
- game.Debris:AddItem(hitsound,1)
- guy.Humanoid.PlatformStand = true
- end
- end
- wait(.2)
- animate(la,.2,CFrame.new(1,1,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
- wait(.2)
- animate(la,.2,CFrame.new(-.2,1.8,.19)*CFrame.Angles(math.rad(-90),math.rad(10),0))
- end
- mouse.KeyDown:connect(function(key)
- if key == "f" and firing == false then
- for i = 1,3 do wait()
- fireanim2()
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "g" and firing == false then
- fireanim3()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "z" and firing == false then
- punchanim()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- suicide()
- end
- end)
- while true do wait()
- pcall(function()
- if Vector3.new(tor.Velocity.x,0,tor.Velocity.z).magnitude > 1 and cpressed == true then
- if ll:FindFirstChild("Weld") and rl:FindFirstChild("Weld") then
- animate2(ll,.2,CFrame.new(.5,1,1)*CFrame.Angles(math.rad(40),0,0))
- animate2(rl,.2,CFrame.new(-.5,1,1)*CFrame.Angles(math.rad(0),0,0))
- wait(.01)
- animate2(rl,.2,CFrame.new(-.5,1,1)*CFrame.Angles(math.rad(40),0,0))
- animate2(ll,.2,CFrame.new(.5,1,1)*CFrame.Angles(math.rad(0),0,0))
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement