Advertisement
billwa

Howitzer -WIP- DONT TOUCH

Oct 20th, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.74 KB | None | 0 0
  1. --[[
  2. Objects Skipped: 2
  3. Script: 2
  4. --]]
  5.  
  6. model = Instance.new("Model",game.Workspace)
  7.  
  8. model = Instance.new("Model",model)
  9.  
  10. switch = Instance.new("Part",model)
  11. switch.FormFactor = Enum.FormFactor.Plate
  12. switch.LeftSurface = Enum.SurfaceType.Universal
  13. switch.TopSurface = Enum.SurfaceType.Weld
  14. switch.Anchored = true
  15. switch.Size = Vector3.new(1,0.40000000596046,1)
  16. switch.Name = "Switch"
  17. switch.FrontSurface = Enum.SurfaceType.Universal
  18. switch.CFrame = CFrame.new(-138.5435333252,3.2296450138092,-104.119972229) * CFrame.Angles(1.5708000659943, -1.3089830875397, -1.5707968473434)
  19. switch.RightSurface = Enum.SurfaceType.Universal
  20. switch.BackSurface = Enum.SurfaceType.Weld
  21. switch.BrickColor = BrickColor.new("Bright green")
  22. switch.Friction = 0.30000001192093
  23. switch.BottomSurface = Enum.SurfaceType.Weld
  24.  
  25. gunsound = Instance.new("Sound",switch)
  26. gunsound.Name = "GunSound"
  27. gunsound.Volume = 1
  28. gunsound.SoundId = "http://www.roblox.com/asset?id=2101148"
  29.  
  30. clickdetector = Instance.new("ClickDetector",switch)
  31. clickdetector.MaxActivationDistance = 100
  32.  
  33. mesh = Instance.new("BlockMesh",switch)
  34.  
  35. gunbarrel = Instance.new("Model",model)
  36. gunbarrel.Name = "GunBarrel"
  37.  
  38. one = Instance.new("Part",gunbarrel)
  39. one.FormFactor = Enum.FormFactor.Symmetric
  40. one.LeftSurface = Enum.SurfaceType.Weld
  41. one.Transparency = 1
  42. one.TopSurface = Enum.SurfaceType.Smooth
  43. one.Anchored = true
  44. one.Size = Vector3.new(1,2,2)
  45. one.Name = "One"
  46. one.CFrame = CFrame.new(-124.44416809082,6.4527320861816,-106.119972229) * CFrame.Angles(1.5707969665527, 0.26179853081703, -5.5741920732544e-006)
  47. one.BrickColor = BrickColor.new("Dark stone grey")
  48. one.Friction = 0.30000001192093
  49. one.BottomSurface = Enum.SurfaceType.Smooth
  50.  
  51. fire = Instance.new("Fire",one)
  52. fire.Enabled = false
  53. fire.Heat = 25
  54. fire.Color = Color3.new(0, 0, 1)
  55. fire.SecondaryColor = Color3.new(1, 1, 1)
  56. fire.Size = 30
  57.  
  58. smooth_block_model = Instance.new("Part",model)
  59. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  60. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  61. smooth_block_model.Anchored = true
  62. smooth_block_model.Size = Vector3.new(3,4,2)
  63. smooth_block_model.Name = "Smooth Block Model"
  64. smooth_block_model.CFrame = CFrame.new(-132.32038879395,4.3940868377686,-106.12000274658) * CFrame.Angles(-1.5707957744598, -0.26179853081703, -1.5707955360413)
  65. smooth_block_model.BrickColor = BrickColor.new("Earth green")
  66. smooth_block_model.Friction = 0.30000001192093
  67. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  68.  
  69. mesh = Instance.new("CylinderMesh",smooth_block_model)
  70. mesh.Scale = Vector3.new(0.89999997615814,1,0.89999997615814)
  71.  
  72. smooth_block_model = Instance.new("Part",model)
  73. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  74. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  75. smooth_block_model.Anchored = true
  76. smooth_block_model.Size = Vector3.new(3,1,3)
  77. smooth_block_model.Name = "Smooth Block Model"
  78. smooth_block_model.CFrame = CFrame.new(-133.51976013184,4.1020069122314,-106.12000274658) * CFrame.Angles(-1.5707957744598, -0.26179853081703, -1.5707898139954)
  79. smooth_block_model.BrickColor = BrickColor.new("Really black")
  80. smooth_block_model.Friction = 0.30000001192093
  81. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  82.  
  83. mesh = Instance.new("CylinderMesh",smooth_block_model)
  84. mesh.Scale = Vector3.new(1,0.10000000149012,1)
  85.  
  86. smooth_block_model = Instance.new("Part",model)
  87. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  88. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  89. smooth_block_model.Anchored = true
  90. smooth_block_model.Size = Vector3.new(3,3,2)
  91. smooth_block_model.Name = "Smooth Block Model"
  92. smooth_block_model.CFrame = CFrame.new(-126.04193878174,6.0762910842896,-106.12001800537) * CFrame.Angles(-1.5707957744598, -0.26179853081703, -1.5707902908325)
  93. smooth_block_model.BrickColor = BrickColor.new("Earth green")
  94. smooth_block_model.Friction = 0.30000001192093
  95. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  96.  
  97. mesh = Instance.new("CylinderMesh",smooth_block_model)
  98. mesh.Scale = Vector3.new(0.69999998807907,1,0.69999998807907)
  99.  
  100. fire = Instance.new("Fire",smooth_block_model)
  101. fire.Enabled = false
  102. fire.Heat = 25
  103. fire.Color = Color3.new(0, 0, 1)
  104. fire.SecondaryColor = Color3.new(1, 1, 1)
  105. fire.Size = 30
  106.  
  107. smooth_block_model = Instance.new("Part",model)
  108. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  109. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  110. smooth_block_model.Anchored = true
  111. smooth_block_model.Size = Vector3.new(3,3,2)
  112. smooth_block_model.Name = "Smooth Block Model"
  113. smooth_block_model.CFrame = CFrame.new(-128.93963623047,5.2998561859131,-106.119972229) * CFrame.Angles(-1.5707957744598, -0.26179853081703, -1.5707951784134)
  114. smooth_block_model.BrickColor = BrickColor.new("Earth green")
  115. smooth_block_model.Friction = 0.30000001192093
  116. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  117.  
  118. mesh = Instance.new("CylinderMesh",smooth_block_model)
  119. mesh.Scale = Vector3.new(0.80000001192093,1,0.80000001192093)
  120.  
  121. smooth_block_model = Instance.new("Part",model)
  122. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  123. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  124. smooth_block_model.Anchored = true
  125. smooth_block_model.Size = Vector3.new(3,1,2)
  126. smooth_block_model.Name = "Smooth Block Model"
  127. smooth_block_model.CFrame = CFrame.new(-125.01009368896,6.3939127922058,-106.12000274658) * CFrame.Angles(-1.5707957744598, -0.26179853081703, -1.5707902908325)
  128. smooth_block_model.BrickColor = BrickColor.new("Really black")
  129. smooth_block_model.Friction = 0.30000001192093
  130. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  131.  
  132. mesh = Instance.new("CylinderMesh",smooth_block_model)
  133. mesh.Scale = Vector3.new(0.5,1,0.5)
  134.  
  135. fire = Instance.new("Fire",smooth_block_model)
  136. fire.Enabled = false
  137. fire.Heat = 25
  138. fire.Color = Color3.new(0, 0, 1)
  139. fire.SecondaryColor = Color3.new(1, 1, 1)
  140. fire.Size = 30
  141.  
  142. part = Instance.new("Part",model)
  143. part.FormFactor = Enum.FormFactor.Plate
  144. part.TopSurface = Enum.SurfaceType.Smooth
  145. part.Anchored = true
  146. part.Size = Vector3.new(9,6.4000000953674,1)
  147. part.CFrame = CFrame.new(-133.89038085938,4.3215627670288,-106.12001800537) * CFrame.Angles(-1.5708159208298, 1.3089789152145, 1.5708205699921)
  148. part.BrickColor = BrickColor.new("Earth green")
  149. part.Friction = 0.30000001192093
  150. part.BottomSurface = Enum.SurfaceType.Smooth
  151.  
  152. mesh = Instance.new("BlockMesh",part)
  153. mesh.Scale = Vector3.new(1,1,0.5)
  154.  
  155. fire = Instance.new("Fire",part)
  156. fire.Enabled = false
  157. fire.Heat = 25
  158. fire.Color = Color3.new(0, 0, 1)
  159. fire.SecondaryColor = Color3.new(1, 1, 1)
  160. fire.Size = 30
  161.  
  162. part = Instance.new("Part",model)
  163. part.FormFactor = Enum.FormFactor.Plate
  164. part.TopSurface = Enum.SurfaceType.Smooth
  165. part.Anchored = true
  166. part.Size = Vector3.new(3,6.4000000953674,1)
  167. part.CFrame = CFrame.new(-134.80741882324,4.1045589447021,-111.62708282471) * CFrame.Angles(-2.8883347511292, 0.75186890363693, 2.7793765068054)
  168. part.BrickColor = BrickColor.new("Earth green")
  169. part.Friction = 0.30000001192093
  170. part.BottomSurface = Enum.SurfaceType.Smooth
  171.  
  172. mesh = Instance.new("BlockMesh",part)
  173. mesh.Scale = Vector3.new(1,1,0.5)
  174.  
  175. fire = Instance.new("Fire",part)
  176. fire.Enabled = false
  177. fire.Heat = 25
  178. fire.Color = Color3.new(0, 0, 1)
  179. fire.SecondaryColor = Color3.new(1, 1, 1)
  180. fire.Size = 30
  181.  
  182. smooth_block_model = Instance.new("Part",model)
  183. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  184. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  185. smooth_block_model.Anchored = true
  186. smooth_block_model.Size = Vector3.new(3,1,3)
  187. smooth_block_model.Name = "Smooth Block Model"
  188. smooth_block_model.CFrame = CFrame.new(-134.24815368652,4.0030288696289,-106.12003326416) * CFrame.Angles(-1.5707957744598, -0.26179853081703, -1.5707955360413)
  189. smooth_block_model.BrickColor = BrickColor.new("Really black")
  190. smooth_block_model.Friction = 0.30000001192093
  191. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  192.  
  193. mesh = Instance.new("CylinderMesh",smooth_block_model)
  194. mesh.Scale = Vector3.new(1,0.10000000149012,1)
  195.  
  196. model = Instance.new("Model",model)
  197.  
  198. smooth_block_model = Instance.new("Part",model)
  199. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  200. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  201. smooth_block_model.Anchored = true
  202. smooth_block_model.Size = Vector3.new(5,1,5)
  203. smooth_block_model.Name = "Smooth Block Model"
  204. smooth_block_model.CFrame = CFrame.new(-136.6499786377,2.6000010967255,-109.01999664307) * CFrame.Angles(-1.5707963705063, 0, 0)
  205. smooth_block_model.BrickColor = BrickColor.new("Earth green")
  206. smooth_block_model.Friction = 0.30000001192093
  207. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  208.  
  209. mesh = Instance.new("CylinderMesh",smooth_block_model)
  210.  
  211. fire = Instance.new("Fire",smooth_block_model)
  212. fire.Enabled = false
  213. fire.Heat = 25
  214. fire.Color = Color3.new(0, 0, 1)
  215. fire.SecondaryColor = Color3.new(1, 1, 1)
  216. fire.Size = 30
  217.  
  218. smooth_block_model = Instance.new("Part",model)
  219. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  220. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  221. smooth_block_model.Anchored = true
  222. smooth_block_model.Size = Vector3.new(5,1,5)
  223. smooth_block_model.Name = "Smooth Block Model"
  224. smooth_block_model.CFrame = CFrame.new(-136.64999389648,2.6000900268555,-109.12003326416) * CFrame.Angles(-1.5707958936691, -2.2351741790771e-007, 4.0176368543143e-007)
  225. smooth_block_model.BrickColor = BrickColor.new("Really black")
  226. smooth_block_model.Friction = 0.30000001192093
  227. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  228.  
  229. mesh = Instance.new("CylinderMesh",smooth_block_model)
  230. mesh.Scale = Vector3.new(1,1,0.80000001192093)
  231.  
  232. fire = Instance.new("Fire",smooth_block_model)
  233. fire.Enabled = false
  234. fire.Heat = 25
  235. fire.Color = Color3.new(0, 0, 1)
  236. fire.SecondaryColor = Color3.new(1, 1, 1)
  237. fire.Size = 30
  238.  
  239. model = Instance.new("Model",model)
  240.  
  241. smooth_block_model = Instance.new("Part",model)
  242. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  243. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  244. smooth_block_model.Anchored = true
  245. smooth_block_model.Size = Vector3.new(5,1,5)
  246. smooth_block_model.Name = "Smooth Block Model"
  247. smooth_block_model.CFrame = CFrame.new(-136.6499786377,2.6000950336456,-103.12001800537) * CFrame.Angles(-1.5707958936691, -2.2351741790771e-007, -3.1415922641754)
  248. smooth_block_model.BrickColor = BrickColor.new("Earth green")
  249. smooth_block_model.Friction = 0.30000001192093
  250. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  251.  
  252. mesh = Instance.new("CylinderMesh",smooth_block_model)
  253.  
  254. smooth_block_model = Instance.new("Part",model)
  255. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  256. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  257. smooth_block_model.Anchored = true
  258. smooth_block_model.Size = Vector3.new(5,1,5)
  259. smooth_block_model.Name = "Smooth Block Model"
  260. smooth_block_model.CFrame = CFrame.new(-136.6499786377,2.6000010967255,-103.01999664307) * CFrame.Angles(-1.5707963705063, 0, -3.1415927410126)
  261. smooth_block_model.BrickColor = BrickColor.new("Really black")
  262. smooth_block_model.Friction = 0.30000001192093
  263. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  264.  
  265. mesh = Instance.new("CylinderMesh",smooth_block_model)
  266. mesh.Scale = Vector3.new(1,1,0.80000001192093)
  267.  
  268. smooth_block_model = Instance.new("Part",model)
  269. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  270. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  271. smooth_block_model.Anchored = true
  272. smooth_block_model.Size = Vector3.new(3,6,2)
  273. smooth_block_model.Name = "Smooth Block Model"
  274. smooth_block_model.CFrame = CFrame.new(-137.1499786377,3.0999450683594,-106.119972229) * CFrame.Angles(-1.5707957744598, -0.26179853081703, -1.5707955360413)
  275. smooth_block_model.BrickColor = BrickColor.new("Earth green")
  276. smooth_block_model.Friction = 0.30000001192093
  277. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  278.  
  279. mesh = Instance.new("CylinderMesh",smooth_block_model)
  280.  
  281. part = Instance.new("Part",model)
  282. part.FormFactor = Enum.FormFactor.Plate
  283. part.TopSurface = Enum.SurfaceType.Smooth
  284. part.Anchored = true
  285. part.Size = Vector3.new(5,0.40000000596046,4)
  286. part.CFrame = CFrame.new(-136.33316040039,3.4296419620514,-106.12001800537) * CFrame.Angles(1.5707986354828, -1.3089801073074, 1.5707937479019)
  287. part.BrickColor = BrickColor.new("Earth green")
  288. part.Friction = 0.30000001192093
  289. part.BottomSurface = Enum.SurfaceType.Smooth
  290.  
  291. mesh = Instance.new("BlockMesh",part)
  292.  
  293. part = Instance.new("Part",model)
  294. part.FormFactor = Enum.FormFactor.Plate
  295. part.TopSurface = Enum.SurfaceType.Smooth
  296. part.Anchored = true
  297. part.Size = Vector3.new(5,1.6000000238419,3)
  298. part.CFrame = CFrame.new(-136.6499786377,2.3001010417938,-106.12001800537) * CFrame.Angles(-2.9707262516022, -1.5681219100952, 0.50769966840744)
  299. part.BrickColor = BrickColor.new("Earth green")
  300. part.Friction = 0.30000001192093
  301. part.BottomSurface = Enum.SurfaceType.Smooth
  302.  
  303. mesh = Instance.new("BlockMesh",part)
  304.  
  305. smooth_block_model = Instance.new("Part",model)
  306. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  307. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  308. smooth_block_model.Anchored = true
  309. smooth_block_model.Size = Vector3.new(3,1,2)
  310. smooth_block_model.Name = "Smooth Block Model"
  311. smooth_block_model.CFrame = CFrame.new(-139.63070678711,2.3941481113434,-106.12003326416) * CFrame.Angles(-1.5707957744598, -0.26179853081703, -1.5707955360413)
  312. smooth_block_model.BrickColor = BrickColor.new("Really black")
  313. smooth_block_model.Friction = 0.30000001192093
  314. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  315.  
  316. mesh = Instance.new("CylinderMesh",smooth_block_model)
  317. mesh.Scale = Vector3.new(0.80000001192093,1,0.80000001192093)
  318.  
  319. part = Instance.new("Part",model)
  320. part.FormFactor = Enum.FormFactor.Plate
  321. part.TopSurface = Enum.SurfaceType.Smooth
  322. part.Anchored = true
  323. part.Size = Vector3.new(3,6.4000000953674,1)
  324. part.CFrame = CFrame.new(-134.79034423828,4.1215667724609,-100.82000732422) * CFrame.Angles(-0.25326424837112, 0.7518812417984, 0.36222085356712)
  325. part.BrickColor = BrickColor.new("Earth green")
  326. part.Friction = 0.30000001192093
  327. part.BottomSurface = Enum.SurfaceType.Smooth
  328.  
  329. mesh = Instance.new("BlockMesh",part)
  330. mesh.Scale = Vector3.new(1,1,0.5)
  331.  
  332. smooth_block_model = Instance.new("Part",model)
  333. smooth_block_model.FormFactor = Enum.FormFactor.Symmetric
  334. smooth_block_model.TopSurface = Enum.SurfaceType.Weld
  335. smooth_block_model.Anchored = true
  336. smooth_block_model.Size = Vector3.new(2,1,2)
  337. smooth_block_model.Name = "Smooth Block Model"
  338. smooth_block_model.CFrame = CFrame.new(-140.82499694824,2.182403087616,-107.39524078369) * CFrame.Angles(-1.5707960128784, -0.24434603750706, -0.26179903745651)
  339. smooth_block_model.BrickColor = BrickColor.new("Earth green")
  340. smooth_block_model.Friction = 0.30000001192093
  341. smooth_block_model.BottomSurface = Enum.SurfaceType.Weld
  342.  
  343. mesh = Instance.new("CylinderMesh",smooth_block_model)
  344. mesh.Scale = Vector3.new(1,0.30000001192093,1)
  345.  
  346. part = Instance.new("Part",model)
  347. part.FormFactor = Enum.FormFactor.Plate
  348. part.TopSurface = Enum.SurfaceType.Smooth
  349. part.Anchored = true
  350. part.Size = Vector3.new(10,0.80000001192093,1)
  351. part.CFrame = CFrame.new(-142.30784606934,1.6996040344238,-103.12003326416) * CFrame.Angles(-0.064732320606709, 0.2538483440876, 0.25260931253433)
  352. part.BrickColor = BrickColor.new("Earth green")
  353. part.Friction = 0.30000001192093
  354. part.BottomSurface = Enum.SurfaceType.Smooth
  355.  
  356. mesh = Instance.new("BlockMesh",part)
  357.  
  358. part = Instance.new("Part",model)
  359. part.FormFactor = Enum.FormFactor.Plate
  360. part.TopSurface = Enum.SurfaceType.Smooth
  361. part.Anchored = true
  362. part.Size = Vector3.new(10,0.80000001192093,1)
  363. part.CFrame = CFrame.new(-142.30787658691,1.6996020078659,-109.119972229) * CFrame.Angles(0.064731597900391, -0.25384673476219, 0.25260969996452)
  364. part.BrickColor = BrickColor.new("Earth green")
  365. part.Friction = 0.30000001192093
  366. part.BottomSurface = Enum.SurfaceType.Smooth
  367.  
  368. mesh = Instance.new("BlockMesh",part)
  369.  
  370. part = Instance.new("Part",model)
  371. part.FormFactor = Enum.FormFactor.Plate
  372. part.TopSurface = Enum.SurfaceType.Smooth
  373. part.Anchored = true
  374. part.Size = Vector3.new(3,1.2000000476837,1)
  375. part.CFrame = CFrame.new(-146.96730041504,0.81836301088333,-101.95532989502) * CFrame.Angles(0.73439365625381, -1.2145979404449, 0.76671981811523)
  376. part.BrickColor = BrickColor.new("Earth green")
  377. part.Friction = 0.30000001192093
  378. part.BottomSurface = Enum.SurfaceType.Smooth
  379.  
  380. mesh = Instance.new("BlockMesh",part)
  381. mesh.Scale = Vector3.new(1,1,0.5)
  382.  
  383. part = Instance.new("Part",model)
  384. part.FormFactor = Enum.FormFactor.Plate
  385. part.TopSurface = Enum.SurfaceType.Smooth
  386. part.Anchored = true
  387. part.Size = Vector3.new(3,1.2000000476837,1)
  388. part.CFrame = CFrame.new(-146.96731567383,0.81835699081421,-110.28469085693) * CFrame.Angles(2.4071991443634, -1.2145982980728, 2.3748681545258)
  389. part.BrickColor = BrickColor.new("Earth green")
  390. part.Friction = 0.30000001192093
  391. part.BottomSurface = Enum.SurfaceType.Smooth
  392.  
  393. mesh = Instance.new("BlockMesh",part)
  394. mesh.Scale = Vector3.new(1,1,0.5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement