Advertisement
Animescapetower

Gun but with ammo thingy

Mar 14th, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.34 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. Part1 = Instance.new("Part")
  21. Weld2 = Instance.new("Weld")
  22. Weld3 = Instance.new("Weld")
  23. Weld4 = Instance.new("Weld")
  24. Weld5 = Instance.new("Weld")
  25. Weld6 = Instance.new("Weld")
  26. Weld7 = Instance.new("Weld")
  27. Weld8 = Instance.new("Weld")
  28. Weld9 = Instance.new("Weld")
  29. Weld10 = Instance.new("Weld")
  30. Weld11 = Instance.new("Weld")
  31. Weld12 = Instance.new("Weld")
  32. Weld13 = Instance.new("Weld")
  33. Weld14 = Instance.new("Weld")
  34. Weld15 = Instance.new("Weld")
  35. Weld16 = Instance.new("Weld")
  36. Weld17 = Instance.new("Weld")
  37. Weld18 = Instance.new("Weld")
  38. Weld19 = Instance.new("Weld")
  39. Weld20 = Instance.new("Weld")
  40. Weld21 = Instance.new("Weld")
  41. Weld22 = Instance.new("Weld")
  42. Weld23 = Instance.new("Weld")
  43. Weld24 = Instance.new("Weld")
  44. Weld25 = Instance.new("Weld")
  45. Weld26 = Instance.new("Weld")
  46. Weld27 = Instance.new("Weld")
  47. Weld28 = Instance.new("Weld")
  48. Weld29 = Instance.new("Weld")
  49. Weld30 = Instance.new("Weld")
  50. Weld31 = Instance.new("Weld")
  51. Weld32 = Instance.new("Weld")
  52. Weld33 = Instance.new("Weld")
  53. Weld34 = Instance.new("Weld")
  54. Weld35 = Instance.new("Weld")
  55. Weld36 = Instance.new("Weld")
  56. Weld37 = Instance.new("Weld")
  57. Weld38 = Instance.new("Weld")
  58. Weld39 = Instance.new("Weld")
  59. Weld40 = Instance.new("Weld")
  60. Weld41 = Instance.new("Weld")
  61. Weld42 = Instance.new("Weld")
  62. Weld43 = Instance.new("Weld")
  63. Weld44 = Instance.new("Weld")
  64. Weld45 = Instance.new("Weld")
  65. Weld46 = Instance.new("Weld")
  66. Weld47 = Instance.new("Weld")
  67. Weld48 = Instance.new("Weld")
  68. Weld49 = Instance.new("Weld")
  69. Weld50 = Instance.new("Weld")
  70. Weld51 = Instance.new("Weld")
  71. Weld52 = Instance.new("Weld")
  72. Weld53 = Instance.new("Weld")
  73. Weld54 = Instance.new("Weld")
  74. Weld55 = Instance.new("Weld")
  75. Weld56 = Instance.new("Weld")
  76. Weld57 = Instance.new("Weld")
  77. Weld58 = Instance.new("Weld")
  78. Weld59 = Instance.new("Weld")
  79. Weld60 = Instance.new("Weld")
  80. Weld61 = Instance.new("Weld")
  81. Weld62 = Instance.new("Weld")
  82. Weld63 = Instance.new("Weld")
  83. Weld64 = Instance.new("Weld")
  84. Weld65 = Instance.new("Weld")
  85. Weld66 = Instance.new("Weld")
  86. Weld67 = Instance.new("Weld")
  87. Weld68 = Instance.new("Weld")
  88. Configuration69 = Instance.new("Configuration")
  89. BrickColorValue70 = Instance.new("BrickColorValue")
  90. NumberValue71 = Instance.new("NumberValue")
  91. NumberValue72 = Instance.new("NumberValue")
  92. Weld73 = Instance.new("Weld")
  93. Weld74 = Instance.new("Weld")
  94. Weld75 = Instance.new("Weld")
  95. Weld76 = Instance.new("Weld")
  96. Weld77 = Instance.new("Weld")
  97. Weld78 = Instance.new("Weld")
  98. Weld79 = Instance.new("Weld")
  99. Weld80 = Instance.new("Weld")
  100. Weld81 = Instance.new("Weld")
  101. Weld82 = Instance.new("Weld")
  102. Weld83 = Instance.new("Weld")
  103. Weld84 = Instance.new("Weld")
  104. Weld85 = Instance.new("Weld")
  105. Weld86 = Instance.new("Weld")
  106. Weld87 = Instance.new("Weld")
  107. Weld88 = Instance.new("Weld")
  108. Weld89 = Instance.new("Weld")
  109. Weld90 = Instance.new("Weld")
  110. Weld91 = Instance.new("Weld")
  111. Weld92 = Instance.new("Weld")
  112. Weld93 = Instance.new("Weld")
  113. Weld94 = Instance.new("Weld")
  114. Weld95 = Instance.new("Weld")
  115. Weld96 = Instance.new("Weld")
  116. Sound97 = Instance.new("Sound")
  117. Sound98 = Instance.new("Sound")
  118. SpecialMesh99 = Instance.new("SpecialMesh")
  119. Sound100 = Instance.new("Sound")
  120. LocalScript101 = Instance.new("LocalScript")
  121. NumberValue102 = Instance.new("NumberValue")
  122. Script103 = Instance.new("Script")
  123. Tool0.Name = "MAK20 [Ammo:20]"
  124. Tool0.Parent = mas
  125. Part1.Name = "Handle"
  126. Part1.Parent = Tool0
  127. Part1.Rotation = Vector3.new(-0.00999999978, 63.6899986, -179.98999)
  128. Part1.FormFactor = Enum.FormFactor.Symmetric
  129. Part1.Size = Vector3.new(1, 1, 2)
  130. Part1.CFrame = CFrame.new(-352.540405, 33.3097649, 130.460236, -0.443150043, 4.06813888e-05, 0.896447539, 0.000137486393, -1, 0.000113345712, 0.896447539, 0.000173478475, 0.443149924)
  131. Part1.BottomSurface = Enum.SurfaceType.Smooth
  132. Part1.TopSurface = Enum.SurfaceType.Smooth
  133. Part1.Position = Vector3.new(-352.540405, 33.3097649, 130.460236)
  134. Part1.Orientation = Vector3.new(-0.00999999978, 63.6899986, 179.98999)
  135. Weld2.Parent = Part1
  136. Weld2.C0 = CFrame.new(6.95808012e-07, -2.64627361e-05, -1.77153254e-06, 0.0367184803, 0.0341208167, 0.998743176, 0.994751513, -0.0967628658, -0.0332658552, 0.0955061764, 0.994722486, -0.0374947116)
  137. Weld2.C1 = CFrame.new(6.95808012e-07, -2.64627361e-05, -1.77153254e-06, 0.0367184803, 0.0341208167, 0.998743176, 0.994751513, -0.0967628658, -0.0332658552, 0.0955061764, 0.994722486, -0.0374947116)
  138. Weld2.Part0 = Part1
  139. Weld2.Part1 = Part1
  140. Weld3.Parent = Part1
  141. Weld3.C0 = CFrame.new(2.82202876e-07, 9.66912665e-08, 1.50460266e-09, -0.903721154, -5.53133978e-05, -0.428121388, -0.427562088, 0.0512146838, 0.902533948, 0.0218761787, 0.998687625, -0.0463074446)
  142. Weld3.C1 = CFrame.new(2.82202876e-07, 9.66912665e-08, 1.50460266e-09, -0.903721154, -5.53133978e-05, -0.428121388, -0.427562088, 0.0512146838, 0.902533948, 0.0218761787, 0.998687625, -0.0463074446)
  143. Weld3.Part0 = Part1
  144. Weld3.Part1 = Part1
  145. Weld4.Parent = Part1
  146. Weld4.Part0 = Part1
  147. Weld4.Part1 = Part1
  148. Weld5.Parent = Part1
  149. Weld5.C0 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  150. Weld5.C1 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  151. Weld5.Part0 = Part1
  152. Weld5.Part1 = Part1
  153. Weld6.Parent = Part1
  154. Weld6.C0 = CFrame.new(2.67914911e-05, 1.46031271e-05, 3.58777152e-06, -0.787404776, -0.614491105, 0.048921477, 0.446905583, -0.514392793, 0.731897652, -0.424580425, 0.598163962, 0.679655671)
  155. Weld6.C1 = CFrame.new(2.67914911e-05, 1.46031271e-05, 3.58777152e-06, -0.787404776, -0.614491105, 0.048921477, 0.446905583, -0.514392793, 0.731897652, -0.424580425, 0.598163962, 0.679655671)
  156. Weld6.Part0 = Part1
  157. Weld6.Part1 = Part1
  158. Weld7.Parent = Part1
  159. Weld7.C0 = CFrame.new(-9.39413553e-07, 1.97000425e-08, -1.60179923e-08, -0.999903619, -3.29659861e-06, 0.0136129707, 9.89981891e-06, 0.999994874, 0.000796399079, -0.0136125665, 0.000795060361, -0.999909043)
  160. Weld7.C1 = CFrame.new(-9.39413553e-07, 1.97000425e-08, -1.60179923e-08, -0.999903619, -3.29659861e-06, 0.0136129707, 9.89981891e-06, 0.999994874, 0.000796399079, -0.0136125665, 0.000795060361, -0.999909043)
  161. Weld7.Part0 = Part1
  162. Weld7.Part1 = Part1
  163. Weld8.Parent = Part1
  164. Weld8.C0 = CFrame.new(-3.82181042e-07, -1.10161764e-07, 9.26976611e-07, -0.903714716, -5.76963394e-05, -0.428117812, -0.00038152773, 0.999990046, 0.00068163767, 0.428123415, 0.000776553294, -0.903724372)
  165. Weld8.C1 = CFrame.new(-3.82181042e-07, -1.10161764e-07, 9.26976611e-07, -0.903714716, -5.76963394e-05, -0.428117812, -0.00038152773, 0.999990046, 0.00068163767, 0.428123415, 0.000776553294, -0.903724372)
  166. Weld8.Part0 = Part1
  167. Weld8.Part1 = Part1
  168. Weld9.Parent = Part1
  169. Weld9.C0 = CFrame.new(7.14152975e-07, 5.46532526e-08, -8.69400196e-08, -0.999900103, -3.1483637e-06, 0.0136129735, 1.24280459e-05, 0.999990046, 0.000797131448, -0.0136121679, 0.000794427586, -0.999911249)
  170. Weld9.C1 = CFrame.new(7.14152975e-07, 5.46532526e-08, -8.69400196e-08, -0.999900103, -3.1483637e-06, 0.0136129735, 1.24280459e-05, 0.999990046, 0.000797131448, -0.0136121679, 0.000794427586, -0.999911249)
  171. Weld9.Part0 = Part1
  172. Weld9.Part1 = Part1
  173. Weld10.Parent = Part1
  174. Weld10.C0 = CFrame.new(2.82202876e-07, 9.66912665e-08, 1.50460266e-09, -0.903721154, -5.53133978e-05, -0.428121388, -0.427562088, 0.0512146838, 0.902533948, 0.0218761787, 0.998687625, -0.0463074446)
  175. Weld10.C1 = CFrame.new(2.82202876e-07, 9.66912665e-08, 1.50460266e-09, -0.903721154, -5.53133978e-05, -0.428121388, -0.427562088, 0.0512146838, 0.902533948, 0.0218761787, 0.998687625, -0.0463074446)
  176. Weld10.Part0 = Part1
  177. Weld10.Part1 = Part1
  178. Weld11.Parent = Part1
  179. Weld11.C0 = CFrame.new(-2.98547292e-07, -9.19607217e-08, 1.84649274e-08, -0.878313005, -3.13725332e-06, 0.478078336, 0.000379965495, 0.999994874, 0.000699685945, -0.478080511, 0.000794796098, -0.878318012)
  180. Weld11.C1 = CFrame.new(-2.98547292e-07, -9.19607217e-08, 1.84649274e-08, -0.878313005, -3.13725332e-06, 0.478078336, 0.000379965495, 0.999994874, 0.000699685945, -0.478080511, 0.000794796098, -0.878318012)
  181. Weld11.Part0 = Part1
  182. Weld11.Part1 = Part1
  183. Weld12.Parent = Part1
  184. Weld12.C0 = CFrame.new(7.14152975e-07, 5.46532526e-08, -8.69400196e-08, -0.999900103, -3.1483637e-06, 0.0136129735, 1.24280459e-05, 0.999990046, 0.000797131448, -0.0136121679, 0.000794427586, -0.999911249)
  185. Weld12.C1 = CFrame.new(7.14152975e-07, 5.46532526e-08, -8.69400196e-08, -0.999900103, -3.1483637e-06, 0.0136129735, 1.24280459e-05, 0.999990046, 0.000797131448, -0.0136121679, 0.000794427586, -0.999911249)
  186. Weld12.Part0 = Part1
  187. Weld12.Part1 = Part1
  188. Weld13.Parent = Part1
  189. Weld13.C0 = CFrame.new(6.95808012e-07, -2.64627361e-05, -1.77153254e-06, 0.0367184803, 0.0341208167, 0.998743176, 0.994751513, -0.0967628658, -0.0332658552, 0.0955061764, 0.994722486, -0.0374947116)
  190. Weld13.C1 = CFrame.new(6.95808012e-07, -2.64627361e-05, -1.77153254e-06, 0.0367184803, 0.0341208167, 0.998743176, 0.994751513, -0.0967628658, -0.0332658552, 0.0955061764, 0.994722486, -0.0374947116)
  191. Weld13.Part0 = Part1
  192. Weld13.Part1 = Part1
  193. Weld14.Parent = Part1
  194. Weld14.C0 = CFrame.new(4.80958533e-07, -6.23172554e-08, 1.11993955e-07, -0.999907494, -7.77160551e-07, 0.0136125963, 0.00204418343, 0.988651812, 0.150211081, -0.0134582352, 0.150224954, -0.988560379)
  195. Weld14.C1 = CFrame.new(4.80958533e-07, -6.23172554e-08, 1.11993955e-07, -0.999907494, -7.77160551e-07, 0.0136125963, 0.00204418343, 0.988651812, 0.150211081, -0.0134582352, 0.150224954, -0.988560379)
  196. Weld14.Part0 = Part1
  197. Weld14.Part1 = Part1
  198. Weld15.Parent = Part1
  199. Weld15.C0 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  200. Weld15.C1 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  201. Weld15.Part0 = Part1
  202. Weld15.Part1 = Part1
  203. Weld16.Parent = Part1
  204. Weld16.C0 = CFrame.new(4.80958533e-07, -6.23172554e-08, 1.11993955e-07, -0.999907494, -7.77160551e-07, 0.0136125963, 0.00204418343, 0.988651812, 0.150211081, -0.0134582352, 0.150224954, -0.988560379)
  205. Weld16.C1 = CFrame.new(4.80958533e-07, -6.23172554e-08, 1.11993955e-07, -0.999907494, -7.77160551e-07, 0.0136125963, 0.00204418343, 0.988651812, 0.150211081, -0.0134582352, 0.150224954, -0.988560379)
  206. Weld16.Part0 = Part1
  207. Weld16.Part1 = Part1
  208. Weld17.Parent = Part1
  209. Weld17.C0 = CFrame.new(-3.94832043e-08, 2.66829474e-08, 7.15466371e-08, -0.921703815, -3.1483637e-06, 0.387875915, 0.000310682721, 0.999990046, 0.00073419133, -0.387879342, 0.000794427586, -0.921714425)
  210. Weld17.C1 = CFrame.new(-3.94832043e-08, 2.66829474e-08, 7.15466371e-08, -0.921703815, -3.1483637e-06, 0.387875915, 0.000310682721, 0.999990046, 0.00073419133, -0.387879342, 0.000794427586, -0.921714425)
  211. Weld17.Part0 = Part1
  212. Weld17.Part1 = Part1
  213. Weld18.Parent = Part1
  214. Weld18.C0 = CFrame.new(-5.40557927e-08, -1.50317092e-09, 8.8072234e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 0.067218937, 0.0530934893, 0.996324599, -0.00357470545, 0.998589575, -0.0529730134)
  215. Weld18.C1 = CFrame.new(-5.40557927e-08, -1.50317092e-09, 8.8072234e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 0.067218937, 0.0530934893, 0.996324599, -0.00357470545, 0.998589575, -0.0529730134)
  216. Weld18.Part0 = Part1
  217. Weld18.Part1 = Part1
  218. Weld19.Parent = Part1
  219. Weld19.C0 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  220. Weld19.C1 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  221. Weld19.Part0 = Part1
  222. Weld19.Part1 = Part1
  223. Weld20.Parent = Part1
  224. Weld20.C0 = CFrame.new(-1.79347211e-07, 1.82900664e-08, -1.96512786e-07, -0.186567068, -0.0156338308, 0.982314408, 0.172760144, 0.983766019, 0.0484661758, -0.967135251, 0.178747237, -0.180839822)
  225. Weld20.C1 = CFrame.new(-1.79347211e-07, 1.82900664e-08, -1.96512786e-07, -0.186567068, -0.0156338308, 0.982314408, 0.172760144, 0.983766019, 0.0484661758, -0.967135251, 0.178747237, -0.180839822)
  226. Weld20.Part0 = Part1
  227. Weld20.Part1 = Part1
  228. Weld21.Parent = Part1
  229. Weld21.C0 = CFrame.new(-5.40557927e-08, -1.50317092e-09, 8.8072234e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 0.067218937, 0.0530934893, 0.996324599, -0.00357470545, 0.998589575, -0.0529730134)
  230. Weld21.C1 = CFrame.new(-5.40557927e-08, -1.50317092e-09, 8.8072234e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 0.067218937, 0.0530934893, 0.996324599, -0.00357470545, 0.998589575, -0.0529730134)
  231. Weld21.Part0 = Part1
  232. Weld21.Part1 = Part1
  233. Weld22.Parent = Part1
  234. Weld22.C0 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  235. Weld22.C1 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  236. Weld22.Part0 = Part1
  237. Weld22.Part1 = Part1
  238. Weld23.Parent = Part1
  239. Weld23.C0 = CFrame.new(1.39161784e-08, 7.1940633e-08, 8.06626872e-08, -0.518267512, -1.75834688e-21, -0.85521847, -0.667467117, 0.625200927, 0.40448907, 0.534683406, 0.780463874, -0.324021339)
  240. Weld23.C1 = CFrame.new(1.39161784e-08, 7.1940633e-08, 8.06626872e-08, -0.518267512, -1.75834688e-21, -0.85521847, -0.667467117, 0.625200927, 0.40448907, 0.534683406, 0.780463874, -0.324021339)
  241. Weld23.Part0 = Part1
  242. Weld23.Part1 = Part1
  243. Weld24.Parent = Part1
  244. Weld24.C0 = CFrame.new(-4.10976327e-07, -1.70621206e-09, 1.43480502e-05, 0.0367184356, 0.0341203101, 0.998741567, 0.0183638483, 0.999223173, -0.0348128304, -0.999157727, 0.0196184516, 0.0360633656)
  245. Weld24.C1 = CFrame.new(-4.10976327e-07, -1.70621206e-09, 1.43480502e-05, 0.0367184356, 0.0341203101, 0.998741567, 0.0183638483, 0.999223173, -0.0348128304, -0.999157727, 0.0196184516, 0.0360633656)
  246. Weld24.Part0 = Part1
  247. Weld24.Part1 = Part1
  248. Weld25.Parent = Part1
  249. Weld25.C0 = CFrame.new(5.41630456e-08, -1.17938839e-07, -2.45656331e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 5.27950106e-05, 0.999999702, 0.000794076768, -0.0673139021, 0.000795829517, -0.997731566)
  250. Weld25.C1 = CFrame.new(5.41630456e-08, -1.17938839e-07, -2.45656331e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 5.27950106e-05, 0.999999702, 0.000794076768, -0.0673139021, 0.000795829517, -0.997731566)
  251. Weld25.Part0 = Part1
  252. Weld25.Part1 = Part1
  253. Weld26.Parent = Part1
  254. Weld26.C0 = CFrame.new(-5.40557927e-08, -1.50317092e-09, 8.8072234e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 0.067218937, 0.0530934893, 0.996324599, -0.00357470545, 0.998589575, -0.0529730134)
  255. Weld26.C1 = CFrame.new(-5.40557927e-08, -1.50317092e-09, 8.8072234e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 0.067218937, 0.0530934893, 0.996324599, -0.00357470545, 0.998589575, -0.0529730134)
  256. Weld26.Part0 = Part1
  257. Weld26.Part1 = Part1
  258. Weld27.Parent = Part1
  259. Weld27.C0 = CFrame.new(4.28886125e-07, 2.94445854e-08, -1.10848099e-07, 0.23760508, -5.76963394e-05, -0.971354365, -0.00074444554, 0.999990046, -0.000236619249, 0.971365035, 0.000776553294, 0.237608597)
  260. Weld27.C1 = CFrame.new(4.28886125e-07, 2.94445854e-08, -1.10848099e-07, 0.23760508, -5.76963394e-05, -0.971354365, -0.00074444554, 0.999990046, -0.000236619249, 0.971365035, 0.000776553294, 0.237608597)
  261. Weld27.Part0 = Part1
  262. Weld27.Part1 = Part1
  263. Weld28.Parent = Part1
  264. Weld28.C0 = CFrame.new(3.25428005e-07, 1.68906709e-07, 1.75666926e-07, -0.82377696, -7.6604928e-10, 0.566913903, -0.101010665, 0.983998537, -0.146777585, -0.557842433, -0.178176373, -0.810595334)
  265. Weld28.C1 = CFrame.new(3.25428005e-07, 1.68906709e-07, 1.75666926e-07, -0.82377696, -7.6604928e-10, 0.566913903, -0.101010665, 0.983998537, -0.146777585, -0.557842433, -0.178176373, -0.810595334)
  266. Weld28.Part0 = Part1
  267. Weld28.Part1 = Part1
  268. Weld29.Parent = Part1
  269. Weld29.C0 = CFrame.new(6.95808012e-07, -2.64627361e-05, -1.77153254e-06, 0.0367184803, 0.0341208167, 0.998743176, 0.994751513, -0.0967628658, -0.0332658552, 0.0955061764, 0.994722486, -0.0374947116)
  270. Weld29.C1 = CFrame.new(6.95808012e-07, -2.64627361e-05, -1.77153254e-06, 0.0367184803, 0.0341208167, 0.998743176, 0.994751513, -0.0967628658, -0.0332658552, 0.0955061764, 0.994722486, -0.0374947116)
  271. Weld29.Part0 = Part1
  272. Weld29.Part1 = Part1
  273. Weld30.Parent = Part1
  274. Weld30.C0 = CFrame.new(-3.82181042e-07, -1.10161764e-07, 9.26976611e-07, -0.903714716, -5.76963394e-05, -0.428117812, -0.00038152773, 0.999990046, 0.00068163767, 0.428123415, 0.000776553294, -0.903724372)
  275. Weld30.C1 = CFrame.new(-3.82181042e-07, -1.10161764e-07, 9.26976611e-07, -0.903714716, -5.76963394e-05, -0.428117812, -0.00038152773, 0.999990046, 0.00068163767, 0.428123415, 0.000776553294, -0.903724372)
  276. Weld30.Part0 = Part1
  277. Weld30.Part1 = Part1
  278. Weld31.Parent = Part1
  279. Weld31.C0 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  280. Weld31.C1 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  281. Weld31.Part0 = Part1
  282. Weld31.Part1 = Part1
  283. Weld32.Parent = Part1
  284. Weld32.C0 = CFrame.new(-3.94832043e-08, 2.66829474e-08, 7.15466371e-08, -0.921703815, -3.1483637e-06, 0.387875915, 0.000310682721, 0.999990046, 0.00073419133, -0.387879342, 0.000794427586, -0.921714425)
  285. Weld32.C1 = CFrame.new(-3.94832043e-08, 2.66829474e-08, 7.15466371e-08, -0.921703815, -3.1483637e-06, 0.387875915, 0.000310682721, 0.999990046, 0.00073419133, -0.387879342, 0.000794427586, -0.921714425)
  286. Weld32.Part0 = Part1
  287. Weld32.Part1 = Part1
  288. Weld33.Parent = Part1
  289. Weld33.C0 = CFrame.new(1.39161784e-08, 7.1940633e-08, 8.06626872e-08, -0.518267512, -1.75834688e-21, -0.85521847, -0.667467117, 0.625200927, 0.40448907, 0.534683406, 0.780463874, -0.324021339)
  290. Weld33.C1 = CFrame.new(1.39161784e-08, 7.1940633e-08, 8.06626872e-08, -0.518267512, -1.75834688e-21, -0.85521847, -0.667467117, 0.625200927, 0.40448907, 0.534683406, 0.780463874, -0.324021339)
  291. Weld33.Part0 = Part1
  292. Weld33.Part1 = Part1
  293. Weld34.Parent = Part1
  294. Weld34.C0 = CFrame.new(-9.06763887e-07, 9.15740799e-08, 6.89453614e-08, -0.921710789, -7.77160551e-07, 0.387878329, 0.0582682975, 0.988651812, 0.138464272, -0.383476734, 0.150224954, -0.911251009)
  295. Weld34.C1 = CFrame.new(-9.06763887e-07, 9.15740799e-08, 6.89453614e-08, -0.921710789, -7.77160551e-07, 0.387878329, 0.0582682975, 0.988651812, 0.138464272, -0.383476734, 0.150224954, -0.911251009)
  296. Weld34.Part0 = Part1
  297. Weld34.Part1 = Part1
  298. Weld35.Parent = Part1
  299. Weld35.C0 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  300. Weld35.C1 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  301. Weld35.Part0 = Part1
  302. Weld35.Part1 = Part1
  303. Weld36.Parent = Part1
  304. Weld36.C0 = CFrame.new(-4.10976327e-07, -1.70621206e-09, 1.43480502e-05, 0.0367184356, 0.0341203101, 0.998741567, 0.0183638483, 0.999223173, -0.0348128304, -0.999157727, 0.0196184516, 0.0360633656)
  305. Weld36.C1 = CFrame.new(-4.10976327e-07, -1.70621206e-09, 1.43480502e-05, 0.0367184356, 0.0341203101, 0.998741567, 0.0183638483, 0.999223173, -0.0348128304, -0.999157727, 0.0196184516, 0.0360633656)
  306. Weld36.Part0 = Part1
  307. Weld36.Part1 = Part1
  308. Weld37.Parent = Part1
  309. Weld37.C0 = CFrame.new(1.56426836e-07, 8.2511086e-08, -1.83030693e-07, -0.989793539, -0.00112801802, -0.142478168, -0.00121889252, 0.999994278, 0.000567281502, 0.14247869, 0.000733759254, -0.989799619)
  310. Weld37.C1 = CFrame.new(1.56426836e-07, 8.2511086e-08, -1.83030693e-07, -0.989793539, -0.00112801802, -0.142478168, -0.00121889252, 0.999994278, 0.000567281502, 0.14247869, 0.000733759254, -0.989799619)
  311. Weld37.Part0 = Part1
  312. Weld37.Part1 = Part1
  313. Weld38.Parent = Part1
  314. Weld38.C0 = CFrame.new(2.82202876e-07, 9.66912665e-08, 1.50460266e-09, -0.903721154, -5.53133978e-05, -0.428121388, -0.427562088, 0.0512146838, 0.902533948, 0.0218761787, 0.998687625, -0.0463074446)
  315. Weld38.C1 = CFrame.new(2.82202876e-07, 9.66912665e-08, 1.50460266e-09, -0.903721154, -5.53133978e-05, -0.428121388, -0.427562088, 0.0512146838, 0.902533948, 0.0218761787, 0.998687625, -0.0463074446)
  316. Weld38.Part0 = Part1
  317. Weld38.Part1 = Part1
  318. Weld39.Parent = Part1
  319. Weld39.C0 = CFrame.new(9.14827538e-08, 8.89131186e-08, 5.56511139e-08, -0.876809359, -3.1483637e-06, 0.480823219, 0.000384717976, 0.999990046, 0.000698255666, -0.480827719, 0.000794427586, -0.87681967)
  320. Weld39.C1 = CFrame.new(9.14827538e-08, 8.89131186e-08, 5.56511139e-08, -0.876809359, -3.1483637e-06, 0.480823219, 0.000384717976, 0.999990046, 0.000698255666, -0.480827719, 0.000794427586, -0.87681967)
  321. Weld39.Part0 = Part1
  322. Weld39.Part1 = Part1
  323. Weld40.Parent = Part1
  324. Weld40.C0 = CFrame.new(5.41630456e-08, -1.17938839e-07, -2.45656331e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 5.27950106e-05, 0.999999702, 0.000794076768, -0.0673139021, 0.000795829517, -0.997731566)
  325. Weld40.C1 = CFrame.new(5.41630456e-08, -1.17938839e-07, -2.45656331e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 5.27950106e-05, 0.999999702, 0.000794076768, -0.0673139021, 0.000795829517, -0.997731566)
  326. Weld40.Part0 = Part1
  327. Weld40.Part1 = Part1
  328. Weld41.Parent = Part1
  329. Weld41.C0 = CFrame.new(-9.06763887e-07, 9.15740799e-08, 6.89453614e-08, -0.921710789, -7.77160551e-07, 0.387878329, 0.0582682975, 0.988651812, 0.138464272, -0.383476734, 0.150224954, -0.911251009)
  330. Weld41.C1 = CFrame.new(-9.06763887e-07, 9.15740799e-08, 6.89453614e-08, -0.921710789, -7.77160551e-07, 0.387878329, 0.0582682975, 0.988651812, 0.138464272, -0.383476734, 0.150224954, -0.911251009)
  331. Weld41.Part0 = Part1
  332. Weld41.Part1 = Part1
  333. Weld42.Parent = Part1
  334. Weld42.C0 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  335. Weld42.C1 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  336. Weld42.Part0 = Part1
  337. Weld42.Part1 = Part1
  338. Weld43.Parent = Part1
  339. Weld43.C0 = CFrame.new(1.56426836e-07, 8.2511086e-08, -1.83030693e-07, -0.989793539, -0.00112801802, -0.142478168, -0.00121889252, 0.999994278, 0.000567281502, 0.14247869, 0.000733759254, -0.989799619)
  340. Weld43.C1 = CFrame.new(1.56426836e-07, 8.2511086e-08, -1.83030693e-07, -0.989793539, -0.00112801802, -0.142478168, -0.00121889252, 0.999994278, 0.000567281502, 0.14247869, 0.000733759254, -0.989799619)
  341. Weld43.Part0 = Part1
  342. Weld43.Part1 = Part1
  343. Weld44.Parent = Part1
  344. Weld44.C0 = CFrame.new(5.41630456e-08, -1.17938839e-07, -2.45656331e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 5.27950106e-05, 0.999999702, 0.000794076768, -0.0673139021, 0.000795829517, -0.997731566)
  345. Weld44.C1 = CFrame.new(5.41630456e-08, -1.17938839e-07, -2.45656331e-08, -0.997731864, -7.77160551e-07, 0.0673139244, 5.27950106e-05, 0.999999702, 0.000794076768, -0.0673139021, 0.000795829517, -0.997731566)
  346. Weld44.Part0 = Part1
  347. Weld44.Part1 = Part1
  348. Weld45.Parent = Part1
  349. Weld45.C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  350. Weld45.C1 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  351. Weld45.Part0 = Part1
  352. Weld45.Part1 = Part1
  353. Weld46.Parent = Part1
  354. Weld46.C0 = CFrame.new(3.25428005e-07, 1.68906709e-07, 1.75666926e-07, -0.82377696, -7.6604928e-10, 0.566913903, -0.101010665, 0.983998537, -0.146777585, -0.557842433, -0.178176373, -0.810595334)
  355. Weld46.C1 = CFrame.new(3.25428005e-07, 1.68906709e-07, 1.75666926e-07, -0.82377696, -7.6604928e-10, 0.566913903, -0.101010665, 0.983998537, -0.146777585, -0.557842433, -0.178176373, -0.810595334)
  356. Weld46.Part0 = Part1
  357. Weld46.Part1 = Part1
  358. Weld47.Parent = Part1
  359. Weld47.C0 = CFrame.new(4.28886125e-07, 2.94445854e-08, -1.10848099e-07, 0.23760508, -5.76963394e-05, -0.971354365, -0.00074444554, 0.999990046, -0.000236619249, 0.971365035, 0.000776553294, 0.237608597)
  360. Weld47.C1 = CFrame.new(4.28886125e-07, 2.94445854e-08, -1.10848099e-07, 0.23760508, -5.76963394e-05, -0.971354365, -0.00074444554, 0.999990046, -0.000236619249, 0.971365035, 0.000776553294, 0.237608597)
  361. Weld47.Part0 = Part1
  362. Weld47.Part1 = Part1
  363. Weld48.Parent = Part1
  364. Weld48.C0 = CFrame.new(-9.06763887e-07, 9.15740799e-08, 6.89453614e-08, -0.921710789, -7.77160551e-07, 0.387878329, 0.0582682975, 0.988651812, 0.138464272, -0.383476734, 0.150224954, -0.911251009)
  365. Weld48.C1 = CFrame.new(-9.06763887e-07, 9.15740799e-08, 6.89453614e-08, -0.921710789, -7.77160551e-07, 0.387878329, 0.0582682975, 0.988651812, 0.138464272, -0.383476734, 0.150224954, -0.911251009)
  366. Weld48.Part0 = Part1
  367. Weld48.Part1 = Part1
  368. Weld49.Parent = Part1
  369. Weld49.C0 = CFrame.new(2.21802338e-07, -9.84567876e-08, 1.18214487e-07, -0.989796877, -0.0011253889, -0.142479002, -0.142459661, -0.0104501313, 0.989745438, -0.00260277302, 0.999944746, 0.0101831881)
  370. Weld49.C1 = CFrame.new(2.21802338e-07, -9.84567876e-08, 1.18214487e-07, -0.989796877, -0.0011253889, -0.142479002, -0.142459661, -0.0104501313, 0.989745438, -0.00260277302, 0.999944746, 0.0101831881)
  371. Weld49.Part0 = Part1
  372. Weld49.Part1 = Part1
  373. Weld50.Parent = Part1
  374. Weld50.C0 = CFrame.new(1.23745347e-09, -3.8455461e-08, -2.87073867e-08, 0.849927187, 0.000282452325, 0.526899874, 0.110336877, 0.977732837, -0.178505421, -0.515217841, 0.209853128, 0.830970705)
  375. Weld50.C1 = CFrame.new(1.23745347e-09, -3.8455461e-08, -2.87073867e-08, 0.849927187, 0.000282452325, 0.526899874, 0.110336877, 0.977732837, -0.178505421, -0.515217841, 0.209853128, 0.830970705)
  376. Weld50.Part0 = Part1
  377. Weld50.Part1 = Part1
  378. Weld51.Parent = Part1
  379. Weld51.C0 = CFrame.new(1.24300641e-05, -3.1281977e-06, -6.6004709e-06, 0.838819921, -0.0803357363, 0.538448751, 0.0932328627, 0.995638847, 0.00330535998, -0.536366165, 0.047428526, 0.842651844)
  380. Weld51.C1 = CFrame.new(1.24300641e-05, -3.1281977e-06, -6.6004709e-06, 0.838819921, -0.0803357363, 0.538448751, 0.0932328627, 0.995638847, 0.00330535998, -0.536366165, 0.047428526, 0.842651844)
  381. Weld51.Part0 = Part1
  382. Weld51.Part1 = Part1
  383. Weld52.Parent = Part1
  384. Weld52.C0 = CFrame.new(1.59193532e-05, 9.72918997e-07, 1.33168498e-07, 0.838819921, -0.0803357586, 0.538448751, 0.0932328403, 0.995638907, 0.00330535159, -0.536366165, 0.0474285334, 0.842651844)
  385. Weld52.C1 = CFrame.new(1.59193532e-05, 9.72918997e-07, 1.33168498e-07, 0.838819921, -0.0803357586, 0.538448751, 0.0932328403, 0.995638907, 0.00330535159, -0.536366165, 0.0474285334, 0.842651844)
  386. Weld52.Part0 = Part1
  387. Weld52.Part1 = Part1
  388. Weld53.Parent = Part1
  389. Weld53.C0 = CFrame.new(-3.219875e-06, -2.37859549e-05, -1.66867721e-07, 0.033777684, -1.69329465e-21, 0.999429345, 0.973593712, -0.225903586, -0.0329045206, 0.225774676, 0.974149644, -0.00763050001)
  390. Weld53.C1 = CFrame.new(-3.219875e-06, -2.37859549e-05, -1.66867721e-07, 0.033777684, -1.69329465e-21, 0.999429345, 0.973593712, -0.225903586, -0.0329045206, 0.225774676, 0.974149644, -0.00763050001)
  391. Weld53.Part0 = Part1
  392. Weld53.Part1 = Part1
  393. Weld54.Parent = Part1
  394. Weld54.C0 = CFrame.new(-3.219875e-06, -2.37859549e-05, -1.66867721e-07, 0.033777684, -1.69329465e-21, 0.999429345, 0.973593712, -0.225903586, -0.0329045206, 0.225774676, 0.974149644, -0.00763050001)
  395. Weld54.C1 = CFrame.new(-3.219875e-06, -2.37859549e-05, -1.66867721e-07, 0.033777684, -1.69329465e-21, 0.999429345, 0.973593712, -0.225903586, -0.0329045206, 0.225774676, 0.974149644, -0.00763050001)
  396. Weld54.Part0 = Part1
  397. Weld54.Part1 = Part1
  398. Weld55.Parent = Part1
  399. Weld55.C0 = CFrame.new(-3.219875e-06, -2.37859549e-05, -1.66867721e-07, 0.033777684, -1.69329465e-21, 0.999429345, 0.973593712, -0.225903586, -0.0329045206, 0.225774676, 0.974149644, -0.00763050001)
  400. Weld55.C1 = CFrame.new(-3.219875e-06, -2.37859549e-05, -1.66867721e-07, 0.033777684, -1.69329465e-21, 0.999429345, 0.973593712, -0.225903586, -0.0329045206, 0.225774676, 0.974149644, -0.00763050001)
  401. Weld55.Part0 = Part1
  402. Weld55.Part1 = Part1
  403. Weld56.Parent = Part1
  404. Weld56.C0 = CFrame.new(2.67914911e-05, 1.46031271e-05, 3.58777152e-06, -0.787404776, -0.614491105, 0.048921477, 0.446905583, -0.514392793, 0.731897652, -0.424580425, 0.598163962, 0.679655671)
  405. Weld56.C1 = CFrame.new(2.67914911e-05, 1.46031271e-05, 3.58777152e-06, -0.787404776, -0.614491105, 0.048921477, 0.446905583, -0.514392793, 0.731897652, -0.424580425, 0.598163962, 0.679655671)
  406. Weld56.Part0 = Part1
  407. Weld56.Part1 = Part1
  408. Weld57.Parent = Part1
  409. Weld57.C0 = CFrame.new(2.67914911e-05, 1.46031271e-05, 3.58777152e-06, -0.787404776, -0.614491105, 0.048921477, 0.446905583, -0.514392793, 0.731897652, -0.424580425, 0.598163962, 0.679655671)
  410. Weld57.C1 = CFrame.new(2.67914911e-05, 1.46031271e-05, 3.58777152e-06, -0.787404776, -0.614491105, 0.048921477, 0.446905583, -0.514392793, 0.731897652, -0.424580425, 0.598163962, 0.679655671)
  411. Weld57.Part0 = Part1
  412. Weld57.Part1 = Part1
  413. Weld58.Parent = Part1
  414. Weld58.C0 = CFrame.new(-1.98876364e-07, -5.17470795e-08, -3.43162796e-08, -0.87831676, -7.77160551e-07, 0.478079498, 0.0718187988, 0.988651812, 0.131945476, -0.472654253, 0.150224954, -0.868349433)
  415. Weld58.C1 = CFrame.new(-1.98876364e-07, -5.17470795e-08, -3.43162796e-08, -0.87831676, -7.77160551e-07, 0.478079498, 0.0718187988, 0.988651812, 0.131945476, -0.472654253, 0.150224954, -0.868349433)
  416. Weld58.Part0 = Part1
  417. Weld58.Part1 = Part1
  418. Weld59.Parent = Part1
  419. Weld59.C0 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  420. Weld59.C1 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  421. Weld59.Part0 = Part1
  422. Weld59.Part1 = Part1
  423. Weld60.Parent = Part1
  424. Weld60.C0 = CFrame.new(-3.8387995e-07, 8.29830356e-08, -1.56700111e-08, -0.878310084, -3.1483637e-06, 0.478076398, 0.000382526661, 0.999990046, 0.000699455151, -0.478080869, 0.000794427586, -0.878320336)
  425. Weld60.C1 = CFrame.new(-3.8387995e-07, 8.29830356e-08, -1.56700111e-08, -0.878310084, -3.1483637e-06, 0.478076398, 0.000382526661, 0.999990046, 0.000699455151, -0.478080869, 0.000794427586, -0.878320336)
  426. Weld60.Part0 = Part1
  427. Weld60.Part1 = Part1
  428. Weld61.Parent = Part1
  429. Weld61.C0 = CFrame.new(-2.98547292e-07, -9.19607217e-08, 1.84649274e-08, -0.878313005, -3.13725332e-06, 0.478078336, 0.000379965495, 0.999994874, 0.000699685945, -0.478080511, 0.000794796098, -0.878318012)
  430. Weld61.C1 = CFrame.new(-2.98547292e-07, -9.19607217e-08, 1.84649274e-08, -0.878313005, -3.13725332e-06, 0.478078336, 0.000379965495, 0.999994874, 0.000699685945, -0.478080511, 0.000794796098, -0.878318012)
  431. Weld61.Part0 = Part1
  432. Weld61.Part1 = Part1
  433. Weld62.Parent = Part1
  434. Weld62.C0 = CFrame.new(4.97543454e-07, 6.09359674e-08, 7.79182585e-08, -0.921706975, -3.18956108e-06, 0.387877464, 0.000308061979, 0.999994814, 0.000734235218, -0.387879133, 0.000794844702, -0.921712101)
  435. Weld62.C1 = CFrame.new(4.97543454e-07, 6.09359674e-08, 7.79182585e-08, -0.921706975, -3.18956108e-06, 0.387877464, 0.000308061979, 0.999994814, 0.000734235218, -0.387879133, 0.000794844702, -0.921712101)
  436. Weld62.Part0 = Part1
  437. Weld62.Part1 = Part1
  438. Weld63.Parent = Part1
  439. Weld63.C0 = CFrame.new(4.69022268e-07, 8.87719054e-08, -2.27049682e-07, -0.989796877, -0.0011253889, -0.142479002, -0.00121855014, 0.999999106, 0.000566605187, 0.142478228, 0.00073444203, -0.989797652)
  440. Weld63.C1 = CFrame.new(4.69022268e-07, 8.87719054e-08, -2.27049682e-07, -0.989796877, -0.0011253889, -0.142479002, -0.00121855014, 0.999999106, 0.000566605187, 0.142478228, 0.00073444203, -0.989797652)
  441. Weld63.Part0 = Part1
  442. Weld63.Part1 = Part1
  443. Weld64.Parent = Part1
  444. Weld64.C0 = CFrame.new(9.14827538e-08, 8.89131186e-08, 5.56511139e-08, -0.876809359, -3.1483637e-06, 0.480823219, 0.000384717976, 0.999990046, 0.000698255666, -0.480827719, 0.000794427586, -0.87681967)
  445. Weld64.C1 = CFrame.new(9.14827538e-08, 8.89131186e-08, 5.56511139e-08, -0.876809359, -3.1483637e-06, 0.480823219, 0.000384717976, 0.999990046, 0.000698255666, -0.480827719, 0.000794427586, -0.87681967)
  446. Weld64.Part0 = Part1
  447. Weld64.Part1 = Part1
  448. Weld65.Parent = Part1
  449. Weld65.C0 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  450. Weld65.C1 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  451. Weld65.Part0 = Part1
  452. Weld65.Part1 = Part1
  453. Weld66.Parent = Part1
  454. Weld66.C0 = CFrame.new(-9.39413553e-07, 1.97000425e-08, -1.60179923e-08, -0.999903619, -3.29659861e-06, 0.0136129707, 9.89981891e-06, 0.999994874, 0.000796399079, -0.0136125665, 0.000795060361, -0.999909043)
  455. Weld66.C1 = CFrame.new(-9.39413553e-07, 1.97000425e-08, -1.60179923e-08, -0.999903619, -3.29659861e-06, 0.0136129707, 9.89981891e-06, 0.999994874, 0.000796399079, -0.0136125665, 0.000795060361, -0.999909043)
  456. Weld66.Part0 = Part1
  457. Weld66.Part1 = Part1
  458. Weld67.Parent = Part1
  459. Weld67.C0 = CFrame.new(4.80958533e-07, -6.23172554e-08, 1.11993955e-07, -0.999907494, -7.77160551e-07, 0.0136125963, 0.00204418343, 0.988651812, 0.150211081, -0.0134582352, 0.150224954, -0.988560379)
  460. Weld67.C1 = CFrame.new(4.80958533e-07, -6.23172554e-08, 1.11993955e-07, -0.999907494, -7.77160551e-07, 0.0136125963, 0.00204418343, 0.988651812, 0.150211081, -0.0134582352, 0.150224954, -0.988560379)
  461. Weld67.Part0 = Part1
  462. Weld67.Part1 = Part1
  463. Weld68.Parent = Part1
  464. Weld68.C0 = CFrame.new(9.13473741e-11, 4.41321475e-07, 4.33037854e-08, -0.056397412, -0.994229972, 0.0912065506, -0.811143935, 0.0988923684, 0.576416612, -0.582115293, -0.0414733291, -0.812050283)
  465. Weld68.C1 = CFrame.new(9.13473741e-11, 4.41321475e-07, 4.33037854e-08, -0.056397412, -0.994229972, 0.0912065506, -0.811143935, 0.0988923684, 0.576416612, -0.582115293, -0.0414733291, -0.812050283)
  466. Weld68.Part0 = Part1
  467. Weld68.Part1 = Part1
  468. Configuration69.Name = "Settings"
  469. Configuration69.Parent = Part1
  470. BrickColorValue70.Name = "Color"
  471. BrickColorValue70.Parent = Configuration69
  472. BrickColorValue70.Value = BrickColor.new("New Yeller")
  473. NumberValue71.Name = "Speed"
  474. NumberValue71.Parent = Configuration69
  475. NumberValue71.Value = 1
  476. NumberValue72.Name = "Damage"
  477. NumberValue72.Parent = Configuration69
  478. NumberValue72.Value = 12
  479. Weld73.Parent = Part1
  480. Weld73.C0 = CFrame.new(4.28886125e-07, 2.94445854e-08, -1.10848099e-07, 0.23760508, -5.76963394e-05, -0.971354365, -0.00074444554, 0.999990046, -0.000236619249, 0.971365035, 0.000776553294, 0.237608597)
  481. Weld73.C1 = CFrame.new(4.28886125e-07, 2.94445854e-08, -1.10848099e-07, 0.23760508, -5.76963394e-05, -0.971354365, -0.00074444554, 0.999990046, -0.000236619249, 0.971365035, 0.000776553294, 0.237608597)
  482. Weld73.Part0 = Part1
  483. Weld73.Part1 = Part1
  484. Weld74.Parent = Part1
  485. Weld74.C0 = CFrame.new(3.46802977e-07, 7.76507747e-09, 3.78963023e-07, -0.186567068, -0.0156338569, 0.982314348, 0.172760159, 0.98376596, 0.0484661497, -0.967135131, 0.178747207, -0.180839792)
  486. Weld74.C1 = CFrame.new(3.46802977e-07, 7.76507747e-09, 3.78963023e-07, -0.186567068, -0.0156338569, 0.982314348, 0.172760159, 0.98376596, 0.0484661497, -0.967135131, 0.178747207, -0.180839792)
  487. Weld74.Part0 = Part1
  488. Weld74.Part1 = Part1
  489. Weld75.Parent = Part1
  490. Weld75.C0 = CFrame.new(-4.10976327e-07, -1.70621206e-09, 1.43480502e-05, 0.0367184356, 0.0341203101, 0.998741567, 0.0183638483, 0.999223173, -0.0348128304, -0.999157727, 0.0196184516, 0.0360633656)
  491. Weld75.C1 = CFrame.new(-4.10976327e-07, -1.70621206e-09, 1.43480502e-05, 0.0367184356, 0.0341203101, 0.998741567, 0.0183638483, 0.999223173, -0.0348128304, -0.999157727, 0.0196184516, 0.0360633656)
  492. Weld75.Part0 = Part1
  493. Weld75.Part1 = Part1
  494. Weld76.Parent = Part1
  495. Weld76.C0 = CFrame.new(-3.8387995e-07, 8.29830356e-08, -1.56700111e-08, -0.878310084, -3.1483637e-06, 0.478076398, 0.000382526661, 0.999990046, 0.000699455151, -0.478080869, 0.000794427586, -0.878320336)
  496. Weld76.C1 = CFrame.new(-3.8387995e-07, 8.29830356e-08, -1.56700111e-08, -0.878310084, -3.1483637e-06, 0.478076398, 0.000382526661, 0.999990046, 0.000699455151, -0.478080869, 0.000794427586, -0.878320336)
  497. Weld76.Part0 = Part1
  498. Weld76.Part1 = Part1
  499. Weld77.Parent = Part1
  500. Weld77.C0 = CFrame.new(4.97543454e-07, 6.09359674e-08, 7.79182585e-08, -0.921706975, -3.18956108e-06, 0.387877464, 0.000308061979, 0.999994814, 0.000734235218, -0.387879133, 0.000794844702, -0.921712101)
  501. Weld77.C1 = CFrame.new(4.97543454e-07, 6.09359674e-08, 7.79182585e-08, -0.921706975, -3.18956108e-06, 0.387877464, 0.000308061979, 0.999994814, 0.000734235218, -0.387879133, 0.000794844702, -0.921712101)
  502. Weld77.Part0 = Part1
  503. Weld77.Part1 = Part1
  504. Weld78.Parent = Part1
  505. Weld78.C0 = CFrame.new(1.39161784e-08, 7.1940633e-08, 8.06626872e-08, -0.518267512, -1.75834688e-21, -0.85521847, -0.667467117, 0.625200927, 0.40448907, 0.534683406, 0.780463874, -0.324021339)
  506. Weld78.C1 = CFrame.new(1.39161784e-08, 7.1940633e-08, 8.06626872e-08, -0.518267512, -1.75834688e-21, -0.85521847, -0.667467117, 0.625200927, 0.40448907, 0.534683406, 0.780463874, -0.324021339)
  507. Weld78.Part0 = Part1
  508. Weld78.Part1 = Part1
  509. Weld79.Parent = Part1
  510. Weld79.C0 = CFrame.new(9.13473741e-11, 4.41321475e-07, 4.33037854e-08, -0.056397412, -0.994229972, 0.0912065506, -0.811143935, 0.0988923684, 0.576416612, -0.582115293, -0.0414733291, -0.812050283)
  511. Weld79.C1 = CFrame.new(9.13473741e-11, 4.41321475e-07, 4.33037854e-08, -0.056397412, -0.994229972, 0.0912065506, -0.811143935, 0.0988923684, 0.576416612, -0.582115293, -0.0414733291, -0.812050283)
  512. Weld79.Part0 = Part1
  513. Weld79.Part1 = Part1
  514. Weld80.Parent = Part1
  515. Weld80.C0 = CFrame.new(-1.98876364e-07, -5.17470795e-08, -3.43162796e-08, -0.87831676, -7.77160551e-07, 0.478079498, 0.0718187988, 0.988651812, 0.131945476, -0.472654253, 0.150224954, -0.868349433)
  516. Weld80.C1 = CFrame.new(-1.98876364e-07, -5.17470795e-08, -3.43162796e-08, -0.87831676, -7.77160551e-07, 0.478079498, 0.0718187988, 0.988651812, 0.131945476, -0.472654253, 0.150224954, -0.868349433)
  517. Weld80.Part0 = Part1
  518. Weld80.Part1 = Part1
  519. Weld81.Parent = Part1
  520. Weld81.C0 = CFrame.new(-3.82181042e-07, -1.10161764e-07, 9.26976611e-07, -0.903714716, -5.76963394e-05, -0.428117812, -0.00038152773, 0.999990046, 0.00068163767, 0.428123415, 0.000776553294, -0.903724372)
  521. Weld81.C1 = CFrame.new(-3.82181042e-07, -1.10161764e-07, 9.26976611e-07, -0.903714716, -5.76963394e-05, -0.428117812, -0.00038152773, 0.999990046, 0.00068163767, 0.428123415, 0.000776553294, -0.903724372)
  522. Weld81.Part0 = Part1
  523. Weld81.Part1 = Part1
  524. Weld82.Parent = Part1
  525. Weld82.C0 = CFrame.new(-2.43561146e-07, -9.47881773e-08, 2.35240364e-07, -0.997728109, -3.32275249e-06, 0.067314133, 5.26742006e-05, 0.999994814, 0.00079468725, -0.0673140213, 0.000795031199, -0.997733533)
  526. Weld82.C1 = CFrame.new(-2.43561146e-07, -9.47881773e-08, 2.35240364e-07, -0.997728109, -3.32275249e-06, 0.067314133, 5.26742006e-05, 0.999994814, 0.00079468725, -0.0673140213, 0.000795031199, -0.997733533)
  527. Weld82.Part0 = Part1
  528. Weld82.Part1 = Part1
  529. Weld83.Parent = Part1
  530. Weld83.C0 = CFrame.new(9.14827538e-08, 8.89131186e-08, 5.56511139e-08, -0.876809359, -3.1483637e-06, 0.480823219, 0.000384717976, 0.999990046, 0.000698255666, -0.480827719, 0.000794427586, -0.87681967)
  531. Weld83.C1 = CFrame.new(9.14827538e-08, 8.89131186e-08, 5.56511139e-08, -0.876809359, -3.1483637e-06, 0.480823219, 0.000384717976, 0.999990046, 0.000698255666, -0.480827719, 0.000794427586, -0.87681967)
  532. Weld83.Part0 = Part1
  533. Weld83.Part1 = Part1
  534. Weld84.Parent = Part1
  535. Weld84.C0 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  536. Weld84.C1 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  537. Weld84.Part0 = Part1
  538. Weld84.Part1 = Part1
  539. Weld85.Parent = Part1
  540. Weld85.C0 = CFrame.new(7.14152975e-07, 5.46532526e-08, -8.69400196e-08, -0.999900103, -3.1483637e-06, 0.0136129735, 1.24280459e-05, 0.999990046, 0.000797131448, -0.0136121679, 0.000794427586, -0.999911249)
  541. Weld85.C1 = CFrame.new(7.14152975e-07, 5.46532526e-08, -8.69400196e-08, -0.999900103, -3.1483637e-06, 0.0136129735, 1.24280459e-05, 0.999990046, 0.000797131448, -0.0136121679, 0.000794427586, -0.999911249)
  542. Weld85.Part0 = Part1
  543. Weld85.Part1 = Part1
  544. Weld86.Parent = Part1
  545. Weld86.C0 = CFrame.new(4.69022268e-07, 8.87719054e-08, -2.27049682e-07, -0.989796877, -0.0011253889, -0.142479002, -0.00121855014, 0.999999106, 0.000566605187, 0.142478228, 0.00073444203, -0.989797652)
  546. Weld86.C1 = CFrame.new(4.69022268e-07, 8.87719054e-08, -2.27049682e-07, -0.989796877, -0.0011253889, -0.142479002, -0.00121855014, 0.999999106, 0.000566605187, 0.142478228, 0.00073444203, -0.989797652)
  547. Weld86.Part0 = Part1
  548. Weld86.Part1 = Part1
  549. Weld87.Parent = Part1
  550. Weld87.C0 = CFrame.new(-3.94832043e-08, 2.66829474e-08, 7.15466371e-08, -0.921703815, -3.1483637e-06, 0.387875915, 0.000310682721, 0.999990046, 0.00073419133, -0.387879342, 0.000794427586, -0.921714425)
  551. Weld87.C1 = CFrame.new(-3.94832043e-08, 2.66829474e-08, 7.15466371e-08, -0.921703815, -3.1483637e-06, 0.387875915, 0.000310682721, 0.999990046, 0.00073419133, -0.387879342, 0.000794427586, -0.921714425)
  552. Weld87.Part0 = Part1
  553. Weld87.Part1 = Part1
  554. Weld88.Parent = Part1
  555. Weld88.C0 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  556. Weld88.C1 = CFrame.new(-2.65332829e-07, 2.89025373e-08, 1.9344364e-07, -0.989789665, -0.00112773664, -0.142477483, -0.00121640449, 0.99998945, 0.000568326737, 0.142479286, 0.00073304039, -0.989801586)
  557. Weld88.Part0 = Part1
  558. Weld88.Part1 = Part1
  559. Weld89.Parent = Part1
  560. Weld89.C0 = CFrame.new(-3.8387995e-07, 8.29830356e-08, -1.56700111e-08, -0.878310084, -3.1483637e-06, 0.478076398, 0.000382526661, 0.999990046, 0.000699455151, -0.478080869, 0.000794427586, -0.878320336)
  561. Weld89.C1 = CFrame.new(-3.8387995e-07, 8.29830356e-08, -1.56700111e-08, -0.878310084, -3.1483637e-06, 0.478076398, 0.000382526661, 0.999990046, 0.000699455151, -0.478080869, 0.000794427586, -0.878320336)
  562. Weld89.Part0 = Part1
  563. Weld89.Part1 = Part1
  564. Weld90.Parent = Part1
  565. Weld90.C0 = CFrame.new(3.25428005e-07, 1.68906709e-07, 1.75666926e-07, -0.82377696, -7.6604928e-10, 0.566913903, -0.101010665, 0.983998537, -0.146777585, -0.557842433, -0.178176373, -0.810595334)
  566. Weld90.C1 = CFrame.new(3.25428005e-07, 1.68906709e-07, 1.75666926e-07, -0.82377696, -7.6604928e-10, 0.566913903, -0.101010665, 0.983998537, -0.146777585, -0.557842433, -0.178176373, -0.810595334)
  567. Weld90.Part0 = Part1
  568. Weld90.Part1 = Part1
  569. Weld91.Parent = Part1
  570. Weld91.C0 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  571. Weld91.C1 = CFrame.new(-2.65639642e-07, -7.18726909e-08, 1.88490148e-08, -0.997724473, -3.1483637e-06, 0.0673139021, 5.52595775e-05, 0.999990046, 0.000795312342, -0.0673136935, 0.000794427586, -0.99773562)
  572. Weld91.Part0 = Part1
  573. Weld91.Part1 = Part1
  574. Weld92.Parent = Part1
  575. Weld92.C0 = CFrame.new(2.21802338e-07, -9.84567876e-08, 1.18214487e-07, -0.989796877, -0.0011253889, -0.142479002, -0.142459661, -0.0104501313, 0.989745438, -0.00260277302, 0.999944746, 0.0101831881)
  576. Weld92.C1 = CFrame.new(2.21802338e-07, -9.84567876e-08, 1.18214487e-07, -0.989796877, -0.0011253889, -0.142479002, -0.142459661, -0.0104501313, 0.989745438, -0.00260277302, 0.999944746, 0.0101831881)
  577. Weld92.Part0 = Part1
  578. Weld92.Part1 = Part1
  579. Weld93.Parent = Part1
  580. Weld93.C0 = CFrame.new(-2.43561146e-07, -9.47881773e-08, 2.35240364e-07, -0.997728109, -3.32275249e-06, 0.067314133, 5.26742006e-05, 0.999994814, 0.00079468725, -0.0673140213, 0.000795031199, -0.997733533)
  581. Weld93.C1 = CFrame.new(-2.43561146e-07, -9.47881773e-08, 2.35240364e-07, -0.997728109, -3.32275249e-06, 0.067314133, 5.26742006e-05, 0.999994814, 0.00079468725, -0.0673140213, 0.000795031199, -0.997733533)
  582. Weld93.Part0 = Part1
  583. Weld93.Part1 = Part1
  584. Weld94.Parent = Part1
  585. Weld94.C0 = CFrame.new(-1.98876364e-07, -5.17470795e-08, -3.43162796e-08, -0.87831676, -7.77160551e-07, 0.478079498, 0.0718187988, 0.988651812, 0.131945476, -0.472654253, 0.150224954, -0.868349433)
  586. Weld94.C1 = CFrame.new(-1.98876364e-07, -5.17470795e-08, -3.43162796e-08, -0.87831676, -7.77160551e-07, 0.478079498, 0.0718187988, 0.988651812, 0.131945476, -0.472654253, 0.150224954, -0.868349433)
  587. Weld94.Part0 = Part1
  588. Weld94.Part1 = Part1
  589. Weld95.Parent = Part1
  590. Weld95.C0 = CFrame.new(2.21802338e-07, -9.84567876e-08, 1.18214487e-07, -0.989796877, -0.0011253889, -0.142479002, -0.142459661, -0.0104501313, 0.989745438, -0.00260277302, 0.999944746, 0.0101831881)
  591. Weld95.C1 = CFrame.new(2.21802338e-07, -9.84567876e-08, 1.18214487e-07, -0.989796877, -0.0011253889, -0.142479002, -0.142459661, -0.0104501313, 0.989745438, -0.00260277302, 0.999944746, 0.0101831881)
  592. Weld95.Part0 = Part1
  593. Weld95.Part1 = Part1
  594. Weld96.Parent = Part1
  595. Weld96.C0 = CFrame.new(4.69022268e-07, 8.87719054e-08, -2.27049682e-07, -0.989796877, -0.0011253889, -0.142479002, -0.00121855014, 0.999999106, 0.000566605187, 0.142478228, 0.00073444203, -0.989797652)
  596. Weld96.C1 = CFrame.new(4.69022268e-07, 8.87719054e-08, -2.27049682e-07, -0.989796877, -0.0011253889, -0.142479002, -0.00121855014, 0.999999106, 0.000566605187, 0.142478228, 0.00073444203, -0.989797652)
  597. Weld96.Part0 = Part1
  598. Weld96.Part1 = Part1
  599. Sound97.Name = "Fire"
  600. Sound97.Parent = Part1
  601. Sound97.SoundId = "rbxassetid://282907010"
  602. Sound97.Volume = 3
  603. Sound98.Name = "Fire"
  604. Sound98.Parent = Part1
  605. Sound98.SoundId = "http://www.roblox.com/asset/?id=10756118"
  606. SpecialMesh99.Parent = Part1
  607. SpecialMesh99.MeshId = "http://www.roblox.com/asset?id=139121396"
  608. SpecialMesh99.Scale = Vector3.new(2.5, 2.5, 2.5)
  609. SpecialMesh99.TextureId = "http://www.roblox.com/asset?id=139121368"
  610. SpecialMesh99.MeshType = Enum.MeshType.FileMesh
  611. SpecialMesh99.Scale = Vector3.new(2.5, 2.5, 2.5)
  612. Sound100.Name = "Disapear"
  613. Sound100.Parent = Part1
  614. Sound100.SoundId = "rbxassetid://130113322"
  615. Sound100.Volume = 3
  616. LocalScript101.Parent = Tool0
  617. table.insert(cors,sandbox(LocalScript101,function()
  618. --by Malvaviscos. If you find a glitch, please report it to me.
  619.  
  620. MaxDistance = 500--The max distance you can fire
  621. Tool = script.Parent
  622. TouchDamage = 0 -- Disabled, but optional.
  623. DirectDamage = 12 -- The damage dealed if someone is hit directly.
  624.  
  625. function fireLaser(pos, obj)
  626.  
  627. local part = Instance.new("Part")
  628. part.Anchored = true
  629. part.CanCollide = false
  630. part.Material = "Neon"
  631. part.formFactor = "Symmetric"
  632. part.TopSurface = 0
  633. part.BottomSurface = 0
  634. part.BrickColor = BrickColor.new("Bright red")
  635. part.Transparency = 0.5
  636. part.Name = "Laser Shot"
  637. part.Locked = true
  638. part.Size = Vector3.new(1,1,(pos - obj.Position).magnitude)
  639. part.CFrame = CFrame.new(((obj.Position + pos)/2) + 1 * (pos - obj.Position).unit, pos)
  640.  
  641.  
  642. local mesh = Instance.new("BlockMesh")
  643. mesh.Scale = Vector3.new(0.25,0.25,1)
  644. mesh.Parent = part
  645.  
  646.  
  647.  
  648.  
  649.  
  650. Andsu2 = Instance.new("Decal",part)
  651. Andsu2.Face = "Top"
  652. Andsu2.Texture = "rbxassetid://33230751"
  653.  
  654. Andsu = Instance.new("ParticleEmitter",part)
  655.  
  656. Andsu.SpreadAngle = Vector2.new(123,324)
  657. Andsu.Rate = 3000
  658. Andsu.Texture = "rbxassetid://0" -- Just change this to a id
  659. Andsu:Emit()
  660.  
  661.  
  662. part.Parent = workspace
  663.  
  664. --Optional: Laser will damage others than the target.
  665. --part.Touched:connect(onTouch)
  666.  
  667. getTarget(pos)
  668.  
  669.  
  670. for v=1, 10 do
  671.  
  672. part.Transparency = 0.1 * v
  673. wait(0.002)
  674. end
  675.  
  676.  
  677. wait(0.01)
  678. lasp = Instance.new("Explosion")
  679. lasp.BlastPressure = 230
  680. lasp.BlastRadius = 123213
  681. lasp.Parent = part
  682. Andsu:Destroy()
  683. part:Destroy()
  684. script.Parent.Handle.Disapear:Play()
  685. script.Parent.Name = "MAK20[Ammo:".. script.Parent.Ammo.Value.."]"
  686. print("Your Ammo " .. script.Parent.Ammo.Value .."")
  687. script.Parent.Ammo.Value = script.Parent.Ammo.Value - 1
  688. end
  689.  
  690. function getTarget(pos)
  691. local child = workspace:getChildren()
  692. for i,v in pairs(child) do
  693. local h = getHumanoid(v)
  694. if h ~= nil and v ~= Tool.Parent then
  695. local torso = v:findFirstChild("Torso")
  696. if torso ~= nil then
  697. if (torso.Position - pos).magnitude <= 3 then
  698. local player = game.Players:findFirstChild(Tool.Parent.Name)
  699. if player ~= nil then
  700. tagHumanoid(h)
  701. end
  702. h:takeDamage(DirectDamage)
  703. wait(0.05)
  704. untagHumanoid(h)
  705. end
  706. end
  707. end
  708. end
  709. end
  710.  
  711.  
  712. function getHumanoid(obj)
  713. local child = obj:getChildren()
  714. for i=1, #child do
  715. if child[i].className == "Humanoid" then
  716. return child[i]
  717. end
  718. end
  719. return nil
  720. end
  721.  
  722. db = false
  723. function onTouch(hit)
  724. if db then return end
  725. db = true
  726. if hit.Parent ~= Tool.Parent then
  727. local h = getHumanoid(hit.Parent)
  728. if h ~= nil then
  729. local player = game.Players:findFirstChild(Tool.Parent.Name)
  730. if player ~= nil then
  731. tagHumanoid(h, player)
  732. end
  733. h:takeDamage(TouchDamage)
  734. wait(0.1)
  735. untagHumanoid(h)
  736. end
  737. end
  738. wait(0.9)
  739. db = false
  740. end
  741.  
  742.  
  743. function tagHumanoid(humanoid, player)
  744. local creator_tag = Instance.new("ObjectValue")
  745. creator_tag.Value = player
  746. creator_tag.Name = "creator"
  747. creator_tag.Parent = humanoid
  748. end
  749.  
  750. function untagHumanoid(humanoid)
  751. if humanoid ~= nil then
  752. local tag = humanoid:findFirstChild("creator")
  753. if tag ~= nil then
  754. tag.Parent = nil
  755. end
  756. end
  757. end
  758.  
  759. enabled = true
  760. function onActivated(mouse)
  761. if not enabled then return end
  762. enabled = false
  763. local handle = Tool:findFirstChild("Handle")
  764. local human = Tool.Parent:findFirstChild("Humanoid")
  765. if handle ~= nil and human ~= nil then
  766. if (handle.Position - human.TargetPoint).magnitude <= MaxDistance then
  767. handle.Fire:play()
  768. fireLaser(human.TargetPoint, handle)
  769. end
  770. end
  771. enabled = true
  772. end
  773.  
  774. mouseabled = true
  775. function onButton1Down(mouse)
  776. if not mouseabled or mouse.Target == nil then return end
  777. mouseabled = false
  778. mouse.Icon = "rbxasset://textures/GunWaitCursor.png"
  779. wait(0.5)
  780. mouseabled = true
  781. mouse.Icon = "rbxasset://textures/GunCursor.png"
  782. end
  783.  
  784. zoom = false
  785. function onKeyDown(key)
  786. key:lower()
  787. if key == "q" then -- Some of these I took from the awp because I didn't know how to modify the camera, since there are not tutorials in the wiki.
  788. if not zoom then
  789. zoom = true
  790.  
  791. local obj = Instance.new("Part")
  792. obj.Parent = Tool.Parent
  793. obj.Size = Vector3.new(1,1,1)
  794. obj.Transparency = 1
  795. obj.CanCollide = false
  796. obj.Anchored = true
  797. obj.Name = "Zoom"
  798. obj.CFrame = CFrame.new(Tool.Parent.Humanoid.TargetPoint)
  799.  
  800. Tool.Parent.Torso.Anchored = true
  801.  
  802. cam = workspace.CurrentCamera:Clone()
  803. cam.Parent = workspace
  804. workspace.CurrentCamera.CameraSubject = obj
  805. workspace.CurrentCamera.CameraType = 4
  806. else
  807. zoom = false
  808.  
  809. local check = Tool.Parent:findFirstChild("Zoom")
  810. if check ~= nil then
  811. check:remove()
  812. end
  813.  
  814. Tool.Parent.Torso.Anchored = false
  815.  
  816. workspace.CurrentCamera.CameraSubject = Tool.Parent.Humanoid
  817. workspace.CurrentCamera:Remove()
  818. workspace.CurrentCamera = cam
  819. end
  820. end
  821. end
  822.  
  823. function onSelected(mouse)
  824. connection = script.Parent.Activated:connect(onActivated)
  825. mouse.KeyDown:connect(onKeyDown)
  826. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  827.  
  828. mouse.Icon = "rbxasset://textures/GunCursor.png"
  829. end
  830.  
  831. function onDeselected()
  832. connection:disconnect()
  833. end
  834.  
  835. script.Parent.Equipped:connect(onSelected)
  836. script.Parent.Unequipped:connect(onDeselected)
  837. end))
  838. NumberValue102.Name = "Ammo"
  839. NumberValue102.Parent = Tool0
  840. NumberValue102.Value = 20
  841. Script103.Name = "Respawn"
  842. Script103.Parent = Tool0
  843. table.insert(cors,sandbox(Script103,function()
  844.  
  845.  
  846. while true do
  847. wait(1)
  848. if script.Parent.Ammo.Value<1 then
  849. wait(2)
  850. script.Parent.LocalScript:Destroy()
  851.  
  852. script.Parent:remove()
  853. end
  854. end
  855.  
  856.  
  857.  
  858.  
  859. end))
  860. for i,v in pairs(mas:GetChildren()) do
  861. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  862. pcall(function() v:MakeJoints() end)
  863. end
  864. mas:Destroy()
  865. for i,v in pairs(cors) do
  866. spawn(function()
  867. pcall(v)
  868. end)
  869. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement