Advertisement
billwa

RPG7

Oct 23rd, 2015
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 72.32 KB | None | 0 0
  1. rpg7 = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  2. rpg7.GripPos = Vector3.new(0,-0.40000000596046,0.30000001192093)
  3. rpg7.Grip = CFrame.new(0,-0.40000000596046,0.30000001192093) * CFrame.Angles(-0, 0.29141849279404, -0)
  4. rpg7.GripForward = Vector3.new(-0.28731119632721,-0,-0.9578372836113)
  5. rpg7.Name = "RPG7"
  6. rpg7.GripRight = Vector3.new(0.9578372836113,0,-0.28731119632721)
  7.  
  8. handle = Instance.new("Part",rpg7)
  9. handle.FormFactor = Enum.FormFactor.Plate
  10. handle.TopSurface = Enum.SurfaceType.Smooth
  11. handle.Reflectance = 0.10000000149012
  12. handle.Size = Vector3.new(1,0.40000000596046,1)
  13. handle.Name = "Handle"
  14. handle.CFrame = CFrame.new(-18.373527526855,0.65088075399399,31.271083831787) * CFrame.Angles(-0.095713526010513, -1.4273209571838, 1.318909406662)
  15. handle.BrickColor = BrickColor.new("Dark stone grey")
  16. handle.Friction = 0.30000001192093
  17. handle.BottomSurface = Enum.SurfaceType.Smooth
  18.  
  19. mesh = Instance.new("BlockMesh",handle)
  20. mesh.Scale = Vector3.new(0.033333335071802,0.26666668057442,0.033333335071802)
  21.  
  22. fire = Instance.new("Sound",handle)
  23. fire.Pitch = 1.25
  24. fire.Name = "Fire"
  25. fire.Volume = 1
  26. fire.SoundId = "http://roblox.com/asset/?id=10209821"
  27. fire.PlayOnRemove = true
  28.  
  29. reload = Instance.new("Sound",handle)
  30. reload.Name = "Reload"
  31.  
  32. click = Instance.new("Sound",handle)
  33. click.Pitch = 1.1000000238419
  34. click.Name = "Click"
  35. click.Volume = 1
  36. click.SoundId = "http://www.roblox.com/asset/?id=2697295"
  37. click.PlayOnRemove = true
  38.  
  39. weld = Instance.new("Weld",handle)
  40. weld.Part1 = Part
  41. weld.Part0 = Handle
  42. weld.C1 = CFrame.new(5.6400651931763,-1.5533670186996,-15.836580276489) * CFrame.Angles(-0, 0, -0)
  43. weld.C0 = CFrame.new(-5.6400651931763,-1.1400370597839,14.853425979614) * CFrame.Angles(-3.141592502594, -2.2799733224977e-014, 3.141592502594)
  44.  
  45. part = Instance.new("Part",rpg7)
  46. part.FormFactor = Enum.FormFactor.Symmetric
  47. part.TopSurface = Enum.SurfaceType.Smooth
  48. part.Reflectance = 0.10000000149012
  49. part.Size = Vector3.new(1,1,1)
  50. part.CFrame = CFrame.new(-17.457710266113,0.70212775468826,30.726942062378) * CFrame.Angles(3.0458793640137, 1.4273209571838, 1.8226827383041)
  51. part.BrickColor = BrickColor.new("Really black")
  52. part.Friction = 0.30000001192093
  53. part.BottomSurface = Enum.SurfaceType.Smooth
  54.  
  55. mesh = Instance.new("BlockMesh",part)
  56. mesh.Scale = Vector3.new(0.066666670143604,0.066666670143604,0.066666670143604)
  57.  
  58. weld = Instance.new("Weld",part)
  59. weld.Part1 = Part
  60. weld.Part0 = Part
  61. weld.C1 = CFrame.new(5.6400651931763,16.036766052246,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  62. weld.C0 = CFrame.new(5.6400651931763,-1.5533670186996,-15.836580276489) * CFrame.Angles(-0, 0, -0)
  63.  
  64. part = Instance.new("Part",rpg7)
  65. part.FormFactor = Enum.FormFactor.Symmetric
  66. part.TopSurface = Enum.SurfaceType.Smooth
  67. part.Reflectance = 0.10000000149012
  68. part.Size = Vector3.new(1,1,1)
  69. part.CFrame = CFrame.new(-17.241117477417,0.67852699756622,30.828840255737) * CFrame.Angles(-2.9829180240631, -0.13891923427582, 1.6067870855331)
  70. part.BrickColor = BrickColor.new("Really black")
  71. part.Friction = 0.30000001192093
  72. part.BottomSurface = Enum.SurfaceType.Smooth
  73.  
  74. mesh = Instance.new("CylinderMesh",part)
  75. mesh.Scale = Vector3.new(0.26666668057442,0.066666670143604,0.26666668057442)
  76.  
  77. weld = Instance.new("Weld",part)
  78. weld.Part1 = Part
  79. weld.Part0 = Part
  80. weld.C1 = CFrame.new(1.620036482811,5.6997728347778,-15.686681747437) * CFrame.Angles(-1.6420282136358e-015, -4.3711388286738e-008, 1.5707963705063)
  81. weld.C0 = CFrame.new(5.6400651931763,16.036766052246,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  82.  
  83. part = Instance.new("Part",rpg7)
  84. part.FormFactor = Enum.FormFactor.Plate
  85. part.TopSurface = Enum.SurfaceType.Smooth
  86. part.Reflectance = 0.10000000149012
  87. part.Size = Vector3.new(1,0.40000000596046,1)
  88. part.CFrame = CFrame.new(-17.613172531128,0.77357530593872,30.692213058472) * CFrame.Angles(3.0458793640137, 1.4273209571838, 0.25188648700714)
  89. part.BrickColor = BrickColor.new("Really black")
  90. part.Friction = 0.30000001192093
  91. part.BottomSurface = Enum.SurfaceType.Smooth
  92.  
  93. mesh = Instance.new("BlockMesh",part)
  94. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.36666667461395)
  95.  
  96. weld = Instance.new("Weld",part)
  97. weld.Part1 = Part
  98. weld.Part0 = Part
  99. weld.C1 = CFrame.new(5.6404910087585,1.2027502059937,13.92001914978) * CFrame.Angles(-3.141560792923, -2.798299647111e-005, 3.0194492865121e-005)
  100. weld.C0 = CFrame.new(1.620036482811,5.6997728347778,-15.686681747437) * CFrame.Angles(-1.6420282136358e-015, -4.3711388286738e-008, 1.5707963705063)
  101.  
  102. part = Instance.new("Part",rpg7)
  103. part.FormFactor = Enum.FormFactor.Symmetric
  104. part.TopSurface = Enum.SurfaceType.Smooth
  105. part.Size = Vector3.new(1,1,1)
  106. part.CFrame = CFrame.new(-19.305994033813,0.67354369163513,31.341985702515) * CFrame.Angles(-0.095847241580486, -1.4272830486298, -1.8227851390839)
  107. part.BrickColor = BrickColor.new("Reddish brown")
  108. part.Friction = 0.30000001192093
  109. part.BottomSurface = Enum.SurfaceType.Smooth
  110.  
  111. mesh = Instance.new("SpecialMesh",part)
  112. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.033333335071802)
  113. mesh.MeshType = Enum.MeshType.Wedge
  114.  
  115. weld = Instance.new("Weld",part)
  116. weld.Part1 = Part
  117. weld.Part0 = Part
  118. weld.C1 = CFrame.new(5.640477180481,0.76941823959351,13.886492729187) * CFrame.Angles(-3.141560792923, -2.798299647111e-005, 3.0194492865121e-005)
  119. weld.C0 = CFrame.new(5.6404910087585,1.2027502059937,13.92001914978) * CFrame.Angles(-3.141560792923, -2.798299647111e-005, 3.0194492865121e-005)
  120.  
  121. part = Instance.new("Part",rpg7)
  122. part.FormFactor = Enum.FormFactor.Symmetric
  123. part.TopSurface = Enum.SurfaceType.Smooth
  124. part.Size = Vector3.new(1,1,1)
  125. part.CFrame = CFrame.new(-19.27915763855,0.60619062185287,31.770523071289) * CFrame.Angles(-0.095847241580486, -1.4272830486298, -1.8227851390839)
  126. part.BrickColor = BrickColor.new("Reddish brown")
  127. part.Friction = 0.30000001192093
  128. part.BottomSurface = Enum.SurfaceType.Smooth
  129.  
  130. mesh = Instance.new("SpecialMesh",part)
  131. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.033333335071802)
  132. mesh.MeshType = Enum.MeshType.Wedge
  133.  
  134. weld = Instance.new("Weld",part)
  135. weld.Part1 = Part
  136. weld.Part0 = Part
  137. weld.C1 = CFrame.new(5.6400651931763,14.853425979614,-1.4200314283371) * CFrame.Angles(1.5707963705063, 0, -0)
  138. weld.C0 = CFrame.new(5.640477180481,0.76941823959351,13.886492729187) * CFrame.Angles(-3.141560792923, -2.798299647111e-005, 3.0194492865121e-005)
  139.  
  140. part = Instance.new("Part",rpg7)
  141. part.FormFactor = Enum.FormFactor.Symmetric
  142. part.TopSurface = Enum.SurfaceType.Smooth
  143. part.Reflectance = 0.10000000149012
  144. part.Size = Vector3.new(1,1,1)
  145. part.CFrame = CFrame.new(-18.412300109863,0.69469672441483,30.997264862061) * CFrame.Angles(-2.9829180240631, -0.13891921937466, 1.6067870855331)
  146. part.BrickColor = BrickColor.new("Really black")
  147. part.Friction = 0.30000001192093
  148. part.BottomSurface = Enum.SurfaceType.Smooth
  149.  
  150. mesh = Instance.new("CylinderMesh",part)
  151. mesh.Scale = Vector3.new(0.26666668057442,1.2333333492279,0.26666668057442)
  152.  
  153. weld = Instance.new("Weld",part)
  154. weld.Part1 = Part
  155. weld.Part0 = Part
  156. weld.C1 = CFrame.new(-5.6400651931763,0.56336450576782,-14.586580276489) * CFrame.Angles(-0, 0, -3.141592502594)
  157. weld.C0 = CFrame.new(5.6400651931763,14.853425979614,-1.4200314283371) * CFrame.Angles(1.5707963705063, 0, -0)
  158.  
  159. part = Instance.new("Part",rpg7)
  160. part.FormFactor = Enum.FormFactor.Symmetric
  161. part.TopSurface = Enum.SurfaceType.Smooth
  162. part.Size = Vector3.new(1,1,1)
  163. part.CFrame = CFrame.new(-18.557779312134,0.5642853975296,31.873001098633) * CFrame.Angles(3.0458793640137, 1.4273209571838, -1.3189098834991)
  164. part.BrickColor = BrickColor.new("Reddish brown")
  165. part.Friction = 0.30000001192093
  166. part.BottomSurface = Enum.SurfaceType.Smooth
  167.  
  168. mesh = Instance.new("SpecialMesh",part)
  169. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.033333335071802)
  170. mesh.MeshType = Enum.MeshType.Wedge
  171.  
  172. weld = Instance.new("Weld",part)
  173. weld.Part1 = Part
  174. weld.Part0 = Part
  175. weld.C1 = CFrame.new(5.6400651931763,-0.76336598396301,-14.586580276489) * CFrame.Angles(-0, 0, -0)
  176. weld.C0 = CFrame.new(-5.6400651931763,0.56336450576782,-14.586580276489) * CFrame.Angles(-0, 0, -3.141592502594)
  177.  
  178. part = Instance.new("Part",rpg7)
  179. part.FormFactor = Enum.FormFactor.Symmetric
  180. part.TopSurface = Enum.SurfaceType.Smooth
  181. part.Size = Vector3.new(1,1,1)
  182. part.CFrame = CFrame.new(-18.585474014282,0.59558308124542,31.677415847778) * CFrame.Angles(3.0458793640137, 1.4273209571838, 1.8226828575134)
  183. part.BrickColor = BrickColor.new("Reddish brown")
  184. part.Friction = 0.30000001192093
  185. part.BottomSurface = Enum.SurfaceType.Smooth
  186.  
  187. mesh = Instance.new("SpecialMesh",part)
  188. mesh.Scale = Vector3.new(0.066666670143604,0.36666667461395,0.033333335071802)
  189. mesh.MeshType = Enum.MeshType.Wedge
  190.  
  191. weld = Instance.new("Weld",part)
  192. weld.Part1 = Part
  193. weld.Part0 = Part
  194. weld.C1 = CFrame.new(14.720368385315,-5.6570496559143,-0.69669735431671) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  195. weld.C0 = CFrame.new(5.6400651931763,-0.76336598396301,-14.586580276489) * CFrame.Angles(-0, 0, -0)
  196.  
  197. part = Instance.new("Part",rpg7)
  198. part.FormFactor = Enum.FormFactor.Symmetric
  199. part.TopSurface = Enum.SurfaceType.Smooth
  200. part.Reflectance = 0.10000000149012
  201. part.Size = Vector3.new(1,1,1)
  202. part.CFrame = CFrame.new(-18.443223953247,0.60009533166885,31.726167678833) * CFrame.Angles(-2.9829180240631, -0.13891921937466, -3.1056017875671)
  203. part.BrickColor = BrickColor.new("Really black")
  204. part.Friction = 0.30000001192093
  205. part.BottomSurface = Enum.SurfaceType.Smooth
  206.  
  207. mesh = Instance.new("CylinderMesh",part)
  208. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.066666670143604)
  209.  
  210. weld = Instance.new("Weld",part)
  211. weld.Part1 = Part
  212. weld.Part0 = Part
  213. weld.C1 = CFrame.new(1.6200333833694,-5.5799908638,15.686681747437) * CFrame.Angles(-3.141592502594, 1.5099580252809e-007, 1.5707963705063)
  214. weld.C0 = CFrame.new(14.720368385315,-5.6570496559143,-0.69669735431671) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  215.  
  216. part = Instance.new("Part",rpg7)
  217. part.FormFactor = Enum.FormFactor.Plate
  218. part.TopSurface = Enum.SurfaceType.Smooth
  219. part.Reflectance = 0.10000000149012
  220. part.Size = Vector3.new(1,0.40000000596046,1)
  221. part.CFrame = CFrame.new(-17.617441177368,0.65527814626694,30.673887252808) * CFrame.Angles(-0.095713809132576, -1.4273209571838, -0.2518869638443)
  222. part.BrickColor = BrickColor.new("Really black")
  223. part.Friction = 0.30000001192093
  224. part.BottomSurface = Enum.SurfaceType.Smooth
  225.  
  226. mesh = Instance.new("BlockMesh",part)
  227. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.36666667461395)
  228.  
  229. weld = Instance.new("Weld",part)
  230. weld.Part1 = Part
  231. weld.Part0 = Part
  232. weld.C1 = CFrame.new(-5.6400628089905,-14.450164794922,-1.4200314283371) * CFrame.Angles(-1.5707963705063, -1.5099580252809e-007, 3.1415927410126)
  233. weld.C0 = CFrame.new(1.6200333833694,-5.5799908638,15.686681747437) * CFrame.Angles(-3.141592502594, 1.5099580252809e-007, 1.5707963705063)
  234.  
  235. part = Instance.new("Part",rpg7)
  236. part.FormFactor = Enum.FormFactor.Symmetric
  237. part.TopSurface = Enum.SurfaceType.Smooth
  238. part.Reflectance = 0.10000000149012
  239. part.Size = Vector3.new(1,1,1)
  240. part.CFrame = CFrame.new(-18.811418533325,0.70020687580109,31.054660797119) * CFrame.Angles(-2.9829180240631, -0.13891921937466, -1.5348057746887)
  241. part.BrickColor = BrickColor.new("Really black")
  242. part.Friction = 0.30000001192093
  243. part.BottomSurface = Enum.SurfaceType.Smooth
  244.  
  245. mesh = Instance.new("SpecialMesh",part)
  246. mesh.Scale = Vector3.new(0.19666667282581,0.56666666269302,0.19666667282581)
  247. mesh.MeshId = "http://www.roblox.com/asset/?id=1033714"
  248. mesh.TextureId = "http://www.roblox.com/asset/?id=12148171"
  249. mesh.MeshType = Enum.MeshType.FileMesh
  250.  
  251. weld = Instance.new("Weld",part)
  252. weld.Part1 = Part
  253. weld.Part0 = Part
  254. weld.C1 = CFrame.new(1.6533677577972,5.593327999115,-13.92013835907) * CFrame.Angles(-0, 0, 1.5707963705063)
  255. weld.C0 = CFrame.new(-5.6400628089905,-14.450164794922,-1.4200314283371) * CFrame.Angles(-1.5707963705063, -1.5099580252809e-007, 3.1415927410126)
  256.  
  257. part = Instance.new("Part",rpg7)
  258. part.FormFactor = Enum.FormFactor.Plate
  259. part.TopSurface = Enum.SurfaceType.Smooth
  260. part.Reflectance = 0.10000000149012
  261. part.Size = Vector3.new(1,0.40000000596046,1)
  262. part.CFrame = CFrame.new(-19.369974136353,0.69780671596527,30.894763946533) * CFrame.Angles(3.0458793640137, 1.4273209571838, 0.2518864274025)
  263. part.BrickColor = BrickColor.new("Really black")
  264. part.Friction = 0.30000001192093
  265. part.BottomSurface = Enum.SurfaceType.Smooth
  266.  
  267. mesh = Instance.new("BlockMesh",part)
  268. mesh.Scale = Vector3.new(0.066666670143604,0.066666670143604,0.43333333730698)
  269.  
  270. weld = Instance.new("Weld",part)
  271. weld.Part1 = Part
  272. weld.Part0 = Part
  273. weld.C1 = CFrame.new(1.6533689498901,-5.4199872016907,13.92013835907) * CFrame.Angles(-3.1415927410126, -8.7422776573476e-008, 1.5707963705063)
  274. weld.C0 = CFrame.new(1.6533677577972,5.593327999115,-13.92013835907) * CFrame.Angles(-0, 0, 1.5707963705063)
  275.  
  276. part = Instance.new("Part",rpg7)
  277. part.FormFactor = Enum.FormFactor.Plate
  278. part.TopSurface = Enum.SurfaceType.Smooth
  279. part.Reflectance = 0.10000000149012
  280. part.Size = Vector3.new(1,0.40000000596046,1)
  281. part.CFrame = CFrame.new(-19.376152038574,0.52661782503128,30.868244171143) * CFrame.Angles(-0.095713414251804, -1.4273209571838, -0.25188657641411)
  282. part.BrickColor = BrickColor.new("Really black")
  283. part.Friction = 0.30000001192093
  284. part.BottomSurface = Enum.SurfaceType.Smooth
  285.  
  286. mesh = Instance.new("BlockMesh",part)
  287. mesh.Scale = Vector3.new(0.066666670143604,0.066666670143604,0.43333333730698)
  288.  
  289. weld = Instance.new("Weld",part)
  290. weld.Part1 = Part
  291. weld.Part0 = Part
  292. weld.C1 = CFrame.new(-5.6404209136963,-1.0035330057144,13.786613464355) * CFrame.Angles(3.141592502594, 2.8018041120959e-005, 3.141562461853)
  293. weld.C0 = CFrame.new(1.6533689498901,-5.4199872016907,13.92013835907) * CFrame.Angles(-3.1415927410126, -8.7422776573476e-008, 1.5707963705063)
  294.  
  295. part = Instance.new("Part",rpg7)
  296. part.FormFactor = Enum.FormFactor.Symmetric
  297. part.TopSurface = Enum.SurfaceType.Smooth
  298. part.Size = Vector3.new(1,1,1)
  299. part.CFrame = CFrame.new(-19.410297393799,0.64406836032867,31.556550979614) * CFrame.Angles(-0.095902867615223, -1.4273139238358, 1.3186919689178)
  300. part.BrickColor = BrickColor.new("Reddish brown")
  301. part.Friction = 0.30000001192093
  302. part.BottomSurface = Enum.SurfaceType.Smooth
  303.  
  304. mesh = Instance.new("BlockMesh",part)
  305. mesh.Scale = Vector3.new(0.066666670143604,0.43333333730698,0.23333333432674)
  306.  
  307. weld = Instance.new("Weld",part)
  308. weld.Part1 = Part
  309. weld.Part0 = Part
  310. weld.C1 = CFrame.new(5.6400651931763,-1.5866969823837,-11.10341835022) * CFrame.Angles(-0, 0, -0)
  311. weld.C0 = CFrame.new(-5.6404209136963,-1.0035330057144,13.786613464355) * CFrame.Angles(3.141592502594, 2.8018041120959e-005, 3.141562461853)
  312.  
  313. part = Instance.new("Part",rpg7)
  314. part.FormFactor = Enum.FormFactor.Symmetric
  315. part.TopSurface = Enum.SurfaceType.Smooth
  316. part.Reflectance = 0.10000000149012
  317. part.Size = Vector3.new(1,1,1)
  318. part.CFrame = CFrame.new(-22.146854400635,0.77201986312866,31.368017196655) * CFrame.Angles(3.0458793640137, 1.4273209571838, 1.8226828575134)
  319. part.BrickColor = BrickColor.new("Really black")
  320. part.Friction = 0.30000001192093
  321. part.BottomSurface = Enum.SurfaceType.Smooth
  322.  
  323. mesh = Instance.new("BlockMesh",part)
  324. mesh.Scale = Vector3.new(0.033333335071802,0.10000000149012,0.066666670143604)
  325.  
  326. weld = Instance.new("Weld",part)
  327. weld.Part1 = Part
  328. weld.Part0 = Part
  329. weld.C1 = CFrame.new(-5.6400628089905,-14.886627197266,-1.1733680963516) * CFrame.Angles(-1.570796251297, -1.5099580252809e-007, -3.1415927410126)
  330. weld.C0 = CFrame.new(5.6400651931763,-1.5866969823837,-11.10341835022) * CFrame.Angles(-0, 0, -0)
  331.  
  332. part = Instance.new("Part",rpg7)
  333. part.FormFactor = Enum.FormFactor.Symmetric
  334. part.TopSurface = Enum.SurfaceType.Smooth
  335. part.Reflectance = 0.10000000149012
  336. part.Size = Vector3.new(1,1,1)
  337. part.CFrame = CFrame.new(-18.345283508301,0.65564262866974,31.233757019043) * CFrame.Angles(-2.9829180240631, -0.13891910016537, -1.5348057746887)
  338. part.BrickColor = BrickColor.new("Dark stone grey")
  339. part.Friction = 0.30000001192093
  340. part.BottomSurface = Enum.SurfaceType.Smooth
  341.  
  342. mesh = Instance.new("SpecialMesh",part)
  343. mesh.Scale = Vector3.new(0.033333335071802,0.033333335071802,0.066666670143604)
  344. mesh.MeshType = Enum.MeshType.Wedge
  345.  
  346. weld = Instance.new("Weld",part)
  347. weld.Part1 = Part
  348. weld.Part0 = Part
  349. weld.C1 = CFrame.new(5.6400651931763,11.276098251343,9.758129119873) * CFrame.Angles(2.3561944961548, 0, -0)
  350. weld.C0 = CFrame.new(-5.6400628089905,-14.886627197266,-1.1733680963516) * CFrame.Angles(-1.570796251297, -1.5099580252809e-007, -3.1415927410126)
  351.  
  352. part = Instance.new("Part",rpg7)
  353. part.FormFactor = Enum.FormFactor.Symmetric
  354. part.TopSurface = Enum.SurfaceType.Smooth
  355. part.Reflectance = 0.10000000149012
  356. part.Size = Vector3.new(1,1,1)
  357. part.CFrame = CFrame.new(-18.344482421875,0.6401738524437,31.333425521851) * CFrame.Angles(-2.9407091140747, -0.92356508970261, 1.6299310922623)
  358. part.BrickColor = BrickColor.new("Dark stone grey")
  359. part.Friction = 0.30000001192093
  360. part.BottomSurface = Enum.SurfaceType.Smooth
  361.  
  362. mesh = Instance.new("SpecialMesh",part)
  363. mesh.Scale = Vector3.new(0.033333335071802,0.033333335071802,0.066666670143604)
  364. mesh.MeshType = Enum.MeshType.Wedge
  365.  
  366. weld = Instance.new("Weld",part)
  367. weld.Part1 = Part
  368. weld.Part0 = Part
  369. weld.C1 = CFrame.new(5.50665807724,-1.8933650255203,-13.853425979614) * CFrame.Angles(-0, 0, -0)
  370. weld.C0 = CFrame.new(5.6400651931763,11.276098251343,9.758129119873) * CFrame.Angles(2.3561944961548, 0, -0)
  371.  
  372. part = Instance.new("Part",rpg7)
  373. part.FormFactor = Enum.FormFactor.Plate
  374. part.TopSurface = Enum.SurfaceType.Smooth
  375. part.Reflectance = 0.10000000149012
  376. part.Size = Vector3.new(1,0.40000000596046,1)
  377. part.CFrame = CFrame.new(-19.472322463989,0.65068072080612,30.656297683716) * CFrame.Angles(3.0458793640137, 1.4273213148117, 1.8226827383041)
  378. part.BrickColor = BrickColor.new("Really black")
  379. part.Friction = 0.30000001192093
  380. part.BottomSurface = Enum.SurfaceType.Smooth
  381.  
  382. mesh = Instance.new("BlockMesh",part)
  383. mesh.Scale = Vector3.new(0.10000000149012,0.033333335071802,0.033333335071802)
  384.  
  385. weld = Instance.new("Weld",part)
  386. weld.Part1 = Part
  387. weld.Part0 = Part
  388. weld.C1 = CFrame.new(13.853425979614,-1.7033679485321,5.5733075141907) * CFrame.Angles(-0, -1.5707963705063, 0)
  389. weld.C0 = CFrame.new(5.50665807724,-1.8933650255203,-13.853425979614) * CFrame.Angles(-0, 0, -0)
  390.  
  391. part = Instance.new("Part",rpg7)
  392. part.FormFactor = Enum.FormFactor.Symmetric
  393. part.TopSurface = Enum.SurfaceType.Smooth
  394. part.Reflectance = 0.10000000149012
  395. part.Size = Vector3.new(1,1,1)
  396. part.CFrame = CFrame.new(-19.4436378479,0.68677008152008,30.852296829224) * CFrame.Angles(1.7244852781296, -0.035643890500069, 3.002584695816)
  397. part.BrickColor = BrickColor.new("Really black")
  398. part.Friction = 0.30000001192093
  399. part.BottomSurface = Enum.SurfaceType.Smooth
  400.  
  401. mesh = Instance.new("SpecialMesh",part)
  402. mesh.Scale = Vector3.new(0.033333335071802,0.033333335071802,0.066666670143604)
  403. mesh.MeshType = Enum.MeshType.Wedge
  404.  
  405. weld = Instance.new("Weld",part)
  406. weld.Part1 = Part
  407. weld.Part0 = Part
  408. weld.C1 = CFrame.new(-13.853425979614,-1.7033679485321,-5.439977645874) * CFrame.Angles(0, 1.5707963705063, 0)
  409. weld.C0 = CFrame.new(13.853425979614,-1.7033679485321,5.5733075141907) * CFrame.Angles(-0, -1.5707963705063, 0)
  410.  
  411. part = Instance.new("Part",rpg7)
  412. part.FormFactor = Enum.FormFactor.Symmetric
  413. part.TopSurface = Enum.SurfaceType.Smooth
  414. part.Reflectance = 0.10000000149012
  415. part.Size = Vector3.new(1,1,1)
  416. part.CFrame = CFrame.new(-19.448389053345,0.55509638786316,30.831899642944) * CFrame.Angles(-1.4171073436737, 0.035643804818392, 0.13900804519653)
  417. part.BrickColor = BrickColor.new("Really black")
  418. part.Friction = 0.30000001192093
  419. part.BottomSurface = Enum.SurfaceType.Smooth
  420.  
  421. mesh = Instance.new("SpecialMesh",part)
  422. mesh.Scale = Vector3.new(0.033333335071802,0.033333335071802,0.066666670143604)
  423. mesh.MeshType = Enum.MeshType.Wedge
  424.  
  425. weld = Instance.new("Weld",part)
  426. weld.Part1 = Part
  427. weld.Part0 = Part
  428. weld.C1 = CFrame.new(-5.6404280662537,-0.77020007371902,13.786613464355) * CFrame.Angles(3.141592502594, 2.8018041120959e-005, 3.141562461853)
  429. weld.C0 = CFrame.new(-13.853425979614,-1.7033679485321,-5.439977645874) * CFrame.Angles(0, 1.5707963705063, 0)
  430.  
  431. part = Instance.new("Part",rpg7)
  432. part.FormFactor = Enum.FormFactor.Symmetric
  433. part.TopSurface = Enum.SurfaceType.Smooth
  434. part.Size = Vector3.new(1,1,1)
  435. part.CFrame = CFrame.new(-19.377986907959,0.60755461454391,31.784730911255) * CFrame.Angles(-0.095902897417545, -1.4273142814636, 1.3186920881271)
  436. part.BrickColor = BrickColor.new("Reddish brown")
  437. part.Friction = 0.30000001192093
  438. part.BottomSurface = Enum.SurfaceType.Smooth
  439.  
  440. mesh = Instance.new("BlockMesh",part)
  441. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.16666667163372)
  442.  
  443. weld = Instance.new("Weld",part)
  444. weld.Part1 = Part
  445. weld.Part0 = Part
  446. weld.C1 = CFrame.new(5.6400651931763,15.736721992493,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  447. weld.C0 = CFrame.new(-5.6404280662537,-0.77020007371902,13.786613464355) * CFrame.Angles(3.141592502594, 2.8018041120959e-005, 3.141562461853)
  448.  
  449. part = Instance.new("Part",rpg7)
  450. part.FormFactor = Enum.FormFactor.Symmetric
  451. part.TopSurface = Enum.SurfaceType.Smooth
  452. part.Reflectance = 0.10000000149012
  453. part.Size = Vector3.new(1,1,1)
  454. part.CFrame = CFrame.new(-17.538080215454,0.68262624740601,30.871541976929) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  455. part.BrickColor = BrickColor.new("Really black")
  456. part.Friction = 0.30000001192093
  457. part.BottomSurface = Enum.SurfaceType.Smooth
  458.  
  459. mesh = Instance.new("CylinderMesh",part)
  460. mesh.Scale = Vector3.new(0.23999999463558,0.53333336114883,0.23999999463558)
  461.  
  462. weld = Instance.new("Weld",part)
  463. weld.Part1 = Part
  464. weld.Part0 = Part
  465. weld.C1 = CFrame.new(5.6400651931763,11.769913673401,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  466. weld.C0 = CFrame.new(5.6400651931763,15.736721992493,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  467.  
  468. part = Instance.new("Part",rpg7)
  469. part.FormFactor = Enum.FormFactor.Symmetric
  470. part.TopSurface = Enum.SurfaceType.Smooth
  471. part.Reflectance = 0.10000000149012
  472. part.Size = Vector3.new(1,1,1)
  473. part.CFrame = CFrame.new(-21.464130401611,0.73683136701584,31.436140060425) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  474. part.BrickColor = BrickColor.new("Really black")
  475. part.Friction = 0.30000001192093
  476. part.BottomSurface = Enum.SurfaceType.Smooth
  477.  
  478. mesh = Instance.new("CylinderMesh",part)
  479. mesh.Scale = Vector3.new(0.33000001311302,0.066666670143604,0.33000001311302)
  480.  
  481. weld = Instance.new("Weld",part)
  482. weld.Part1 = Part
  483. weld.Part0 = Part
  484. weld.C1 = CFrame.new(5.6400651931763,11.870027542114,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  485. weld.C0 = CFrame.new(5.6400651931763,11.769913673401,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  486.  
  487. part = Instance.new("Part",rpg7)
  488. part.FormFactor = Enum.FormFactor.Symmetric
  489. part.TopSurface = Enum.SurfaceType.Smooth
  490. part.Size = Vector3.new(1,2,1)
  491. part.CFrame = CFrame.new(-21.365045547485,0.73546332120895,31.421890258789) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  492. part.BrickColor = BrickColor.new("Reddish brown")
  493. part.Friction = 0.30000001192093
  494. part.BottomSurface = Enum.SurfaceType.Smooth
  495.  
  496. mesh = Instance.new("CylinderMesh",part)
  497. mesh.Scale = Vector3.new(0.30000001192093,0.89999997615814,0.30000001192093)
  498.  
  499. weld = Instance.new("Weld",part)
  500. weld.Part1 = Part
  501. weld.Part0 = Part
  502. weld.C1 = CFrame.new(14.720368385315,-5.6229453086853,-0.69669735431671) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  503. weld.C0 = CFrame.new(5.6400651931763,11.870027542114,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  504.  
  505. part = Instance.new("Part",rpg7)
  506. part.FormFactor = Enum.FormFactor.Symmetric
  507. part.TopSurface = Enum.SurfaceType.Smooth
  508. part.Reflectance = 0.10000000149012
  509. part.Size = Vector3.new(1,1,1)
  510. part.CFrame = CFrame.new(-18.444438934326,0.56641364097595,31.720947265625) * CFrame.Angles(-2.9829180240631, -0.13891926407814, -3.1056017875671)
  511. part.BrickColor = BrickColor.new("Really black")
  512. part.Friction = 0.30000001192093
  513. part.BottomSurface = Enum.SurfaceType.Smooth
  514.  
  515. mesh = Instance.new("CylinderMesh",part)
  516. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.066666670143604)
  517.  
  518. weld = Instance.new("Weld",part)
  519. weld.Part1 = Smoke1
  520. weld.Part0 = Part
  521. weld.C1 = CFrame.new(5.6400651931763,9.896632194519,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  522. weld.C0 = CFrame.new(14.720368385315,-5.6229453086853,-0.69669735431671) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  523.  
  524. smoke1 = Instance.new("Part",rpg7)
  525. smoke1.FormFactor = Enum.FormFactor.Symmetric
  526. smoke1.TopSurface = Enum.SurfaceType.Smooth
  527. smoke1.Reflectance = 0.10000000149012
  528. smoke1.Size = Vector3.new(1,1,1)
  529. smoke1.Name = "Smoke1"
  530. smoke1.CFrame = CFrame.new(-23.318164825439,0.76242899894714,31.702764511108) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  531. smoke1.BrickColor = BrickColor.new("Really black")
  532. smoke1.Friction = 0.30000001192093
  533. smoke1.BottomSurface = Enum.SurfaceType.Smooth
  534.  
  535. mesh = Instance.new("CylinderMesh",smoke1)
  536. mesh.Scale = Vector3.new(0.63330000638962,0.032999999821186,0.63330000638962)
  537.  
  538. smoke = Instance.new("Smoke",smoke1)
  539. smoke.Enabled = false
  540. smoke.Color = Color3.new(0, 0, 0)
  541. smoke.Opacity = 0.80000001192093
  542. smoke.RiseVelocity = 2
  543. smoke.Size = 0.20000000298023
  544.  
  545. weld = Instance.new("Weld",smoke1)
  546. weld.Part1 = Part
  547. weld.Part0 = Smoke1
  548. weld.C1 = CFrame.new(13.917760848999,1.415494799614,-5.509566783905) * CFrame.Angles(1.2754670381546, -1.5701057910919, -1.8663790225983)
  549. weld.C0 = CFrame.new(5.6400651931763,9.896632194519,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  550.  
  551. part = Instance.new("Part",rpg7)
  552. part.FormFactor = Enum.FormFactor.Symmetric
  553. part.TopSurface = Enum.SurfaceType.Smooth
  554. part.Reflectance = 0.10000000149012
  555. part.Size = Vector3.new(1,1,1)
  556. part.CFrame = CFrame.new(-19.338447570801,0.57309067249298,31.125982284546) * CFrame.Angles(-1.4168887138367, 0.035911243408918, -3.0033633708954)
  557. part.BrickColor = BrickColor.new("Really black")
  558. part.Friction = 0.30000001192093
  559. part.BottomSurface = Enum.SurfaceType.Smooth
  560.  
  561. mesh = Instance.new("SpecialMesh",part)
  562. mesh.Scale = Vector3.new(0.43333333730698,0.033333335071802,0.20000000298023)
  563. mesh.MeshType = Enum.MeshType.Wedge
  564.  
  565. weld = Instance.new("Weld",part)
  566. weld.Part1 = Part
  567. weld.Part0 = Part
  568. weld.C1 = CFrame.new(5.6400651931763,9.9532804489136,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  569. weld.C0 = CFrame.new(13.917760848999,1.415494799614,-5.509566783905) * CFrame.Angles(1.2754670381546, -1.5701057910919, -1.8663790225983)
  570.  
  571. part = Instance.new("Part",rpg7)
  572. part.FormFactor = Enum.FormFactor.Symmetric
  573. part.TopSurface = Enum.SurfaceType.Smooth
  574. part.Reflectance = 0.10000000149012
  575. part.Size = Vector3.new(1,1,1)
  576. part.CFrame = CFrame.new(-23.262102127075,0.76165544986725,31.694702148438) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  577. part.BrickColor = BrickColor.new("Really black")
  578. part.Friction = 0.30000001192093
  579. part.BottomSurface = Enum.SurfaceType.Smooth
  580.  
  581. mesh = Instance.new("CylinderMesh",part)
  582. mesh.Scale = Vector3.new(0.46666666865349,0.10000000149012,0.46666666865349)
  583.  
  584. weld = Instance.new("Weld",part)
  585. weld.Part1 = Part
  586. weld.Part0 = Part
  587. weld.C1 = CFrame.new(5.6400651931763,13.336580276489,-1.4200314283371) * CFrame.Angles(1.5707963705063, 0, -0)
  588. weld.C0 = CFrame.new(5.6400651931763,9.9532804489136,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  589.  
  590. part = Instance.new("Part",rpg7)
  591. part.FormFactor = Enum.FormFactor.Symmetric
  592. part.TopSurface = Enum.SurfaceType.Smooth
  593. part.Reflectance = 0.10000000149012
  594. part.Size = Vector3.new(1,1,1)
  595. part.CFrame = CFrame.new(-19.913566589355,0.71542382240295,31.21315574646) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  596. part.BrickColor = BrickColor.new("Really black")
  597. part.Friction = 0.30000001192093
  598. part.BottomSurface = Enum.SurfaceType.Smooth
  599.  
  600. mesh = Instance.new("CylinderMesh",part)
  601. mesh.Scale = Vector3.new(0.44000002741814,0.066666670143604,0.44000002741814)
  602.  
  603. weld = Instance.new("Weld",part)
  604. weld.Part1 = Part
  605. weld.Part0 = Part
  606. weld.C1 = CFrame.new(5.6400651931763,-1.1300309896469,-15.120023727417) * CFrame.Angles(-0, 0, -0)
  607. weld.C0 = CFrame.new(5.6400651931763,13.336580276489,-1.4200314283371) * CFrame.Angles(1.5707963705063, 0, -0)
  608.  
  609. part = Instance.new("Part",rpg7)
  610. part.FormFactor = Enum.FormFactor.Symmetric
  611. part.TopSurface = Enum.SurfaceType.Smooth
  612. part.Reflectance = 0.10000000149012
  613. part.Size = Vector3.new(1,1,1)
  614. part.CFrame = CFrame.new(-18.108291625977,0.64567214250565,31.242916107178) * CFrame.Angles(3.0458793640137, 1.4273201227188, 1.8226827383041)
  615. part.BrickColor = BrickColor.new("Really black")
  616. part.Friction = 0.30000001192093
  617. part.BottomSurface = Enum.SurfaceType.Smooth
  618.  
  619. mesh = Instance.new("BlockMesh",part)
  620. mesh.Scale = Vector3.new(0.066666670143604,0.16666667163372,0.033333335071802)
  621.  
  622. weld = Instance.new("Weld",part)
  623. weld.Part1 = Part
  624. weld.Part0 = Part
  625. weld.C1 = CFrame.new(5.6400651931763,-1.6367000341415,-13.336580276489) * CFrame.Angles(-0, 0, -0)
  626. weld.C0 = CFrame.new(5.6400651931763,-1.1300309896469,-15.120023727417) * CFrame.Angles(-0, 0, -0)
  627.  
  628. part = Instance.new("Part",rpg7)
  629. part.FormFactor = Enum.FormFactor.Symmetric
  630. part.TopSurface = Enum.SurfaceType.Smooth
  631. part.Reflectance = 0.10000000149012
  632. part.Size = Vector3.new(1,1,1)
  633. part.CFrame = CFrame.new(-19.94356918335,0.74932968616486,31.001270294189) * CFrame.Angles(3.0458793640137, 1.4273201227188, 1.8226827383041)
  634. part.BrickColor = BrickColor.new("Really black")
  635. part.Friction = 0.30000001192093
  636. part.BottomSurface = Enum.SurfaceType.Smooth
  637.  
  638. mesh = Instance.new("BlockMesh",part)
  639. mesh.Scale = Vector3.new(0.033333335071802,0.10000000149012,0.066666670143604)
  640.  
  641. weld = Instance.new("Weld",part)
  642. weld.Part1 = Part
  643. weld.Part0 = Part
  644. weld.C1 = CFrame.new(5.6400651931763,11.10341835022,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  645. weld.C0 = CFrame.new(5.6400651931763,-1.6367000341415,-13.336580276489) * CFrame.Angles(-0, 0, -0)
  646.  
  647. part = Instance.new("Part",rpg7)
  648. part.FormFactor = Enum.FormFactor.Symmetric
  649. part.TopSurface = Enum.SurfaceType.Smooth
  650. part.Reflectance = 0.10000000149012
  651. part.Size = Vector3.new(1,1,1)
  652. part.CFrame = CFrame.new(-22.123783111572,0.74593925476074,31.531002044678) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  653. part.BrickColor = BrickColor.new("Really black")
  654. part.Friction = 0.30000001192093
  655. part.BottomSurface = Enum.SurfaceType.Smooth
  656.  
  657. mesh = Instance.new("CylinderMesh",part)
  658. mesh.Scale = Vector3.new(0.33000001311302,0.066666670143604,0.33000001311302)
  659.  
  660. weld = Instance.new("Weld",part)
  661. weld.Part1 = Part
  662. weld.Part0 = Part
  663. weld.C1 = CFrame.new(5.6400651931763,-1.2633669376373,-14.803374290466) * CFrame.Angles(-0, 0, -0)
  664. weld.C0 = CFrame.new(5.6400651931763,11.10341835022,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  665.  
  666. part = Instance.new("Part",rpg7)
  667. part.FormFactor = Enum.FormFactor.Symmetric
  668. part.TopSurface = Enum.SurfaceType.Smooth
  669. part.Reflectance = 0.10000000149012
  670. part.Size = Vector3.new(1,1,1)
  671. part.CFrame = CFrame.new(-18.4401512146,0.67086446285248,31.157592773438) * CFrame.Angles(3.0458793640137, 1.4273201227188, 1.8226827383041)
  672. part.BrickColor = BrickColor.new("Really black")
  673. part.Friction = 0.30000001192093
  674. part.BottomSurface = Enum.SurfaceType.Smooth
  675.  
  676. mesh = Instance.new("BlockMesh",part)
  677. mesh.Scale = Vector3.new(0.066666670143604,0.10000000149012,0.66666668653488)
  678.  
  679. weld = Instance.new("Weld",part)
  680. weld.Part1 = Part
  681. weld.Part0 = Part
  682. weld.C1 = CFrame.new(5.6400651931763,13.853425979614,-1.4200314283371) * CFrame.Angles(1.5707963705063, 0, -0)
  683. weld.C0 = CFrame.new(5.6400651931763,-1.2633669376373,-14.803374290466) * CFrame.Angles(-0, 0, -0)
  684.  
  685. part = Instance.new("Part",rpg7)
  686. part.FormFactor = Enum.FormFactor.Symmetric
  687. part.TopSurface = Enum.SurfaceType.Smooth
  688. part.Reflectance = 0.10000000149012
  689. part.Size = Vector3.new(1,1,1)
  690. part.CFrame = CFrame.new(-19.402032852173,0.70836132764816,31.13959312439) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  691. part.BrickColor = BrickColor.new("Really black")
  692. part.Friction = 0.30000001192093
  693. part.BottomSurface = Enum.SurfaceType.Smooth
  694.  
  695. mesh = Instance.new("CylinderMesh",part)
  696. mesh.Scale = Vector3.new(0.40000000596046,0.76666665077209,0.40000000596046)
  697.  
  698. weld = Instance.new("Weld",part)
  699. weld.Part1 = Part
  700. weld.Part0 = Part
  701. weld.C1 = CFrame.new(5.6400651931763,-1.5533670186996,-15.537260055542) * CFrame.Angles(-0, 0, -0)
  702. weld.C0 = CFrame.new(5.6400651931763,13.853425979614,-1.4200314283371) * CFrame.Angles(1.5707963705063, 0, -0)
  703.  
  704. part = Instance.new("Part",rpg7)
  705. part.FormFactor = Enum.FormFactor.Symmetric
  706. part.TopSurface = Enum.SurfaceType.Smooth
  707. part.Reflectance = 0.10000000149012
  708. part.Size = Vector3.new(1,1,1)
  709. part.CFrame = CFrame.new(-17.753963470459,0.70621758699417,30.769540786743) * CFrame.Angles(3.0458793640137, 1.4273201227188, 1.8226827383041)
  710. part.BrickColor = BrickColor.new("Really black")
  711. part.Friction = 0.30000001192093
  712. part.BottomSurface = Enum.SurfaceType.Smooth
  713.  
  714. mesh = Instance.new("BlockMesh",part)
  715. mesh.Scale = Vector3.new(0.066666670143604,0.066666670143604,0.066666670143604)
  716.  
  717. weld = Instance.new("Weld",part)
  718. weld.Part1 = Part
  719. weld.Part0 = Part
  720. weld.C1 = CFrame.new(5.6400651931763,12.853425979614,-1.4200314283371) * CFrame.Angles(1.5707963705063, 0, -0)
  721. weld.C0 = CFrame.new(5.6400651931763,-1.5533670186996,-15.537260055542) * CFrame.Angles(-0, 0, -0)
  722.  
  723. part = Instance.new("Part",rpg7)
  724. part.FormFactor = Enum.FormFactor.Symmetric
  725. part.TopSurface = Enum.SurfaceType.Smooth
  726. part.Size = Vector3.new(1,1,1)
  727. part.CFrame = CFrame.new(-20.391757965088,0.72202599048615,31.281923294067) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  728. part.BrickColor = BrickColor.new("Reddish brown")
  729. part.Friction = 0.30000001192093
  730. part.BottomSurface = Enum.SurfaceType.Smooth
  731.  
  732. mesh = Instance.new("CylinderMesh",part)
  733. mesh.Scale = Vector3.new(0.40000000596046,1.1666666269302,0.40000000596046)
  734.  
  735. weld = Instance.new("Weld",part)
  736. weld.Part1 = Part
  737. weld.Part0 = Part
  738. weld.C1 = CFrame.new(-5.6400651931763,-0.76336514949799,14.853425979614) * CFrame.Angles(3.141592502594, 7.6427418606588e-015, 3.141592502594)
  739. weld.C0 = CFrame.new(5.6400651931763,12.853425979614,-1.4200314283371) * CFrame.Angles(1.5707963705063, 0, -0)
  740.  
  741. part = Instance.new("Part",rpg7)
  742. part.FormFactor = Enum.FormFactor.Symmetric
  743. part.TopSurface = Enum.SurfaceType.Smooth
  744. part.Size = Vector3.new(1,1,1)
  745. part.CFrame = CFrame.new(-18.321376800537,0.59193652868271,31.639432907104) * CFrame.Angles(-0.095713138580322, -1.4273201227188, 1.3189100027084)
  746. part.BrickColor = BrickColor.new("Reddish brown")
  747. part.Friction = 0.30000001192093
  748. part.BottomSurface = Enum.SurfaceType.Smooth
  749.  
  750. mesh = Instance.new("SpecialMesh",part)
  751. mesh.Scale = Vector3.new(0.066666670143604,0.36666667461395,0.033333335071802)
  752. mesh.MeshType = Enum.MeshType.Wedge
  753.  
  754. weld = Instance.new("Weld",part)
  755. weld.Part1 = Part
  756. weld.Part0 = Part
  757. weld.C1 = CFrame.new(5.6400651931763,0.5633636713028,14.853425979614) * CFrame.Angles(-3.141592502594, 0, -0)
  758. weld.C0 = CFrame.new(-5.6400651931763,-0.76336514949799,14.853425979614) * CFrame.Angles(3.141592502594, 7.6427418606588e-015, 3.141592502594)
  759.  
  760. part = Instance.new("Part",rpg7)
  761. part.FormFactor = Enum.FormFactor.Symmetric
  762. part.TopSurface = Enum.SurfaceType.Smooth
  763. part.Size = Vector3.new(1,1,1)
  764. part.CFrame = CFrame.new(-18.293682098389,0.56063884496689,31.835018157959) * CFrame.Angles(-0.095713138580322, -1.4273201227188, -1.8226826190948)
  765. part.BrickColor = BrickColor.new("Reddish brown")
  766. part.Friction = 0.30000001192093
  767. part.BottomSurface = Enum.SurfaceType.Smooth
  768.  
  769. mesh = Instance.new("SpecialMesh",part)
  770. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.033333335071802)
  771. mesh.MeshType = Enum.MeshType.Wedge
  772.  
  773. weld = Instance.new("Weld",part)
  774. weld.Part1 = Part
  775. weld.Part0 = Part
  776. weld.C1 = CFrame.new(5.6400651931763,-0.74669802188873,-14.720368385315) * CFrame.Angles(-0, 0, -0)
  777. weld.C0 = CFrame.new(5.6400651931763,0.5633636713028,14.853425979614) * CFrame.Angles(-3.141592502594, 0, -0)
  778.  
  779. part = Instance.new("Part",rpg7)
  780. part.FormFactor = Enum.FormFactor.Symmetric
  781. part.TopSurface = Enum.SurfaceType.Smooth
  782. part.Size = Vector3.new(1,1,1)
  783. part.CFrame = CFrame.new(-18.450759887695,0.59114634990692,31.674671173096) * CFrame.Angles(3.0458793640137, 1.4273201227188, 1.8226827383041)
  784. part.BrickColor = BrickColor.new("Reddish brown")
  785. part.Friction = 0.30000001192093
  786. part.BottomSurface = Enum.SurfaceType.Smooth
  787.  
  788. mesh = Instance.new("BlockMesh",part)
  789. mesh.Scale = Vector3.new(0.066666670143604,0.40000000596046,0.23333333432674)
  790.  
  791. weld = Instance.new("Weld",part)
  792. weld.Part1 = Part
  793. weld.Part0 = Part
  794. weld.C1 = CFrame.new(5.6400651931763,15.537260055542,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  795. weld.C0 = CFrame.new(5.6400651931763,-0.74669802188873,-14.720368385315) * CFrame.Angles(-0, 0, -0)
  796.  
  797. part = Instance.new("Part",rpg7)
  798. part.FormFactor = Enum.FormFactor.Symmetric
  799. part.TopSurface = Enum.SurfaceType.Smooth
  800. part.Reflectance = 0.10000000149012
  801. part.Size = Vector3.new(1,1,1)
  802. part.CFrame = CFrame.new(-17.735500335693,0.68535220623016,30.899932861328) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  803. part.BrickColor = BrickColor.new("Really black")
  804. part.Friction = 0.30000001192093
  805. part.BottomSurface = Enum.SurfaceType.Smooth
  806.  
  807. mesh = Instance.new("CylinderMesh",part)
  808. mesh.Scale = Vector3.new(0.26666668057442,0.066666670143604,0.26666668057442)
  809.  
  810. weld = Instance.new("Weld",part)
  811. weld.Part1 = Part
  812. weld.Part0 = Part
  813. weld.C1 = CFrame.new(5.6400651931763,15.836580276489,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  814. weld.C0 = CFrame.new(5.6400651931763,15.537260055542,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  815.  
  816. part = Instance.new("Part",rpg7)
  817. part.FormFactor = Enum.FormFactor.Symmetric
  818. part.TopSurface = Enum.SurfaceType.Smooth
  819. part.Reflectance = 0.10000000149012
  820. part.Size = Vector3.new(1,1,1)
  821. part.CFrame = CFrame.new(-17.439254760742,0.68126207590103,30.857330322266) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  822. part.BrickColor = BrickColor.new("Really black")
  823. part.Friction = 0.30000001192093
  824. part.BottomSurface = Enum.SurfaceType.Smooth
  825.  
  826. mesh = Instance.new("CylinderMesh",part)
  827. mesh.Scale = Vector3.new(0.26666668057442,0.066666670143604,0.26666668057442)
  828.  
  829. weld = Instance.new("Weld",part)
  830. weld.Part1 = Part
  831. weld.Part0 = Part
  832. weld.C1 = CFrame.new(-5.6400661468506,11.736721038818,1.4200325012207) * CFrame.Angles(1.5707963705063, 8.7422776573476e-008, 3.1415927410126)
  833. weld.C0 = CFrame.new(5.6400651931763,15.836580276489,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  834.  
  835. part = Instance.new("Part",rpg7)
  836. part.FormFactor = Enum.FormFactor.Symmetric
  837. part.TopSurface = Enum.SurfaceType.Smooth
  838. part.Size = Vector3.new(1,1,1)
  839. part.CFrame = CFrame.new(-21.49698638916,0.73728513717651,31.440864562988) * CFrame.Angles(0.15867473185062, 0.13891917467117, 1.5348055362701)
  840. part.BrickColor = BrickColor.new("Reddish brown")
  841. part.Friction = 0.30000001192093
  842. part.BottomSurface = Enum.SurfaceType.Smooth
  843.  
  844. mesh = Instance.new("SpecialMesh",part)
  845. mesh.Scale = Vector3.new(0.20000000298023,1.4333332777023,0.20000000298023)
  846. mesh.MeshId = "http://www.roblox.com/asset/?id=1033714"
  847. mesh.TextureId = "http://www.roblox.com/asset/?id=12148171"
  848. mesh.MeshType = Enum.MeshType.FileMesh
  849.  
  850. weld = Instance.new("Weld",part)
  851. weld.Part1 = Part
  852. weld.Part0 = Part
  853. weld.C1 = CFrame.new(5.50665807724,-1.5200309753418,-13.92013835907) * CFrame.Angles(-0, 0, -0)
  854. weld.C0 = CFrame.new(-5.6400661468506,11.736721038818,1.4200325012207) * CFrame.Angles(1.5707963705063, 8.7422776573476e-008, 3.1415927410126)
  855.  
  856. part = Instance.new("Part",rpg7)
  857. part.FormFactor = Enum.FormFactor.Symmetric
  858. part.TopSurface = Enum.SurfaceType.Smooth
  859. part.Reflectance = 0.10000000149012
  860. part.Size = Vector3.new(1,1,1)
  861. part.CFrame = CFrame.new(-19.354606628418,0.59134709835052,31.011896133423) * CFrame.Angles(3.0458793640137, 1.4273201227188, 1.8226827383041)
  862. part.BrickColor = BrickColor.new("Really black")
  863. part.Friction = 0.30000001192093
  864. part.BottomSurface = Enum.SurfaceType.Smooth
  865.  
  866. mesh = Instance.new("BlockMesh",part)
  867. mesh.Scale = Vector3.new(0.20000000298023,0.20000000298023,0.43333333730698)
  868.  
  869. weld = Instance.new("Weld",part)
  870. weld.Part1 = Part
  871. weld.Part0 = Part
  872. weld.C1 = CFrame.new(-5.6400637626648,-15.069976806641,-1.4200313091278) * CFrame.Angles(-1.5707963705063, -8.7422776573476e-008, 3.1415927410126)
  873. weld.C0 = CFrame.new(5.50665807724,-1.5200309753418,-13.92013835907) * CFrame.Angles(-0, 0, -0)
  874.  
  875. part = Instance.new("Part",rpg7)
  876. part.FormFactor = Enum.FormFactor.Symmetric
  877. part.TopSurface = Enum.SurfaceType.Smooth
  878. part.Reflectance = 0.10000000149012
  879. part.Size = Vector3.new(1,1,1)
  880. part.CFrame = CFrame.new(-18.197982788086,0.69173741340637,30.966440200806) * CFrame.Angles(-2.9829180240631, -0.13891926407814, -1.5348056554794)
  881. part.BrickColor = BrickColor.new("Really black")
  882. part.Friction = 0.30000001192093
  883. part.BottomSurface = Enum.SurfaceType.Smooth
  884.  
  885. mesh = Instance.new("CylinderMesh",part)
  886. mesh.Scale = Vector3.new(0.27733331918716,0.13333334028721,0.27733331918716)
  887.  
  888. weld = Instance.new("Weld",part)
  889. weld.Part1 = Part
  890. weld.Part0 = Part
  891. weld.C1 = CFrame.new(5.6400651931763,-14.725784301758,-2.8893437385559) * CFrame.Angles(-1.3089969158173, 0, -0)
  892. weld.C0 = CFrame.new(-5.6400637626648,-15.069976806641,-1.4200313091278) * CFrame.Angles(-1.5707963705063, -8.7422776573476e-008, 3.1415927410126)
  893.  
  894. part = Instance.new("Part",rpg7)
  895. part.FormFactor = Enum.FormFactor.Symmetric
  896. part.TopSurface = Enum.SurfaceType.Smooth
  897. part.Reflectance = 0.10000000149012
  898. part.Size = Vector3.new(1,1,1)
  899. part.CFrame = CFrame.new(-18.239782333374,0.6305445432663,31.371196746826) * CFrame.Angles(0.16878832876682, 0.4005383849144, -1.6095052957535)
  900. part.BrickColor = BrickColor.new("Really black")
  901. part.Friction = 0.30000001192093
  902. part.BottomSurface = Enum.SurfaceType.Smooth
  903.  
  904. mesh = Instance.new("BlockMesh",part)
  905. mesh.Scale = Vector3.new(0.066666670143604,0.33333334326744,0.033333335071802)
  906.  
  907. weld = Instance.new("Weld",part)
  908. weld.Part1 = Part
  909. weld.Part0 = Part
  910. weld.C1 = CFrame.new(5.6400651931763,13.453277587891,-1.4200314283371) * CFrame.Angles(1.5707963705063, 0, -0)
  911. weld.C0 = CFrame.new(5.6400651931763,-14.725784301758,-2.8893437385559) * CFrame.Angles(-1.3089969158173, 0, -0)
  912.  
  913. part = Instance.new("Part",rpg7)
  914. part.FormFactor = Enum.FormFactor.Symmetric
  915. part.TopSurface = Enum.SurfaceType.Smooth
  916. part.Reflectance = 0.10000000149012
  917. part.Size = Vector3.new(1,1,1)
  918. part.CFrame = CFrame.new(-19.798069000244,0.71382904052734,31.196544647217) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  919. part.BrickColor = BrickColor.new("Really black")
  920. part.Friction = 0.30000001192093
  921. part.BottomSurface = Enum.SurfaceType.Smooth
  922.  
  923. mesh = Instance.new("CylinderMesh",part)
  924. mesh.Scale = Vector3.new(0.44000002741814,0.033333335071802,0.44000002741814)
  925.  
  926. weld = Instance.new("Weld",part)
  927. weld.Part1 = Part
  928. weld.Part0 = Part
  929. weld.C1 = CFrame.new(5.6400651931763,-1.5933649539948,-15.686681747437) * CFrame.Angles(2.9424649589105e-029, 7.4505805969238e-009, -3.9493096150459e-021)
  930. weld.C0 = CFrame.new(5.6400651931763,13.453277587891,-1.4200314283371) * CFrame.Angles(1.5707963705063, 0, -0)
  931.  
  932. part = Instance.new("Part",rpg7)
  933. part.FormFactor = Enum.FormFactor.Plate
  934. part.TopSurface = Enum.SurfaceType.Smooth
  935. part.Reflectance = 0.10000000149012
  936. part.Size = Vector3.new(1,0.40000000596046,1)
  937. part.CFrame = CFrame.new(-17.611614227295,0.71043479442596,30.709156036377) * CFrame.Angles(3.0458793640137, 1.427320599556, 1.8226827383041)
  938. part.BrickColor = BrickColor.new("Really black")
  939. part.Friction = 0.30000001192093
  940. part.BottomSurface = Enum.SurfaceType.Smooth
  941.  
  942. mesh = Instance.new("BlockMesh",part)
  943. mesh.Scale = Vector3.new(0.13333334028721,0.033333335071802,0.36666667461395)
  944.  
  945. weld = Instance.new("Weld",part)
  946. weld.Part1 = Part
  947. weld.Part0 = Part
  948. weld.C1 = CFrame.new(5.6400651931763,1.1966967582703,14.936681747437) * CFrame.Angles(-3.141592502594, 0, -0)
  949. weld.C0 = CFrame.new(5.6400651931763,-1.5933649539948,-15.686681747437) * CFrame.Angles(2.9424649589105e-029, 7.4505805969238e-009, -3.9493096150459e-021)
  950.  
  951. part = Instance.new("Part",rpg7)
  952. part.FormFactor = Enum.FormFactor.Symmetric
  953. part.TopSurface = Enum.SurfaceType.Smooth
  954. part.Reflectance = 0.10000000149012
  955. part.Size = Vector3.new(1,1,1)
  956. part.CFrame = CFrame.new(-18.298980712891,0.65860998630524,31.203813552856) * CFrame.Angles(-0.095713071525097, -1.427320599556, -1.8226824998856)
  957. part.BrickColor = BrickColor.new("Really black")
  958. part.Friction = 0.30000001192093
  959. part.BottomSurface = Enum.SurfaceType.Smooth
  960.  
  961. mesh = Instance.new("SpecialMesh",part)
  962. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.20000000298023)
  963. mesh.MeshType = Enum.MeshType.Wedge
  964.  
  965. weld = Instance.new("Weld",part)
  966. weld.Part1 = Part
  967. weld.Part0 = Part
  968. weld.C1 = CFrame.new(1.8366991281509,-5.4633240699768,13.853425979614) * CFrame.Angles(-3.1415927410126, 8.7422776573476e-008, 1.570796251297)
  969. weld.C0 = CFrame.new(5.6400651931763,1.1966967582703,14.936681747437) * CFrame.Angles(-3.141592502594, 0, -0)
  970.  
  971. part = Instance.new("Part",rpg7)
  972. part.FormFactor = Enum.FormFactor.Plate
  973. part.TopSurface = Enum.SurfaceType.Smooth
  974. part.Reflectance = 0.10000000149012
  975. part.Size = Vector3.new(1,0.40000000596046,1)
  976. part.CFrame = CFrame.new(-19.466026306152,0.59901756048203,30.705081939697) * CFrame.Angles(-0.095713183283806, -1.427320599556, -0.25188633799553)
  977. part.BrickColor = BrickColor.new("Really black")
  978. part.Friction = 0.30000001192093
  979. part.BottomSurface = Enum.SurfaceType.Smooth
  980.  
  981. mesh = Instance.new("BlockMesh",part)
  982. mesh.Scale = Vector3.new(0.10000000149012,0.033333335071802,0.033333335071802)
  983.  
  984. weld = Instance.new("Weld",part)
  985. weld.Part1 = Part
  986. weld.Part0 = Part
  987. weld.C1 = CFrame.new(5.6400651931763,-1.5866969823837,-11.769913673401) * CFrame.Angles(-0, 0, -0)
  988. weld.C0 = CFrame.new(1.8366991281509,-5.4633240699768,13.853425979614) * CFrame.Angles(-3.1415927410126, 8.7422776573476e-008, 1.570796251297)
  989.  
  990. part = Instance.new("Part",rpg7)
  991. part.FormFactor = Enum.FormFactor.Symmetric
  992. part.TopSurface = Enum.SurfaceType.Smooth
  993. part.Reflectance = 0.10000000149012
  994. part.Size = Vector3.new(1,1,1)
  995. part.CFrame = CFrame.new(-21.487213134766,0.7629126906395,31.273153305054) * CFrame.Angles(3.0458793640137, 1.427320599556, 1.8226827383041)
  996. part.BrickColor = BrickColor.new("Really black")
  997. part.Friction = 0.30000001192093
  998. part.BottomSurface = Enum.SurfaceType.Smooth
  999.  
  1000. mesh = Instance.new("BlockMesh",part)
  1001. mesh.Scale = Vector3.new(0.033333335071802,0.10000000149012,0.066666670143604)
  1002.  
  1003. weld = Instance.new("Weld",part)
  1004. weld.Part1 = Part
  1005. weld.Part0 = Part
  1006. weld.C1 = CFrame.new(-5.6404247283936,0.77063775062561,-13.686503410339) * CFrame.Angles(3.1889965612208e-005, 2.798299647111e-005, 3.141562461853)
  1007. weld.C0 = CFrame.new(5.6400651931763,-1.5866969823837,-11.769913673401) * CFrame.Angles(-0, 0, -0)
  1008.  
  1009. part = Instance.new("Part",rpg7)
  1010. part.FormFactor = Enum.FormFactor.Symmetric
  1011. part.TopSurface = Enum.SurfaceType.Smooth
  1012. part.Size = Vector3.new(1,1,1)
  1013. part.CFrame = CFrame.new(-19.477048873901,0.60892200469971,31.798976898193) * CFrame.Angles(3.0456340312958, 1.4273443222046, -1.3186370134354)
  1014. part.BrickColor = BrickColor.new("Reddish brown")
  1015. part.Friction = 0.30000001192093
  1016. part.BottomSurface = Enum.SurfaceType.Smooth
  1017.  
  1018. mesh = Instance.new("SpecialMesh",part)
  1019. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.033333335071802)
  1020. mesh.MeshType = Enum.MeshType.Wedge
  1021.  
  1022. weld = Instance.new("Weld",part)
  1023. weld.Part1 = Part
  1024. weld.Part0 = Part
  1025. weld.C1 = CFrame.new(1.8366997241974,5.5499639511108,-13.853425979614) * CFrame.Angles(-0, 0, 1.5707963705063)
  1026. weld.C0 = CFrame.new(-5.6404247283936,0.77063775062561,-13.686503410339) * CFrame.Angles(3.1889965612208e-005, 2.798299647111e-005, 3.141562461853)
  1027.  
  1028. part = Instance.new("Part",rpg7)
  1029. part.FormFactor = Enum.FormFactor.Plate
  1030. part.TopSurface = Enum.SurfaceType.Smooth
  1031. part.Reflectance = 0.10000000149012
  1032. part.Size = Vector3.new(1,0.40000000596046,1)
  1033. part.CFrame = CFrame.new(-19.462936401367,0.68458122014999,30.718338012695) * CFrame.Angles(3.0458793640137, 1.427320599556, 0.25188639760017)
  1034. part.BrickColor = BrickColor.new("Really black")
  1035. part.Friction = 0.30000001192093
  1036. part.BottomSurface = Enum.SurfaceType.Smooth
  1037.  
  1038. mesh = Instance.new("BlockMesh",part)
  1039. mesh.Scale = Vector3.new(0.10000000149012,0.033333335071802,0.033333335071802)
  1040.  
  1041. weld = Instance.new("Weld",part)
  1042. weld.Part1 = Part
  1043. weld.Part0 = Part
  1044. weld.C1 = CFrame.new(-1.4200327396393,-10.769918441772,5.6400651931763) * CFrame.Angles(-1.5707963705063, 4.3711388286738e-008, -1.5707963705063)
  1045. weld.C0 = CFrame.new(1.8366997241974,5.5499639511108,-13.853425979614) * CFrame.Angles(-0, 0, 1.5707963705063)
  1046.  
  1047. part = Instance.new("Part",rpg7)
  1048. part.FormFactor = Enum.FormFactor.Symmetric
  1049. part.TopSurface = Enum.SurfaceType.Smooth
  1050. part.Reflectance = 0.10000000149012
  1051. part.Size = Vector3.new(1,1,1)
  1052. part.CFrame = CFrame.new(-22.453853607178,0.75049567222595,31.578468322754) * CFrame.Angles(1.7244852781296, -0.035643856972456, -1.7098042964935)
  1053. part.BrickColor = BrickColor.new("Really black")
  1054. part.Friction = 0.30000001192093
  1055. part.BottomSurface = Enum.SurfaceType.Smooth
  1056.  
  1057. mesh = Instance.new("SpecialMesh",part)
  1058. mesh.Scale = Vector3.new(0.23000000417233,2.0666666030884,0.23000000417233)
  1059. mesh.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1060. mesh.TextureId = "http://www.roblox.com/asset/?id=12148171"
  1061. mesh.MeshType = Enum.MeshType.FileMesh
  1062.  
  1063. weld = Instance.new("Weld",part)
  1064. weld.Part1 = Part
  1065. weld.Part0 = Part
  1066. weld.C1 = CFrame.new(13.786771774292,-5.6570496559143,-0.97002738714218) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1067. weld.C0 = CFrame.new(-1.4200327396393,-10.769918441772,5.6400651931763) * CFrame.Angles(-1.5707963705063, 4.3711388286738e-008, -1.5707963705063)
  1068.  
  1069. part = Instance.new("Part",rpg7)
  1070. part.FormFactor = Enum.FormFactor.Symmetric
  1071. part.TopSurface = Enum.SurfaceType.Smooth
  1072. part.Reflectance = 0.10000000149012
  1073. part.Size = Vector3.new(1,1,1)
  1074. part.CFrame = CFrame.new(-19.405080795288,0.65562433004379,31.591747283936) * CFrame.Angles(-2.9829180240631, -0.13891926407814, -3.1056017875671)
  1075. part.BrickColor = BrickColor.new("Really black")
  1076. part.Friction = 0.30000001192093
  1077. part.BottomSurface = Enum.SurfaceType.Smooth
  1078.  
  1079. mesh = Instance.new("CylinderMesh",part)
  1080. mesh.Scale = Vector3.new(0.050000000745058,0.033333335071802,0.050000000745058)
  1081.  
  1082. weld = Instance.new("Weld",part)
  1083. weld.Part1 = Part
  1084. weld.Part0 = Part
  1085. weld.C1 = CFrame.new(5.6400637626648,14.533416748047,-1.4200314283371) * CFrame.Angles(1.5707963705063, 8.9406967163086e-008, -3.5073763338112e-010)
  1086. weld.C0 = CFrame.new(13.786771774292,-5.6570496559143,-0.97002738714218) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1087.  
  1088. part = Instance.new("Part",rpg7)
  1089. part.FormFactor = Enum.FormFactor.Symmetric
  1090. part.TopSurface = Enum.SurfaceType.Smooth
  1091. part.Reflectance = 0.10000000149012
  1092. part.Size = Vector3.new(1,1,1)
  1093. part.CFrame = CFrame.new(-18.729026794434,0.69906866550446,31.042808532715) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067869663239)
  1094. part.BrickColor = BrickColor.new("Really black")
  1095. part.Friction = 0.30000001192093
  1096. part.BottomSurface = Enum.SurfaceType.Smooth
  1097.  
  1098. mesh = Instance.new("CylinderMesh",part)
  1099. mesh.Scale = Vector3.new(0.27733331918716,0.13333334028721,0.27733331918716)
  1100.  
  1101. weld = Instance.new("Weld",part)
  1102. weld.Part1 = Part
  1103. weld.Part0 = Part
  1104. weld.C1 = CFrame.new(13.786771774292,-5.6229453086853,-0.97002738714218) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1105. weld.C0 = CFrame.new(5.6400637626648,14.533416748047,-1.4200314283371) * CFrame.Angles(1.5707963705063, 8.9406967163086e-008, -3.5073763338112e-010)
  1106.  
  1107. part = Instance.new("Part",rpg7)
  1108. part.FormFactor = Enum.FormFactor.Symmetric
  1109. part.TopSurface = Enum.SurfaceType.Smooth
  1110. part.Reflectance = 0.10000000149012
  1111. part.Size = Vector3.new(1,1,1)
  1112. part.CFrame = CFrame.new(-19.406295776367,0.62194347381592,31.586530685425) * CFrame.Angles(-2.9829180240631, -0.13891926407814, -3.1056017875671)
  1113. part.BrickColor = BrickColor.new("Really black")
  1114. part.Friction = 0.30000001192093
  1115. part.BottomSurface = Enum.SurfaceType.Smooth
  1116.  
  1117. mesh = Instance.new("CylinderMesh",part)
  1118. mesh.Scale = Vector3.new(0.050000000745058,0.033333335071802,0.050000000745058)
  1119.  
  1120. weld = Instance.new("Weld",part)
  1121. weld.Part1 = Part
  1122. weld.Part0 = Part
  1123. weld.C1 = CFrame.new(5.6400651931763,10.92013835907,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  1124. weld.C0 = CFrame.new(13.786771774292,-5.6229453086853,-0.97002738714218) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1125.  
  1126. part = Instance.new("Part",rpg7)
  1127. part.FormFactor = Enum.FormFactor.Symmetric
  1128. part.TopSurface = Enum.SurfaceType.Smooth
  1129. part.Reflectance = 0.10000000149012
  1130. part.Size = Vector3.new(1,1,1)
  1131. part.CFrame = CFrame.new(-22.305177688599,0.74844294786453,31.557088851929) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  1132. part.BrickColor = BrickColor.new("Really black")
  1133. part.Friction = 0.30000001192093
  1134. part.BottomSurface = Enum.SurfaceType.Smooth
  1135.  
  1136. mesh = Instance.new("CylinderMesh",part)
  1137. mesh.Scale = Vector3.new(0.30000001192093,0.10000000149012,0.30000001192093)
  1138.  
  1139. weld = Instance.new("Weld",part)
  1140. weld.Part1 = Part
  1141. weld.Part0 = Part
  1142. weld.C1 = CFrame.new(5.6400651931763,-1.0800310373306,-14.720368385315) * CFrame.Angles(-0, 0, -0)
  1143. weld.C0 = CFrame.new(5.6400651931763,10.92013835907,-1.4200315475464) * CFrame.Angles(1.5707963705063, 0, -0)
  1144.  
  1145. part = Instance.new("Part",rpg7)
  1146. part.FormFactor = Enum.FormFactor.Symmetric
  1147. part.TopSurface = Enum.SurfaceType.Smooth
  1148. part.Reflectance = 0.10000000149012
  1149. part.Size = Vector3.new(1,1,1)
  1150. part.CFrame = CFrame.new(-18.496913909912,0.64330816268921,31.348695755005) * CFrame.Angles(3.0458793640137, 1.427320599556, 1.8226827383041)
  1151. part.BrickColor = BrickColor.new("Really black")
  1152. part.Friction = 0.30000001192093
  1153. part.BottomSurface = Enum.SurfaceType.Smooth
  1154.  
  1155. mesh = Instance.new("BlockMesh",part)
  1156. mesh.Scale = Vector3.new(0.066666670143604,0.26666668057442,0.23333333432674)
  1157.  
  1158. weld = Instance.new("Weld",part)
  1159. weld.Part1 = Part
  1160. weld.Part0 = Part
  1161. weld.C1 = CFrame.new(1.8033677339554,5.50665807724,-13.853425979614) * CFrame.Angles(-0, 0, 1.5707963705063)
  1162. weld.C0 = CFrame.new(5.6400651931763,-1.0800310373306,-14.720368385315) * CFrame.Angles(-0, 0, -0)
  1163.  
  1164. part = Instance.new("Part",rpg7)
  1165. part.FormFactor = Enum.FormFactor.Plate
  1166. part.TopSurface = Enum.SurfaceType.Smooth
  1167. part.Reflectance = 0.10000000149012
  1168. part.Size = Vector3.new(1,0.40000000596046,1)
  1169. part.CFrame = CFrame.new(-19.459865570068,0.63659691810608,30.74430847168) * CFrame.Angles(3.0458793640137, 1.427320599556, 0.25188636779785)
  1170. part.BrickColor = BrickColor.new("Really black")
  1171. part.Friction = 0.30000001192093
  1172. part.BottomSurface = Enum.SurfaceType.Smooth
  1173.  
  1174. mesh = Instance.new("BlockMesh",part)
  1175. mesh.Scale = Vector3.new(0.033333335071802,0.033333335071802,0.033333335071802)
  1176.  
  1177. weld = Instance.new("Weld",part)
  1178. weld.Part1 = Part
  1179. weld.Part0 = Part
  1180. weld.C1 = CFrame.new(-5.640410900116,1.2039695978165,-13.653031349182) * CFrame.Angles(3.1889965612208e-005, 2.798299647111e-005, 3.141562461853)
  1181. weld.C0 = CFrame.new(1.8033677339554,5.50665807724,-13.853425979614) * CFrame.Angles(-0, 0, 1.5707963705063)
  1182.  
  1183. part = Instance.new("Part",rpg7)
  1184. part.FormFactor = Enum.FormFactor.Symmetric
  1185. part.TopSurface = Enum.SurfaceType.Smooth
  1186. part.Size = Vector3.new(1,1,1)
  1187. part.CFrame = CFrame.new(-19.570167541504,0.6771901845932,31.379970550537) * CFrame.Angles(3.0456340312958, 1.4273443222046, -1.3186370134354)
  1188. part.BrickColor = BrickColor.new("Reddish brown")
  1189. part.Friction = 0.30000001192093
  1190. part.BottomSurface = Enum.SurfaceType.Smooth
  1191.  
  1192. mesh = Instance.new("SpecialMesh",part)
  1193. mesh.Scale = Vector3.new(0.066666670143604,0.033333335071802,0.033333335071802)
  1194. mesh.MeshType = Enum.MeshType.Wedge
  1195.  
  1196. weld = Instance.new("Weld",part)
  1197. weld.Part1 = Part
  1198. weld.Part0 = Part
  1199. weld.C1 = CFrame.new(5.50665807724,-1.7033679485321,-13.853425979614) * CFrame.Angles(-0, 0, -0)
  1200. weld.C0 = CFrame.new(-5.640410900116,1.2039695978165,-13.653031349182) * CFrame.Angles(3.1889965612208e-005, 2.798299647111e-005, 3.141562461853)
  1201.  
  1202. part = Instance.new("Part",rpg7)
  1203. part.FormFactor = Enum.FormFactor.Symmetric
  1204. part.TopSurface = Enum.SurfaceType.Smooth
  1205. part.Reflectance = 0.10000000149012
  1206. part.Size = Vector3.new(1,1,1)
  1207. part.CFrame = CFrame.new(-19.446018218994,0.62094801664352,30.842100143433) * CFrame.Angles(3.0458793640137, 1.427320599556, 1.8226827383041)
  1208. part.BrickColor = BrickColor.new("Really black")
  1209. part.Friction = 0.30000001192093
  1210. part.BottomSurface = Enum.SurfaceType.Smooth
  1211.  
  1212. mesh = Instance.new("BlockMesh",part)
  1213. mesh.Scale = Vector3.new(0.10000000149012,0.16666667163372,0.033333335071802)
  1214.  
  1215. weld = Instance.new("Weld",part)
  1216. weld.Part1 = R1
  1217. weld.Part0 = Part
  1218. weld.C1 = CFrame.new(5.6400651931763,17.15344619751,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  1219. weld.C0 = CFrame.new(5.50665807724,-1.7033679485321,-13.853425979614) * CFrame.Angles(-0, 0, -0)
  1220.  
  1221. r1 = Instance.new("Part",rpg7)
  1222. r1.FormFactor = Enum.FormFactor.Symmetric
  1223. r1.TopSurface = Enum.SurfaceType.Smooth
  1224. r1.Size = Vector3.new(1,2,1)
  1225. r1.Name = "R1"
  1226. r1.CFrame = CFrame.new(-16.135917663574,0.6632667183876,30.669897079468) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  1227. r1.BrickColor = BrickColor.new("Sand green")
  1228. r1.Friction = 0.30000001192093
  1229. r1.BottomSurface = Enum.SurfaceType.Smooth
  1230.  
  1231. mesh = Instance.new("CylinderMesh",r1)
  1232. mesh.Scale = Vector3.new(0.20000000298023,1.0833333730698,0.20000000298023)
  1233.  
  1234. weld = Instance.new("Weld",r1)
  1235. weld.Part1 = R2
  1236. weld.Part0 = R1
  1237. weld.C1 = CFrame.new(-5.6400675773621,16.303369522095,1.4200327396393) * CFrame.Angles(1.5707963705063, 1.5099580252809e-007, 3.1415927410126)
  1238. weld.C0 = CFrame.new(5.6400651931763,17.15344619751,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  1239.  
  1240. r2 = Instance.new("Part",rpg7)
  1241. r2.FormFactor = Enum.FormFactor.Symmetric
  1242. r2.TopSurface = Enum.SurfaceType.Smooth
  1243. r2.Size = Vector3.new(1,1,1)
  1244. r2.Name = "R2"
  1245. r2.CFrame = CFrame.new(-16.9772605896,0.67488270998001,30.79088973999) * CFrame.Angles(0.15867473185062, 0.13891917467117, 1.5348054170609)
  1246. r2.BrickColor = BrickColor.new("Sand green")
  1247. r2.Friction = 0.30000001192093
  1248. r2.BottomSurface = Enum.SurfaceType.Smooth
  1249.  
  1250. mesh = Instance.new("SpecialMesh",r2)
  1251. mesh.Scale = Vector3.new(0.26666668057442,1.4333332777023,0.26666668057442)
  1252. mesh.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1253. mesh.TextureId = "http://www.roblox.com/asset/?id=12148171"
  1254. mesh.MeshType = Enum.MeshType.FileMesh
  1255.  
  1256. weld = Instance.new("Weld",r2)
  1257. weld.Part1 = R3
  1258. weld.Part0 = R2
  1259. weld.C1 = CFrame.new(5.6400651931763,16.870012283325,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  1260. weld.C0 = CFrame.new(-5.6400675773621,16.303369522095,1.4200327396393) * CFrame.Angles(1.5707963705063, 1.5099580252809e-007, 3.1415927410126)
  1261.  
  1262. r3 = Instance.new("Part",rpg7)
  1263. r3.FormFactor = Enum.FormFactor.Symmetric
  1264. r3.TopSurface = Enum.SurfaceType.Smooth
  1265. r3.Size = Vector3.new(1,1,1)
  1266. r3.Name = "R3"
  1267. r3.CFrame = CFrame.new(-16.416440963745,0.66713964939117,30.7102394104) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  1268. r3.BrickColor = BrickColor.new("Sand green")
  1269. r3.Friction = 0.30000001192093
  1270. r3.BottomSurface = Enum.SurfaceType.Smooth
  1271.  
  1272. mesh = Instance.new("CylinderMesh",r3)
  1273. mesh.Scale = Vector3.new(0.54000002145767,0.066666670143604,0.54000002145767)
  1274.  
  1275. weld = Instance.new("Weld",r3)
  1276. weld.Part1 = R4
  1277. weld.Part0 = R3
  1278. weld.C1 = CFrame.new(-5.6400680541992,-17.573373794556,-1.4200313091278) * CFrame.Angles(-1.5707963705063, 1.5099580252809e-007, -3.1415927410126)
  1279. weld.C0 = CFrame.new(5.6400651931763,16.870012283325,-1.4200313091278) * CFrame.Angles(1.5707963705063, 0, -0)
  1280.  
  1281. r4 = Instance.new("Part",rpg7)
  1282. r4.FormFactor = Enum.FormFactor.Symmetric
  1283. r4.TopSurface = Enum.SurfaceType.Smooth
  1284. r4.Size = Vector3.new(1,1,1)
  1285. r4.Name = "R4"
  1286. r4.CFrame = CFrame.new(-15.720306396484,0.65752846002579,30.610130310059) * CFrame.Angles(-2.9829180240631, -0.13891926407814, -1.5348054170609)
  1287. r4.BrickColor = BrickColor.new("Sand green")
  1288. r4.Friction = 0.30000001192093
  1289. r4.BottomSurface = Enum.SurfaceType.Smooth
  1290.  
  1291. mesh = Instance.new("SpecialMesh",r4)
  1292. mesh.Scale = Vector3.new(0.26666668057442,1.8333333730698,0.26666668057442)
  1293. mesh.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1294. mesh.TextureId = "http://www.roblox.com/asset/?id=12148171"
  1295. mesh.MeshType = Enum.MeshType.FileMesh
  1296.  
  1297. weld = Instance.new("Weld",r4)
  1298. weld.Part1 = R5
  1299. weld.Part0 = R4
  1300. weld.C1 = CFrame.new(5.6400651931763,18.269954681396,-1.4200311899185) * CFrame.Angles(1.5707963705063, 0, -0)
  1301. weld.C0 = CFrame.new(-5.6400680541992,-17.573373794556,-1.4200313091278) * CFrame.Angles(-1.5707963705063, 1.5099580252809e-007, -3.1415927410126)
  1302.  
  1303. r5 = Instance.new("Part",rpg7)
  1304. r5.FormFactor = Enum.FormFactor.Symmetric
  1305. r5.TopSurface = Enum.SurfaceType.Smooth
  1306. r5.Size = Vector3.new(1,1,1)
  1307. r5.Name = "R5"
  1308. r5.CFrame = CFrame.new(-15.030882835388,0.64800977706909,30.510986328125) * CFrame.Angles(-2.9829180240631, -0.13891926407814, 1.6067870855331)
  1309. r5.Friction = 0.30000001192093
  1310. r5.BottomSurface = Enum.SurfaceType.Smooth
  1311.  
  1312. mesh = Instance.new("CylinderMesh",r5)
  1313. mesh.Scale = Vector3.new(0.20000000298023,0.066666670143604,0.20000000298023)
  1314.  
  1315. weld = Instance.new("Weld",r5)
  1316. weld.Part1 = Smoke
  1317. weld.Part0 = R5
  1318. weld.C1 = CFrame.new(5.6400651931763,-1.4533640146255,-16.12001991272) * CFrame.Angles(-0, 0, -0)
  1319. weld.C0 = CFrame.new(5.6400651931763,18.269954681396,-1.4200311899185) * CFrame.Angles(1.5707963705063, 0, -0)
  1320.  
  1321. smoke = Instance.new("Part",rpg7)
  1322. smoke.FormFactor = Enum.FormFactor.Symmetric
  1323. smoke.Transparency = 1
  1324. smoke.TopSurface = Enum.SurfaceType.Smooth
  1325. smoke.Size = Vector3.new(1,1,1)
  1326. smoke.Name = "Smoke"
  1327. smoke.CFrame = CFrame.new(-17.163341522217,0.68260395526886,30.784391403198) * CFrame.Angles(3.0458793640137, 1.427320599556, 1.8226827383041)
  1328. smoke.BrickColor = BrickColor.new("Dark stone grey")
  1329. smoke.Friction = 0.30000001192093
  1330. smoke.BottomSurface = Enum.SurfaceType.Smooth
  1331.  
  1332. mesh = Instance.new("BlockMesh",smoke)
  1333. mesh.Scale = Vector3.new(0.10000000149012,0.13333334028721,0.10000000149012)
  1334.  
  1335. smoke = Instance.new("Smoke",smoke)
  1336. smoke.Enabled = false
  1337. smoke.Color = Color3.new(0, 0, 0)
  1338. smoke.Opacity = 0.80000001192093
  1339. smoke.RiseVelocity = 2
  1340. smoke.Size = 0.30000001192093
  1341.  
  1342. ammo = Instance.new("NumberValue",rpg7)
  1343. ammo.Name = "Ammo"
  1344. ammo.Value = 1
  1345.  
  1346. explosion = Instance.new("Sound",rpg7)
  1347. explosion.Name = "Explosion"
  1348. explosion.Volume = 1
  1349. explosion.SoundId = "rbxasset://sounds/collide.wav"
  1350.  
  1351. maxammo = Instance.new("NumberValue",rpg7)
  1352. maxammo.Name = "MaxAmmo"
  1353. maxammo.Value = 1
  1354.  
  1355. recoil = Instance.new("NumberValue",rpg7)
  1356. recoil.Name = "Recoil"
  1357.  
  1358. storedammo = Instance.new("NumberValue",rpg7)
  1359. storedammo.Name = "StoredAmmo"
  1360. storedammo.Value = 999999999999
  1361.  
  1362. local prev
  1363. local parts = rpg7:GetChildren()
  1364.  
  1365. for i = 1,#parts do
  1366.         if (parts[i].className == "Part") then
  1367.                 if (prev ~= nil)then
  1368.                         local weld = Instance.new("Weld")
  1369.                         weld.Part0 = prev
  1370.                         weld.Part1 = parts[i]
  1371.                         weld.C0 = prev.CFrame:inverse()
  1372.                         weld.C1 = parts[i].CFrame:inverse()
  1373.                         weld.Parent = prev
  1374.                 end
  1375.                 prev = parts[i]
  1376.         end
  1377. end
  1378.  
  1379. local prev
  1380. local parts = rpg7:GetChildren()
  1381.  
  1382. Tool = rpg7
  1383.  
  1384. local arms = nil
  1385. local torso = nil
  1386. local weld33 = nil -- right arm
  1387. local weld55 = nil -- left arm
  1388. local welds = {}
  1389. local reloading = false
  1390.  
  1391. function ReloadSequence() -- this will be a pain in my blocky butt.
  1392. wait(.05)
  1393. weld33.C1 = CFrame.new(-0.75, -0.8, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  1394. wait(.05)
  1395. local mag2 = Instance.new("Part")
  1396. mag2.Size = Vector3.new(1,1,1)
  1397. mag2.BrickColor = BrickColor.new("Sand green")
  1398. mag2.Parent = game.Workspace
  1399. local magmesh2 = Instance.new("SpecialMesh")
  1400. magmesh2.Scale = Vector3.new(.6,.6,1.6)
  1401. magmesh2.MeshType = "Sphere"
  1402. magmesh2.Parent = mag2
  1403. local magweld = Instance.new("Weld")
  1404. leftarm = Tool.Parent["Left Arm"]
  1405. magweld.Parent = mag2
  1406. magweld.Part0 = mag2
  1407. magweld.Part1 = leftarm
  1408. magweld.C0 = CFrame.new(-1,0,0.3)
  1409. magweld.C0 = magweld.C0 * CFrame.fromEulerAnglesXYZ(0,0.6,1.6)
  1410. weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(260), -1.2, math.rad(-50))
  1411. wait(.1)
  1412. weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(270), -1, math.rad(-60))
  1413. wait(.1)
  1414. weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(280), -0.8, math.rad(-70))
  1415. wait(.1)
  1416. weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.6, math.rad(-80))
  1417. wait(.1)
  1418. weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.4, math.rad(-90))
  1419. wait(.1)
  1420. weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.2, math.rad(-90))
  1421. wait(.1)
  1422. weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  1423. wait(.1)
  1424. weld55.C1 = CFrame.new(-0.35, 1.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.2, math.rad(-90))
  1425. Tool.Handle.Click:play()
  1426. wait(.1)
  1427. weld55.C1 = CFrame.new(-0.35, 1.1, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.2, math.rad(-90))
  1428. mag2:remove()
  1429. Tool.R1.Transparency = 0
  1430. Tool.R2.Transparency = 0
  1431. Tool.R3.Transparency = 0
  1432. Tool.R4.Transparency = 0
  1433. Tool.R5.Transparency = 0
  1434. wait(0.3)
  1435. weld55.C1 = CFrame.new(-0.35, 1.2, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  1436. weld33.C1 = CFrame.new(-0.75, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  1437. end
  1438.  
  1439. function Reload()
  1440.     if rpg7.Ammo.Value < rpg7.MaxAmmo.Value and reloading == false and rpg7.StoredAmmo.Value >= 1 then
  1441.         reloading = true
  1442.         rpg7.Ammo.Value = 0
  1443.         Tool.Handle.Reload:play()
  1444.         ReloadSequence()
  1445.         -- ...
  1446.         if rpg7.StoredAmmo.Value >= rpg7.MaxAmmo.Value then
  1447.             rpg7.Ammo.Value = rpg7.MaxAmmo.Value
  1448.             rpg7.StoredAmmo.Value = rpg7.StoredAmmo.Value - rpg7.MaxAmmo.Value
  1449.             rpg7.Recoil.Value = 5
  1450.         elseif rpg7.StoredAmmo.Value < rpg7.MaxAmmo.Value and rpg7.StoredAmmo.Value >= 1 then
  1451.             rpg7.Ammo.Value = rpg7.StoredAmmo.Value
  1452.             rpg7.StoredAmmo.Value = 0
  1453.             rpg7.Recoil.Value = 5
  1454.         end
  1455.         reloading = false
  1456.     end
  1457. end
  1458.  
  1459. function Equip(mouse)
  1460. wait(0.01)
  1461. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  1462. torso = Tool.Parent:FindFirstChild("Torso")
  1463. if arms ~= nil and torso ~= nil then
  1464. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  1465. if sh ~= nil then
  1466. local yes = true
  1467. if yes then
  1468. yes = false
  1469. sh[1].Part1 = nil
  1470. sh[2].Part1 = nil
  1471. falsearm1 = arms[1]:clone()
  1472. local mesh1 = Instance.new("BlockMesh")
  1473. mesh1.Scale = Vector3.new(.9,.9,.9)
  1474. mesh1.Parent = falsearm1
  1475. local armweld1 = Instance.new("Weld")
  1476. falsearm1.BrickColor = BrickColor.new(26)
  1477. falsearm1.Parent = Tool
  1478. armweld1.Parent = falsearm1
  1479. armweld1.Part0 = falsearm1
  1480. armweld1.Part1 = arms[1]
  1481. falsearm2 = arms[2]:clone()
  1482. local mesh2 = Instance.new("BlockMesh")
  1483. mesh2.Scale = Vector3.new(.9,.9,.9)
  1484. mesh2.Parent = falsearm2
  1485. local armweld2 = Instance.new("Weld")
  1486. falsearm2.BrickColor = BrickColor.new(26)
  1487. falsearm2.Parent = Tool
  1488. armweld2.Parent = falsearm2
  1489. armweld2.Part0 = falsearm2
  1490. armweld2.Part1 = arms[2]
  1491. local weld1 = Instance.new("Weld") -- left arm
  1492. weld55 = weld1
  1493. weld1.Part0 = torso
  1494. weld1.Parent = torso
  1495. weld1.Part1 = arms[1]
  1496. weld1.C1 = CFrame.new(-0.35, 1.2, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  1497. welds[1] = weld1
  1498. local weld2 = Instance.new("Weld") -- right arm
  1499. weld33 = weld2
  1500. weld2.Part0 = torso
  1501. weld2.Parent = torso
  1502. weld2.Part1 = arms[2]
  1503. weld2.C1 = CFrame.new(-0.75, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  1504. welds[2] = weld2
  1505. end
  1506. else
  1507. print("sh")
  1508. end
  1509. else
  1510. print("arms")
  1511. end
  1512. end
  1513.  
  1514. local legs = nil
  1515. local torso2 = nil
  1516. local welds2 = {}
  1517. local bodyforce = nil
  1518.  
  1519. function Unequip(mouse)
  1520. if arms ~= nil and torso ~= nil then
  1521. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  1522. if sh ~= nil then
  1523. local yes = true
  1524. if yes then
  1525. yes = false
  1526. sh[1].Part1 = arms[1]
  1527. sh[2].Part1 = arms[2]
  1528. welds[1].Parent = nil
  1529. welds[2].Parent = nil
  1530. falsearm1:remove()
  1531. falsearm2:remove()
  1532. end
  1533. else
  1534. print("sh")
  1535. end
  1536. else
  1537. print("arms")
  1538. end
  1539. end
  1540.  
  1541. function fire(v)
  1542.  
  1543.     Tool.Handle.Fire:play()
  1544.    
  1545.  
  1546.     local vCharacter = Tool.Parent
  1547.     local vPlayer = game.Players:playerFromCharacter(vCharacter)
  1548.  
  1549.     local missile = Instance.new("Part")
  1550.  
  1551.        
  1552.  
  1553.     local spawnPos = vCharacter.PrimaryPart.Position
  1554.    
  1555.  
  1556.  
  1557.     spawnPos  = spawnPos + (v * 8)
  1558.  
  1559.     missile.Position = spawnPos
  1560.     missile.Size = Vector3.new(1,1,2)
  1561.     missile.Velocity = v * 400
  1562.     missile.BrickColor = BrickColor.new(26)
  1563.     missile.Shape = 0
  1564.     missile.BottomSurface = 0
  1565.     missile.TopSurface = 0
  1566.     missile.Name = "Grenade"
  1567.     missile.Elasticity = 0
  1568.     missile.Reflectance = 0
  1569.     missile.Friction = 0.9
  1570.     Tool.Explosion:clone().Parent = missile
  1571.    missile.BrickColor = BrickColor.new("Sand green")
  1572.    local force = Instance.new("BodyForce")
  1573.     force.force = Vector3.new(0,50,0)
  1574.     force.Parent = missile
  1575.  
  1576.     local mesh = Instance.new("SpecialMesh")
  1577.     mesh.Scale = Vector3.new(.6,.6,.6)
  1578.     mesh.MeshType = "Sphere"
  1579.     mesh.Parent = missile
  1580.  
  1581.     local creator_tag = Instance.new("ObjectValue")
  1582.     creator_tag.Value = vPlayer
  1583.     creator_tag.Name = "creator"
  1584.     creator_tag.Parent = missile
  1585.    
  1586.  
  1587.     missile.Parent = game.Workspace
  1588.  
  1589.     missile.Touched:connect(function() -- Make a function and call it too.
  1590. ex = Instance.new("Explosion") -- Make explosion.
  1591. ex.Position = missile.Position -- Move it to brick.
  1592. ex.Parent = game.Workspace -- Make sure it's tangible!
  1593. ex.BlastRadius = 4 -- Size of explosion.
  1594. ex.BlastPressure = 5e+005 -- Power of it.
  1595. end) -- Put this into a script then put that into brick.
  1596.    
  1597.     cam = game.Workspace.CurrentCamera
  1598.     local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
  1599.     local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  1600.     local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.33, 0, 0)
  1601.     cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  1602.    weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  1603.     weld55.C1 = CFrame.new(-0.35, 1, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  1604.    Tool.Smoke.Smoke.Enabled = true
  1605.    Tool.Smoke1.Smoke.Enabled = true
  1606.    Tool.R1.Transparency = 1
  1607.    Tool.R2.Transparency = 1
  1608.    Tool.R3.Transparency = 1
  1609.    Tool.R4.Transparency = 1
  1610.    Tool.R5.Transparency = 1
  1611.     wait(0.1)
  1612.     weld33.C1 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  1613.     weld55.C1 = CFrame.new(-0.35, 1, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  1614.     wait(0.1)
  1615.     weld33.C1 = CFrame.new(-0.75, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  1616.     weld55.C1 = CFrame.new(-0.35, 1.2, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  1617.    wait(0.1)
  1618.    Tool.Smoke.Smoke.Enabled = false
  1619.    Tool.Smoke1.Smoke.Enabled = false
  1620. end
  1621.  
  1622. function KeyDownFunctions(key)
  1623.     if key == "r" then
  1624.         Reload()
  1625.     end
  1626. end
  1627.  
  1628. Tool.Enabled = true
  1629. function onActivated()
  1630.  
  1631.     if not Tool.Enabled then
  1632.         return
  1633.     end
  1634.  
  1635.     Tool.Enabled = false
  1636.  
  1637.     local character = Tool.Parent;
  1638.     local humanoid = character.Humanoid
  1639.     if humanoid == nil then
  1640.         print("Humanoid not found")
  1641.         return
  1642.     end
  1643.     local ammo = rpg7.Ammo
  1644.     local maxammo = rpg7.MaxAmmo
  1645.     if reloading == false and humanoid.Health >= 1 then
  1646.         if ammo.Value >= 1 then
  1647.             ammo.Value = ammo.Value - 1
  1648.             local targetPos = humanoid.TargetPoint
  1649.             local lookAt = (targetPos - character.Head.Position).unit
  1650.             if rpg7.Recoil.Value < 20 then
  1651.                 rpg7.Recoil.Value = rpg7.Recoil.Value + math.random(1,3)
  1652.             end
  1653.             fire(lookAt)
  1654.         else
  1655.             Reload()
  1656.         end
  1657.     end
  1658.     Tool.Enabled = true
  1659. end
  1660.  
  1661. function onEquippedLocal(mouse)
  1662.  
  1663.     if mouse == nil then
  1664.         print("Mouse not found")
  1665.         return
  1666.     end
  1667.  
  1668.     mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1669.     mouse.Button1Down:connect(function() end)
  1670.     mouse.KeyDown:connect(KeyDownFunctions)
  1671.     while true do
  1672.         wait()
  1673.         rpg7.Name = "RPG-7["..rpg7.Ammo.Value.."]"
  1674.     end
  1675. end
  1676.  
  1677.  
  1678. Tool.Equipped:connect(onEquippedLocal)
  1679.  
  1680. rpg7.Activated:connect(onActivated)
  1681. Tool.Equipped:connect(Equip)
  1682. Tool.Unequipped:connect(Unequip)
  1683.  
  1684. for i = 1,#parts do
  1685.         if (parts[i].className == "Part") then
  1686.                 if (prev ~= nil)then
  1687.                         local weld = Instance.new("Weld")
  1688.                         weld.Part0 = prev
  1689.                         weld.Part1 = parts[i]
  1690.                         weld.C0 = prev.CFrame:inverse()
  1691.                         weld.C1 = parts[i].CFrame:inverse()
  1692.                         weld.Parent = prev
  1693.                 end
  1694.                 prev = parts[i]
  1695.         end
  1696. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement