Advertisement
billwa

The real czech gun

Jan 15th, 2016
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 31.32 KB | None | 0 0
  1.  
  2. local cz35 = Instance.new("Model", workspace)
  3. cz35.Name = "CZ-35"
  4.  
  5. local model = Instance.new("Model", cz35)
  6.  
  7. local part = Instance.new("Part", model)
  8. part.FormFactor = Enum.FormFactor.Custom
  9. part.LeftSurface = Enum.SurfaceType.Weld
  10. part.TopSurface = Enum.SurfaceType.Weld
  11. part.Anchored = true
  12. part.Material = Enum.Material.Pebble
  13. part.Size = Vector3.new(4, 0.2, 1.6)
  14. part.FrontSurface = Enum.SurfaceType.Weld
  15. part.CFrame = CFrame.new(127.56, 2.764, 139.303)* CFrame.Angles(3.1408934593201, 0.52452343702316, -1.3254635334015)
  16. part.RightSurface = Enum.SurfaceType.Weld
  17. part.BackSurface = Enum.SurfaceType.Weld
  18. part.BrickColor = BrickColor.new("Grime")
  19. part.Friction = 0.3
  20. part.BottomSurface = Enum.SurfaceType.Weld
  21.  
  22. local mesh = Instance.new("BlockMesh", part)
  23.  
  24. local part_2 = Instance.new("Part", model)
  25. part_2.FormFactor = Enum.FormFactor.Custom
  26. part_2.LeftSurface = Enum.SurfaceType.Weld
  27. part_2.TopSurface = Enum.SurfaceType.Weld
  28. part_2.Anchored = true
  29. part_2.Material = Enum.Material.Pebble
  30. part_2.Size = Vector3.new(1.2, 0.2, 2.6)
  31. part_2.FrontSurface = Enum.SurfaceType.Weld
  32. part_2.CFrame = CFrame.new(126.214, 1.407, 140.951)* CFrame.Angles(3.1408934593201, 0.52452045679092, -1.3254486322403)
  33. part_2.RightSurface = Enum.SurfaceType.Weld
  34. part_2.BackSurface = Enum.SurfaceType.Weld
  35. part_2.BrickColor = BrickColor.new("Grime")
  36. part_2.Friction = 0.3
  37. part_2.BottomSurface = Enum.SurfaceType.Weld
  38.  
  39. local mesh_2 = Instance.new("BlockMesh", part_2)
  40.  
  41. local part_3 = Instance.new("Part", model)
  42. part_3.FormFactor = Enum.FormFactor.Custom
  43. part_3.LeftSurface = Enum.SurfaceType.Weld
  44. part_3.TopSurface = Enum.SurfaceType.Weld
  45. part_3.Anchored = true
  46. part_3.Material = Enum.Material.Pebble
  47. part_3.Size = Vector3.new(5.8, 0.4, 0.2)
  48. part_3.FrontSurface = Enum.SurfaceType.Weld
  49. part_3.CFrame = CFrame.new(126.343, 0.988, 141.025)* CFrame.Angles(-3.1414391994476, -1.0463002920151, 0.00074737484101206)
  50. part_3.RightSurface = Enum.SurfaceType.Weld
  51. part_3.BackSurface = Enum.SurfaceType.Weld
  52. part_3.BrickColor = BrickColor.new("Grime")
  53. part_3.Friction = 0.3
  54. part_3.BottomSurface = Enum.SurfaceType.Weld
  55.  
  56. local mesh_3 = Instance.new("BlockMesh", part_3)
  57.  
  58. local part_4 = Instance.new("Part", model)
  59. part_4.FormFactor = Enum.FormFactor.Custom
  60. part_4.TopSurface = Enum.SurfaceType.Weld
  61. part_4.Anchored = true
  62. part_4.Material = Enum.Material.Pebble
  63. part_4.Size = Vector3.new(0.6, 1, 0.6)
  64. part_4.CFrame = CFrame.new(125.064, 2.572, 140.058)* CFrame.Angles(-0.00074503815267235, -0.5945001244545, 1.5403406620026)
  65. part_4.BrickColor = BrickColor.new("Black")
  66. part_4.Friction = 0.3
  67. part_4.BottomSurface = Enum.SurfaceType.Weld
  68.  
  69. local mesh_4 = Instance.new("CylinderMesh", part_4)
  70. mesh_4.Offset = Vector3.new(0, 1, 0)
  71. mesh_4.Scale = Vector3.new(1, 4, 0.85)
  72.  
  73. local parttopart_strong_joint = Instance.new("ManualWeld", part_4)
  74. parttopart_strong_joint.Part1 = part_5
  75. parttopart_strong_joint.Name = "Part-to-Part Strong Joint"
  76. parttopart_strong_joint.C1 = CFrame.new(0.3, 0.7, 0.1)* CFrame.Angles(-3.1415922641754, 2.7089495802102e-007, -3.141592502594)
  77. parttopart_strong_joint.Part0 = part_4
  78. parttopart_strong_joint.C0 = CFrame.new(-0.3, -0.5, -0.3)* CFrame.Angles(-0, -1.5707963705063, 0)
  79.  
  80. local part_6 = Instance.new("Part", model)
  81. part_6.FormFactor = Enum.FormFactor.Custom
  82. part_6.TopSurface = Enum.SurfaceType.Weld
  83. part_6.Anchored = true
  84. part_6.Material = Enum.Material.Pebble
  85. part_6.Size = Vector3.new(0.6, 0.6, 0.6)
  86. part_6.CFrame = CFrame.new(126.058, 2.536, 140.729)* CFrame.Angles(-1.5544799566269, 0.025229206308722, -2.165510892868)
  87. part_6.BrickColor = BrickColor.new("Black")
  88. part_6.Friction = 0.3
  89. part_6.BottomSurface = Enum.SurfaceType.Weld
  90.  
  91. local mesh_5 = Instance.new("CylinderMesh", part_6)
  92. mesh_5.Offset = Vector3.new(0, 1, 0)
  93. mesh_5.Scale = Vector3.new(1, 4, 0.85)
  94.  
  95. local parttopart_strong_joint_2 = Instance.new("ManualWeld", part_6)
  96. parttopart_strong_joint_2.Part1 = part_5
  97. parttopart_strong_joint_2.Name = "Part-to-Part Strong Joint"
  98. parttopart_strong_joint_2.C1 = CFrame.new(-0.3, 0.3, 0.1)* CFrame.Angles(-3.1415922641754, 2.8255848860681e-007, 2.4725787639568e-008)
  99. parttopart_strong_joint_2.Part0 = part_6
  100. parttopart_strong_joint_2.C0 = CFrame.new(0.3, -0.3, -0.3)* CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  101.  
  102. local missile = Instance.new("Part", model)
  103. missile.FormFactor = Enum.FormFactor.Custom
  104. missile.TopSurface = Enum.SurfaceType.Smooth
  105. missile.Anchored = true
  106. missile.Size = Vector3.new(0.6, 0.6, 2)
  107. missile.Name = "Missile"
  108. missile.FrontSurface = Enum.SurfaceType.Weld
  109. missile.CFrame = CFrame.new(123.822, 2.617, 139.218)* CFrame.Angles(0.0535933598876, 0.97561478614807, 1.5257872343063)
  110. missile.RightSurface = Enum.SurfaceType.Weld
  111. missile.BackSurface = Enum.SurfaceType.Weld
  112. missile.BrickColor = BrickColor.new("Really black")
  113. missile.Friction = 0.3
  114. missile.BottomSurface = Enum.SurfaceType.Smooth
  115.  
  116. local mesh_6 = Instance.new("SpecialMesh", missile)
  117. mesh_6.Scale = Vector3.new(0.8, 0.8, 1)
  118. mesh_6.MeshType = Enum.MeshType.Sphere
  119.  
  120. local part_7 = Instance.new("Part", model)
  121. part_7.FormFactor = Enum.FormFactor.Custom
  122. part_7.LeftSurface = Enum.SurfaceType.Weld
  123. part_7.Transparency = 1
  124. part_7.TopSurface = Enum.SurfaceType.Smooth
  125. part_7.Anchored = true
  126. part_7.Material = Enum.Material.Pebble
  127. part_7.Size = Vector3.new(0.2, 1.8, 0.6)
  128. part_7.FrontSurface = Enum.SurfaceType.Weld
  129. part_7.CFrame = CFrame.new(126.282, 2.536, 140.398)* CFrame.Angles(-1.5544818639755, 0.025228912010789, 0.97608178853989)
  130. part_7.RightSurface = Enum.SurfaceType.Weld
  131. part_7.BrickColor = BrickColor.new("Earth green")
  132. part_7.Friction = 0.3
  133. part_7.BottomSurface = Enum.SurfaceType.Smooth
  134.  
  135. local part_5 = Instance.new("Part", model)
  136. part_5.FormFactor = Enum.FormFactor.Custom
  137. part_5.LeftSurface = Enum.SurfaceType.Weld
  138. part_5.Transparency = 1
  139. part_5.TopSurface = Enum.SurfaceType.Smooth
  140. part_5.Anchored = true
  141. part_5.Size = Vector3.new(1, 1.8, 0.2)
  142. part_5.FrontSurface = Enum.SurfaceType.Weld
  143. part_5.CFrame = CFrame.new(126.048, 2.136, 140.723)* CFrame.Angles(-1.5544803142548, 0.0252291187644, 0.97608017921448)
  144. part_5.RightSurface = Enum.SurfaceType.Weld
  145. part_5.BrickColor = BrickColor.new("Earth green")
  146. part_5.Friction = 0.3
  147. part_5.BottomSurface = Enum.SurfaceType.Smooth
  148.  
  149. local connector2 = Instance.new("Part", model)
  150. connector2.FormFactor = Enum.FormFactor.Custom
  151. connector2.Transparency = 1
  152. connector2.TopSurface = Enum.SurfaceType.Smooth
  153. connector2.Anchored = true
  154. connector2.Size = Vector3.new(0.6, 0.6, 0.8)
  155. connector2.Name = "Connector2"
  156. connector2.FrontSurface = Enum.SurfaceType.Weld
  157. connector2.CFrame = CFrame.new(126.141, 2.533, 140.785)* CFrame.Angles(0.053593069314957, 0.97561174631119, -0.045009285211563)
  158. connector2.BackSurface = Enum.SurfaceType.Weld
  159. connector2.BrickColor = BrickColor.new("Earth green")
  160. connector2.Friction = 0.3
  161. connector2.BottomSurface = Enum.SurfaceType.Weld
  162.  
  163. local weld = Instance.new("Weld", connector2)
  164. weld.C0 = CFrame.new(0, 0, 1.5)
  165.  
  166. local weld_2 = Instance.new("Weld", connector2)
  167. weld_2.Part1 = wpart
  168. weld_2.Part0 = connector2
  169. weld_2.C0 = CFrame.new(0, 0, 1.5)* CFrame.Angles(-0.029999962076545, 0, -0)
  170.  
  171. local part_8 = Instance.new("Part", model)
  172. part_8.FormFactor = Enum.FormFactor.Custom
  173. part_8.TopSurface = Enum.SurfaceType.Weld
  174. part_8.Anchored = true
  175. part_8.Material = Enum.Material.Fabric
  176. part_8.Size = Vector3.new(2, 0.8, 2)
  177. part_8.CFrame = CFrame.new(128.083, 0.986, 138.219)* CFrame.Angles(1.5702991485596, -0.00036783868563361, -2.6170933246613)
  178. part_8.BackSurface = Enum.SurfaceType.Weld
  179. part_8.BrickColor = BrickColor.new("Black")
  180. part_8.Friction = 0.3
  181. part_8.BottomSurface = Enum.SurfaceType.Weld
  182.  
  183. local mesh_7 = Instance.new("CylinderMesh", part_8)
  184.  
  185. local part_9 = Instance.new("WedgePart", model)
  186. part_9.FormFactor = Enum.FormFactor.Custom
  187. part_9.BottomSurface = Enum.SurfaceType.Weld
  188. part_9.Friction = 0.3
  189. part_9.Material = Enum.Material.Pebble
  190. part_9.Size = Vector3.new(5.8, 0.8, 0.2)
  191. part_9.Name = "Part"
  192. part_9.CFrame = CFrame.new(126.343, 1.59, 141.025)* CFrame.Angles(0.00013167996075936, 1.0462950468063, -0.00083120877388865)
  193. part_9.BrickColor = BrickColor.new("Grime")
  194. part_9.Anchored = true
  195.  
  196. local mesh_8 = Instance.new("SpecialMesh", part_9)
  197. mesh_8.MeshType = Enum.MeshType.Wedge
  198.  
  199. local parttopart_strong_joint_3 = Instance.new("ManualWeld", part_9)
  200. parttopart_strong_joint_3.Part1 = part_10
  201. parttopart_strong_joint_3.Name = "Part-to-Part Strong Joint"
  202. parttopart_strong_joint_3.C1 = CFrame.new(-0.1, -2.2, 2)* CFrame.Angles(3.5926717828261e-005, 1.5707963705063, 0)
  203. parttopart_strong_joint_3.Part0 = part_9
  204. parttopart_strong_joint_3.C0 = CFrame.new(2.9, -0.4, -0.1)* CFrame.Angles(-2.8966138362885, 0, -3.1415927410126)
  205.  
  206. local parttopart_strong_joint_4 = Instance.new("ManualWeld", part_9)
  207. parttopart_strong_joint_4.Part1 = part_11
  208. parttopart_strong_joint_4.Name = "Part-to-Part Strong Joint"
  209. parttopart_strong_joint_4.C1 = CFrame.new(0.1, -2.2, -3.8)* CFrame.Angles(-1.5706030130386, -1.5673609972, 1.5715670585632)
  210. parttopart_strong_joint_4.Part0 = part_9
  211. parttopart_strong_joint_4.C0 = CFrame.new(2.9, -0.4, -0.1)* CFrame.Angles(-2.8966138362885, 0, -3.1415927410126)
  212.  
  213. local connector = Instance.new("Part", model)
  214. connector.FormFactor = Enum.FormFactor.Custom
  215. connector.CanCollide = false
  216. connector.LeftSurface = Enum.SurfaceType.Weld
  217. connector.TopSurface = Enum.SurfaceType.Weld
  218. connector.Anchored = true
  219. connector.Material = Enum.Material.Pebble
  220. connector.Size = Vector3.new(1, 0.6, 1)
  221. connector.Name = "Connector"
  222. connector.CFrame = CFrame.new(127.383, 2.288, 141.625)* CFrame.Angles(6.6177599364892e-005, 0.97629737854004, -0.00067340326495469)
  223. connector.BackSurface = Enum.SurfaceType.Weld
  224. connector.BrickColor = BrickColor.new("Black")
  225. connector.Friction = 0.3
  226. connector.BottomSurface = Enum.SurfaceType.Weld
  227.  
  228. local mesh_9 = Instance.new("BlockMesh", connector)
  229.  
  230. local weld_3 = Instance.new("Weld", connector)
  231. weld_3.Part1 = swivel
  232. weld_3.Part0 = connector
  233. weld_3.C0 = CFrame.new(0, -1, 0)* CFrame.Angles(-0, 0.069999851286411, -0)
  234.  
  235. local part_12 = Instance.new("Part", model)
  236. part_12.FormFactor = Enum.FormFactor.Custom
  237. part_12.LeftSurface = Enum.SurfaceType.Weld
  238. part_12.TopSurface = Enum.SurfaceType.Weld
  239. part_12.Anchored = true
  240. part_12.Material = Enum.Material.Pebble
  241. part_12.Size = Vector3.new(1.6, 0.8, 1)
  242. part_12.FrontSurface = Enum.SurfaceType.Weld
  243. part_12.CFrame = CFrame.new(126.076, 0.99, 144.683)* CFrame.Angles(-3.1414484977722, -1.0462808609009, 1.5715358257294)
  244. part_12.RightSurface = Enum.SurfaceType.Weld
  245. part_12.BackSurface = Enum.SurfaceType.Weld
  246. part_12.BrickColor = BrickColor.new("Grime")
  247. part_12.Friction = 0.3
  248. part_12.BottomSurface = Enum.SurfaceType.Weld
  249.  
  250. local mesh_10 = Instance.new("CylinderMesh", part_12)
  251. mesh_10.Offset = Vector3.new(0, 0, 1.5)
  252. mesh_10.Scale = Vector3.new(0.5, 1.02, 2)
  253.  
  254. local part_13 = Instance.new("Part", model)
  255. part_13.FormFactor = Enum.FormFactor.Custom
  256. part_13.LeftSurface = Enum.SurfaceType.Weld
  257. part_13.Transparency = 1
  258. part_13.TopSurface = Enum.SurfaceType.Smooth
  259. part_13.Anchored = true
  260. part_13.Material = Enum.Material.Pebble
  261. part_13.Size = Vector3.new(1, 1.8, 0.2)
  262. part_13.FrontSurface = Enum.SurfaceType.Weld
  263. part_13.CFrame = CFrame.new(126.068, 2.936, 140.736)* CFrame.Angles(-1.5544818639755, 0.025228917598724, 0.97608256340027)
  264. part_13.RightSurface = Enum.SurfaceType.Weld
  265. part_13.BrickColor = BrickColor.new("Earth green")
  266. part_13.Friction = 0.3
  267. part_13.BottomSurface = Enum.SurfaceType.Smooth
  268.  
  269. local part_10 = Instance.new("WedgePart", model)
  270. part_10.FormFactor = Enum.FormFactor.Custom
  271. part_10.BottomSurface = Enum.SurfaceType.Weld
  272. part_10.Friction = 0.3
  273. part_10.Material = Enum.Material.Pebble
  274. part_10.Size = Vector3.new(0.2, 2.8, 0.8)
  275. part_10.BackSurface = Enum.SurfaceType.Weld
  276. part_10.Name = "Part"
  277. part_10.CFrame = CFrame.new(127.086, 3.348, 140.413)* CFrame.Angles(3.1407999992371, 0.52451688051224, -2.8961009979248)
  278. part_10.BrickColor = BrickColor.new("Grime")
  279. part_10.Anchored = true
  280.  
  281. local mesh_11 = Instance.new("SpecialMesh", part_10)
  282. mesh_11.MeshType = Enum.MeshType.Wedge
  283.  
  284. local wpart = Instance.new("Part", model)
  285. wpart.FormFactor = Enum.FormFactor.Custom
  286. wpart.LeftSurface = Enum.SurfaceType.Weld
  287. wpart.TopSurface = Enum.SurfaceType.Weld
  288. wpart.Anchored = true
  289. wpart.Material = Enum.Material.Pebble
  290. wpart.Size = Vector3.new(1, 1, 1)
  291. wpart.Name = "Wpart"
  292. wpart.FrontSurface = Enum.SurfaceType.Weld
  293. wpart.CFrame = CFrame.new(127.383, 2.488, 141.625)* CFrame.Angles(6.6683634941e-005, 0.97629880905151, -0.00067375169601291)
  294. wpart.RightSurface = Enum.SurfaceType.Weld
  295. wpart.BackSurface = Enum.SurfaceType.Weld
  296. wpart.BrickColor = BrickColor.new("Black")
  297. wpart.Friction = 0.3
  298. wpart.BottomSurface = Enum.SurfaceType.Smooth
  299.  
  300. local mesh_12 = Instance.new("BlockMesh", wpart)
  301.  
  302. local swivel = Instance.new("Part", model)
  303. swivel.FormFactor = Enum.FormFactor.Custom
  304. swivel.TopSurface = Enum.SurfaceType.Smooth
  305. swivel.Anchored = true
  306. swivel.Material = Enum.Material.Pebble
  307. swivel.Size = Vector3.new(1, 0.2, 1)
  308. swivel.Name = "Swivel"
  309. swivel.CFrame = CFrame.new(127.382, 1.288, 141.626)* CFrame.Angles(0.00016023762873374, 1.0462990999222, -0.00075316365109757)
  310. swivel.BrickColor = BrickColor.new("Black")
  311. swivel.Friction = 0.3
  312. swivel.BottomSurface = Enum.SurfaceType.Weld
  313.  
  314. local part_14 = Instance.new("Part", model)
  315. part_14.FormFactor = Enum.FormFactor.Custom
  316. part_14.TopSurface = Enum.SurfaceType.Weld
  317. part_14.Anchored = true
  318. part_14.Material = Enum.Material.Fabric
  319. part_14.Size = Vector3.new(2, 0.8, 2)
  320. part_14.CFrame = CFrame.new(124.777, 0.99, 143.931)* CFrame.Angles(1.5703030824661, -0.00037468512891792, 0.52449935674667)
  321. part_14.BackSurface = Enum.SurfaceType.Weld
  322. part_14.BrickColor = BrickColor.new("Black")
  323. part_14.Friction = 0.3
  324. part_14.BottomSurface = Enum.SurfaceType.Weld
  325.  
  326. local mesh_13 = Instance.new("CylinderMesh", part_14)
  327.  
  328. local part_15 = Instance.new("Part", model)
  329. part_15.FormFactor = Enum.FormFactor.Custom
  330. part_15.LeftSurface = Enum.SurfaceType.Weld
  331. part_15.Transparency = 1
  332. part_15.TopSurface = Enum.SurfaceType.Smooth
  333. part_15.Anchored = true
  334. part_15.Material = Enum.Material.Pebble
  335. part_15.Size = Vector3.new(0.2, 1.8, 0.6)
  336. part_15.FrontSurface = Enum.SurfaceType.Weld
  337. part_15.CFrame = CFrame.new(125.834, 2.536, 141.061)* CFrame.Angles(-1.5544819831848, 0.025228798389435, 0.97608029842377)
  338. part_15.RightSurface = Enum.SurfaceType.Weld
  339. part_15.BrickColor = BrickColor.new("Earth green")
  340. part_15.Friction = 0.3
  341. part_15.BottomSurface = Enum.SurfaceType.Smooth
  342.  
  343. local part_16 = Instance.new("WedgePart", model)
  344. part_16.FormFactor = Enum.FormFactor.Custom
  345. part_16.BottomSurface = Enum.SurfaceType.Weld
  346. part_16.Friction = 0.3
  347. part_16.Material = Enum.Material.Pebble
  348. part_16.Size = Vector3.new(0.4, 4, 1.2)
  349. part_16.BackSurface = Enum.SurfaceType.Weld
  350. part_16.Name = "Part"
  351. part_16.CFrame = CFrame.new(129.308, 0.989, 140.086)* CFrame.Angles(-0.00049343926366419, -0.52480989694595, -1.569438457489)
  352. part_16.BrickColor = BrickColor.new("Grime")
  353. part_16.Anchored = true
  354.  
  355. local mesh_14 = Instance.new("SpecialMesh", part_16)
  356. mesh_14.MeshType = Enum.MeshType.Wedge
  357.  
  358. local part_17 = Instance.new("Part", model)
  359. part_17.FormFactor = Enum.FormFactor.Custom
  360. part_17.LeftSurface = Enum.SurfaceType.Weld
  361. part_17.TopSurface = Enum.SurfaceType.Weld
  362. part_17.Anchored = true
  363. part_17.Material = Enum.Material.Pebble
  364. part_17.Size = Vector3.new(0.8, 0.2, 1)
  365. part_17.FrontSurface = Enum.SurfaceType.Weld
  366. part_17.CFrame = CFrame.new(127.707, 2.688, 142.931)* CFrame.Angles(-1.571288228035, 0.00037697560037486, -2.1652903556824)
  367. part_17.RightSurface = Enum.SurfaceType.Weld
  368. part_17.BackSurface = Enum.SurfaceType.Weld
  369. part_17.BrickColor = BrickColor.new("Black")
  370. part_17.Friction = 0.3
  371. part_17.BottomSurface = Enum.SurfaceType.Weld
  372.  
  373. local mesh_15 = Instance.new("CylinderMesh", part_17)
  374. mesh_15.Offset = Vector3.new(0.1, -0.4, 0)
  375. mesh_15.Scale = Vector3.new(2.2, 3, 2)
  376.  
  377. local decal = Instance.new("Decal", part_17)
  378. decal.Face = Enum.NormalId.Top
  379. decal.Texture = "http://www.roblox.com/asset/?id=321456293"
  380.  
  381. local part_11 = Instance.new("WedgePart", model)
  382. part_11.FormFactor = Enum.FormFactor.Custom
  383. part_11.BottomSurface = Enum.SurfaceType.Weld
  384. part_11.Friction = 0.3
  385. part_11.Material = Enum.Material.Pebble
  386. part_11.Size = Vector3.new(0.2, 2.8, 0.8)
  387. part_11.BackSurface = Enum.SurfaceType.Weld
  388. part_11.Name = "Part"
  389. part_11.CFrame = CFrame.new(126.185, 3.349, 141.971)* CFrame.Angles(-0.00078649801434949, -0.52449625730515, -0.24544814229012)
  390. part_11.BrickColor = BrickColor.new("Grime")
  391. part_11.Anchored = true
  392.  
  393. local mesh_16 = Instance.new("SpecialMesh", part_11)
  394. mesh_16.MeshType = Enum.MeshType.Wedge
  395.  
  396. local part_18 = Instance.new("Part", model)
  397. part_18.FormFactor = Enum.FormFactor.Custom
  398. part_18.LeftSurface = Enum.SurfaceType.Weld
  399. part_18.TopSurface = Enum.SurfaceType.Weld
  400. part_18.Anchored = true
  401. part_18.Material = Enum.Material.Pebble
  402. part_18.Size = Vector3.new(1.6, 0.8, 1)
  403. part_18.FrontSurface = Enum.SurfaceType.Weld
  404. part_18.CFrame = CFrame.new(129.381, 0.986, 138.97)* CFrame.Angles(-3.1414670944214, -1.0462853908539, 1.5715194940567)
  405. part_18.RightSurface = Enum.SurfaceType.Weld
  406. part_18.BackSurface = Enum.SurfaceType.Weld
  407. part_18.BrickColor = BrickColor.new("Grime")
  408. part_18.Friction = 0.3
  409. part_18.BottomSurface = Enum.SurfaceType.Weld
  410.  
  411. local mesh_17 = Instance.new("CylinderMesh", part_18)
  412. mesh_17.Offset = Vector3.new(0, 0, 1.5)
  413. mesh_17.Scale = Vector3.new(0.5, 1.02, 2)
  414.  
  415. local part_19 = Instance.new("Part", model)
  416. part_19.FormFactor = Enum.FormFactor.Custom
  417. part_19.LeftSurface = Enum.SurfaceType.Weld
  418. part_19.TopSurface = Enum.SurfaceType.Weld
  419. part_19.Anchored = true
  420. part_19.Material = Enum.Material.Pebble
  421. part_19.Size = Vector3.new(0.4, 1, 1.8)
  422. part_19.FrontSurface = Enum.SurfaceType.Weld
  423. part_19.CFrame = CFrame.new(127.739, 2.488, 142.349)* CFrame.Angles(3.1408460140228, 0.59449046850204, 0.00045546816545539)
  424. part_19.RightSurface = Enum.SurfaceType.Weld
  425. part_19.BackSurface = Enum.SurfaceType.Weld
  426. part_19.BrickColor = BrickColor.new("Black")
  427. part_19.Friction = 0.3
  428. part_19.BottomSurface = Enum.SurfaceType.Weld
  429.  
  430. local mesh_18 = Instance.new("BlockMesh", part_19)
  431.  
  432. local part_20 = Instance.new("Part", model)
  433. part_20.FormFactor = Enum.FormFactor.Custom
  434. part_20.LeftSurface = Enum.SurfaceType.Weld
  435. part_20.TopSurface = Enum.SurfaceType.Weld
  436. part_20.Anchored = true
  437. part_20.Material = Enum.Material.Pebble
  438. part_20.Size = Vector3.new(4, 0.2, 1.6)
  439. part_20.FrontSurface = Enum.SurfaceType.Weld
  440. part_20.CFrame = CFrame.new(125.457, 2.766, 142.938)* CFrame.Angles(3.1408934593201, 0.52452129125595, -1.3254511356354)
  441. part_20.RightSurface = Enum.SurfaceType.Weld
  442. part_20.BackSurface = Enum.SurfaceType.Weld
  443. part_20.BrickColor = BrickColor.new("Grime")
  444. part_20.Friction = 0.3
  445. part_20.BottomSurface = Enum.SurfaceType.Weld
  446.  
  447. local mesh_19 = Instance.new("BlockMesh", part_20)
  448.  
  449. local part_21 = Instance.new("WedgePart", model)
  450. part_21.FormFactor = Enum.FormFactor.Custom
  451. part_21.BottomSurface = Enum.SurfaceType.Weld
  452. part_21.Friction = 0.3
  453. part_21.Material = Enum.Material.Pebble
  454. part_21.Size = Vector3.new(0.4, 4, 1.2)
  455. part_21.BackSurface = Enum.SurfaceType.Weld
  456. part_21.Name = "Part"
  457. part_21.CFrame = CFrame.new(127.006, 0.992, 144.066)* CFrame.Angles(3.1409738063812, 0.52441173791885, -1.5708454847336)
  458. part_21.BrickColor = BrickColor.new("Grime")
  459. part_21.Anchored = true
  460.  
  461. local mesh_20 = Instance.new("SpecialMesh", part_21)
  462. mesh_20.MeshType = Enum.MeshType.Wedge
  463.  
  464. local part_22 = Instance.new("Part", model)
  465. part_22.FormFactor = Enum.FormFactor.Custom
  466. part_22.LeftSurface = Enum.SurfaceType.Weld
  467. part_22.TopSurface = Enum.SurfaceType.Weld
  468. part_22.Anchored = true
  469. part_22.Material = Enum.Material.Pebble
  470. part_22.Size = Vector3.new(4, 0.4, 3.4)
  471. part_22.FrontSurface = Enum.SurfaceType.Weld
  472. part_22.CFrame = CFrame.new(128.161, 0.988, 142.077)* CFrame.Angles(3.140882730484, 0.52449309825897, 0.00043555241427384)
  473. part_22.RightSurface = Enum.SurfaceType.Weld
  474. part_22.BackSurface = Enum.SurfaceType.Weld
  475. part_22.BrickColor = BrickColor.new("Grime")
  476. part_22.Friction = 0.3
  477. part_22.BottomSurface = Enum.SurfaceType.Weld
  478.  
  479. local mesh_21 = Instance.new("BlockMesh", part_22)
  480.  
  481. local part_23 = Instance.new("Part", model)
  482. part_23.FormFactor = Enum.FormFactor.Custom
  483. part_23.LeftSurface = Enum.SurfaceType.Weld
  484. part_23.TopSurface = Enum.SurfaceType.Weld
  485. part_23.Anchored = true
  486. part_23.Material = Enum.Material.Pebble
  487. part_23.Size = Vector3.new(1.4, 0.8, 0.8)
  488. part_23.FrontSurface = Enum.SurfaceType.Weld
  489. part_23.CFrame = CFrame.new(128.764, 2.588, 142.438)* CFrame.Angles(3.1408460140228, 0.59448808431625, 0.00045505102025345)
  490. part_23.RightSurface = Enum.SurfaceType.Weld
  491. part_23.BackSurface = Enum.SurfaceType.Weld
  492. part_23.BrickColor = BrickColor.new("Black")
  493. part_23.Friction = 0.3
  494. part_23.BottomSurface = Enum.SurfaceType.Weld
  495.  
  496. local mesh_22 = Instance.new("BlockMesh", part_23)
  497.  
  498. local vehicleseat = Instance.new("VehicleSeat", model)
  499. vehicleseat.Friction = 0.3
  500. vehicleseat.BottomSurface = Enum.SurfaceType.Smooth
  501. vehicleseat.TopSurface = Enum.SurfaceType.Smooth
  502. vehicleseat.Anchored = true
  503. vehicleseat.BrickColor = BrickColor.new("Grime")
  504. vehicleseat.CFrame = CFrame.new(130.325, 0.688, 143.329)* CFrame.Angles(0.0001598109229235, 1.0463030338287, -0.00075284828199074)
  505. vehicleseat.Size = Vector3.new(1, 1, 1)
  506. vehicleseat.FrontSurface = Enum.SurfaceType.Weld
  507. vehicleseat.HeadsUpDisplay = false
  508.  
  509. local swiv = Instance.new("Sound", vehicleseat)
  510. swiv.Pitch = 0.7
  511. swiv.Name = "Swiv"
  512. swiv.Volume = 0
  513. swiv.SoundId = "http://www.roblox.com/asset/?id=31245465"
  514. swiv.PlayOnRemove = true
  515.  
  516. local vehiclegui = Instance.new("ScreenGui", vehicleseat)
  517. vehiclegui.Name = "VehicleGui"
  518.  
  519. local frame = Instance.new("Frame", vehiclegui)
  520. frame.Size = UDim2.new(0.2, 0, 0.05, 0)
  521. frame.BorderColor3 = Color3.new(0, 0, 0)
  522. frame.Position = UDim2.new(0, 0, 0.8, 0)
  523. frame.BackgroundTransparency = 1
  524. frame.BackgroundColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  525.  
  526. local he = Instance.new("TextButton", frame)
  527. he.FontSize = Enum.FontSize.Size14
  528. he.BackgroundColor3 = Color3.new(0.666667, 0.666667, 0.498039)
  529. he.Size = UDim2.new(1, 0, 1, 0)
  530. he.Position = UDim2.new(0.025, 0, -1, 0)
  531. he.BorderColor3 = Color3.new(0, 0, 0)
  532. he.Text = "2cm Kanone "
  533. he.TextColor3 = Color3.new(1, 1, 1)
  534. he.Font = Enum.Font.ArialBold
  535. he.Name = "HE"
  536.  
  537. local gradient = Instance.new("ImageLabel", he)
  538. gradient.Image = "http://www.roblox.com/asset/?id=45858510"
  539. gradient.Name = "Gradient"
  540. gradient.ZIndex = 2
  541. gradient.SliceCenter = 0, 0, 0, 0
  542. gradient.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  543. gradient.BackgroundTransparency = 1
  544. gradient.Size = UDim2.new(1, 0, 1, 0)
  545. gradient.BackgroundColor3 = Color3.new(0, 0, 0)
  546.  
  547. local crosshairs = Instance.new("ImageLabel", frame)
  548. crosshairs.Visible = false
  549. crosshairs.Image = "http://www.roblox.com/asset/?id=138309492"
  550. crosshairs.Name = "Crosshairs"
  551. crosshairs.SliceCenter = 0, 0, 0, 0
  552. crosshairs.Position = UDim2.new(0.5, -100, 0.5, -100)
  553. crosshairs.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  554. crosshairs.BackgroundTransparency = 1
  555. crosshairs.Size = UDim2.new(0, 200, 0, 200)
  556. crosshairs.BackgroundColor3 = Color3.new(1, 1, 1)
  557.  
  558. local vehicle = Instance.new("ObjectValue", vehiclegui)
  559. vehicle.Name = "Vehicle"
  560.  
  561. local part_24 = Instance.new("WedgePart", model)
  562. part_24.FormFactor = Enum.FormFactor.Custom
  563. part_24.BottomSurface = Enum.SurfaceType.Weld
  564. part_24.Friction = 0.3
  565. part_24.Material = Enum.Material.Pebble
  566. part_24.Size = Vector3.new(0.8, 1.6, 0.4)
  567. part_24.BackSurface = Enum.SurfaceType.Weld
  568. part_24.Name = "Part"
  569. part_24.CFrame = CFrame.new(129.933, 0.988, 144.604)* CFrame.Angles(1.569882273674, -0.00064525211928412, -1.0463042259216)
  570. part_24.BrickColor = BrickColor.new("Grime")
  571. part_24.Anchored = true
  572.  
  573. local mesh_23 = Instance.new("SpecialMesh", part_24)
  574. mesh_23.MeshType = Enum.MeshType.Wedge
  575.  
  576. local part_25 = Instance.new("WedgePart", model)
  577. part_25.FormFactor = Enum.FormFactor.Custom
  578. part_25.BottomSurface = Enum.SurfaceType.Weld
  579. part_25.Friction = 0.3
  580. part_25.Material = Enum.Material.Pebble
  581. part_25.Size = Vector3.new(0.8, 1.6, 0.4)
  582. part_25.BackSurface = Enum.SurfaceType.Weld
  583. part_25.Name = "Part"
  584. part_25.CFrame = CFrame.new(129.932, 0.588, 144.603)* CFrame.Angles(-1.570859670639, 0.0010032998397946, 1.0467846393585)
  585. part_25.BrickColor = BrickColor.new("Grime")
  586. part_25.Anchored = true
  587.  
  588. local mesh_24 = Instance.new("SpecialMesh", part_25)
  589. mesh_24.MeshType = Enum.MeshType.Wedge
  590.  
  591. local part_26 = Instance.new("WedgePart", model)
  592. part_26.FormFactor = Enum.FormFactor.Custom
  593. part_26.BottomSurface = Enum.SurfaceType.Weld
  594. part_26.Friction = 0.3
  595. part_26.Material = Enum.Material.Pebble
  596. part_26.Size = Vector3.new(0.8, 1.6, 0.4)
  597. part_26.BackSurface = Enum.SurfaceType.Weld
  598. part_26.Name = "Part"
  599. part_26.CFrame = CFrame.new(131.236, 0.586, 142.354)* CFrame.Angles(-1.5714972019196, -0.00010495088645257, 1.046337723732)
  600. part_26.BrickColor = BrickColor.new("Grime")
  601. part_26.Anchored = true
  602.  
  603. local mesh_25 = Instance.new("SpecialMesh", part_26)
  604. mesh_25.MeshType = Enum.MeshType.Wedge
  605.  
  606. local part_27 = Instance.new("WedgePart", model)
  607. part_27.FormFactor = Enum.FormFactor.Custom
  608. part_27.BottomSurface = Enum.SurfaceType.Weld
  609. part_27.Friction = 0.3
  610. part_27.Material = Enum.Material.Pebble
  611. part_27.Size = Vector3.new(0.8, 1.6, 0.4)
  612. part_27.BackSurface = Enum.SurfaceType.Weld
  613. part_27.Name = "Part"
  614. part_27.CFrame = CFrame.new(131.236, 0.986, 142.355)* CFrame.Angles(1.5703814029694, -0.00035267986822873, -1.0463029146194)
  615. part_27.BrickColor = BrickColor.new("Grime")
  616. part_27.Anchored = true
  617.  
  618. local mesh_26 = Instance.new("SpecialMesh", part_27)
  619. mesh_26.MeshType = Enum.MeshType.Wedge
  620.  
  621. local part_28 = Instance.new("WedgePart", model)
  622. part_28.FormFactor = Enum.FormFactor.Custom
  623. part_28.BottomSurface = Enum.SurfaceType.Weld
  624. part_28.Friction = 0.3
  625. part_28.Material = Enum.Material.Pebble
  626. part_28.Size = Vector3.new(0.8, 1.6, 0.4)
  627. part_28.BackSurface = Enum.SurfaceType.Weld
  628. part_28.Name = "Part"
  629. part_28.CFrame = CFrame.new(131.317, 0.19, 145.404)* CFrame.Angles(-1.5710520744324, 0.00089745206059888, 1.0467940568924)
  630. part_28.BrickColor = BrickColor.new("Grime")
  631. part_28.Anchored = true
  632.  
  633. local mesh_27 = Instance.new("SpecialMesh", part_28)
  634. mesh_27.MeshType = Enum.MeshType.Wedge
  635.  
  636. local part_29 = Instance.new("WedgePart", model)
  637. part_29.FormFactor = Enum.FormFactor.Custom
  638. part_29.BottomSurface = Enum.SurfaceType.Weld
  639. part_29.Friction = 0.3
  640. part_29.Material = Enum.Material.Pebble
  641. part_29.Size = Vector3.new(0.8, 1.6, 0.4)
  642. part_29.BackSurface = Enum.SurfaceType.Weld
  643. part_29.Name = "Part"
  644. part_29.CFrame = CFrame.new(131.318, 0.589, 145.403)* CFrame.Angles(1.5703896284103, -0.00035960640525445, -1.046309709549)
  645. part_29.BrickColor = BrickColor.new("Grime")
  646. part_29.Anchored = true
  647.  
  648. local mesh_28 = Instance.new("SpecialMesh", part_29)
  649. mesh_28.MeshType = Enum.MeshType.Wedge
  650.  
  651. local effect = Instance.new("Part", model)
  652. effect.FormFactor = Enum.FormFactor.Custom
  653. effect.CanCollide = false
  654. effect.Transparency = 1
  655. effect.TopSurface = Enum.SurfaceType.Weld
  656. effect.Anchored = true
  657. effect.Size = Vector3.new(0.6, 1, 0.6)
  658. effect.Name = "Effect"
  659. effect.CFrame = CFrame.new(122.58, 2.662, 138.378)* CFrame.Angles(-1.5544818639755, 0.025228915736079, 0.97608232498169)
  660. effect.BrickColor = BrickColor.new("Bright red")
  661. effect.Friction = 0.3
  662. effect.BottomSurface = Enum.SurfaceType.Weld
  663.  
  664. local smoke = Instance.new("Smoke", effect)
  665. smoke.Enabled = false
  666. smoke.Color = Color3.new(0.109804, 0.109804, 0.109804)
  667. smoke.RiseVelocity = 5
  668. smoke.Size = 2
  669.  
  670. local fire = Instance.new("Sound", effect)
  671. fire.Pitch = 0.6
  672. fire.Name = "Fire"
  673. fire.Volume = 1
  674. fire.SoundId = "http://www.roblox.com/asset?id=2101148"
  675.  
  676. local reload = Instance.new("Sound", effect)
  677. reload.Name = "Reload"
  678. reload.Volume = 0
  679. reload.SoundId = "http://www.roblox.com/asset/?id=13510737"
  680.  
  681. local mesh_29 = Instance.new("SpecialMesh", effect)
  682. mesh_29.Scale = Vector3.new(0.8, 8, 0.8)
  683. mesh_29.MeshType = Enum.MeshType.Sphere
  684.  
  685. local part_30 = Instance.new("WedgePart", model)
  686. part_30.FormFactor = Enum.FormFactor.Custom
  687. part_30.BottomSurface = Enum.SurfaceType.Weld
  688. part_30.Friction = 0.3
  689. part_30.Material = Enum.Material.Pebble
  690. part_30.Size = Vector3.new(0.8, 1.6, 0.4)
  691. part_30.BackSurface = Enum.SurfaceType.Weld
  692. part_30.Name = "Part"
  693. part_30.CFrame = CFrame.new(132.621, 0.186, 143.155)* CFrame.Angles(-1.5714539289474, -0.00014606377226301, 1.0463352203369)
  694. part_30.BrickColor = BrickColor.new("Grime")
  695. part_30.Anchored = true
  696.  
  697. local mesh_30 = Instance.new("SpecialMesh", part_30)
  698. mesh_30.MeshType = Enum.MeshType.Wedge
  699.  
  700. local part_31 = Instance.new("WedgePart", model)
  701. part_31.FormFactor = Enum.FormFactor.Custom
  702. part_31.BottomSurface = Enum.SurfaceType.Weld
  703. part_31.Friction = 0.3
  704. part_31.Material = Enum.Material.Pebble
  705. part_31.Size = Vector3.new(0.8, 1.6, 0.4)
  706. part_31.BackSurface = Enum.SurfaceType.Weld
  707. part_31.Name = "Part"
  708. part_31.CFrame = CFrame.new(132.62, 0.587, 143.154)* CFrame.Angles(1.5703920125961, -0.00035881216172129, -1.0463037490845)
  709. part_31.BrickColor = BrickColor.new("Grime")
  710. part_31.Anchored = true
  711.  
  712. local mesh_31 = Instance.new("SpecialMesh", part_31)
  713. mesh_31.MeshType = Enum.MeshType.Wedge
  714.  
  715. local part_32 = Instance.new("Part", model)
  716. part_32.FormFactor = Enum.FormFactor.Custom
  717. part_32.TopSurface = Enum.SurfaceType.Weld
  718. part_32.Anchored = true
  719. part_32.Material = Enum.Material.Pebble
  720. part_32.Size = Vector3.new(3.4, 0.4, 1)
  721. part_32.CFrame = CFrame.new(133.094, 0.187, 144.931)* CFrame.Angles(-3.1414587497711, -1.0463427305222, 0.00065868074307218)
  722. part_32.BrickColor = BrickColor.new("Grime")
  723. part_32.Friction = 0.3
  724. part_32.BottomSurface = Enum.SurfaceType.Smooth
  725.  
  726. local mesh_32 = Instance.new("BlockMesh", part_32)
  727.  
  728. local wer2 = Instance.new("ObjectValue", model)
  729. wer2.Name = "WER2"
  730. wer2.Value = weld_2
  731.  
  732. local wer = Instance.new("ObjectValue", model)
  733. wer.Name = "WER"
  734. wer.Value = weld_3
  735.  
  736. cz35.Model.VehicleSeat.ChildAdded:connect(function(w)
  737. print("ChildAdded")
  738. if w.className=="Weld" then
  739. print("IsAWeld")
  740. if w.Name=="SeatWeld" then
  741. print("IsASeatWeld")
  742. if w.Part1.Parent:findFirstChild("Humanoid")~=nil then
  743. print("IsAHumanoid")
  744. pl=game.Players:GetPlayerFromCharacter(w.Part1.Parent)
  745. if pl~=nil then
  746. print("IsAPlayer")
  747. if pl.PlayerGui:findFirstChild("VehicleGui")~=nil then
  748. print("found vehicle gui - deleting")
  749. pl.PlayerGui:findFirstChild("VehicleGui").Parent=nil
  750. print("deleted")
  751. else
  752. print("no gui found - adding")
  753. newgui=cz35.Model.VehicleSeat.VehicleGui:clone()
  754. newgui.Parent=pl.PlayerGui
  755. newgui.Vehicle.Value=cz35.Model.VehicleSeat
  756. print("added")
  757. end
  758. end
  759. end
  760. end
  761. end
  762. end)
  763.  
  764. cz35.Model.VehicleSeat.ChildRemoved:connect(function(w)
  765. print("ChildRemoved")
  766. if w.className=="Weld" then
  767. print("IsAWeld")
  768. if w.Name=="SeatWeld" then
  769. print("IsASeatWeld")
  770. if w.Part1.Parent:findFirstChild("Humanoid")~=nil then
  771. print("IsAHumanoid")
  772. pl=game.Players:GetPlayerFromCharacter(w.Part1.Parent)
  773. if pl~=nil then
  774. print("IsAPlayer")
  775. if pl.PlayerGui:findFirstChild("VehicleGui")~=nil then
  776. print("found vehicle gui - deleting")
  777. pl.PlayerGui:findFirstChild("VehicleGui").Parent=nil
  778. print("deleted")
  779. else
  780. print("no gui found - wierd...")
  781. end
  782. end
  783. end
  784. end
  785. end
  786. end)
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794. angle = 0
  795.  
  796.  
  797. while true do
  798. wait()
  799. if cz35.Model.VehicleSeat.Steer == 1 and angle < 30 then
  800. cz35.Model.VehicleSeat.Swiv:play()
  801. angle = angle + 1
  802. cz35.Model.WER.Value.C0 = cz35.Model.WER.Value.C0 * CFrame.fromEulerAnglesXYZ(0,0.01,0)
  803. elseif cz35.Model.VehicleSeat.Steer == -1 and angle > -30 then
  804. cz35.Model.VehicleSeat.Swiv:play()
  805. angle = angle - 1
  806. cz35.Model.WER.Value.C0 = cz35.Model.WER.Value.C0 * CFrame.fromEulerAnglesXYZ(0,-0.01,0)
  807. end
  808. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement