Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cz35 = Instance.new("Model", workspace)
- cz35.Name = "CZ-35"
- local model = Instance.new("Model", cz35)
- local part = Instance.new("Part", model)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Anchored = true
- part.Material = Enum.Material.Pebble
- part.Size = Vector3.new(4, 0.2, 1.6)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(127.56, 2.764, 139.303)* CFrame.Angles(3.1408934593201, 0.52452343702316, -1.3254635334015)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.BrickColor = BrickColor.new("Grime")
- part.Friction = 0.3
- part.BottomSurface = Enum.SurfaceType.Weld
- local mesh = Instance.new("BlockMesh", part)
- local part_2 = Instance.new("Part", model)
- part_2.FormFactor = Enum.FormFactor.Custom
- part_2.LeftSurface = Enum.SurfaceType.Weld
- part_2.TopSurface = Enum.SurfaceType.Weld
- part_2.Anchored = true
- part_2.Material = Enum.Material.Pebble
- part_2.Size = Vector3.new(1.2, 0.2, 2.6)
- part_2.FrontSurface = Enum.SurfaceType.Weld
- part_2.CFrame = CFrame.new(126.214, 1.407, 140.951)* CFrame.Angles(3.1408934593201, 0.52452045679092, -1.3254486322403)
- part_2.RightSurface = Enum.SurfaceType.Weld
- part_2.BackSurface = Enum.SurfaceType.Weld
- part_2.BrickColor = BrickColor.new("Grime")
- part_2.Friction = 0.3
- part_2.BottomSurface = Enum.SurfaceType.Weld
- local mesh_2 = Instance.new("BlockMesh", part_2)
- local part_3 = Instance.new("Part", model)
- part_3.FormFactor = Enum.FormFactor.Custom
- part_3.LeftSurface = Enum.SurfaceType.Weld
- part_3.TopSurface = Enum.SurfaceType.Weld
- part_3.Anchored = true
- part_3.Material = Enum.Material.Pebble
- part_3.Size = Vector3.new(5.8, 0.4, 0.2)
- part_3.FrontSurface = Enum.SurfaceType.Weld
- part_3.CFrame = CFrame.new(126.343, 0.988, 141.025)* CFrame.Angles(-3.1414391994476, -1.0463002920151, 0.00074737484101206)
- part_3.RightSurface = Enum.SurfaceType.Weld
- part_3.BackSurface = Enum.SurfaceType.Weld
- part_3.BrickColor = BrickColor.new("Grime")
- part_3.Friction = 0.3
- part_3.BottomSurface = Enum.SurfaceType.Weld
- local mesh_3 = Instance.new("BlockMesh", part_3)
- local part_4 = Instance.new("Part", model)
- part_4.FormFactor = Enum.FormFactor.Custom
- part_4.TopSurface = Enum.SurfaceType.Weld
- part_4.Anchored = true
- part_4.Material = Enum.Material.Pebble
- part_4.Size = Vector3.new(0.6, 1, 0.6)
- part_4.CFrame = CFrame.new(125.064, 2.572, 140.058)* CFrame.Angles(-0.00074503815267235, -0.5945001244545, 1.5403406620026)
- part_4.BrickColor = BrickColor.new("Black")
- part_4.Friction = 0.3
- part_4.BottomSurface = Enum.SurfaceType.Weld
- local mesh_4 = Instance.new("CylinderMesh", part_4)
- mesh_4.Offset = Vector3.new(0, 1, 0)
- mesh_4.Scale = Vector3.new(1, 4, 0.85)
- local parttopart_strong_joint = Instance.new("ManualWeld", part_4)
- parttopart_strong_joint.Part1 = part_5
- parttopart_strong_joint.Name = "Part-to-Part Strong Joint"
- parttopart_strong_joint.C1 = CFrame.new(0.3, 0.7, 0.1)* CFrame.Angles(-3.1415922641754, 2.7089495802102e-007, -3.141592502594)
- parttopart_strong_joint.Part0 = part_4
- parttopart_strong_joint.C0 = CFrame.new(-0.3, -0.5, -0.3)* CFrame.Angles(-0, -1.5707963705063, 0)
- local part_6 = Instance.new("Part", model)
- part_6.FormFactor = Enum.FormFactor.Custom
- part_6.TopSurface = Enum.SurfaceType.Weld
- part_6.Anchored = true
- part_6.Material = Enum.Material.Pebble
- part_6.Size = Vector3.new(0.6, 0.6, 0.6)
- part_6.CFrame = CFrame.new(126.058, 2.536, 140.729)* CFrame.Angles(-1.5544799566269, 0.025229206308722, -2.165510892868)
- part_6.BrickColor = BrickColor.new("Black")
- part_6.Friction = 0.3
- part_6.BottomSurface = Enum.SurfaceType.Weld
- local mesh_5 = Instance.new("CylinderMesh", part_6)
- mesh_5.Offset = Vector3.new(0, 1, 0)
- mesh_5.Scale = Vector3.new(1, 4, 0.85)
- local parttopart_strong_joint_2 = Instance.new("ManualWeld", part_6)
- parttopart_strong_joint_2.Part1 = part_5
- parttopart_strong_joint_2.Name = "Part-to-Part Strong Joint"
- parttopart_strong_joint_2.C1 = CFrame.new(-0.3, 0.3, 0.1)* CFrame.Angles(-3.1415922641754, 2.8255848860681e-007, 2.4725787639568e-008)
- parttopart_strong_joint_2.Part0 = part_6
- parttopart_strong_joint_2.C0 = CFrame.new(0.3, -0.3, -0.3)* CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- local missile = Instance.new("Part", model)
- missile.FormFactor = Enum.FormFactor.Custom
- missile.TopSurface = Enum.SurfaceType.Smooth
- missile.Anchored = true
- missile.Size = Vector3.new(0.6, 0.6, 2)
- missile.Name = "Missile"
- missile.FrontSurface = Enum.SurfaceType.Weld
- missile.CFrame = CFrame.new(123.822, 2.617, 139.218)* CFrame.Angles(0.0535933598876, 0.97561478614807, 1.5257872343063)
- missile.RightSurface = Enum.SurfaceType.Weld
- missile.BackSurface = Enum.SurfaceType.Weld
- missile.BrickColor = BrickColor.new("Really black")
- missile.Friction = 0.3
- missile.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_6 = Instance.new("SpecialMesh", missile)
- mesh_6.Scale = Vector3.new(0.8, 0.8, 1)
- mesh_6.MeshType = Enum.MeshType.Sphere
- local part_7 = Instance.new("Part", model)
- part_7.FormFactor = Enum.FormFactor.Custom
- part_7.LeftSurface = Enum.SurfaceType.Weld
- part_7.Transparency = 1
- part_7.TopSurface = Enum.SurfaceType.Smooth
- part_7.Anchored = true
- part_7.Material = Enum.Material.Pebble
- part_7.Size = Vector3.new(0.2, 1.8, 0.6)
- part_7.FrontSurface = Enum.SurfaceType.Weld
- part_7.CFrame = CFrame.new(126.282, 2.536, 140.398)* CFrame.Angles(-1.5544818639755, 0.025228912010789, 0.97608178853989)
- part_7.RightSurface = Enum.SurfaceType.Weld
- part_7.BrickColor = BrickColor.new("Earth green")
- part_7.Friction = 0.3
- part_7.BottomSurface = Enum.SurfaceType.Smooth
- local part_5 = Instance.new("Part", model)
- part_5.FormFactor = Enum.FormFactor.Custom
- part_5.LeftSurface = Enum.SurfaceType.Weld
- part_5.Transparency = 1
- part_5.TopSurface = Enum.SurfaceType.Smooth
- part_5.Anchored = true
- part_5.Size = Vector3.new(1, 1.8, 0.2)
- part_5.FrontSurface = Enum.SurfaceType.Weld
- part_5.CFrame = CFrame.new(126.048, 2.136, 140.723)* CFrame.Angles(-1.5544803142548, 0.0252291187644, 0.97608017921448)
- part_5.RightSurface = Enum.SurfaceType.Weld
- part_5.BrickColor = BrickColor.new("Earth green")
- part_5.Friction = 0.3
- part_5.BottomSurface = Enum.SurfaceType.Smooth
- local connector2 = Instance.new("Part", model)
- connector2.FormFactor = Enum.FormFactor.Custom
- connector2.Transparency = 1
- connector2.TopSurface = Enum.SurfaceType.Smooth
- connector2.Anchored = true
- connector2.Size = Vector3.new(0.6, 0.6, 0.8)
- connector2.Name = "Connector2"
- connector2.FrontSurface = Enum.SurfaceType.Weld
- connector2.CFrame = CFrame.new(126.141, 2.533, 140.785)* CFrame.Angles(0.053593069314957, 0.97561174631119, -0.045009285211563)
- connector2.BackSurface = Enum.SurfaceType.Weld
- connector2.BrickColor = BrickColor.new("Earth green")
- connector2.Friction = 0.3
- connector2.BottomSurface = Enum.SurfaceType.Weld
- local weld = Instance.new("Weld", connector2)
- weld.C0 = CFrame.new(0, 0, 1.5)
- local weld_2 = Instance.new("Weld", connector2)
- weld_2.Part1 = wpart
- weld_2.Part0 = connector2
- weld_2.C0 = CFrame.new(0, 0, 1.5)* CFrame.Angles(-0.029999962076545, 0, -0)
- local part_8 = Instance.new("Part", model)
- part_8.FormFactor = Enum.FormFactor.Custom
- part_8.TopSurface = Enum.SurfaceType.Weld
- part_8.Anchored = true
- part_8.Material = Enum.Material.Fabric
- part_8.Size = Vector3.new(2, 0.8, 2)
- part_8.CFrame = CFrame.new(128.083, 0.986, 138.219)* CFrame.Angles(1.5702991485596, -0.00036783868563361, -2.6170933246613)
- part_8.BackSurface = Enum.SurfaceType.Weld
- part_8.BrickColor = BrickColor.new("Black")
- part_8.Friction = 0.3
- part_8.BottomSurface = Enum.SurfaceType.Weld
- local mesh_7 = Instance.new("CylinderMesh", part_8)
- local part_9 = Instance.new("WedgePart", model)
- part_9.FormFactor = Enum.FormFactor.Custom
- part_9.BottomSurface = Enum.SurfaceType.Weld
- part_9.Friction = 0.3
- part_9.Material = Enum.Material.Pebble
- part_9.Size = Vector3.new(5.8, 0.8, 0.2)
- part_9.Name = "Part"
- part_9.CFrame = CFrame.new(126.343, 1.59, 141.025)* CFrame.Angles(0.00013167996075936, 1.0462950468063, -0.00083120877388865)
- part_9.BrickColor = BrickColor.new("Grime")
- part_9.Anchored = true
- local mesh_8 = Instance.new("SpecialMesh", part_9)
- mesh_8.MeshType = Enum.MeshType.Wedge
- local parttopart_strong_joint_3 = Instance.new("ManualWeld", part_9)
- parttopart_strong_joint_3.Part1 = part_10
- parttopart_strong_joint_3.Name = "Part-to-Part Strong Joint"
- parttopart_strong_joint_3.C1 = CFrame.new(-0.1, -2.2, 2)* CFrame.Angles(3.5926717828261e-005, 1.5707963705063, 0)
- parttopart_strong_joint_3.Part0 = part_9
- parttopart_strong_joint_3.C0 = CFrame.new(2.9, -0.4, -0.1)* CFrame.Angles(-2.8966138362885, 0, -3.1415927410126)
- local parttopart_strong_joint_4 = Instance.new("ManualWeld", part_9)
- parttopart_strong_joint_4.Part1 = part_11
- parttopart_strong_joint_4.Name = "Part-to-Part Strong Joint"
- parttopart_strong_joint_4.C1 = CFrame.new(0.1, -2.2, -3.8)* CFrame.Angles(-1.5706030130386, -1.5673609972, 1.5715670585632)
- parttopart_strong_joint_4.Part0 = part_9
- parttopart_strong_joint_4.C0 = CFrame.new(2.9, -0.4, -0.1)* CFrame.Angles(-2.8966138362885, 0, -3.1415927410126)
- local connector = Instance.new("Part", model)
- connector.FormFactor = Enum.FormFactor.Custom
- connector.CanCollide = false
- connector.LeftSurface = Enum.SurfaceType.Weld
- connector.TopSurface = Enum.SurfaceType.Weld
- connector.Anchored = true
- connector.Material = Enum.Material.Pebble
- connector.Size = Vector3.new(1, 0.6, 1)
- connector.Name = "Connector"
- connector.CFrame = CFrame.new(127.383, 2.288, 141.625)* CFrame.Angles(6.6177599364892e-005, 0.97629737854004, -0.00067340326495469)
- connector.BackSurface = Enum.SurfaceType.Weld
- connector.BrickColor = BrickColor.new("Black")
- connector.Friction = 0.3
- connector.BottomSurface = Enum.SurfaceType.Weld
- local mesh_9 = Instance.new("BlockMesh", connector)
- local weld_3 = Instance.new("Weld", connector)
- weld_3.Part1 = swivel
- weld_3.Part0 = connector
- weld_3.C0 = CFrame.new(0, -1, 0)* CFrame.Angles(-0, 0.069999851286411, -0)
- local part_12 = Instance.new("Part", model)
- part_12.FormFactor = Enum.FormFactor.Custom
- part_12.LeftSurface = Enum.SurfaceType.Weld
- part_12.TopSurface = Enum.SurfaceType.Weld
- part_12.Anchored = true
- part_12.Material = Enum.Material.Pebble
- part_12.Size = Vector3.new(1.6, 0.8, 1)
- part_12.FrontSurface = Enum.SurfaceType.Weld
- part_12.CFrame = CFrame.new(126.076, 0.99, 144.683)* CFrame.Angles(-3.1414484977722, -1.0462808609009, 1.5715358257294)
- part_12.RightSurface = Enum.SurfaceType.Weld
- part_12.BackSurface = Enum.SurfaceType.Weld
- part_12.BrickColor = BrickColor.new("Grime")
- part_12.Friction = 0.3
- part_12.BottomSurface = Enum.SurfaceType.Weld
- local mesh_10 = Instance.new("CylinderMesh", part_12)
- mesh_10.Offset = Vector3.new(0, 0, 1.5)
- mesh_10.Scale = Vector3.new(0.5, 1.02, 2)
- local part_13 = Instance.new("Part", model)
- part_13.FormFactor = Enum.FormFactor.Custom
- part_13.LeftSurface = Enum.SurfaceType.Weld
- part_13.Transparency = 1
- part_13.TopSurface = Enum.SurfaceType.Smooth
- part_13.Anchored = true
- part_13.Material = Enum.Material.Pebble
- part_13.Size = Vector3.new(1, 1.8, 0.2)
- part_13.FrontSurface = Enum.SurfaceType.Weld
- part_13.CFrame = CFrame.new(126.068, 2.936, 140.736)* CFrame.Angles(-1.5544818639755, 0.025228917598724, 0.97608256340027)
- part_13.RightSurface = Enum.SurfaceType.Weld
- part_13.BrickColor = BrickColor.new("Earth green")
- part_13.Friction = 0.3
- part_13.BottomSurface = Enum.SurfaceType.Smooth
- local part_10 = Instance.new("WedgePart", model)
- part_10.FormFactor = Enum.FormFactor.Custom
- part_10.BottomSurface = Enum.SurfaceType.Weld
- part_10.Friction = 0.3
- part_10.Material = Enum.Material.Pebble
- part_10.Size = Vector3.new(0.2, 2.8, 0.8)
- part_10.BackSurface = Enum.SurfaceType.Weld
- part_10.Name = "Part"
- part_10.CFrame = CFrame.new(127.086, 3.348, 140.413)* CFrame.Angles(3.1407999992371, 0.52451688051224, -2.8961009979248)
- part_10.BrickColor = BrickColor.new("Grime")
- part_10.Anchored = true
- local mesh_11 = Instance.new("SpecialMesh", part_10)
- mesh_11.MeshType = Enum.MeshType.Wedge
- local wpart = Instance.new("Part", model)
- wpart.FormFactor = Enum.FormFactor.Custom
- wpart.LeftSurface = Enum.SurfaceType.Weld
- wpart.TopSurface = Enum.SurfaceType.Weld
- wpart.Anchored = true
- wpart.Material = Enum.Material.Pebble
- wpart.Size = Vector3.new(1, 1, 1)
- wpart.Name = "Wpart"
- wpart.FrontSurface = Enum.SurfaceType.Weld
- wpart.CFrame = CFrame.new(127.383, 2.488, 141.625)* CFrame.Angles(6.6683634941e-005, 0.97629880905151, -0.00067375169601291)
- wpart.RightSurface = Enum.SurfaceType.Weld
- wpart.BackSurface = Enum.SurfaceType.Weld
- wpart.BrickColor = BrickColor.new("Black")
- wpart.Friction = 0.3
- wpart.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_12 = Instance.new("BlockMesh", wpart)
- local swivel = Instance.new("Part", model)
- swivel.FormFactor = Enum.FormFactor.Custom
- swivel.TopSurface = Enum.SurfaceType.Smooth
- swivel.Anchored = true
- swivel.Material = Enum.Material.Pebble
- swivel.Size = Vector3.new(1, 0.2, 1)
- swivel.Name = "Swivel"
- swivel.CFrame = CFrame.new(127.382, 1.288, 141.626)* CFrame.Angles(0.00016023762873374, 1.0462990999222, -0.00075316365109757)
- swivel.BrickColor = BrickColor.new("Black")
- swivel.Friction = 0.3
- swivel.BottomSurface = Enum.SurfaceType.Weld
- local part_14 = Instance.new("Part", model)
- part_14.FormFactor = Enum.FormFactor.Custom
- part_14.TopSurface = Enum.SurfaceType.Weld
- part_14.Anchored = true
- part_14.Material = Enum.Material.Fabric
- part_14.Size = Vector3.new(2, 0.8, 2)
- part_14.CFrame = CFrame.new(124.777, 0.99, 143.931)* CFrame.Angles(1.5703030824661, -0.00037468512891792, 0.52449935674667)
- part_14.BackSurface = Enum.SurfaceType.Weld
- part_14.BrickColor = BrickColor.new("Black")
- part_14.Friction = 0.3
- part_14.BottomSurface = Enum.SurfaceType.Weld
- local mesh_13 = Instance.new("CylinderMesh", part_14)
- local part_15 = Instance.new("Part", model)
- part_15.FormFactor = Enum.FormFactor.Custom
- part_15.LeftSurface = Enum.SurfaceType.Weld
- part_15.Transparency = 1
- part_15.TopSurface = Enum.SurfaceType.Smooth
- part_15.Anchored = true
- part_15.Material = Enum.Material.Pebble
- part_15.Size = Vector3.new(0.2, 1.8, 0.6)
- part_15.FrontSurface = Enum.SurfaceType.Weld
- part_15.CFrame = CFrame.new(125.834, 2.536, 141.061)* CFrame.Angles(-1.5544819831848, 0.025228798389435, 0.97608029842377)
- part_15.RightSurface = Enum.SurfaceType.Weld
- part_15.BrickColor = BrickColor.new("Earth green")
- part_15.Friction = 0.3
- part_15.BottomSurface = Enum.SurfaceType.Smooth
- local part_16 = Instance.new("WedgePart", model)
- part_16.FormFactor = Enum.FormFactor.Custom
- part_16.BottomSurface = Enum.SurfaceType.Weld
- part_16.Friction = 0.3
- part_16.Material = Enum.Material.Pebble
- part_16.Size = Vector3.new(0.4, 4, 1.2)
- part_16.BackSurface = Enum.SurfaceType.Weld
- part_16.Name = "Part"
- part_16.CFrame = CFrame.new(129.308, 0.989, 140.086)* CFrame.Angles(-0.00049343926366419, -0.52480989694595, -1.569438457489)
- part_16.BrickColor = BrickColor.new("Grime")
- part_16.Anchored = true
- local mesh_14 = Instance.new("SpecialMesh", part_16)
- mesh_14.MeshType = Enum.MeshType.Wedge
- local part_17 = Instance.new("Part", model)
- part_17.FormFactor = Enum.FormFactor.Custom
- part_17.LeftSurface = Enum.SurfaceType.Weld
- part_17.TopSurface = Enum.SurfaceType.Weld
- part_17.Anchored = true
- part_17.Material = Enum.Material.Pebble
- part_17.Size = Vector3.new(0.8, 0.2, 1)
- part_17.FrontSurface = Enum.SurfaceType.Weld
- part_17.CFrame = CFrame.new(127.707, 2.688, 142.931)* CFrame.Angles(-1.571288228035, 0.00037697560037486, -2.1652903556824)
- part_17.RightSurface = Enum.SurfaceType.Weld
- part_17.BackSurface = Enum.SurfaceType.Weld
- part_17.BrickColor = BrickColor.new("Black")
- part_17.Friction = 0.3
- part_17.BottomSurface = Enum.SurfaceType.Weld
- local mesh_15 = Instance.new("CylinderMesh", part_17)
- mesh_15.Offset = Vector3.new(0.1, -0.4, 0)
- mesh_15.Scale = Vector3.new(2.2, 3, 2)
- local decal = Instance.new("Decal", part_17)
- decal.Face = Enum.NormalId.Top
- decal.Texture = "http://www.roblox.com/asset/?id=321456293"
- local part_11 = Instance.new("WedgePart", model)
- part_11.FormFactor = Enum.FormFactor.Custom
- part_11.BottomSurface = Enum.SurfaceType.Weld
- part_11.Friction = 0.3
- part_11.Material = Enum.Material.Pebble
- part_11.Size = Vector3.new(0.2, 2.8, 0.8)
- part_11.BackSurface = Enum.SurfaceType.Weld
- part_11.Name = "Part"
- part_11.CFrame = CFrame.new(126.185, 3.349, 141.971)* CFrame.Angles(-0.00078649801434949, -0.52449625730515, -0.24544814229012)
- part_11.BrickColor = BrickColor.new("Grime")
- part_11.Anchored = true
- local mesh_16 = Instance.new("SpecialMesh", part_11)
- mesh_16.MeshType = Enum.MeshType.Wedge
- local part_18 = Instance.new("Part", model)
- part_18.FormFactor = Enum.FormFactor.Custom
- part_18.LeftSurface = Enum.SurfaceType.Weld
- part_18.TopSurface = Enum.SurfaceType.Weld
- part_18.Anchored = true
- part_18.Material = Enum.Material.Pebble
- part_18.Size = Vector3.new(1.6, 0.8, 1)
- part_18.FrontSurface = Enum.SurfaceType.Weld
- part_18.CFrame = CFrame.new(129.381, 0.986, 138.97)* CFrame.Angles(-3.1414670944214, -1.0462853908539, 1.5715194940567)
- part_18.RightSurface = Enum.SurfaceType.Weld
- part_18.BackSurface = Enum.SurfaceType.Weld
- part_18.BrickColor = BrickColor.new("Grime")
- part_18.Friction = 0.3
- part_18.BottomSurface = Enum.SurfaceType.Weld
- local mesh_17 = Instance.new("CylinderMesh", part_18)
- mesh_17.Offset = Vector3.new(0, 0, 1.5)
- mesh_17.Scale = Vector3.new(0.5, 1.02, 2)
- local part_19 = Instance.new("Part", model)
- part_19.FormFactor = Enum.FormFactor.Custom
- part_19.LeftSurface = Enum.SurfaceType.Weld
- part_19.TopSurface = Enum.SurfaceType.Weld
- part_19.Anchored = true
- part_19.Material = Enum.Material.Pebble
- part_19.Size = Vector3.new(0.4, 1, 1.8)
- part_19.FrontSurface = Enum.SurfaceType.Weld
- part_19.CFrame = CFrame.new(127.739, 2.488, 142.349)* CFrame.Angles(3.1408460140228, 0.59449046850204, 0.00045546816545539)
- part_19.RightSurface = Enum.SurfaceType.Weld
- part_19.BackSurface = Enum.SurfaceType.Weld
- part_19.BrickColor = BrickColor.new("Black")
- part_19.Friction = 0.3
- part_19.BottomSurface = Enum.SurfaceType.Weld
- local mesh_18 = Instance.new("BlockMesh", part_19)
- local part_20 = Instance.new("Part", model)
- part_20.FormFactor = Enum.FormFactor.Custom
- part_20.LeftSurface = Enum.SurfaceType.Weld
- part_20.TopSurface = Enum.SurfaceType.Weld
- part_20.Anchored = true
- part_20.Material = Enum.Material.Pebble
- part_20.Size = Vector3.new(4, 0.2, 1.6)
- part_20.FrontSurface = Enum.SurfaceType.Weld
- part_20.CFrame = CFrame.new(125.457, 2.766, 142.938)* CFrame.Angles(3.1408934593201, 0.52452129125595, -1.3254511356354)
- part_20.RightSurface = Enum.SurfaceType.Weld
- part_20.BackSurface = Enum.SurfaceType.Weld
- part_20.BrickColor = BrickColor.new("Grime")
- part_20.Friction = 0.3
- part_20.BottomSurface = Enum.SurfaceType.Weld
- local mesh_19 = Instance.new("BlockMesh", part_20)
- local part_21 = Instance.new("WedgePart", model)
- part_21.FormFactor = Enum.FormFactor.Custom
- part_21.BottomSurface = Enum.SurfaceType.Weld
- part_21.Friction = 0.3
- part_21.Material = Enum.Material.Pebble
- part_21.Size = Vector3.new(0.4, 4, 1.2)
- part_21.BackSurface = Enum.SurfaceType.Weld
- part_21.Name = "Part"
- part_21.CFrame = CFrame.new(127.006, 0.992, 144.066)* CFrame.Angles(3.1409738063812, 0.52441173791885, -1.5708454847336)
- part_21.BrickColor = BrickColor.new("Grime")
- part_21.Anchored = true
- local mesh_20 = Instance.new("SpecialMesh", part_21)
- mesh_20.MeshType = Enum.MeshType.Wedge
- local part_22 = Instance.new("Part", model)
- part_22.FormFactor = Enum.FormFactor.Custom
- part_22.LeftSurface = Enum.SurfaceType.Weld
- part_22.TopSurface = Enum.SurfaceType.Weld
- part_22.Anchored = true
- part_22.Material = Enum.Material.Pebble
- part_22.Size = Vector3.new(4, 0.4, 3.4)
- part_22.FrontSurface = Enum.SurfaceType.Weld
- part_22.CFrame = CFrame.new(128.161, 0.988, 142.077)* CFrame.Angles(3.140882730484, 0.52449309825897, 0.00043555241427384)
- part_22.RightSurface = Enum.SurfaceType.Weld
- part_22.BackSurface = Enum.SurfaceType.Weld
- part_22.BrickColor = BrickColor.new("Grime")
- part_22.Friction = 0.3
- part_22.BottomSurface = Enum.SurfaceType.Weld
- local mesh_21 = Instance.new("BlockMesh", part_22)
- local part_23 = Instance.new("Part", model)
- part_23.FormFactor = Enum.FormFactor.Custom
- part_23.LeftSurface = Enum.SurfaceType.Weld
- part_23.TopSurface = Enum.SurfaceType.Weld
- part_23.Anchored = true
- part_23.Material = Enum.Material.Pebble
- part_23.Size = Vector3.new(1.4, 0.8, 0.8)
- part_23.FrontSurface = Enum.SurfaceType.Weld
- part_23.CFrame = CFrame.new(128.764, 2.588, 142.438)* CFrame.Angles(3.1408460140228, 0.59448808431625, 0.00045505102025345)
- part_23.RightSurface = Enum.SurfaceType.Weld
- part_23.BackSurface = Enum.SurfaceType.Weld
- part_23.BrickColor = BrickColor.new("Black")
- part_23.Friction = 0.3
- part_23.BottomSurface = Enum.SurfaceType.Weld
- local mesh_22 = Instance.new("BlockMesh", part_23)
- local vehicleseat = Instance.new("VehicleSeat", model)
- vehicleseat.Friction = 0.3
- vehicleseat.BottomSurface = Enum.SurfaceType.Smooth
- vehicleseat.TopSurface = Enum.SurfaceType.Smooth
- vehicleseat.Anchored = true
- vehicleseat.BrickColor = BrickColor.new("Grime")
- vehicleseat.CFrame = CFrame.new(130.325, 0.688, 143.329)* CFrame.Angles(0.0001598109229235, 1.0463030338287, -0.00075284828199074)
- vehicleseat.Size = Vector3.new(1, 1, 1)
- vehicleseat.FrontSurface = Enum.SurfaceType.Weld
- vehicleseat.HeadsUpDisplay = false
- local swiv = Instance.new("Sound", vehicleseat)
- swiv.Pitch = 0.7
- swiv.Name = "Swiv"
- swiv.Volume = 0
- swiv.SoundId = "http://www.roblox.com/asset/?id=31245465"
- swiv.PlayOnRemove = true
- local vehiclegui = Instance.new("ScreenGui", vehicleseat)
- vehiclegui.Name = "VehicleGui"
- local frame = Instance.new("Frame", vehiclegui)
- frame.Size = UDim2.new(0.2, 0, 0.05, 0)
- frame.BorderColor3 = Color3.new(0, 0, 0)
- frame.Position = UDim2.new(0, 0, 0.8, 0)
- frame.BackgroundTransparency = 1
- frame.BackgroundColor3 = Color3.new(0.905882, 0.905882, 0.905882)
- local he = Instance.new("TextButton", frame)
- he.FontSize = Enum.FontSize.Size14
- he.BackgroundColor3 = Color3.new(0.666667, 0.666667, 0.498039)
- he.Size = UDim2.new(1, 0, 1, 0)
- he.Position = UDim2.new(0.025, 0, -1, 0)
- he.BorderColor3 = Color3.new(0, 0, 0)
- he.Text = "2cm Kanone "
- he.TextColor3 = Color3.new(1, 1, 1)
- he.Font = Enum.Font.ArialBold
- he.Name = "HE"
- local gradient = Instance.new("ImageLabel", he)
- gradient.Image = "http://www.roblox.com/asset/?id=45858510"
- gradient.Name = "Gradient"
- gradient.ZIndex = 2
- gradient.SliceCenter = 0, 0, 0, 0
- gradient.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- gradient.BackgroundTransparency = 1
- gradient.Size = UDim2.new(1, 0, 1, 0)
- gradient.BackgroundColor3 = Color3.new(0, 0, 0)
- local crosshairs = Instance.new("ImageLabel", frame)
- crosshairs.Visible = false
- crosshairs.Image = "http://www.roblox.com/asset/?id=138309492"
- crosshairs.Name = "Crosshairs"
- crosshairs.SliceCenter = 0, 0, 0, 0
- crosshairs.Position = UDim2.new(0.5, -100, 0.5, -100)
- crosshairs.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- crosshairs.BackgroundTransparency = 1
- crosshairs.Size = UDim2.new(0, 200, 0, 200)
- crosshairs.BackgroundColor3 = Color3.new(1, 1, 1)
- local vehicle = Instance.new("ObjectValue", vehiclegui)
- vehicle.Name = "Vehicle"
- local part_24 = Instance.new("WedgePart", model)
- part_24.FormFactor = Enum.FormFactor.Custom
- part_24.BottomSurface = Enum.SurfaceType.Weld
- part_24.Friction = 0.3
- part_24.Material = Enum.Material.Pebble
- part_24.Size = Vector3.new(0.8, 1.6, 0.4)
- part_24.BackSurface = Enum.SurfaceType.Weld
- part_24.Name = "Part"
- part_24.CFrame = CFrame.new(129.933, 0.988, 144.604)* CFrame.Angles(1.569882273674, -0.00064525211928412, -1.0463042259216)
- part_24.BrickColor = BrickColor.new("Grime")
- part_24.Anchored = true
- local mesh_23 = Instance.new("SpecialMesh", part_24)
- mesh_23.MeshType = Enum.MeshType.Wedge
- local part_25 = Instance.new("WedgePart", model)
- part_25.FormFactor = Enum.FormFactor.Custom
- part_25.BottomSurface = Enum.SurfaceType.Weld
- part_25.Friction = 0.3
- part_25.Material = Enum.Material.Pebble
- part_25.Size = Vector3.new(0.8, 1.6, 0.4)
- part_25.BackSurface = Enum.SurfaceType.Weld
- part_25.Name = "Part"
- part_25.CFrame = CFrame.new(129.932, 0.588, 144.603)* CFrame.Angles(-1.570859670639, 0.0010032998397946, 1.0467846393585)
- part_25.BrickColor = BrickColor.new("Grime")
- part_25.Anchored = true
- local mesh_24 = Instance.new("SpecialMesh", part_25)
- mesh_24.MeshType = Enum.MeshType.Wedge
- local part_26 = Instance.new("WedgePart", model)
- part_26.FormFactor = Enum.FormFactor.Custom
- part_26.BottomSurface = Enum.SurfaceType.Weld
- part_26.Friction = 0.3
- part_26.Material = Enum.Material.Pebble
- part_26.Size = Vector3.new(0.8, 1.6, 0.4)
- part_26.BackSurface = Enum.SurfaceType.Weld
- part_26.Name = "Part"
- part_26.CFrame = CFrame.new(131.236, 0.586, 142.354)* CFrame.Angles(-1.5714972019196, -0.00010495088645257, 1.046337723732)
- part_26.BrickColor = BrickColor.new("Grime")
- part_26.Anchored = true
- local mesh_25 = Instance.new("SpecialMesh", part_26)
- mesh_25.MeshType = Enum.MeshType.Wedge
- local part_27 = Instance.new("WedgePart", model)
- part_27.FormFactor = Enum.FormFactor.Custom
- part_27.BottomSurface = Enum.SurfaceType.Weld
- part_27.Friction = 0.3
- part_27.Material = Enum.Material.Pebble
- part_27.Size = Vector3.new(0.8, 1.6, 0.4)
- part_27.BackSurface = Enum.SurfaceType.Weld
- part_27.Name = "Part"
- part_27.CFrame = CFrame.new(131.236, 0.986, 142.355)* CFrame.Angles(1.5703814029694, -0.00035267986822873, -1.0463029146194)
- part_27.BrickColor = BrickColor.new("Grime")
- part_27.Anchored = true
- local mesh_26 = Instance.new("SpecialMesh", part_27)
- mesh_26.MeshType = Enum.MeshType.Wedge
- local part_28 = Instance.new("WedgePart", model)
- part_28.FormFactor = Enum.FormFactor.Custom
- part_28.BottomSurface = Enum.SurfaceType.Weld
- part_28.Friction = 0.3
- part_28.Material = Enum.Material.Pebble
- part_28.Size = Vector3.new(0.8, 1.6, 0.4)
- part_28.BackSurface = Enum.SurfaceType.Weld
- part_28.Name = "Part"
- part_28.CFrame = CFrame.new(131.317, 0.19, 145.404)* CFrame.Angles(-1.5710520744324, 0.00089745206059888, 1.0467940568924)
- part_28.BrickColor = BrickColor.new("Grime")
- part_28.Anchored = true
- local mesh_27 = Instance.new("SpecialMesh", part_28)
- mesh_27.MeshType = Enum.MeshType.Wedge
- local part_29 = Instance.new("WedgePart", model)
- part_29.FormFactor = Enum.FormFactor.Custom
- part_29.BottomSurface = Enum.SurfaceType.Weld
- part_29.Friction = 0.3
- part_29.Material = Enum.Material.Pebble
- part_29.Size = Vector3.new(0.8, 1.6, 0.4)
- part_29.BackSurface = Enum.SurfaceType.Weld
- part_29.Name = "Part"
- part_29.CFrame = CFrame.new(131.318, 0.589, 145.403)* CFrame.Angles(1.5703896284103, -0.00035960640525445, -1.046309709549)
- part_29.BrickColor = BrickColor.new("Grime")
- part_29.Anchored = true
- local mesh_28 = Instance.new("SpecialMesh", part_29)
- mesh_28.MeshType = Enum.MeshType.Wedge
- local effect = Instance.new("Part", model)
- effect.FormFactor = Enum.FormFactor.Custom
- effect.CanCollide = false
- effect.Transparency = 1
- effect.TopSurface = Enum.SurfaceType.Weld
- effect.Anchored = true
- effect.Size = Vector3.new(0.6, 1, 0.6)
- effect.Name = "Effect"
- effect.CFrame = CFrame.new(122.58, 2.662, 138.378)* CFrame.Angles(-1.5544818639755, 0.025228915736079, 0.97608232498169)
- effect.BrickColor = BrickColor.new("Bright red")
- effect.Friction = 0.3
- effect.BottomSurface = Enum.SurfaceType.Weld
- local smoke = Instance.new("Smoke", effect)
- smoke.Enabled = false
- smoke.Color = Color3.new(0.109804, 0.109804, 0.109804)
- smoke.RiseVelocity = 5
- smoke.Size = 2
- local fire = Instance.new("Sound", effect)
- fire.Pitch = 0.6
- fire.Name = "Fire"
- fire.Volume = 1
- fire.SoundId = "http://www.roblox.com/asset?id=2101148"
- local reload = Instance.new("Sound", effect)
- reload.Name = "Reload"
- reload.Volume = 0
- reload.SoundId = "http://www.roblox.com/asset/?id=13510737"
- local mesh_29 = Instance.new("SpecialMesh", effect)
- mesh_29.Scale = Vector3.new(0.8, 8, 0.8)
- mesh_29.MeshType = Enum.MeshType.Sphere
- local part_30 = Instance.new("WedgePart", model)
- part_30.FormFactor = Enum.FormFactor.Custom
- part_30.BottomSurface = Enum.SurfaceType.Weld
- part_30.Friction = 0.3
- part_30.Material = Enum.Material.Pebble
- part_30.Size = Vector3.new(0.8, 1.6, 0.4)
- part_30.BackSurface = Enum.SurfaceType.Weld
- part_30.Name = "Part"
- part_30.CFrame = CFrame.new(132.621, 0.186, 143.155)* CFrame.Angles(-1.5714539289474, -0.00014606377226301, 1.0463352203369)
- part_30.BrickColor = BrickColor.new("Grime")
- part_30.Anchored = true
- local mesh_30 = Instance.new("SpecialMesh", part_30)
- mesh_30.MeshType = Enum.MeshType.Wedge
- local part_31 = Instance.new("WedgePart", model)
- part_31.FormFactor = Enum.FormFactor.Custom
- part_31.BottomSurface = Enum.SurfaceType.Weld
- part_31.Friction = 0.3
- part_31.Material = Enum.Material.Pebble
- part_31.Size = Vector3.new(0.8, 1.6, 0.4)
- part_31.BackSurface = Enum.SurfaceType.Weld
- part_31.Name = "Part"
- part_31.CFrame = CFrame.new(132.62, 0.587, 143.154)* CFrame.Angles(1.5703920125961, -0.00035881216172129, -1.0463037490845)
- part_31.BrickColor = BrickColor.new("Grime")
- part_31.Anchored = true
- local mesh_31 = Instance.new("SpecialMesh", part_31)
- mesh_31.MeshType = Enum.MeshType.Wedge
- local part_32 = Instance.new("Part", model)
- part_32.FormFactor = Enum.FormFactor.Custom
- part_32.TopSurface = Enum.SurfaceType.Weld
- part_32.Anchored = true
- part_32.Material = Enum.Material.Pebble
- part_32.Size = Vector3.new(3.4, 0.4, 1)
- part_32.CFrame = CFrame.new(133.094, 0.187, 144.931)* CFrame.Angles(-3.1414587497711, -1.0463427305222, 0.00065868074307218)
- part_32.BrickColor = BrickColor.new("Grime")
- part_32.Friction = 0.3
- part_32.BottomSurface = Enum.SurfaceType.Smooth
- local mesh_32 = Instance.new("BlockMesh", part_32)
- local wer2 = Instance.new("ObjectValue", model)
- wer2.Name = "WER2"
- wer2.Value = weld_2
- local wer = Instance.new("ObjectValue", model)
- wer.Name = "WER"
- wer.Value = weld_3
- cz35.Model.VehicleSeat.ChildAdded:connect(function(w)
- print("ChildAdded")
- if w.className=="Weld" then
- print("IsAWeld")
- if w.Name=="SeatWeld" then
- print("IsASeatWeld")
- if w.Part1.Parent:findFirstChild("Humanoid")~=nil then
- print("IsAHumanoid")
- pl=game.Players:GetPlayerFromCharacter(w.Part1.Parent)
- if pl~=nil then
- print("IsAPlayer")
- if pl.PlayerGui:findFirstChild("VehicleGui")~=nil then
- print("found vehicle gui - deleting")
- pl.PlayerGui:findFirstChild("VehicleGui").Parent=nil
- print("deleted")
- else
- print("no gui found - adding")
- newgui=cz35.Model.VehicleSeat.VehicleGui:clone()
- newgui.Parent=pl.PlayerGui
- newgui.Vehicle.Value=cz35.Model.VehicleSeat
- print("added")
- end
- end
- end
- end
- end
- end)
- cz35.Model.VehicleSeat.ChildRemoved:connect(function(w)
- print("ChildRemoved")
- if w.className=="Weld" then
- print("IsAWeld")
- if w.Name=="SeatWeld" then
- print("IsASeatWeld")
- if w.Part1.Parent:findFirstChild("Humanoid")~=nil then
- print("IsAHumanoid")
- pl=game.Players:GetPlayerFromCharacter(w.Part1.Parent)
- if pl~=nil then
- print("IsAPlayer")
- if pl.PlayerGui:findFirstChild("VehicleGui")~=nil then
- print("found vehicle gui - deleting")
- pl.PlayerGui:findFirstChild("VehicleGui").Parent=nil
- print("deleted")
- else
- print("no gui found - wierd...")
- end
- end
- end
- end
- end
- end)
- angle = 0
- while true do
- wait()
- if cz35.Model.VehicleSeat.Steer == 1 and angle < 30 then
- cz35.Model.VehicleSeat.Swiv:play()
- angle = angle + 1
- cz35.Model.WER.Value.C0 = cz35.Model.WER.Value.C0 * CFrame.fromEulerAnglesXYZ(0,0.01,0)
- elseif cz35.Model.VehicleSeat.Steer == -1 and angle > -30 then
- cz35.Model.VehicleSeat.Swiv:play()
- angle = angle - 1
- cz35.Model.WER.Value.C0 = cz35.Model.WER.Value.C0 * CFrame.fromEulerAnglesXYZ(0,-0.01,0)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement