Advertisement
billwa

2mm Katone

Nov 13th, 2015
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 31.28 KB | None | 0 0
  1. katone = Instance.new("Model",game.Workspace)
  2. katone.Name = "katone"
  3.  
  4. part = Instance.new("Part",katone)
  5. part.FormFactor = Enum.FormFactor.Custom
  6. part.LeftSurface = Enum.SurfaceType.Weld
  7. part.TopSurface = Enum.SurfaceType.Weld
  8. part.Size = Vector3.new(4,0.20000000298023,1.6000001430511)
  9. part.FrontSurface = Enum.SurfaceType.Weld
  10. part.CFrame = CFrame.new(126.133644104,2.7654404640198,-87.202041625977) * CFrame.Angles(3.1413559913635, -0.26169067621231, -1.3261190652847)
  11. part.RightSurface = Enum.SurfaceType.Weld
  12. part.BackSurface = Enum.SurfaceType.Weld
  13. part.Friction = 0.30000001192093
  14. part.BottomSurface = Enum.SurfaceType.Weld
  15.  
  16. mesh = Instance.new("BlockMesh",part)
  17.  
  18. part = Instance.new("Part",katone)
  19. part.FormFactor = Enum.FormFactor.Custom
  20. part.LeftSurface = Enum.SurfaceType.Weld
  21. part.TopSurface = Enum.SurfaceType.Weld
  22. part.Size = Vector3.new(1.199999332428,0.20000000298023,2.6000003814697)
  23. part.FrontSurface = Enum.SurfaceType.Weld
  24. part.CFrame = CFrame.new(126.34934234619,1.407634139061,-85.085517883301) * CFrame.Angles(3.1413559913635, -0.26169061660767, -1.3261190652847)
  25. part.RightSurface = Enum.SurfaceType.Weld
  26. part.BackSurface = Enum.SurfaceType.Weld
  27. part.Friction = 0.30000001192093
  28. part.BottomSurface = Enum.SurfaceType.Weld
  29.  
  30. mesh = Instance.new("BlockMesh",part)
  31.  
  32. part = Instance.new("Part",katone)
  33. part.FormFactor = Enum.FormFactor.Custom
  34. part.LeftSurface = Enum.SurfaceType.Weld
  35. part.TopSurface = Enum.SurfaceType.Weld
  36. part.Size = Vector3.new(5.8000001907349,0.40000000596046,0.20000003278255)
  37. part.FrontSurface = Enum.SurfaceType.Weld
  38. part.CFrame = CFrame.new(126.49278259277,0.98860651254654,-85.12565612793) * CFrame.Angles(0.00064847461180761, -1.3090767860413, -3.1407284736633)
  39. part.RightSurface = Enum.SurfaceType.Weld
  40. part.BackSurface = Enum.SurfaceType.Weld
  41. part.Friction = 0.30000001192093
  42. part.BottomSurface = Enum.SurfaceType.Weld
  43.  
  44. mesh = Instance.new("BlockMesh",part)
  45.  
  46. part = Instance.new("Part",katone)
  47. part.FormFactor = Enum.FormFactor.Custom
  48. part.TopSurface = Enum.SurfaceType.Weld
  49. part.Size = Vector3.new(0.60000002384186,1,0.60000002384186)
  50. part.CFrame = CFrame.new(124.94692230225,2.4883377552032,-84.711944580078) * CFrame.Angles(-0.00024624317302369, 0.2617202103138, 1.5710278749466)
  51. part.BrickColor = BrickColor.new("Black")
  52. part.Friction = 0.30000001192093
  53. part.BottomSurface = Enum.SurfaceType.Weld
  54.  
  55. mesh = Instance.new("CylinderMesh",part)
  56. mesh.Offset = Vector3.new(0,1,0)
  57. mesh.Scale = Vector3.new(1,4,0.85000002384186)
  58.  
  59. notojoints = Instance.new("ManualWeld",part)
  60. notojoints.Part1 = Part
  61. notojoints.Name = "Part-to-Part Strong Joint"
  62. notojoints.C1 = CFrame.new(0.30001831054688,0.70004272460938,0.099994659423828) * CFrame.Angles(3.1415922641754, -2.8546492103487e-007, 3.141592502594)
  63. notojoints.Part0 = Part
  64. notojoints.C0 = CFrame.new(-0.30000001192093,-0.5,-0.30000001192093) * CFrame.Angles(-0, -1.5707963705063, 0)
  65.  
  66. part = Instance.new("Part",katone)
  67. part.FormFactor = Enum.FormFactor.Custom
  68. part.TopSurface = Enum.SurfaceType.Weld
  69. part.Size = Vector3.new(0.60000002384186,0.60000002384186,0.60000002384186)
  70. part.CFrame = CFrame.new(126.10606384277,2.4885392189026,-85.022430419922) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, -1.3090761899948)
  71. part.BrickColor = BrickColor.new("Black")
  72. part.Friction = 0.30000001192093
  73. part.BottomSurface = Enum.SurfaceType.Weld
  74.  
  75. mesh = Instance.new("CylinderMesh",part)
  76. mesh.Offset = Vector3.new(0,1,0)
  77. mesh.Scale = Vector3.new(1,4,0.85000002384186)
  78.  
  79. notojoints = Instance.new("ManualWeld",part)
  80. notojoints.Part1 = Part
  81. notojoints.Name = "Part-to-Part Strong Joint"
  82. notojoints.C1 = CFrame.new(-0.30000305175781,0.30001831054688,0.099998474121094) * CFrame.Angles(3.1415922641754, -2.825545379892e-007, -2.4725867575626e-008)
  83. notojoints.Part0 = Part
  84. notojoints.C0 = CFrame.new(0.30000001192093,-0.30000001192093,-0.30000001192093) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  85.  
  86. missile = Instance.new("Part",katone)
  87. missile.FormFactor = Enum.FormFactor.Custom
  88. missile.TopSurface = Enum.SurfaceType.Smooth
  89. missile.Size = Vector3.new(0.60000002384186,0.60000002384186,2)
  90. missile.Name = "Missile"
  91. missile.FrontSurface = Enum.SurfaceType.Weld
  92. missile.CFrame = CFrame.new(123.49800109863,2.4880859851837,-84.323829650879) * CFrame.Angles(-3.1409442424774, 1.3090767860413, -1.5716605186462)
  93. missile.RightSurface = Enum.SurfaceType.Weld
  94. missile.BackSurface = Enum.SurfaceType.Weld
  95. missile.BrickColor = BrickColor.new("Really black")
  96. missile.Friction = 0.30000001192093
  97. missile.BottomSurface = Enum.SurfaceType.Smooth
  98.  
  99. mesh = Instance.new("SpecialMesh",missile)
  100. mesh.Scale = Vector3.new(0.80000001192093,0.80000001192093,1)
  101. mesh.MeshType = Enum.MeshType.Sphere
  102.  
  103. part = Instance.new("Part",katone)
  104. part.FormFactor = Enum.FormFactor.Custom
  105. part.LeftSurface = Enum.SurfaceType.Weld
  106. part.Transparency = 1
  107. part.TopSurface = Enum.SurfaceType.Smooth
  108. part.Size = Vector3.new(0.20000000298023,1.8000001907349,0.60000002384186)
  109. part.FrontSurface = Enum.SurfaceType.Weld
  110. part.CFrame = CFrame.new(126.00256347656,2.4884438514709,-85.408813476563) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, 1.8325165510178)
  111. part.RightSurface = Enum.SurfaceType.Weld
  112. part.BrickColor = BrickColor.new("Earth green")
  113. part.Friction = 0.30000001192093
  114. part.BottomSurface = Enum.SurfaceType.Smooth
  115.  
  116. part = Instance.new("Part",katone)
  117. part.FormFactor = Enum.FormFactor.Custom
  118. part.LeftSurface = Enum.SurfaceType.Weld
  119. part.Transparency = 1
  120. part.TopSurface = Enum.SurfaceType.Smooth
  121. part.Size = Vector3.new(1,1.8000001907349,0.20000000298023)
  122. part.FrontSurface = Enum.SurfaceType.Weld
  123. part.CFrame = CFrame.new(126.10614776611,2.0885391235352,-85.022361755371) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, 1.8325165510178)
  124. part.RightSurface = Enum.SurfaceType.Weld
  125. part.BrickColor = BrickColor.new("Earth green")
  126. part.Friction = 0.30000001192093
  127. part.BottomSurface = Enum.SurfaceType.Smooth
  128.  
  129. connector2 = Instance.new("Part",katone)
  130. connector2.FormFactor = Enum.FormFactor.Custom
  131. connector2.Transparency = 1
  132. connector2.TopSurface = Enum.SurfaceType.Smooth
  133. connector2.Size = Vector3.new(0.60000002384186,0.60000002384186,0.80000001192093)
  134. connector2.Name = "Connector2"
  135. connector2.FrontSurface = Enum.SurfaceType.Weld
  136. connector2.CFrame = CFrame.new(126.20265960693,2.4885559082031,-85.048309326172) * CFrame.Angles(-3.1409442424774, 1.3090767860413, 3.1407284736633)
  137. connector2.BackSurface = Enum.SurfaceType.Weld
  138. connector2.BrickColor = BrickColor.new("Earth green")
  139. connector2.Friction = 0.30000001192093
  140. connector2.BottomSurface = Enum.SurfaceType.Weld
  141.  
  142. weld = Instance.new("Weld",connector2)
  143. weld.C0 = CFrame.new(0,0,1.5) * CFrame.Angles(-0, 0, -0)
  144.  
  145. weld = Instance.new("Weld",connector2)
  146. weld.Part1 = Wpart
  147. weld.Part0 = Connector2
  148. weld.C0 = CFrame.new(0,0,1.5) * CFrame.Angles(-0, 0, -0)
  149.  
  150. part = Instance.new("Part",katone)
  151. part.FormFactor = Enum.FormFactor.Custom
  152. part.TopSurface = Enum.SurfaceType.Weld
  153. part.Size = Vector3.new(2,0.80000001192093,1.9999997615814)
  154. part.CFrame = CFrame.new(125.73552703857,0.98783850669861,-88.339149475098) * CFrame.Angles(1.5706099271774, 0.00022362357412931, 2.8798725605011)
  155. part.BackSurface = Enum.SurfaceType.Weld
  156. part.BrickColor = BrickColor.new("Black")
  157. part.Friction = 0.30000001192093
  158. part.BottomSurface = Enum.SurfaceType.Weld
  159.  
  160. mesh = Instance.new("CylinderMesh",part)
  161.  
  162. part = Instance.new("WedgePart",katone)
  163. part.FormFactor = Enum.FormFactor.Custom
  164. part.BottomSurface = Enum.SurfaceType.Weld
  165. part.Friction = 0.30000001192093
  166. part.Size = Vector3.new(5.7999992370605,0.79999935626984,0.20000000298023)
  167. part.Name = "Part"
  168. part.CFrame = CFrame.new(126.49223327637,1.59104347229,-85.125152587891) * CFrame.Angles(-3.1409676074982, 1.3090749979019, 3.1406481266022)
  169.  
  170. mesh = Instance.new("SpecialMesh",part)
  171. mesh.MeshType = Enum.MeshType.Wedge
  172.  
  173. notojoints = Instance.new("ManualWeld",part)
  174. notojoints.Part1 = Part
  175. notojoints.Name = "Part-to-Part Strong Joint"
  176. notojoints.C1 = CFrame.new(-0.10018920898438,-2.1998825073242,2.0000762939453) * CFrame.Angles(2.0324604511261, 1.5655714273453, -1.8572556972504)
  177. notojoints.Part0 = Part
  178. notojoints.C0 = CFrame.new(2.8999996185303,-0.39999967813492,-0.10000000149012) * CFrame.Angles(-2.8966138362885, 0, -3.1415927410126)
  179.  
  180. notojoints = Instance.new("ManualWeld",part)
  181. notojoints.Part1 = Part
  182. notojoints.Name = "Part-to-Part Strong Joint"
  183. notojoints.C1 = CFrame.new(0.09991455078125,-2.2001876831055,-3.8000946044922) * CFrame.Angles(-1.5706030130386, -1.5673609972, 1.5715670585632)
  184. notojoints.Part0 = Part
  185. notojoints.C0 = CFrame.new(2.8999996185303,-0.39999967813492,-0.10000000149012) * CFrame.Angles(-2.8966138362885, 0, -3.1415927410126)
  186.  
  187. connector = Instance.new("Part",katone)
  188. connector.FormFactor = Enum.FormFactor.Custom
  189. connector.CanCollide = false
  190. connector.LeftSurface = Enum.SurfaceType.Weld
  191. connector.TopSurface = Enum.SurfaceType.Weld
  192. connector.Size = Vector3.new(0.99999970197678,0.59999984502792,1)
  193. connector.Name = "Connector"
  194. connector.CFrame = CFrame.new(127.65163421631,2.2888078689575,-85.436386108398) * CFrame.Angles(-3.1409442424774, 1.3090767860413, 3.1407284736633)
  195. connector.BackSurface = Enum.SurfaceType.Weld
  196. connector.BrickColor = BrickColor.new("Black")
  197. connector.Friction = 0.30000001192093
  198. connector.BottomSurface = Enum.SurfaceType.Weld
  199.  
  200. mesh = Instance.new("BlockMesh",connector)
  201.  
  202. weld = Instance.new("Weld",connector)
  203. weld.Part1 = Swivel
  204. weld.Part0 = Connector
  205. weld.C0 = CFrame.new(0,-1,0) * CFrame.Angles(-0, 0, -0)
  206.  
  207. part = Instance.new("Part",katone)
  208. part.FormFactor = Enum.FormFactor.Custom
  209. part.LeftSurface = Enum.SurfaceType.Weld
  210. part.TopSurface = Enum.SurfaceType.Weld
  211. part.Size = Vector3.new(1.5999999046326,0.80000001192093,1)
  212. part.FrontSurface = Enum.SurfaceType.Weld
  213. part.CFrame = CFrame.new(128.89215087891,0.98966002464294,-82.352020263672) * CFrame.Angles(0.00064843805739656, -1.3090757131577, -1.569932103157)
  214. part.RightSurface = Enum.SurfaceType.Weld
  215. part.BackSurface = Enum.SurfaceType.Weld
  216. part.Friction = 0.30000001192093
  217. part.BottomSurface = Enum.SurfaceType.Weld
  218.  
  219. mesh = Instance.new("CylinderMesh",part)
  220. mesh.Offset = Vector3.new(0,0,1.5)
  221. mesh.Scale = Vector3.new(0.5,1.0199999809265,2)
  222.  
  223. part = Instance.new("Part",katone)
  224. part.FormFactor = Enum.FormFactor.Custom
  225. part.LeftSurface = Enum.SurfaceType.Weld
  226. part.Transparency = 1
  227. part.TopSurface = Enum.SurfaceType.Smooth
  228. part.Size = Vector3.new(1,1.8000001907349,0.20000000298023)
  229. part.FrontSurface = Enum.SurfaceType.Weld
  230. part.CFrame = CFrame.new(126.10597229004,2.8885390758514,-85.022506713867) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, 1.8325165510178)
  231. part.RightSurface = Enum.SurfaceType.Weld
  232. part.BrickColor = BrickColor.new("Earth green")
  233. part.Friction = 0.30000001192093
  234. part.BottomSurface = Enum.SurfaceType.Smooth
  235.  
  236. part = Instance.new("WedgePart",katone)
  237. part.FormFactor = Enum.FormFactor.Custom
  238. part.BottomSurface = Enum.SurfaceType.Weld
  239. part.Friction = 0.30000001192093
  240. part.Size = Vector3.new(0.20000000298023,2.7999997138977,0.80000001192093)
  241. part.BackSurface = Enum.SurfaceType.Weld
  242. part.Name = "Part"
  243. part.CFrame = CFrame.new(126.58388519287,3.3492193222046,-86.081924438477) * CFrame.Angles(3.1412723064423, -0.26169633865356, -2.8968095779419)
  244.  
  245. mesh = Instance.new("SpecialMesh",part)
  246. mesh.MeshType = Enum.MeshType.Wedge
  247.  
  248. wpart = Instance.new("Part",katone)
  249. wpart.FormFactor = Enum.FormFactor.Custom
  250. wpart.LeftSurface = Enum.SurfaceType.Weld
  251. wpart.TopSurface = Enum.SurfaceType.Weld
  252. wpart.Size = Vector3.new(1,0.99999976158142,1.0000002384186)
  253. wpart.Name = "Wpart"
  254. wpart.FrontSurface = Enum.SurfaceType.Weld
  255. wpart.CFrame = CFrame.new(127.65158081055,2.4888076782227,-85.436424255371) * CFrame.Angles(-3.1409442424774, 1.3090767860413, 3.1407284736633)
  256. wpart.RightSurface = Enum.SurfaceType.Weld
  257. wpart.BackSurface = Enum.SurfaceType.Weld
  258. wpart.BrickColor = BrickColor.new("Black")
  259. wpart.Friction = 0.30000001192093
  260. wpart.BottomSurface = Enum.SurfaceType.Smooth
  261.  
  262. mesh = Instance.new("BlockMesh",wpart)
  263.  
  264. swivel = Instance.new("Part",katone)
  265. swivel.FormFactor = Enum.FormFactor.Custom
  266. swivel.TopSurface = Enum.SurfaceType.Smooth
  267. swivel.Size = Vector3.new(0.99999982118607,0.20000000298023,1.0000007152557)
  268. swivel.Name = "Swivel"
  269. swivel.CFrame = CFrame.new(127.65185546875,1.2888078689575,-85.43620300293) * CFrame.Angles(-3.1409442424774, 1.3090767860413, 3.1407284736633)
  270. swivel.BrickColor = BrickColor.new("Black")
  271. swivel.Friction = 0.30000001192093
  272. swivel.BottomSurface = Enum.SurfaceType.Weld
  273.  
  274. part = Instance.new("Part",katone)
  275. part.FormFactor = Enum.FormFactor.Custom
  276. part.TopSurface = Enum.SurfaceType.Weld
  277. part.Size = Vector3.new(2,0.80000001192093,1.9999997615814)
  278. part.CFrame = CFrame.new(127.44323730469,0.9894083738327,-81.963905334473) * CFrame.Angles(1.5706099271774, 0.00022362357412931, -0.26172009110451)
  279. part.BackSurface = Enum.SurfaceType.Weld
  280. part.BrickColor = BrickColor.new("Black")
  281. part.Friction = 0.30000001192093
  282. part.BottomSurface = Enum.SurfaceType.Weld
  283.  
  284. mesh = Instance.new("CylinderMesh",part)
  285.  
  286. part = Instance.new("Part",katone)
  287. part.FormFactor = Enum.FormFactor.Custom
  288. part.LeftSurface = Enum.SurfaceType.Weld
  289. part.Transparency = 1
  290. part.TopSurface = Enum.SurfaceType.Smooth
  291. part.Size = Vector3.new(0.20000000298023,1.8000001907349,0.60000002384186)
  292. part.FrontSurface = Enum.SurfaceType.Weld
  293. part.CFrame = CFrame.new(126.20955657959,2.4886341094971,-84.636054992676) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, 1.8325165510178)
  294. part.RightSurface = Enum.SurfaceType.Weld
  295. part.BrickColor = BrickColor.new("Earth green")
  296. part.Friction = 0.30000001192093
  297. part.BottomSurface = Enum.SurfaceType.Smooth
  298.  
  299. part = Instance.new("WedgePart",katone)
  300. part.FormFactor = Enum.FormFactor.Custom
  301. part.BottomSurface = Enum.SurfaceType.Weld
  302. part.Friction = 0.30000001192093
  303. part.Size = Vector3.new(0.40000000596046,4,1.2000000476837)
  304. part.BackSurface = Enum.SurfaceType.Weld
  305. part.Name = "Part"
  306. part.CFrame = CFrame.new(127.92249298096,0.99073576927185,-87.886993408203) * CFrame.Angles(-5.2093600970693e-005, 0.26140460371971, -1.5689537525177)
  307.  
  308. mesh = Instance.new("SpecialMesh",part)
  309. mesh.MeshType = Enum.MeshType.Wedge
  310.  
  311. part = Instance.new("Part",katone)
  312. part.FormFactor = Enum.FormFactor.Custom
  313. part.LeftSurface = Enum.SurfaceType.Weld
  314. part.TopSurface = Enum.SurfaceType.Weld
  315. part.Size = Vector3.new(0.80000001192093,0.20000000298023,1)
  316. part.FrontSurface = Enum.SurfaceType.Weld
  317. part.CFrame = CFrame.new(128.85035705566,2.6891896724701,-84.82585144043) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, -1.3090761899948)
  318. part.RightSurface = Enum.SurfaceType.Weld
  319. part.BackSurface = Enum.SurfaceType.Weld
  320. part.BrickColor = BrickColor.new("Black")
  321. part.Friction = 0.30000001192093
  322. part.BottomSurface = Enum.SurfaceType.Weld
  323.  
  324. mesh = Instance.new("CylinderMesh",part)
  325. mesh.Offset = Vector3.new(0.10000000149012,-0.40000000596046,0)
  326. mesh.Scale = Vector3.new(2.2000000476837,3,2)
  327.  
  328. part = Instance.new("WedgePart",katone)
  329. part.FormFactor = Enum.FormFactor.Custom
  330. part.BottomSurface = Enum.SurfaceType.Weld
  331. part.Friction = 0.30000001192093
  332. part.Size = Vector3.new(0.20000000298023,2.7999997138977,0.80000001192093)
  333. part.BackSurface = Enum.SurfaceType.Weld
  334. part.Name = "Part"
  335. part.CFrame = CFrame.new(127.04985046387,3.3499717712402,-84.343330383301) * CFrame.Angles(-0.00031479960307479, 0.26171016693115, -0.2447354644537)
  336.  
  337. mesh = Instance.new("SpecialMesh",part)
  338. mesh.MeshType = Enum.MeshType.Wedge
  339.  
  340. part = Instance.new("Part",katone)
  341. part.FormFactor = Enum.FormFactor.Custom
  342. part.LeftSurface = Enum.SurfaceType.Weld
  343. part.TopSurface = Enum.SurfaceType.Weld
  344. part.Size = Vector3.new(1.5999999046326,0.80000001192093,1)
  345. part.FrontSurface = Enum.SurfaceType.Weld
  346. part.CFrame = CFrame.new(127.18444824219,0.98809015750885,-88.727264404297) * CFrame.Angles(0.00064843805739656, -1.3090757131577, -1.569932103157)
  347. part.RightSurface = Enum.SurfaceType.Weld
  348. part.BackSurface = Enum.SurfaceType.Weld
  349. part.Friction = 0.30000001192093
  350. part.BottomSurface = Enum.SurfaceType.Weld
  351.  
  352. mesh = Instance.new("CylinderMesh",part)
  353. mesh.Offset = Vector3.new(0,0,1.5)
  354. mesh.Scale = Vector3.new(0.5,1.0199999809265,2)
  355.  
  356. part = Instance.new("Part",katone)
  357. part.FormFactor = Enum.FormFactor.Custom
  358. part.LeftSurface = Enum.SurfaceType.Weld
  359. part.TopSurface = Enum.SurfaceType.Weld
  360. part.Size = Vector3.new(0.40000003576279,1,1.7999999523163)
  361. part.FrontSurface = Enum.SurfaceType.Weld
  362. part.CFrame = CFrame.new(128.43124389648,2.4890203475952,-85.231163024902) * CFrame.Angles(3.1413464546204, -0.2617202103138, -0.00023150151537266)
  363. part.RightSurface = Enum.SurfaceType.Weld
  364. part.BackSurface = Enum.SurfaceType.Weld
  365. part.BrickColor = BrickColor.new("Black")
  366. part.Friction = 0.30000001192093
  367. part.BottomSurface = Enum.SurfaceType.Weld
  368.  
  369. mesh = Instance.new("BlockMesh",part)
  370.  
  371. part = Instance.new("Part",katone)
  372. part.FormFactor = Enum.FormFactor.Custom
  373. part.LeftSurface = Enum.SurfaceType.Weld
  374. part.TopSurface = Enum.SurfaceType.Weld
  375. part.Size = Vector3.new(4,0.20000000298023,1.6000001430511)
  376. part.FrontSurface = Enum.SurfaceType.Weld
  377. part.CFrame = CFrame.new(127.22023773193,2.7663898468018,-83.145095825195) * CFrame.Angles(3.1413559913635, -0.26169061660767, -1.3261190652847)
  378. part.RightSurface = Enum.SurfaceType.Weld
  379. part.BackSurface = Enum.SurfaceType.Weld
  380. part.Friction = 0.30000001192093
  381. part.BottomSurface = Enum.SurfaceType.Weld
  382.  
  383. mesh = Instance.new("BlockMesh",part)
  384.  
  385. part = Instance.new("WedgePart",katone)
  386. part.FormFactor = Enum.FormFactor.Custom
  387. part.BottomSurface = Enum.SurfaceType.Weld
  388. part.Friction = 0.30000001192093
  389. part.Size = Vector3.new(0.40000003576279,4,1.2000000476837)
  390. part.BackSurface = Enum.SurfaceType.Weld
  391. part.Name = "Part"
  392. part.CFrame = CFrame.new(129.11212158203,0.99207246303558,-83.446235656738) * CFrame.Angles(3.1414279937744, -0.26180130243301, -1.5714423656464)
  393.  
  394. mesh = Instance.new("SpecialMesh",part)
  395. mesh.MeshType = Enum.MeshType.Wedge
  396.  
  397. part = Instance.new("Part",katone)
  398. part.FormFactor = Enum.FormFactor.Custom
  399. part.LeftSurface = Enum.SurfaceType.Weld
  400. part.TopSurface = Enum.SurfaceType.Weld
  401. part.Size = Vector3.new(4,0.40000000596046,3.4000012874603)
  402. part.FrontSurface = Enum.SurfaceType.Weld
  403. part.CFrame = CFrame.new(128.52127075195,0.98895889520645,-85.669013977051) * CFrame.Angles(3.1413464546204, -0.2617202103138, -0.00023150151537266)
  404. part.RightSurface = Enum.SurfaceType.Weld
  405. part.BackSurface = Enum.SurfaceType.Weld
  406. part.Friction = 0.30000001192093
  407. part.BottomSurface = Enum.SurfaceType.Weld
  408.  
  409. mesh = Instance.new("BlockMesh",part)
  410.  
  411. part = Instance.new("Part",katone)
  412. part.FormFactor = Enum.FormFactor.Custom
  413. part.LeftSurface = Enum.SurfaceType.Weld
  414. part.TopSurface = Enum.SurfaceType.Weld
  415. part.Size = Vector3.new(1.4000000953674,0.79999983310699,0.80000001192093)
  416. part.FrontSurface = Enum.SurfaceType.Weld
  417. part.CFrame = CFrame.new(129.17120361328,2.589052438736,-85.947021484375) * CFrame.Angles(3.1413464546204, -0.2617202103138, -0.00023150151537266)
  418. part.RightSurface = Enum.SurfaceType.Weld
  419. part.BackSurface = Enum.SurfaceType.Weld
  420. part.BrickColor = BrickColor.new("Black")
  421. part.Friction = 0.30000001192093
  422. part.BottomSurface = Enum.SurfaceType.Weld
  423.  
  424. mesh = Instance.new("BlockMesh",part)
  425.  
  426. vehicleseat = Instance.new("VehicleSeat",katone)
  427. vehicleseat.Friction = 0.30000001192093
  428. vehicleseat.BottomSurface = Enum.SurfaceType.Smooth
  429. vehicleseat.TopSurface = Enum.SurfaceType.Smooth
  430. vehicleseat.CFrame = CFrame.new(130.93620300293,0.68937838077545,-86.315811157227) * CFrame.Angles(-3.1409442424774, 1.3090767860413, 3.1407284736633)
  431. vehicleseat.Size = Vector3.new(1,1,1)
  432. vehicleseat.FrontSurface = Enum.SurfaceType.Weld
  433. vehicleseat.HeadsUpDisplay = false
  434.  
  435. swiv = Instance.new("Sound",vehicleseat)
  436. swiv.Pitch = 0.69999998807907
  437. swiv.Name = "Swiv"
  438. swiv.Volume = 0
  439. swiv.SoundId = "http://www.roblox.com/asset/?id=31245465"
  440. swiv.PlayOnRemove = true
  441.  
  442. vehiclegui = Instance.new("ScreenGui",vehicleseat)
  443. vehiclegui.Name = "VehicleGui"
  444.  
  445. frame = Instance.new("Frame",vehiclegui)
  446. frame.Size = UDim2.new(0.2, 0, 0.05, 0)
  447. frame.BorderColor3 = Color3.new(0, 0, 0)
  448. frame.Position = UDim2.new(0, 0, 0.8, 0)
  449. frame.BackgroundTransparency = 1
  450. frame.BackgroundColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  451.  
  452. he = Instance.new("TextButton",frame)
  453. he.FontSize = Enum.FontSize.Size14
  454. he.Position = UDim2.new(0.025, 0, -1, 0)
  455. he.Style = Enum.ButtonStyle.RobloxButtonDefault
  456. he.Size = UDim2.new(1, 0, 1, 0)
  457. he.BorderColor3 = Color3.new(0, 0, 0)
  458. he.Text = "2cm Kanone "
  459. he.Name = "HE"
  460. he.TextColor3 = Color3.new(1, 1, 1)
  461. he.BackgroundColor3 = Color3.new(0, 0, 1)
  462.  
  463. vehicle = Instance.new("ObjectValue",vehiclegui)
  464. vehicle.Name = "Vehicle"
  465.  
  466. part = Instance.new("WedgePart",katone)
  467. part.FormFactor = Enum.FormFactor.Custom
  468. part.BottomSurface = Enum.SurfaceType.Weld
  469. part.Friction = 0.30000001192093
  470. part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
  471. part.BackSurface = Enum.SurfaceType.Weld
  472. part.Name = "Part"
  473. part.CFrame = CFrame.new(131.56198120117,0.98962247371674,-85.137550354004) * CFrame.Angles(1.570121884346, 0.00033289095154032, -1.8325176239014)
  474.  
  475. mesh = Instance.new("SpecialMesh",part)
  476. mesh.MeshType = Enum.MeshType.Wedge
  477.  
  478. part = Instance.new("WedgePart",katone)
  479. part.FormFactor = Enum.FormFactor.Custom
  480. part.BottomSurface = Enum.SurfaceType.Weld
  481. part.Friction = 0.30000001192093
  482. part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
  483. part.BackSurface = Enum.SurfaceType.Weld
  484. part.Name = "Part"
  485. part.CFrame = CFrame.new(131.5604095459,0.58950924873352,-85.137535095215) * CFrame.Angles(-1.5711231231689, 0.00052198232151568, 1.8329999446869)
  486.  
  487. mesh = Instance.new("SpecialMesh",part)
  488. mesh.MeshType = Enum.MeshType.Wedge
  489.  
  490. part = Instance.new("WedgePart",katone)
  491. part.FormFactor = Enum.FormFactor.Custom
  492. part.BottomSurface = Enum.SurfaceType.Weld
  493. part.Friction = 0.30000001192093
  494. part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
  495. part.BackSurface = Enum.SurfaceType.Weld
  496. part.Name = "Part"
  497. part.CFrame = CFrame.new(130.88960266113,0.58803832530975,-87.64958190918) * CFrame.Angles(-1.5707893371582, -0.00071207509608939, 1.8325513601303)
  498.  
  499. mesh = Instance.new("SpecialMesh",part)
  500. mesh.MeshType = Enum.MeshType.Wedge
  501.  
  502. part = Instance.new("WedgePart",katone)
  503. part.FormFactor = Enum.FormFactor.Custom
  504. part.BottomSurface = Enum.SurfaceType.Weld
  505. part.Friction = 0.30000001192093
  506. part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
  507. part.BackSurface = Enum.SurfaceType.Weld
  508. part.Name = "Part"
  509. part.CFrame = CFrame.new(130.89065551758,0.98798847198486,-87.648376464844) * CFrame.Angles(1.5706815719604, 0.00018636857566889, -1.8325166702271)
  510.  
  511. mesh = Instance.new("SpecialMesh",part)
  512. mesh.MeshType = Enum.MeshType.Wedge
  513.  
  514. part = Instance.new("WedgePart",katone)
  515. part.FormFactor = Enum.FormFactor.Custom
  516. part.BottomSurface = Enum.SurfaceType.Weld
  517. part.Friction = 0.30000001192093
  518. part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
  519. part.BackSurface = Enum.SurfaceType.Weld
  520. part.Name = "Part"
  521. part.CFrame = CFrame.new(133.10597229004,0.19143664836884,-85.551467895508) * CFrame.Angles(-1.5711842775345, 0.0003112196282018, 1.8330093622208)
  522.  
  523. mesh = Instance.new("SpecialMesh",part)
  524. mesh.MeshType = Enum.MeshType.Wedge
  525.  
  526. part = Instance.new("WedgePart",katone)
  527. part.FormFactor = Enum.FormFactor.Custom
  528. part.BottomSurface = Enum.SurfaceType.Weld
  529. part.Friction = 0.30000001192093
  530. part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
  531. part.BackSurface = Enum.SurfaceType.Weld
  532. part.Name = "Part"
  533. part.CFrame = CFrame.new(133.10583496094,0.59048414230347,-85.552223205566) * CFrame.Angles(1.5706825256348, 0.00017567581380717, -1.8325244188309)
  534.  
  535. mesh = Instance.new("SpecialMesh",part)
  536. mesh.MeshType = Enum.MeshType.Wedge
  537.  
  538. effect = Instance.new("Part",katone)
  539. effect.FormFactor = Enum.FormFactor.Custom
  540. effect.CanCollide = false
  541. effect.Transparency = 1
  542. effect.TopSurface = Enum.SurfaceType.Weld
  543. effect.Size = Vector3.new(0.60000002384186,1,0.60000002384186)
  544. effect.Name = "Effect"
  545. effect.CFrame = CFrame.new(122.04907989502,2.4878342151642,-83.93571472168) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, 1.8325165510178)
  546. effect.BrickColor = BrickColor.new("Bright red")
  547. effect.Friction = 0.30000001192093
  548. effect.BottomSurface = Enum.SurfaceType.Weld
  549.  
  550. smoke = Instance.new("Smoke",effect)
  551. smoke.Enabled = false
  552. smoke.Color = Color3.new(0.109804, 0.109804, 0.109804)
  553. smoke.RiseVelocity = 5
  554. smoke.Size = 2
  555.  
  556. fire = Instance.new("Sound",effect)
  557. fire.Pitch = 0.60000002384186
  558. fire.Name = "Fire"
  559. fire.Volume = 1
  560. fire.SoundId = "http://www.roblox.com/asset?id=2101148"
  561.  
  562. reload = Instance.new("Sound",effect)
  563. reload.Name = "Reload"
  564. reload.Volume = 0
  565. reload.SoundId = "http://www.roblox.com/asset/?id=13510737"
  566.  
  567. mesh = Instance.new("SpecialMesh",effect)
  568. mesh.Scale = Vector3.new(0.80000001192093,8,0.80000001192093)
  569. mesh.MeshType = Enum.MeshType.Sphere
  570.  
  571. part = Instance.new("WedgePart",katone)
  572. part.FormFactor = Enum.FormFactor.Custom
  573. part.BottomSurface = Enum.SurfaceType.Weld
  574. part.Friction = 0.30000001192093
  575. part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
  576. part.BackSurface = Enum.SurfaceType.Weld
  577. part.Name = "Part"
  578. part.CFrame = CFrame.new(132.43566894531,0.18891152739525,-88.063995361328) * CFrame.Angles(-1.5707296133041, -0.00071050436235964, 1.8325487375259)
  579.  
  580. mesh = Instance.new("SpecialMesh",part)
  581. mesh.MeshType = Enum.MeshType.Wedge
  582.  
  583. part = Instance.new("WedgePart",katone)
  584. part.FormFactor = Enum.FormFactor.Custom
  585. part.BottomSurface = Enum.SurfaceType.Weld
  586. part.Friction = 0.30000001192093
  587. part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
  588. part.BackSurface = Enum.SurfaceType.Weld
  589. part.Name = "Part"
  590. part.CFrame = CFrame.new(132.43452453613,0.58995163440704,-88.063522338867) * CFrame.Angles(1.570684671402, 0.00017462484538555, -1.8325164318085)
  591.  
  592. mesh = Instance.new("SpecialMesh",part)
  593. mesh.MeshType = Enum.MeshType.Wedge
  594.  
  595. part = Instance.new("Part",katone)
  596. part.FormFactor = Enum.FormFactor.Custom
  597. part.TopSurface = Enum.SurfaceType.Weld
  598. part.Size = Vector3.new(3.3999998569489,0.40000000596046,1)
  599. part.CFrame = CFrame.new(134.02632141113,0.18921822309494,-87.143936157227) * CFrame.Angles(0.0006985398940742, -1.3090122938156, -3.1407516002655)
  600. part.Friction = 0.30000001192093
  601. part.BottomSurface = Enum.SurfaceType.Smooth
  602.  
  603. mesh = Instance.new("BlockMesh",part)
  604.  
  605. wer2 = Instance.new("ObjectValue",katone)
  606. wer2.Name = "WER2"
  607. wer2.Value = Weld
  608.  
  609. wer = Instance.new("ObjectValue",katone)
  610. wer.Name = "WER"
  611. wer.Value = Weld
  612.  
  613. local prev
  614. local parts = katone:GetChildren()
  615.  
  616. for i = 1,#parts do
  617.         if (parts[i].className == "Part") then
  618.                 if (prev ~= nil)then
  619.                         local weld = Instance.new("Weld")
  620.                         weld.Part0 = prev
  621.                         weld.Part1 = parts[i]
  622.                         weld.C0 = prev.CFrame:inverse()
  623.                         weld.C1 = parts[i].CFrame:inverse()
  624.                         weld.Parent = prev
  625.                 end
  626.                 prev = parts[i]
  627.         end
  628. end
  629.  
  630. vehiclegui = Instance.new("ScreenGui",katone.VehicleSeat)
  631. vehiclegui.Name = "VehicleGui"
  632.  
  633. frame = Instance.new("Frame",vehiclegui)
  634. frame.Size = UDim2.new(0.2, 0, 0.05, 0)
  635. frame.BorderColor3 = Color3.new(0, 0, 0)
  636. frame.Position = UDim2.new(0, 0, 0.8, 0)
  637. frame.BackgroundTransparency = 1
  638. frame.BackgroundColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  639.  
  640. he = Instance.new("TextButton",frame)
  641. he.FontSize = Enum.FontSize.Size14
  642. he.Position = UDim2.new(0.025, 0, -1, 0)
  643. he.Style = Enum.ButtonStyle.RobloxButtonDefault
  644. he.Size = UDim2.new(1, 0, 1, 0)
  645. he.BorderColor3 = Color3.new(0, 0, 0)
  646. he.Text = "2cm Kanone "
  647. he.Name = "HE"
  648. he.TextColor3 = Color3.new(1, 1, 1)
  649. he.BackgroundColor3 = Color3.new(0, 0, 1)
  650.  
  651. vehicle = Instance.new("ObjectValue",vehiclegui)
  652. vehicle.Name = "Vehicle"
  653.  
  654. katone.VehicleSeat.ChildAdded:connect(function(w)
  655. print("ChildAdded")
  656. if w.className=="Weld" then
  657. print("IsAWeld")
  658. if w.Name=="SeatWeld" then
  659. print("IsASeatWeld")
  660. if w.Part1.Parent:findFirstChild("Humanoid")~=nil then
  661. print("IsAHumanoid")
  662. pl=game.Players:GetPlayerFromCharacter(w.Part1.Parent)
  663. if pl~=nil then
  664. print("IsAPlayer")
  665. if pl.PlayerGui:findFirstChild("VehicleGui")~=nil then
  666. print("found vehicle gui - deleting")
  667. pl.PlayerGui:findFirstChild("VehicleGui").Parent=nil
  668. print("deleted")
  669. else
  670. print("no gui found - adding")
  671. newgui=vehicleseat.VehicleGui:clone()
  672. newgui.Parent=pl.PlayerGui
  673. newgui.Vehicle.Value=vehicleseat.Parent
  674. print("added")
  675. end
  676. end
  677. end
  678. end
  679. end
  680. end)
  681.  
  682. vehicleseat.ChildRemoved:connect(function(w)
  683. print("ChildRemoved")
  684. if w.className=="Weld" then
  685. print("IsAWeld")
  686. if w.Name=="SeatWeld" then
  687. print("IsASeatWeld")
  688. if w.Part1.Parent:findFirstChild("Humanoid")~=nil then
  689. print("IsAHumanoid")
  690. pl=game.Players:GetPlayerFromCharacter(w.Part1.Parent)
  691. if pl~=nil then
  692. print("IsAPlayer")
  693. if pl.PlayerGui:findFirstChild("VehicleGui")~=nil then
  694. print("found vehicle gui - deleting")
  695. pl.PlayerGui:findFirstChild("VehicleGui").Parent=nil
  696. print("deleted")
  697. else
  698. print("no gui found - wierd...")
  699. end
  700. end
  701. end
  702. end
  703. end
  704. end)
  705.  
  706. angle = 0
  707.  
  708. while true do
  709. wait()
  710. if vehicleseat.Throttle == 1 and angle < 20 then
  711. vehicleseat.Swiv:play()
  712. angle = angle + 1
  713. vehicleseat.Parent.WER2.Value.C0 = vehicleseat.Parent.WER2.Value.C0 * CFrame.fromEulerAnglesXYZ(-0.01,0,0)
  714. elseif vehicleseat.Throttle == -1 and angle > -15 then
  715. vehicleseat.Swiv:play()
  716. angle = angle - 1
  717. vehicleseat.Parent.WER2.Value.C0 = vehicleseat.Parent.WER2.Value.C0 * CFrame.fromEulerAnglesXYZ(0.01,0,0)
  718. end
  719. end
  720.  
  721. ----hi---------
  722.  
  723. repeat wait() until vehiclegui.Vehicle.Value~=nil
  724.  
  725. db=false
  726. held=false
  727.  
  728. v=vehiclegui.Vehicle
  729. f=frame
  730. missile=vehicleseat.vehiclegui.frame.HE
  731.  
  732.  
  733. function launchmissile()
  734. v.Value.Effect.Smoke.Enabled = true
  735. v.Value.Effect.Fire:Play()
  736. v.Value.Effect.Transparency = .5
  737. v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 - Vector3.new(0,0, .5)
  738. v1=v.Value.Missile:clone()
  739. v1.CFrame = v.Value.Missile.CFrame * CFrame.new(0, 0, -5)
  740. vel=Instance.new("BodyVelocity")
  741. vel.Parent=v1
  742. v1.Velocity=v1.CFrame.lookVector*500
  743. vel.velocity=v1.Velocity
  744. v1.CanCollide=true
  745. v1.Transparency= 0
  746. v1.Heat.Disabled=false
  747. v1.Parent=workspace
  748. wait(.05)
  749. v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 + Vector3.new(0,0, .1)
  750. v.Value.Effect.Transparency = .6
  751. wait(.05)
  752. v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 + Vector3.new(0,0, .1)
  753. v.Value.Effect.Transparency = .7
  754. wait(.05)
  755. v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 + Vector3.new(0,0, .1)
  756. v.Value.Effect.Transparency = .8
  757. wait(.05)
  758. v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 + Vector3.new(0,0, .1)
  759. v.Value.Effect.Transparency = .9
  760. wait(.05)
  761. v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 + Vector3.new(0,0, .1)
  762. v.Value.Effect.Transparency = 1
  763. v.Value.Effect.Smoke.Enabled = false
  764. wait(0)
  765. end
  766.  
  767. function missileclick()
  768. print("click missile")
  769. if db==true then return end
  770. db=true
  771. missile.Text="Reloading"
  772. launchmissile()
  773. wait(0.01)
  774. launchmissile()
  775. wait(0.01)
  776. launchmissile()
  777. wait(0.01)
  778. launchmissile()
  779. wait(0.01)
  780. launchmissile()
  781. wait(0.01)
  782. launchmissile()
  783. v.Value.Effect.Reload:Play()
  784. wait(2)
  785. missile.Text="Fire HE"
  786. v.Value.Effect.Reload:Stop()
  787. db=false
  788. end
  789.  
  790.  
  791. function gunsdown()
  792. held=true
  793. while held==true do
  794. fireguns()
  795. wait()
  796. end
  797. end
  798.  
  799. function gunsup()
  800. held=false
  801. print("up")
  802. end
  803.  
  804.  
  805. missile.MouseButton1Click:connect(missileclick)
  806. sabot.MouseButton1Click:connect(sabotclick)
  807. guns.MouseButton1Down:connect(gunsdown)
  808. guns.MouseButton1Up:connect(gunsup)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement