Advertisement
awzp

Thompson (not by me)

Jun 5th, 2018
11,848
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 81.14 KB | None | 0 0
  1. --Made by N3xul.
  2. local runDummyScript = function(f,scri)
  3. local oldenv = getfenv(f)
  4. local newenv = setmetatable({}, {
  5. __index = function(_, k)
  6. if k:lower() == 'script' then
  7. return scri
  8. else
  9. return oldenv[k]
  10. end
  11. end
  12. })
  13. setfenv(f, newenv)
  14. ypcall(function() f() end)
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. mas.Name = "CompiledModel"
  19. o1 = Instance.new("Tool")
  20. o2 = Instance.new("Part")
  21. o3 = Instance.new("BlockMesh")
  22. o4 = Instance.new("Part")
  23. o5 = Instance.new("SpecialMesh")
  24. o6 = Instance.new("Weld")
  25. o7 = Instance.new("Weld")
  26. o8 = Instance.new("Weld")
  27. o9 = Instance.new("Weld")
  28. o10 = Instance.new("Sound")
  29. o11 = Instance.new("Weld")
  30. o12 = Instance.new("Weld")
  31. o13 = Instance.new("Weld")
  32. o14 = Instance.new("Weld")
  33. o15 = Instance.new("Weld")
  34. o16 = Instance.new("Weld")
  35. o17 = Instance.new("Weld")
  36. o18 = Instance.new("Weld")
  37. o19 = Instance.new("Weld")
  38. o20 = Instance.new("Weld")
  39. o21 = Instance.new("Weld")
  40. o22 = Instance.new("Weld")
  41. o23 = Instance.new("Weld")
  42. o24 = Instance.new("Weld")
  43. o25 = Instance.new("Weld")
  44. o26 = Instance.new("Weld")
  45. o27 = Instance.new("Weld")
  46. o28 = Instance.new("Weld")
  47. o29 = Instance.new("Weld")
  48. o30 = Instance.new("Weld")
  49. o31 = Instance.new("Weld")
  50. o32 = Instance.new("Weld")
  51. o33 = Instance.new("Weld")
  52. o34 = Instance.new("Weld")
  53. o35 = Instance.new("Weld")
  54. o36 = Instance.new("Weld")
  55. o37 = Instance.new("Weld")
  56. o38 = Instance.new("Weld")
  57. o39 = Instance.new("Weld")
  58. o40 = Instance.new("Weld")
  59. o41 = Instance.new("Weld")
  60. o42 = Instance.new("Weld")
  61. o43 = Instance.new("Weld")
  62. o44 = Instance.new("Weld")
  63. o45 = Instance.new("Weld")
  64. o46 = Instance.new("Weld")
  65. o47 = Instance.new("Weld")
  66. o48 = Instance.new("Weld")
  67. o49 = Instance.new("Weld")
  68. o50 = Instance.new("Weld")
  69. o51 = Instance.new("Weld")
  70. o52 = Instance.new("Weld")
  71. o53 = Instance.new("Weld")
  72. o54 = Instance.new("Weld")
  73. o55 = Instance.new("Weld")
  74. o56 = Instance.new("Weld")
  75. o57 = Instance.new("Weld")
  76. o58 = Instance.new("Sound")
  77. o59 = Instance.new("Weld")
  78. o60 = Instance.new("Weld")
  79. o61 = Instance.new("Weld")
  80. o62 = Instance.new("Weld")
  81. o63 = Instance.new("Weld")
  82. o64 = Instance.new("Weld")
  83. o65 = Instance.new("Weld")
  84. o66 = Instance.new("Weld")
  85. o67 = Instance.new("Weld")
  86. o68 = Instance.new("Weld")
  87. o69 = Instance.new("Weld")
  88. o70 = Instance.new("Weld")
  89. o71 = Instance.new("Weld")
  90. o72 = Instance.new("Weld")
  91. o73 = Instance.new("Weld")
  92. o74 = Instance.new("Weld")
  93. o75 = Instance.new("Weld")
  94. o76 = Instance.new("Weld")
  95. o77 = Instance.new("Weld")
  96. o78 = Instance.new("Weld")
  97. o79 = Instance.new("Weld")
  98. o80 = Instance.new("Weld")
  99. o81 = Instance.new("Weld")
  100. o82 = Instance.new("Weld")
  101. o83 = Instance.new("Weld")
  102. o84 = Instance.new("Weld")
  103. o85 = Instance.new("Weld")
  104. o86 = Instance.new("Weld")
  105. o87 = Instance.new("Weld")
  106. o88 = Instance.new("Weld")
  107. o89 = Instance.new("Weld")
  108. o90 = Instance.new("Weld")
  109. o91 = Instance.new("Weld")
  110. o92 = Instance.new("Weld")
  111. o93 = Instance.new("Weld")
  112. o94 = Instance.new("Sound")
  113. o95 = Instance.new("Weld")
  114. o96 = Instance.new("Weld")
  115. o97 = Instance.new("Weld")
  116. o98 = Instance.new("Weld")
  117. o99 = Instance.new("Weld")
  118. o100 = Instance.new("Weld")
  119. o101 = Instance.new("Weld")
  120. o102 = Instance.new("Weld")
  121. o103 = Instance.new("Weld")
  122. o104 = Instance.new("Weld")
  123. o105 = Instance.new("Weld")
  124. o106 = Instance.new("Weld")
  125. o107 = Instance.new("Weld")
  126. o108 = Instance.new("Weld")
  127. o109 = Instance.new("Weld")
  128. o110 = Instance.new("Weld")
  129. o111 = Instance.new("PointLight")
  130. o112 = Instance.new("Weld")
  131. o113 = Instance.new("Weld")
  132. o114 = Instance.new("Weld")
  133. o115 = Instance.new("Weld")
  134. o116 = Instance.new("Weld")
  135. o117 = Instance.new("Weld")
  136. o118 = Instance.new("Weld")
  137. o119 = Instance.new("Weld")
  138. o120 = Instance.new("Weld")
  139. o121 = Instance.new("Weld")
  140. o122 = Instance.new("Weld")
  141. o123 = Instance.new("Weld")
  142. o124 = Instance.new("Weld")
  143. o125 = Instance.new("Weld")
  144. o126 = Instance.new("Weld")
  145. o127 = Instance.new("Weld")
  146. o128 = Instance.new("Weld")
  147. o129 = Instance.new("Weld")
  148. o130 = Instance.new("Weld")
  149. o131 = Instance.new("Weld")
  150. o132 = Instance.new("Weld")
  151. o133 = Instance.new("Weld")
  152. o134 = Instance.new("Weld")
  153. o135 = Instance.new("Weld")
  154. o136 = Instance.new("Weld")
  155. o137 = Instance.new("Weld")
  156. o138 = Instance.new("Weld")
  157. o139 = Instance.new("Weld")
  158. o140 = Instance.new("Sound")
  159. o141 = Instance.new("Weld")
  160. o142 = Instance.new("Weld")
  161. o143 = Instance.new("Weld")
  162. o144 = Instance.new("Weld")
  163. o145 = Instance.new("Weld")
  164. o146 = Instance.new("Weld")
  165. o147 = Instance.new("Weld")
  166. o148 = Instance.new("Weld")
  167. o149 = Instance.new("Weld")
  168. o150 = Instance.new("Weld")
  169. o151 = Instance.new("Weld")
  170. o152 = Instance.new("Weld")
  171. o153 = Instance.new("Weld")
  172. o154 = Instance.new("Weld")
  173. o155 = Instance.new("Weld")
  174. o156 = Instance.new("Weld")
  175. o157 = Instance.new("Weld")
  176. o158 = Instance.new("Weld")
  177. o159 = Instance.new("Weld")
  178. o160 = Instance.new("Weld")
  179. o161 = Instance.new("Weld")
  180. o162 = Instance.new("Weld")
  181. o164 = Instance.new("Animation")
  182. o165 = Instance.new("LocalScript")
  183. o166 = Instance.new("ScreenGui")
  184. o167 = Instance.new("Frame")
  185. o168 = Instance.new("TextLabel")
  186. o169 = Instance.new("TextLabel")
  187. o170 = Instance.new("TextLabel")
  188. o171 = Instance.new("Frame")
  189. o172 = Instance.new("Frame")
  190. o173 = Instance.new("Frame")
  191. o174 = Instance.new("Frame")
  192. o175 = Instance.new("ImageLabel")
  193. o176 = Instance.new("TextLabel")
  194. o177 = Instance.new("Frame")
  195. o178 = Instance.new("Frame")
  196. o179 = Instance.new("TextLabel")
  197. o180 = Instance.new("LocalScript")
  198. o181 = Instance.new("LocalScript")
  199. o182 = Instance.new("LocalScript")
  200. o1.Name = "Thompson"
  201. o1.Parent = mas
  202. o1.GripForward = Vector3.new(-0.242535636, -0, -0.970142484)
  203. o1.GripPos = Vector3.new(0.200000003, -0.600000024, 0.100000001)
  204. o1.GripRight = Vector3.new(0.970142484, 0, -0.242535636)
  205. o1.CanBeDropped = false
  206. o2.Name = "BarrelClip"
  207. o2.Parent = o1
  208. o2.BrickColor = BrickColor.new("Really black")
  209. o2.Position = Vector3.new(42.6602669, 0.395004004, -29.8300667)
  210. o2.Rotation = Vector3.new(177.210007, -89.9599991, -2.9000001)
  211. o2.FormFactor = Enum.FormFactor.Custom
  212. o2.Size = Vector3.new(0.200000003, 0.790000021, 0.200000003)
  213. o2.CFrame = CFrame.new(42.6602669, 0.395004004, -29.8300667, 3.67872417e-08, 1.86264515e-09, -0.999999762, 1.87719706e-09, 0.99999994, -1.86264515e-09, 0.999999762, 1.86264515e-09, -3.81842256e-08)
  214. o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  215. o2.Position = Vector3.new(42.6602669, 0.395004004, -29.8300667)
  216. o2.Orientation = Vector3.new(0, -90, 0)
  217. o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  218. o3.Parent = o2
  219. o3.Scale = Vector3.new(0.699999988, 1, 1)
  220. o3.Scale = Vector3.new(0.699999988, 1, 1)
  221. o4.Name = "Handle"
  222. o4.Parent = o1
  223. o4.BrickColor = BrickColor.new("Black")
  224. o4.Position = Vector3.new(42.4423866, 0.898100972, -29.8392849)
  225. o4.Rotation = Vector3.new(-109.129997, -88.6500015, -109.519997)
  226. o4.FormFactor = Enum.FormFactor.Custom
  227. o4.Size = Vector3.new(0.540003419, 1.26000023, 4.10998917)
  228. o4.CFrame = CFrame.new(42.4423866, 0.898100972, -29.8392849, -0.00789642334, 0.022277154, -0.999720514, -0.00673202379, 0.999727964, 0.022330489, 0.999945998, 0.00690647634, -0.00774434209)
  229. o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  230. o4.Position = Vector3.new(42.4423866, 0.898100972, -29.8392849)
  231. o4.Orientation = Vector3.new(-1.27999997, -90.4400024, -0.389999986)
  232. o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  233. o5.Parent = o4
  234. o5.MeshId = "http://www.roblox.com/asset/?id=116679805"
  235. o5.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  236. o5.TextureId = "http://www.roblox.com/asset/?id=116679995"
  237. o5.MeshType = Enum.MeshType.FileMesh
  238. o5.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  239. o6.Parent = o4
  240. o6.C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  241. o6.C1 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  242. o6.Part0 = o4
  243. o6.Part1 = o4
  244. o7.Parent = o4
  245. o7.C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  246. o7.C1 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  247. o7.Part0 = o4
  248. o7.Part1 = o4
  249. o8.Parent = o4
  250. o8.C0 = CFrame.new(0, 0, 0, 0.884114385, 0, 0.467270494, 0.465345204, 0.0906839967, -0.880471587, -0.0423739552, 0.99587965, 0.0801750422)
  251. o8.C1 = CFrame.new(0, 0, 0, 0.884114385, 0, 0.467270494, 0.465345204, 0.0906839967, -0.880471587, -0.0423739552, 0.99587965, 0.0801750422)
  252. o8.Part0 = o4
  253. o8.Part1 = o4
  254. o9.Parent = o4
  255. o9.C0 = CFrame.new(0, 0, 0, 0.64807266, 1.59872116e-14, 0.7615785, -3.32896519e-08, 1, 2.83281345e-08, -0.7615785, -4.37113705e-08, 0.64807266)
  256. o9.C1 = CFrame.new(0, 0, 0, 0.64807266, 1.59872116e-14, 0.7615785, -3.32896519e-08, 1, 2.83281345e-08, -0.7615785, -4.37113705e-08, 0.64807266)
  257. o9.Part0 = o4
  258. o9.Part1 = o4
  259. o10.Name = "FireSound"
  260. o10.Parent = o4
  261. o10.SoundId = "http://www.roblox.com/asset/?id=95309366"
  262. o10.Volume = 1
  263. o11.Parent = o4
  264. o11.C0 = CFrame.new(0, 0, 0, 0.428878784, -2.98023224e-08, 0.903362036, 0.900276899, 0.0825755, -0.427414149, -0.0745955706, 0.996584773, 0.0354149342)
  265. o11.C1 = CFrame.new(0, 0, 0, 0.428878784, -2.98023224e-08, 0.903362036, 0.900276899, 0.0825755, -0.427414149, -0.0745955706, 0.996584773, 0.0354149342)
  266. o11.Part0 = o4
  267. o11.Part1 = o4
  268. o12.Parent = o4
  269. o12.C0 = CFrame.new(0, 0, 0, 0.522163391, 0, 0.85284549, -3.72790581e-08, 1, 2.28244872e-08, -0.85284549, -4.37113883e-08, 0.522163391)
  270. o12.C1 = CFrame.new(0, 0, 0, 0.522163391, 0, 0.85284549, -3.72790581e-08, 1, 2.28244872e-08, -0.85284549, -4.37113883e-08, 0.522163391)
  271. o12.Part0 = o4
  272. o12.Part1 = o4
  273. o13.Parent = o4
  274. o13.C0 = CFrame.new(0, 0, 0, 0.283743292, -7.63893113e-05, 0.958900273, 0.958887041, 0.00527664693, -0.283738971, -0.00503810355, 0.999986172, 0.0015704619)
  275. o13.C1 = CFrame.new(0, 0, 0, 0.283743292, -7.63893113e-05, 0.958900273, 0.958887041, 0.00527664693, -0.283738971, -0.00503810355, 0.999986172, 0.0015704619)
  276. o13.Part0 = o4
  277. o13.Part1 = o4
  278. o14.Parent = o4
  279. o14.C0 = CFrame.new(0, 0, 0, 0.793037295, -2.66453526e-15, 0.609173119, -2.66278022e-08, 1, 3.46647653e-08, -0.609173119, -4.37113883e-08, 0.793037295)
  280. o14.C1 = CFrame.new(0, 0, 0, 0.793037295, -2.66453526e-15, 0.609173119, -2.66278022e-08, 1, 3.46647653e-08, -0.609173119, -4.37113883e-08, 0.793037295)
  281. o14.Part0 = o4
  282. o14.Part1 = o4
  283. o15.Parent = o4
  284. o15.C0 = CFrame.new(0, 0, 0, 0.608348966, 9.53674316e-07, 0.79366982, 0.790357232, 0.0912681222, -0.605810165, -0.072437495, 0.995826602, 0.0555220246)
  285. o15.C1 = CFrame.new(0, 0, 0, 0.608348966, 9.53674316e-07, 0.79366982, 0.790357232, 0.0912681222, -0.605810165, -0.072437495, 0.995826602, 0.0555220246)
  286. o15.Part0 = o4
  287. o15.Part1 = o4
  288. o16.Parent = o4
  289. o16.C0 = CFrame.new(0, 0, 0, 0.392349541, -1.06015827e-08, 0.919816136, -3.48464617e-08, 1, 2.63895927e-08, -0.919816136, -4.24062847e-08, 0.392349541)
  290. o16.C1 = CFrame.new(0, 0, 0, 0.392349541, -1.06015827e-08, 0.919816136, -3.48464617e-08, 1, 2.63895927e-08, -0.919816136, -4.24062847e-08, 0.392349541)
  291. o16.Part0 = o4
  292. o16.Part1 = o4
  293. o17.Parent = o4
  294. o17.C0 = CFrame.new(0, 0, 0, -0.253230929, 0.237935126, 0.937689185, 0.958372772, 0.193849564, 0.209628135, -0.131892711, 0.951740146, -0.27711916)
  295. o17.C1 = CFrame.new(0, 0, 0, -0.253230929, 0.237935126, 0.937689185, 0.958372772, 0.193849564, 0.209628135, -0.131892711, 0.951740146, -0.27711916)
  296. o17.Part0 = o4
  297. o17.Part1 = o4
  298. o18.Parent = o4
  299. o18.C0 = CFrame.new(0, 0, 0, -0.197235942, -1.06019336e-08, 0.980359256, -4.36645884e-08, 1, 2.02971862e-09, -0.980359256, -4.24065441e-08, -0.197235942)
  300. o18.C1 = CFrame.new(0, 0, 0, -0.197235942, -1.06019336e-08, 0.980359256, -4.36645884e-08, 1, 2.02971862e-09, -0.980359256, -4.24065441e-08, -0.197235942)
  301. o18.Part0 = o4
  302. o18.Part1 = o4
  303. o19.Parent = o4
  304. o19.C0 = CFrame.new(0, 0, 0, -0.197235942, -1.06019336e-08, 0.980359256, -4.36645884e-08, 1, 2.02971862e-09, -0.980359256, -4.24065441e-08, -0.197235942)
  305. o19.C1 = CFrame.new(0, 0, 0, -0.197235942, -1.06019336e-08, 0.980359256, -4.36645884e-08, 1, 2.02971862e-09, -0.980359256, -4.24065441e-08, -0.197235942)
  306. o19.Part0 = o4
  307. o19.Part1 = o4
  308. o20.Parent = o4
  309. o20.C0 = CFrame.new(0, 0, 0, 0.665489197, 0.241882801, 0.706128359, 0.713099897, 0.0734152794, -0.697208643, -0.22048372, 0.967524767, -0.12362957)
  310. o20.C1 = CFrame.new(0, 0, 0, 0.665489197, 0.241882801, 0.706128359, 0.713099897, 0.0734152794, -0.697208643, -0.22048372, 0.967524767, -0.12362957)
  311. o20.Part0 = o4
  312. o20.Part1 = o4
  313. o21.Parent = o4
  314. o21.C0 = CFrame.new(0, 0, 0, 0.391575158, -1.06015676e-08, 0.920146108, -3.48686555e-08, 1, 2.63602331e-08, -0.920146108, -4.24062705e-08, 0.391575158)
  315. o21.C1 = CFrame.new(0, 0, 0, 0.391575158, -1.06015676e-08, 0.920146108, -3.48686555e-08, 1, 2.63602331e-08, -0.920146108, -4.24062705e-08, 0.391575158)
  316. o21.Part0 = o4
  317. o21.Part1 = o4
  318. o22.Parent = o4
  319. o22.C0 = CFrame.new(0, 0, 0, -0.277743131, -1.06022338e-08, -0.960655391, 3.77917289e-08, 1, -2.19627427e-08, 0.960655391, -4.24048281e-08, -0.277743131)
  320. o22.C1 = CFrame.new(0, 0, 0, -0.277743131, -1.06022338e-08, -0.960655391, 3.77917289e-08, 1, -2.19627427e-08, 0.960655391, -4.24048281e-08, -0.277743131)
  321. o22.Part0 = o4
  322. o22.Part1 = o4
  323. o23.Parent = o4
  324. o23.C0 = CFrame.new(0, 0, 0, 0.150449157, 0.189954877, 0.97019887, 0.746312141, 0.621792674, -0.237473547, -0.648372412, 0.759797752, -0.0482177734)
  325. o23.C1 = CFrame.new(0, 0, 0, 0.150449157, 0.189954877, 0.97019887, 0.746312141, 0.621792674, -0.237473547, -0.648372412, 0.759797752, -0.0482177734)
  326. o23.Part0 = o4
  327. o23.Part1 = o4
  328. o24.Parent = o4
  329. o24.C0 = CFrame.new(0, 0, 0, 0.359285712, -1.06015685e-08, 0.933227599, -3.57657157e-08, 1, 2.51296459e-08, -0.933227599, -4.24062776e-08, 0.359285712)
  330. o24.C1 = CFrame.new(0, 0, 0, 0.359285712, -1.06015685e-08, 0.933227599, -3.57657157e-08, 1, 2.51296459e-08, -0.933227599, -4.24062776e-08, 0.359285712)
  331. o24.Part0 = o4
  332. o24.Part1 = o4
  333. o25.Parent = o4
  334. o25.C0 = CFrame.new(0, 0, 0, -0.235687762, 0.242799371, -0.941009998, -0.963407636, 0.0688211769, 0.25905481, 0.127659753, 0.967632174, 0.217694461)
  335. o25.C1 = CFrame.new(0, 0, 0, -0.235687762, 0.242799371, -0.941009998, -0.963407636, 0.0688211769, 0.25905481, 0.127659753, 0.967632174, 0.217694461)
  336. o25.Part0 = o4
  337. o25.Part1 = o4
  338. o26.Parent = o4
  339. o26.C0 = CFrame.new(0, 0, 0, 0.359285712, -1.06015685e-08, 0.933227599, -3.57657157e-08, 1, 2.51296459e-08, -0.933227599, -4.24062776e-08, 0.359285712)
  340. o26.C1 = CFrame.new(0, 0, 0, 0.359285712, -1.06015685e-08, 0.933227599, -3.57657157e-08, 1, 2.51296459e-08, -0.933227599, -4.24062776e-08, 0.359285712)
  341. o26.Part0 = o4
  342. o26.Part1 = o4
  343. o27.Parent = o4
  344. o27.C0 = CFrame.new(0, 0, 0, 0.997570276, -1.06015685e-08, -0.0696671829, 1.35301361e-08, 1, 4.15646682e-08, 0.0696671829, -4.24062847e-08, 0.997570276)
  345. o27.C1 = CFrame.new(0, 0, 0, 0.997570276, -1.06015685e-08, -0.0696671829, 1.35301361e-08, 1, 4.15646682e-08, 0.0696671829, -4.24062847e-08, 0.997570276)
  346. o27.Part0 = o4
  347. o27.Part1 = o4
  348. o28.Parent = o4
  349. o28.C0 = CFrame.new(0, 0, 0, 0.351180106, 0.239854038, 0.90506494, 0.9360286, -0.0663288757, -0.345616549, -0.0228655823, 0.96854043, -0.247803628)
  350. o28.C1 = CFrame.new(0, 0, 0, 0.351180106, 0.239854038, 0.90506494, 0.9360286, -0.0663288757, -0.345616549, -0.0228655823, 0.96854043, -0.247803628)
  351. o28.Part0 = o4
  352. o28.Part1 = o4
  353. o29.Parent = o4
  354. o29.C0 = CFrame.new(0, 0, 0, 0.185843349, -1.06015783e-08, 0.98257935, -3.96973086e-08, 1, 1.82978184e-08, -0.98257935, -4.24062847e-08, 0.185843349)
  355. o29.C1 = CFrame.new(0, 0, 0, 0.185843349, -1.06015783e-08, 0.98257935, -3.96973086e-08, 1, 1.82978184e-08, -0.98257935, -4.24062847e-08, 0.185843349)
  356. o29.Part0 = o4
  357. o29.Part1 = o4
  358. o30.Parent = o4
  359. o30.C0 = CFrame.new(0, 0, 0, -0.716619134, 0.242457479, 0.653966069, 0.678534865, 0.0253871679, 0.734129429, 0.161392793, 0.969829917, -0.182708859)
  360. o30.C1 = CFrame.new(0, 0, 0, -0.716619134, 0.242457479, 0.653966069, 0.678534865, 0.0253871679, 0.734129429, 0.161392793, 0.969829917, -0.182708859)
  361. o30.Part0 = o4
  362. o30.Part1 = o4
  363. o31.Parent = o4
  364. o31.C0 = CFrame.new(0, 0, 0, 0.376456678, -1.06015694e-08, -0.926434278, 4.32776659e-08, 1, 6.1424732e-09, 0.926434278, -4.24062847e-08, 0.376456678)
  365. o31.C1 = CFrame.new(0, 0, 0, 0.376456678, -1.06015694e-08, -0.926434278, 4.32776659e-08, 1, 6.1424732e-09, 0.926434278, -4.24062847e-08, 0.376456678)
  366. o31.Part0 = o4
  367. o31.Part1 = o4
  368. o32.Parent = o4
  369. o32.C0 = CFrame.new(0, 0, 0, 0.896119952, 0.241561711, 0.372312784, 0.402606308, -0.0894577503, -0.910990417, -0.186753973, 0.966252148, -0.177419066)
  370. o32.C1 = CFrame.new(0, 0, 0, 0.896119952, 0.241561711, 0.372312784, 0.402606308, -0.0894577503, -0.910990417, -0.186753973, 0.966252148, -0.177419066)
  371. o32.Part0 = o4
  372. o32.Part1 = o4
  373. o33.Parent = o4
  374. o33.C0 = CFrame.new(0, 0, 0, -0.166113138, -1.06013207e-08, 0.986104846, -4.35779484e-08, 1, 3.40974537e-09, -0.986104846, -4.24060858e-08, -0.166113138)
  375. o33.C1 = CFrame.new(0, 0, 0, -0.166113138, -1.06013207e-08, 0.986104846, -4.35779484e-08, 1, 3.40974537e-09, -0.986104846, -4.24060858e-08, -0.166113138)
  376. o33.Part0 = o4
  377. o33.Part1 = o4
  378. o34.Parent = o4
  379. o34.C0 = CFrame.new(0, 0, 0, -0.136823535, 0.23995474, 0.961093426, 0.9839046, 0.145492733, 0.103746235, -0.114937544, 0.959819376, -0.255999327)
  380. o34.C1 = CFrame.new(0, 0, 0, -0.136823535, 0.23995474, 0.961093426, 0.9839046, 0.145492733, 0.103746235, -0.114937544, 0.959819376, -0.255999327)
  381. o34.Part0 = o4
  382. o34.Part1 = o4
  383. o35.Parent = o4
  384. o35.C0 = CFrame.new(0, 0, 0, 0.150816679, -1.06015783e-08, -0.98856169, 4.35201137e-08, 1, -4.08474143e-09, 0.98856169, -4.24062705e-08, 0.150816679)
  385. o35.C1 = CFrame.new(0, 0, 0, 0.150816679, -1.06015783e-08, -0.98856169, 4.35201137e-08, 1, -4.08474143e-09, 0.98856169, -4.24062705e-08, 0.150816679)
  386. o35.Part0 = o4
  387. o35.Part1 = o4
  388. o36.Parent = o4
  389. o36.C0 = CFrame.new(0, 0, 0, 0.263880193, 0.200717986, -0.943440259, -0.820239246, 0.561345696, -0.109993935, 0.507518351, 0.802871943, 0.312764764)
  390. o36.C1 = CFrame.new(0, 0, 0, 0.263880193, 0.200717986, -0.943440259, -0.820239246, 0.561345696, -0.109993935, 0.507518351, 0.802871943, 0.312764764)
  391. o36.Part0 = o4
  392. o36.Part1 = o4
  393. o37.Parent = o4
  394. o37.C0 = CFrame.new(0, 0, 0, -0.898273945, -1.06015676e-08, -0.439436495, 9.11174958e-09, 1, -4.27511502e-08, 0.439436495, -4.24062669e-08, -0.898273945)
  395. o37.C1 = CFrame.new(0, 0, 0, -0.898273945, -1.06015676e-08, -0.439436495, 9.11174958e-09, 1, -4.27511502e-08, 0.439436495, -4.24062669e-08, -0.898273945)
  396. o37.Part0 = o4
  397. o37.Part1 = o4
  398. o38.Parent = o4
  399. o38.C0 = CFrame.new(0, 0, 0, -0.934953332, 0.24184677, -0.259562433, -0.248608261, 0.0753160715, 0.965671539, 0.253093779, 0.96738708, -0.0102920532)
  400. o38.C1 = CFrame.new(0, 0, 0, -0.934953332, 0.24184677, -0.259562433, -0.248608261, 0.0753160715, 0.965671539, 0.253093779, 0.96738708, -0.0102920532)
  401. o38.Part0 = o4
  402. o38.Part1 = o4
  403. o39.Parent = o4
  404. o39.C0 = CFrame.new(0, 0, 0, -0.867962837, -1.06015667e-08, 0.49662897, -3.02619512e-08, 1, -3.15420259e-08, -0.49662897, -4.2406274e-08, -0.867962837)
  405. o39.C1 = CFrame.new(0, 0, 0, -0.867962837, -1.06015667e-08, 0.49662897, -3.02619512e-08, 1, -3.15420259e-08, -0.49662897, -4.2406274e-08, -0.867962837)
  406. o39.Part0 = o4
  407. o39.Part1 = o4
  408. o40.Parent = o4
  409. o40.C0 = CFrame.new(0, 0, 0, -0.256976128, 0.242535591, 0.935489178, 0.964258313, -0.000328779221, 0.264963955, 0.0645706654, 0.970142484, -0.23378253)
  410. o40.C1 = CFrame.new(0, 0, 0, -0.256976128, 0.242535591, 0.935489178, 0.964258313, -0.000328779221, 0.264963955, 0.0645706654, 0.970142484, -0.23378253)
  411. o40.Part0 = o4
  412. o40.Part1 = o4
  413. o41.Parent = o4
  414. o41.C0 = CFrame.new(0, 0, 0, -0.999947906, -0.00672575552, -0.00793170836, -0.00690092985, 0.999728203, 0.02226872, 0.00777977845, 0.0223222524, -0.9997226)
  415. o41.C1 = CFrame.new(0, 0, 0, -0.999947906, -0.00672575552, -0.00793170836, -0.00690092985, 0.999728203, 0.02226872, 0.00777977845, 0.0223222524, -0.9997226)
  416. o41.Part0 = o4
  417. o41.Part1 = o4
  418. o42.Parent = o4
  419. o42.C0 = CFrame.new(0, 0, 0, -0.999947906, -0.00672575552, -0.00793170836, -0.00690092985, 0.999728203, 0.02226872, 0.00777977845, 0.0223222524, -0.9997226)
  420. o42.C1 = CFrame.new(0, 0, 0, -0.999947906, -0.00672575552, -0.00793170836, -0.00690092985, 0.999728203, 0.02226872, 0.00777977845, 0.0223222524, -0.9997226)
  421. o42.Part0 = o4
  422. o42.Part1 = o4
  423. o43.Parent = o4
  424. o43.C0 = CFrame.new(0, 0, 0, -0.426784337, -1.05939835e-08, 0.90435344, -4.28696758e-08, 1, -8.51671622e-09, -0.90435344, -4.24041389e-08, -0.426784337)
  425. o43.C1 = CFrame.new(0, 0, 0, -0.426784337, -1.05939835e-08, 0.90435344, -4.28696758e-08, 1, -8.51671622e-09, -0.90435344, -4.24041389e-08, -0.426784337)
  426. o43.Part0 = o4
  427. o43.Part1 = o4
  428. o44.Parent = o4
  429. o44.C0 = CFrame.new(0, 0, 0, -0.999947906, -0.00672575552, -0.00793170836, -0.00690092985, 0.999728203, 0.02226872, 0.00777977845, 0.0223222524, -0.9997226)
  430. o44.C1 = CFrame.new(0, 0, 0, -0.999947906, -0.00672575552, -0.00793170836, -0.00690092985, 0.999728203, 0.02226872, 0.00777977845, 0.0223222524, -0.9997226)
  431. o44.Part0 = o4
  432. o44.Part1 = o4
  433. o45.Parent = o4
  434. o45.C0 = CFrame.new(0, 0, 0, -0.739617586, 0.194959164, -0.644171238, -0.611359954, -0.594849348, 0.521912932, -0.281433165, 0.779836535, 0.559151411)
  435. o45.C1 = CFrame.new(0, 0, 0, -0.739617586, 0.194959164, -0.644171238, -0.611359954, -0.594849348, 0.521912932, -0.281433165, 0.779836535, 0.559151411)
  436. o45.Part0 = o4
  437. o45.Part1 = o4
  438. o46.Parent = o4
  439. o46.C0 = CFrame.new(0, 0, 0, -0.00806045532, -0.00672500627, 0.999951899, 0.0222703125, 0.999728143, 0.00690291263, -0.999726474, 0.0223246794, -0.00790846348)
  440. o46.C1 = CFrame.new(0, 0, 0, -0.00806045532, -0.00672500627, 0.999951899, 0.0222703125, 0.999728143, 0.00690291263, -0.999726474, 0.0223246794, -0.00790846348)
  441. o46.Part0 = o4
  442. o46.Part1 = o4
  443. o47.Parent = o4
  444. o47.C0 = CFrame.new(0, 0, 0, -0.00806045532, -0.00672500627, 0.999951899, 0.0222703125, 0.999728143, 0.00690291263, -0.999726474, 0.0223246794, -0.00790846348)
  445. o47.C1 = CFrame.new(0, 0, 0, -0.00806045532, -0.00672500627, 0.999951899, 0.0222703125, 0.999728143, 0.00690291263, -0.999726474, 0.0223246794, -0.00790846348)
  446. o47.Part0 = o4
  447. o47.Part1 = o4
  448. o48.Parent = o4
  449. o48.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  450. o48.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  451. o48.Part0 = o4
  452. o48.Part1 = o4
  453. o49.Parent = o4
  454. o49.C0 = CFrame.new(0, 0, 0, -0.00806045532, -0.00672500627, 0.999951899, 0.0222703125, 0.999728143, 0.00690291263, -0.999726474, 0.0223246794, -0.00790846348)
  455. o49.C1 = CFrame.new(0, 0, 0, -0.00806045532, -0.00672500627, 0.999951899, 0.0222703125, 0.999728143, 0.00690291263, -0.999726474, 0.0223246794, -0.00790846348)
  456. o49.Part0 = o4
  457. o49.Part1 = o4
  458. o50.Parent = o4
  459. o50.C0 = CFrame.new(0, 0, 0, -0.00806045532, -0.00672500627, 0.999951899, 0.0222703125, 0.999728143, 0.00690291263, -0.999726474, 0.0223246794, -0.00790846348)
  460. o50.C1 = CFrame.new(0, 0, 0, -0.00806045532, -0.00672500627, 0.999951899, 0.0222703125, 0.999728143, 0.00690291263, -0.999726474, 0.0223246794, -0.00790846348)
  461. o50.Part0 = o4
  462. o50.Part1 = o4
  463. o51.Parent = o4
  464. o51.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  465. o51.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  466. o51.Part0 = o4
  467. o51.Part1 = o4
  468. o52.Parent = o4
  469. o52.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  470. o52.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  471. o52.Part0 = o4
  472. o52.Part1 = o4
  473. o53.Parent = o4
  474. o53.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  475. o53.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  476. o53.Part0 = o4
  477. o53.Part1 = o4
  478. o54.Parent = o4
  479. o54.C0 = CFrame.new(0, 0, 0, -0.333208174, -1.05986695e-08, -0.942853332, 3.64581716e-08, 1, -2.41255229e-08, 0.942853332, -4.24135251e-08, -0.333208174)
  480. o54.C1 = CFrame.new(0, 0, 0, -0.333208174, -1.05986695e-08, -0.942853332, 3.64581716e-08, 1, -2.41255229e-08, 0.942853332, -4.24135251e-08, -0.333208174)
  481. o54.Part0 = o4
  482. o54.Part1 = o4
  483. o55.Parent = o4
  484. o55.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  485. o55.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  486. o55.Part0 = o4
  487. o55.Part1 = o4
  488. o56.Parent = o4
  489. o56.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  490. o56.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  491. o56.Part0 = o4
  492. o56.Part1 = o4
  493. o57.Parent = o4
  494. o57.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  495. o57.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  496. o57.Part0 = o4
  497. o57.Part1 = o4
  498. o58.Name = "Reload"
  499. o58.Parent = o4
  500. o58.SoundId = "http://www.roblox.com/asset/?id=95309699"
  501. o58.Volume = 1
  502. o59.Parent = o4
  503. o59.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  504. o59.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  505. o59.Part0 = o4
  506. o59.Part1 = o4
  507. o60.Parent = o4
  508. o60.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  509. o60.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  510. o60.Part0 = o4
  511. o60.Part1 = o4
  512. o61.Parent = o4
  513. o61.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  514. o61.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  515. o61.Part0 = o4
  516. o61.Part1 = o4
  517. o62.Parent = o4
  518. o62.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  519. o62.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  520. o62.Part0 = o4
  521. o62.Part1 = o4
  522. o63.Parent = o4
  523. o63.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  524. o63.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  525. o63.Part0 = o4
  526. o63.Part1 = o4
  527. o64.Parent = o4
  528. o64.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  529. o64.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  530. o64.Part0 = o4
  531. o64.Part1 = o4
  532. o65.Parent = o4
  533. o65.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  534. o65.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  535. o65.Part0 = o4
  536. o65.Part1 = o4
  537. o66.Parent = o4
  538. o66.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  539. o66.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  540. o66.Part0 = o4
  541. o66.Part1 = o4
  542. o67.Parent = o4
  543. o67.C0 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  544. o67.C1 = CFrame.new(0, 0, 0, -0.0438373722, -0.00672458671, 0.999016047, 0.0220097639, 0.999728143, 0.00769518036, -0.998796225, 0.0223254431, -0.0436774455)
  545. o67.Part0 = o4
  546. o67.Part1 = o4
  547. o68.Parent = o4
  548. o68.C0 = CFrame.new(0, 0, 0, 0.856072664, 0.0310297254, -0.515923202, -0.0904674754, 0.991782248, -0.090463087, 0.508876383, 0.12411724, 0.851844907)
  549. o68.C1 = CFrame.new(0, 0, 0, 0.856072664, 0.0310297254, -0.515923202, -0.0904674754, 0.991782248, -0.090463087, 0.508876383, 0.12411724, 0.851844907)
  550. o68.Part0 = o4
  551. o68.Part1 = o4
  552. o69.Parent = o4
  553. o69.C0 = CFrame.new(0, 0, 0, -0.333208174, -1.05986695e-08, -0.942853332, 3.64581716e-08, 1, -2.41255229e-08, 0.942853332, -4.24135251e-08, -0.333208174)
  554. o69.C1 = CFrame.new(0, 0, 0, -0.333208174, -1.05986695e-08, -0.942853332, 3.64581716e-08, 1, -2.41255229e-08, 0.942853332, -4.24135251e-08, -0.333208174)
  555. o69.Part0 = o4
  556. o69.Part1 = o4
  557. o70.Parent = o4
  558. o70.C0 = CFrame.new(0, 0, 0, -0.880208611, 2.16934275e-08, -0.474587321, 5.32001714e-08, 1, -5.29593081e-08, 0.474587321, -7.18633544e-08, -0.880208611)
  559. o70.C1 = CFrame.new(0, 0, 0, -0.880208611, 2.16934275e-08, -0.474587321, 5.32001714e-08, 1, -5.29593081e-08, 0.474587321, -7.18633544e-08, -0.880208611)
  560. o70.Part0 = o4
  561. o70.Part1 = o4
  562. o71.Parent = o4
  563. o71.C0 = CFrame.new(0, 0, 0, -0.623633862, -1.06015676e-08, -0.781716228, 2.65381743e-08, 1, -3.47334179e-08, 0.781716228, -4.24062705e-08, -0.623633862)
  564. o71.C1 = CFrame.new(0, 0, 0, -0.623633862, -1.06015676e-08, -0.781716228, 2.65381743e-08, 1, -3.47334179e-08, 0.781716228, -4.24062705e-08, -0.623633862)
  565. o71.Part0 = o4
  566. o71.Part1 = o4
  567. o72.Parent = o4
  568. o72.C0 = CFrame.new(0, 0, 0, -0.721468687, 0.241898313, -0.648820579, -0.653383851, 0.072445035, 0.753552377, 0.229286909, 0.967593372, 0.105785668)
  569. o72.C1 = CFrame.new(0, 0, 0, -0.721468687, 0.241898313, -0.648820579, -0.653383851, 0.072445035, 0.753552377, 0.229286909, 0.967593372, 0.105785668)
  570. o72.Part0 = o4
  571. o72.Part1 = o4
  572. o73.Parent = o4
  573. o73.C0 = CFrame.new(0, 0, 0, -0.623633862, -1.06015676e-08, -0.781716228, 2.65381743e-08, 1, -3.47334179e-08, 0.781716228, -4.24062705e-08, -0.623633862)
  574. o73.C1 = CFrame.new(0, 0, 0, -0.623633862, -1.06015676e-08, -0.781716228, 2.65381743e-08, 1, -3.47334179e-08, 0.781716228, -4.24062705e-08, -0.623633862)
  575. o73.Part0 = o4
  576. o73.Part1 = o4
  577. o74.Parent = o4
  578. o74.C0 = CFrame.new(0, 0, 0, -0.6236341, -1.06015712e-08, -0.781716406, 2.65381814e-08, 1, -3.47334179e-08, 0.781716406, -4.24062776e-08, -0.6236341)
  579. o74.C1 = CFrame.new(0, 0, 0, -0.6236341, -1.06015712e-08, -0.781716406, 2.65381814e-08, 1, -3.47334179e-08, 0.781716406, -4.24062776e-08, -0.6236341)
  580. o74.Part0 = o4
  581. o74.Part1 = o4
  582. o75.Parent = o4
  583. o75.C0 = CFrame.new(0, 0, 0, -0.605890036, 0.241916537, -0.75787425, -0.790073276, -0.071403861, 0.608839452, 0.0931730866, 0.96766609, 0.234394908)
  584. o75.C1 = CFrame.new(0, 0, 0, -0.605890036, 0.241916537, -0.75787425, -0.790073276, -0.071403861, 0.608839452, 0.0931730866, 0.96766609, 0.234394908)
  585. o75.Part0 = o4
  586. o75.Part1 = o4
  587. o76.Parent = o4
  588. o76.C0 = CFrame.new(0, 0, 0, -0.605890036, 0.241916537, -0.75787425, -0.790073276, -0.071403861, 0.608839452, 0.0931730866, 0.96766609, 0.234394908)
  589. o76.C1 = CFrame.new(0, 0, 0, -0.605890036, 0.241916537, -0.75787425, -0.790073276, -0.071403861, 0.608839452, 0.0931730866, 0.96766609, 0.234394908)
  590. o76.Part0 = o4
  591. o76.Part1 = o4
  592. o77.Parent = o4
  593. o77.C0 = CFrame.new(0, 0, 0, -0.6236341, -1.06015712e-08, -0.781716406, 2.65381814e-08, 1, -3.47334179e-08, 0.781716406, -4.24062776e-08, -0.6236341)
  594. o77.C1 = CFrame.new(0, 0, 0, -0.6236341, -1.06015712e-08, -0.781716406, 2.65381814e-08, 1, -3.47334179e-08, 0.781716406, -4.24062776e-08, -0.6236341)
  595. o77.Part0 = o4
  596. o77.Part1 = o4
  597. o78.Parent = o4
  598. o78.C0 = CFrame.new(0, 0, 0, -0.6236341, -1.06015712e-08, -0.781716406, 2.65381814e-08, 1, -3.47334179e-08, 0.781716406, -4.24062776e-08, -0.6236341)
  599. o78.C1 = CFrame.new(0, 0, 0, -0.6236341, -1.06015712e-08, -0.781716406, 2.65381814e-08, 1, -3.47334179e-08, 0.781716406, -4.24062776e-08, -0.6236341)
  600. o78.Part0 = o4
  601. o78.Part1 = o4
  602. o79.Parent = o4
  603. o79.C0 = CFrame.new(0, 0, 0, -0.581570864, 0.242166072, -0.776615024, -0.79088819, 0.0551851392, 0.609467328, 0.190449953, 0.96866411, 0.159432232)
  604. o79.C1 = CFrame.new(0, 0, 0, -0.581570864, 0.242166072, -0.776615024, -0.79088819, 0.0551851392, 0.609467328, 0.190449953, 0.96866411, 0.159432232)
  605. o79.Part0 = o4
  606. o79.Part1 = o4
  607. o80.Parent = o4
  608. o80.C0 = CFrame.new(0, 0, 0, -0.581570864, 0.242166072, -0.776615024, -0.79088819, 0.0551851392, 0.609467328, 0.190449953, 0.96866411, 0.159432232)
  609. o80.C1 = CFrame.new(0, 0, 0, -0.581570864, 0.242166072, -0.776615024, -0.79088819, 0.0551851392, 0.609467328, 0.190449953, 0.96866411, 0.159432232)
  610. o80.Part0 = o4
  611. o80.Part1 = o4
  612. o81.Parent = o4
  613. o81.C0 = CFrame.new(0, 0, 0, 0.637348294, -1.0601565e-08, -0.770575881, 3.94341519e-08, 1, 1.88582643e-08, 0.770575881, -4.24062847e-08, 0.637348294)
  614. o81.C1 = CFrame.new(0, 0, 0, 0.637348294, -1.0601565e-08, -0.770575881, 3.94341519e-08, 1, 1.88582643e-08, 0.770575881, -4.24062847e-08, 0.637348294)
  615. o81.Part0 = o4
  616. o81.Part1 = o4
  617. o82.Parent = o4
  618. o82.C0 = CFrame.new(0, 0, 0, -0.6236341, -1.06015712e-08, -0.781716406, 2.65381814e-08, 1, -3.47334179e-08, 0.781716406, -4.24062776e-08, -0.6236341)
  619. o82.C1 = CFrame.new(0, 0, 0, -0.6236341, -1.06015712e-08, -0.781716406, 2.65381814e-08, 1, -3.47334179e-08, 0.781716406, -4.24062776e-08, -0.6236341)
  620. o82.Part0 = o4
  621. o82.Part1 = o4
  622. o83.Parent = o4
  623. o83.C0 = CFrame.new(0, 0, 0, 0.739771485, 0.241566584, -0.627999306, -0.627456129, -0.0893630981, -0.77350533, -0.242974013, 0.96625948, 0.0854646564)
  624. o83.C1 = CFrame.new(0, 0, 0, 0.739771485, 0.241566584, -0.627999306, -0.627456129, -0.0893630981, -0.77350533, -0.242974013, 0.96625948, 0.0854646564)
  625. o83.Part0 = o4
  626. o83.Part1 = o4
  627. o84.Parent = o4
  628. o84.C0 = CFrame.new(0, 0, 0, 0.739771485, 0.241566584, -0.627999306, -0.627456129, -0.0893630981, -0.77350533, -0.242974013, 0.96625948, 0.0854646564)
  629. o84.C1 = CFrame.new(0, 0, 0, 0.739771485, 0.241566584, -0.627999306, -0.627456129, -0.0893630981, -0.77350533, -0.242974013, 0.96625948, 0.0854646564)
  630. o84.Part0 = o4
  631. o84.Part1 = o4
  632. o85.Parent = o4
  633. o85.C0 = CFrame.new(0, 0, 0, 0.637348294, -1.0601565e-08, -0.770575881, 3.94341519e-08, 1, 1.88582643e-08, 0.770575881, -4.24062847e-08, 0.637348294)
  634. o85.C1 = CFrame.new(0, 0, 0, 0.637348294, -1.0601565e-08, -0.770575881, 3.94341519e-08, 1, 1.88582643e-08, 0.770575881, -4.24062847e-08, 0.637348294)
  635. o85.Part0 = o4
  636. o85.Part1 = o4
  637. o86.Parent = o4
  638. o86.C0 = CFrame.new(0, 0, 0, 0.637348294, -1.0601565e-08, -0.770575881, 3.94341519e-08, 1, 1.88582643e-08, 0.770575881, -4.24062847e-08, 0.637348294)
  639. o86.C1 = CFrame.new(0, 0, 0, 0.637348294, -1.0601565e-08, -0.770575881, 3.94341519e-08, 1, 1.88582643e-08, 0.770575881, -4.24062847e-08, 0.637348294)
  640. o86.Part0 = o4
  641. o86.Part1 = o4
  642. o87.Parent = o4
  643. o87.C0 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  644. o87.C1 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  645. o87.Part0 = o4
  646. o87.Part1 = o4
  647. o88.Parent = o4
  648. o88.C0 = CFrame.new(0, 0, 0, 0.637348294, -1.0601565e-08, -0.770575881, 3.94341519e-08, 1, 1.88582643e-08, 0.770575881, -4.24062847e-08, 0.637348294)
  649. o88.C1 = CFrame.new(0, 0, 0, 0.637348294, -1.0601565e-08, -0.770575881, 3.94341519e-08, 1, 1.88582643e-08, 0.770575881, -4.24062847e-08, 0.637348294)
  650. o88.Part0 = o4
  651. o88.Part1 = o4
  652. o89.Parent = o4
  653. o89.C0 = CFrame.new(0, 0, 0, 0.970231116, 0.22658743, -0.0854966938, -0.164330289, 0.356634855, -0.919677675, -0.177896321, 0.906349599, 0.383253396)
  654. o89.C1 = CFrame.new(0, 0, 0, 0.970231116, 0.22658743, -0.0854966938, -0.164330289, 0.356634855, -0.919677675, -0.177896321, 0.906349599, 0.383253396)
  655. o89.Part0 = o4
  656. o89.Part1 = o4
  657. o90.Parent = o4
  658. o90.C0 = CFrame.new(0, 0, 0, 0.970231116, 0.22658743, -0.0854966938, -0.164330289, 0.356634855, -0.919677675, -0.177896321, 0.906349599, 0.383253396)
  659. o90.C1 = CFrame.new(0, 0, 0, 0.970231116, 0.22658743, -0.0854966938, -0.164330289, 0.356634855, -0.919677675, -0.177896321, 0.906349599, 0.383253396)
  660. o90.Part0 = o4
  661. o90.Part1 = o4
  662. o91.Parent = o4
  663. o91.C0 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  664. o91.C1 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  665. o91.Part0 = o4
  666. o91.Part1 = o4
  667. o92.Parent = o4
  668. o92.C0 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  669. o92.C1 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  670. o92.Part0 = o4
  671. o92.Part1 = o4
  672. o93.Parent = o4
  673. o93.C0 = CFrame.new(0, 0, 0, 0.424687147, -1.06015676e-08, 0.905340195, -3.38897514e-08, 1, 2.76074239e-08, -0.905340195, -4.2406274e-08, 0.424687147)
  674. o93.C1 = CFrame.new(0, 0, 0, 0.424687147, -1.06015676e-08, 0.905340195, -3.38897514e-08, 1, 2.76074239e-08, -0.905340195, -4.2406274e-08, 0.424687147)
  675. o93.Part0 = o4
  676. o93.Part1 = o4
  677. o94.Name = "EquipSound"
  678. o94.Parent = o4
  679. o94.SoundId = "http://www.roblox.com/asset/?id=10209881"
  680. o94.Volume = 1
  681. o95.Parent = o4
  682. o95.C0 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  683. o95.C1 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  684. o95.Part0 = o4
  685. o95.Part1 = o4
  686. o96.Parent = o4
  687. o96.C0 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  688. o96.C1 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  689. o96.Part0 = o4
  690. o96.Part1 = o4
  691. o97.Parent = o4
  692. o97.C0 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  693. o97.C1 = CFrame.new(0, 0, 0, 0.892214537, -1.06015756e-08, 0.451611787, -9.69230651e-09, 1, 4.26233129e-08, -0.451611787, -4.24062989e-08, 0.892214537)
  694. o97.Part0 = o4
  695. o97.Part1 = o4
  696. o98.Parent = o4
  697. o98.C0 = CFrame.new(0, 0, 0, 0.416392535, 0.24233681, 0.876293421, 0.908994138, -0.0912197903, -0.406704515, -0.0186241679, 0.965894282, -0.258266002)
  698. o98.C1 = CFrame.new(0, 0, 0, 0.416392535, 0.24233681, 0.876293421, 0.908994138, -0.0912197903, -0.406704515, -0.0186241679, 0.965894282, -0.258266002)
  699. o98.Part0 = o4
  700. o98.Part1 = o4
  701. o99.Parent = o4
  702. o99.C0 = CFrame.new(0, 0, 0, 0.416392535, 0.24233681, 0.876293421, 0.908994138, -0.0912197903, -0.406704515, -0.0186241679, 0.965894282, -0.258266002)
  703. o99.C1 = CFrame.new(0, 0, 0, 0.416392535, 0.24233681, 0.876293421, 0.908994138, -0.0912197903, -0.406704515, -0.0186241679, 0.965894282, -0.258266002)
  704. o99.Part0 = o4
  705. o99.Part1 = o4
  706. o100.Parent = o4
  707. o100.C0 = CFrame.new(0, 0, 0, 0.0765486956, -1.06015658e-08, -0.997065902, 4.30933866e-08, 1, -7.3243136e-09, 0.997065902, -4.2406274e-08, 0.0765486956)
  708. o100.C1 = CFrame.new(0, 0, 0, 0.0765486956, -1.06015658e-08, -0.997065902, 4.30933866e-08, 1, -7.3243136e-09, 0.997065902, -4.2406274e-08, 0.0765486956)
  709. o100.Part0 = o4
  710. o100.Part1 = o4
  711. o101.Parent = o4
  712. o101.C0 = CFrame.new(0, 0, 0, 0.424687147, -1.06015676e-08, 0.905340195, -3.38897514e-08, 1, 2.76074239e-08, -0.905340195, -4.2406274e-08, 0.424687147)
  713. o101.C1 = CFrame.new(0, 0, 0, 0.424687147, -1.06015676e-08, 0.905340195, -3.38897514e-08, 1, 2.76074239e-08, -0.905340195, -4.2406274e-08, 0.424687147)
  714. o101.Part0 = o4
  715. o101.Part1 = o4
  716. o102.Parent = o4
  717. o102.C0 = CFrame.new(0, 0, 0, 0.211377621, 0.209972769, -0.95458436, -0.861966848, 0.500487685, -0.0807805061, 0.460796118, 0.83989507, 0.286781311)
  718. o102.C1 = CFrame.new(0, 0, 0, 0.211377621, 0.209972769, -0.95458436, -0.861966848, 0.500487685, -0.0807805061, 0.460796118, 0.83989507, 0.286781311)
  719. o102.Part0 = o4
  720. o102.Part1 = o4
  721. o103.Parent = o4
  722. o103.C0 = CFrame.new(0, 0, 0, 0.211377621, 0.209972769, -0.95458436, -0.861966848, 0.500487685, -0.0807805061, 0.460796118, 0.83989507, 0.286781311)
  723. o103.C1 = CFrame.new(0, 0, 0, 0.211377621, 0.209972769, -0.95458436, -0.861966848, 0.500487685, -0.0807805061, 0.460796118, 0.83989507, 0.286781311)
  724. o103.Part0 = o4
  725. o103.Part1 = o4
  726. o104.Parent = o4
  727. o104.C0 = CFrame.new(0, 0, 0, -0.122727394, -1.06015712e-08, 0.992440403, -4.33868017e-08, 1, 5.31701794e-09, -0.992440403, -4.24062705e-08, -0.122727394)
  728. o104.C1 = CFrame.new(0, 0, 0, -0.122727394, -1.06015712e-08, 0.992440403, -4.33868017e-08, 1, 5.31701794e-09, -0.992440403, -4.24062705e-08, -0.122727394)
  729. o104.Part0 = o4
  730. o104.Part1 = o4
  731. o105.Parent = o4
  732. o105.C0 = CFrame.new(0, 0, 0, 0.0765486956, -1.06015658e-08, -0.997065902, 4.30933866e-08, 1, -7.3243136e-09, 0.997065902, -4.2406274e-08, 0.0765486956)
  733. o105.C1 = CFrame.new(0, 0, 0, 0.0765486956, -1.06015658e-08, -0.997065902, 4.30933866e-08, 1, -7.3243136e-09, 0.997065902, -4.2406274e-08, 0.0765486956)
  734. o105.Part0 = o4
  735. o105.Part1 = o4
  736. o106.Parent = o4
  737. o106.C0 = CFrame.new(0, 0, 0, -0.888999939, 0.226703003, 0.397850215, 0.455825925, 0.355383992, 0.816042244, 0.043609634, 0.906812012, -0.419273496)
  738. o106.C1 = CFrame.new(0, 0, 0, -0.888999939, 0.226703003, 0.397850215, 0.455825925, 0.355383992, 0.816042244, 0.043609634, 0.906812012, -0.419273496)
  739. o106.Part0 = o4
  740. o106.Part1 = o4
  741. o107.Parent = o4
  742. o107.C0 = CFrame.new(0, 0, 0, -0.888999939, 0.226703003, 0.397850215, 0.455825925, 0.355383992, 0.816042244, 0.043609634, 0.906812012, -0.419273496)
  743. o107.C1 = CFrame.new(0, 0, 0, -0.888999939, 0.226703003, 0.397850215, 0.455825925, 0.355383992, 0.816042244, 0.043609634, 0.906812012, -0.419273496)
  744. o107.Part0 = o4
  745. o107.Part1 = o4
  746. o108.Parent = o4
  747. o108.C0 = CFrame.new(0, 0, 0, -0.122727394, -1.06015712e-08, 0.992440403, -4.33868017e-08, 1, 5.31701794e-09, -0.992440403, -4.24062705e-08, -0.122727394)
  748. o108.C1 = CFrame.new(0, 0, 0, -0.122727394, -1.06015712e-08, 0.992440403, -4.33868017e-08, 1, 5.31701794e-09, -0.992440403, -4.24062705e-08, -0.122727394)
  749. o108.Part0 = o4
  750. o108.Part1 = o4
  751. o109.Parent = o4
  752. o109.C0 = CFrame.new(0, 0, 0, -0.122727394, -1.06015712e-08, 0.992440403, -4.33868017e-08, 1, 5.31701794e-09, -0.992440403, -4.24062705e-08, -0.122727394)
  753. o109.C1 = CFrame.new(0, 0, 0, -0.122727394, -1.06015712e-08, 0.992440403, -4.33868017e-08, 1, 5.31701794e-09, -0.992440403, -4.24062705e-08, -0.122727394)
  754. o109.Part0 = o4
  755. o109.Part1 = o4
  756. o110.Parent = o4
  757. o110.C0 = CFrame.new(0, 0, 0, -0.960865736, -1.06015694e-08, 0.277014911, -2.19338556e-08, 1, -3.78099436e-08, -0.277014911, -4.24062812e-08, -0.960865736)
  758. o110.C1 = CFrame.new(0, 0, 0, -0.960865736, -1.06015694e-08, 0.277014911, -2.19338556e-08, 1, -3.78099436e-08, -0.277014911, -4.24062812e-08, -0.960865736)
  759. o110.Part0 = o4
  760. o110.Part1 = o4
  761. o111.Name = "Flash"
  762. o111.Parent = o4
  763. o111.Color = Color3.new(1, 1, 0)
  764. o111.Enabled = false
  765. o111.Brightness = 1.5
  766. o111.Color = Color3.new(1, 1, 0)
  767. o112.Parent = o4
  768. o112.C0 = CFrame.new(0, 0, 0, -0.122727394, -1.06015712e-08, 0.992440403, -4.33868017e-08, 1, 5.31701794e-09, -0.992440403, -4.24062705e-08, -0.122727394)
  769. o112.C1 = CFrame.new(0, 0, 0, -0.122727394, -1.06015712e-08, 0.992440403, -4.33868017e-08, 1, 5.31701794e-09, -0.992440403, -4.24062705e-08, -0.122727394)
  770. o112.Part0 = o4
  771. o112.Part1 = o4
  772. o113.Parent = o4
  773. o113.C0 = CFrame.new(0, 0, 0, -0.893972635, 0.241426498, 0.37752676, 0.365251452, -0.0955277681, 0.925994515, 0.259623885, 0.965705872, -0.00278222561)
  774. o113.C1 = CFrame.new(0, 0, 0, -0.893972635, 0.241426498, 0.37752676, 0.365251452, -0.0955277681, 0.925994515, 0.259623885, 0.965705872, -0.00278222561)
  775. o113.Part0 = o4
  776. o113.Part1 = o4
  777. o114.Parent = o4
  778. o114.C0 = CFrame.new(0, 0, 0, -0.893972635, 0.241426498, 0.37752676, 0.365251452, -0.0955277681, 0.925994515, 0.259623885, 0.965705872, -0.00278222561)
  779. o114.C1 = CFrame.new(0, 0, 0, -0.893972635, 0.241426498, 0.37752676, 0.365251452, -0.0955277681, 0.925994515, 0.259623885, 0.965705872, -0.00278222561)
  780. o114.Part0 = o4
  781. o114.Part1 = o4
  782. o115.Parent = o4
  783. o115.C0 = CFrame.new(0, 0, 0, -0.99243784, -5.28567723e-09, 0.122753069, -5.12532283e-09, 1, 1.62208491e-09, -0.122753069, 9.80668657e-10, -0.99243784)
  784. o115.C1 = CFrame.new(0, 0, 0, -0.99243784, -5.28567723e-09, 0.122753069, -5.12532283e-09, 1, 1.62208491e-09, -0.122753069, 9.80668657e-10, -0.99243784)
  785. o115.Part0 = o4
  786. o115.Part1 = o4
  787. o116.Parent = o4
  788. o116.C0 = CFrame.new(0, 0, 0, -0.960865736, -1.06015694e-08, 0.277014911, -2.19338556e-08, 1, -3.78099436e-08, -0.277014911, -4.24062812e-08, -0.960865736)
  789. o116.C1 = CFrame.new(0, 0, 0, -0.960865736, -1.06015694e-08, 0.277014911, -2.19338556e-08, 1, -3.78099436e-08, -0.277014911, -4.24062812e-08, -0.960865736)
  790. o116.Part0 = o4
  791. o116.Part1 = o4
  792. o117.Parent = o4
  793. o117.C0 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593543e-08, 1, 2.97133411e-08, -0.87640065, -4.24062705e-08, 0.481582642)
  794. o117.C1 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593543e-08, 1, 2.97133411e-08, -0.87640065, -4.24062705e-08, 0.481582642)
  795. o117.Part0 = o4
  796. o117.Part1 = o4
  797. o118.Parent = o4
  798. o118.C0 = CFrame.new(0, 0, 0, -0.99243784, -5.28567723e-09, 0.122753069, -5.12532283e-09, 1, 1.62208491e-09, -0.122753069, 9.80668657e-10, -0.99243784)
  799. o118.C1 = CFrame.new(0, 0, 0, -0.99243784, -5.28567723e-09, 0.122753069, -5.12532283e-09, 1, 1.62208491e-09, -0.122753069, 9.80668657e-10, -0.99243784)
  800. o118.Part0 = o4
  801. o118.Part1 = o4
  802. o119.Parent = o4
  803. o119.C0 = CFrame.new(0, 0, 0, 0.508823752, 0.240664184, 0.82654655, 0.859470189, -0.0872690454, -0.5036816, -0.0490862019, 0.966677189, -0.25124827)
  804. o119.C1 = CFrame.new(0, 0, 0, 0.508823752, 0.240664184, 0.82654655, 0.859470189, -0.0872690454, -0.5036816, -0.0490862019, 0.966677189, -0.25124827)
  805. o119.Part0 = o4
  806. o119.Part1 = o4
  807. o120.Parent = o4
  808. o120.C0 = CFrame.new(0, 0, 0, 0.508823752, 0.240664184, 0.82654655, 0.859470189, -0.0872690454, -0.5036816, -0.0490862019, 0.966677189, -0.25124827)
  809. o120.C1 = CFrame.new(0, 0, 0, 0.508823752, 0.240664184, 0.82654655, 0.859470189, -0.0872690454, -0.5036816, -0.0490862019, 0.966677189, -0.25124827)
  810. o120.Part0 = o4
  811. o120.Part1 = o4
  812. o121.Parent = o4
  813. o121.C0 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593578e-08, 1, 2.97133447e-08, -0.87640065, -4.2406274e-08, 0.481582642)
  814. o121.C1 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593578e-08, 1, 2.97133447e-08, -0.87640065, -4.2406274e-08, 0.481582642)
  815. o121.Part0 = o4
  816. o121.Part1 = o4
  817. o122.Parent = o4
  818. o122.C0 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593543e-08, 1, 2.97133411e-08, -0.87640065, -4.24062705e-08, 0.481582642)
  819. o122.C1 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593543e-08, 1, 2.97133411e-08, -0.87640065, -4.24062705e-08, 0.481582642)
  820. o122.Part0 = o4
  821. o122.Part1 = o4
  822. o123.Parent = o4
  823. o123.C0 = CFrame.new(0, 0, 0, 0.440834343, 0.24205479, 0.864334822, 0.882912993, 0.05648157, -0.466127276, -0.161647305, 0.96861726, -0.188814297)
  824. o123.C1 = CFrame.new(0, 0, 0, 0.440834343, 0.24205479, 0.864334822, 0.882912993, 0.05648157, -0.466127276, -0.161647305, 0.96861726, -0.188814297)
  825. o123.Part0 = o4
  826. o123.Part1 = o4
  827. o124.Parent = o4
  828. o124.C0 = CFrame.new(0, 0, 0, 0.440834343, 0.24205479, 0.864334822, 0.882912993, 0.05648157, -0.466127276, -0.161647305, 0.96861726, -0.188814297)
  829. o124.C1 = CFrame.new(0, 0, 0, 0.440834343, 0.24205479, 0.864334822, 0.882912993, 0.05648157, -0.466127276, -0.161647305, 0.96861726, -0.188814297)
  830. o124.Part0 = o4
  831. o124.Part1 = o4
  832. o125.Parent = o4
  833. o125.C0 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593578e-08, 1, 2.97133447e-08, -0.87640065, -4.2406274e-08, 0.481582642)
  834. o125.C1 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593578e-08, 1, 2.97133447e-08, -0.87640065, -4.2406274e-08, 0.481582642)
  835. o125.Part0 = o4
  836. o125.Part1 = o4
  837. o126.Parent = o4
  838. o126.C0 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593578e-08, 1, 2.97133447e-08, -0.87640065, -4.2406274e-08, 0.481582642)
  839. o126.C1 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593578e-08, 1, 2.97133447e-08, -0.87640065, -4.2406274e-08, 0.481582642)
  840. o126.Part0 = o4
  841. o126.Part1 = o4
  842. o127.Parent = o4
  843. o127.C0 = CFrame.new(0, 0, 0, 0.431576818, 0.241309613, 0.869201541, 0.879992723, 0.0992773771, -0.464496464, -0.198379517, 0.965356827, -0.169504881)
  844. o127.C1 = CFrame.new(0, 0, 0, 0.431576818, 0.241309613, 0.869201541, 0.879992723, 0.0992773771, -0.464496464, -0.198379517, 0.965356827, -0.169504881)
  845. o127.Part0 = o4
  846. o127.Part1 = o4
  847. o128.Parent = o4
  848. o128.C0 = CFrame.new(0, 0, 0, 0.431576818, 0.241309613, 0.869201541, 0.879992723, 0.0992773771, -0.464496464, -0.198379517, 0.965356827, -0.169504881)
  849. o128.C1 = CFrame.new(0, 0, 0, 0.431576818, 0.241309613, 0.869201541, 0.879992723, 0.0992773771, -0.464496464, -0.198379517, 0.965356827, -0.169504881)
  850. o128.Part0 = o4
  851. o128.Part1 = o4
  852. o129.Parent = o4
  853. o129.C0 = CFrame.new(0, 0, 0, -0.345152646, -1.06008979e-08, -0.938546658, 3.61429606e-08, 1, -2.45866723e-08, 0.938546658, -4.24080042e-08, -0.345152646)
  854. o129.C1 = CFrame.new(0, 0, 0, -0.345152646, -1.06008979e-08, -0.938546658, 3.61429606e-08, 1, -2.45866723e-08, 0.938546658, -4.24080042e-08, -0.345152646)
  855. o129.Part0 = o4
  856. o129.Part1 = o4
  857. o130.Parent = o4
  858. o130.C0 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593578e-08, 1, 2.97133447e-08, -0.87640065, -4.2406274e-08, 0.481582642)
  859. o130.C1 = CFrame.new(0, 0, 0, 0.481582642, -1.06015641e-08, 0.87640065, -3.20593578e-08, 1, 2.97133447e-08, -0.87640065, -4.2406274e-08, 0.481582642)
  860. o130.Part0 = o4
  861. o130.Part1 = o4
  862. o131.Parent = o4
  863. o131.C0 = CFrame.new(0, 0, 0, 0.432401925, 0.241402775, 0.868765414, 0.880327046, 0.0954214334, -0.464670986, -0.195071697, 0.965722322, -0.171252936)
  864. o131.C1 = CFrame.new(0, 0, 0, 0.432401925, 0.241402775, 0.868765414, 0.880327046, 0.0954214334, -0.464670986, -0.195071697, 0.965722322, -0.171252936)
  865. o131.Part0 = o4
  866. o131.Part1 = o4
  867. o132.Parent = o4
  868. o132.C0 = CFrame.new(0, 0, 0, 0.432401925, 0.241402775, 0.868765414, 0.880327046, 0.0954214334, -0.464670986, -0.195071697, 0.965722322, -0.171252936)
  869. o132.C1 = CFrame.new(0, 0, 0, 0.432401925, 0.241402775, 0.868765414, 0.880327046, 0.0954214334, -0.464670986, -0.195071697, 0.965722322, -0.171252936)
  870. o132.Part0 = o4
  871. o132.Part1 = o4
  872. o133.Parent = o4
  873. o133.C0 = CFrame.new(0, 0, 0, -0.740549207, -1.06015703e-08, 0.672001958, -3.63480872e-08, 1, -2.42796609e-08, -0.672001958, -4.2406274e-08, -0.740549207)
  874. o133.C1 = CFrame.new(0, 0, 0, -0.740549207, -1.06015703e-08, 0.672001958, -3.63480872e-08, 1, -2.42796609e-08, -0.672001958, -4.2406274e-08, -0.740549207)
  875. o133.Part0 = o4
  876. o133.Part1 = o4
  877. o134.Parent = o4
  878. o134.C0 = CFrame.new(0, 0, 0, -0.345152646, -1.06008979e-08, -0.938546658, 3.61429606e-08, 1, -2.45866723e-08, 0.938546658, -4.24080042e-08, -0.345152646)
  879. o134.C1 = CFrame.new(0, 0, 0, -0.345152646, -1.06008979e-08, -0.938546658, 3.61429606e-08, 1, -2.45866723e-08, 0.938546658, -4.24080042e-08, -0.345152646)
  880. o134.Part0 = o4
  881. o134.Part1 = o4
  882. o135.Parent = o4
  883. o135.C0 = CFrame.new(0, 0, 0, -0.96596837, 0.223809004, -0.129671052, -0.0345144495, 0.38530761, 0.922142565, 0.25634706, 0.895236075, -0.364470363)
  884. o135.C1 = CFrame.new(0, 0, 0, -0.96596837, 0.223809004, -0.129671052, -0.0345144495, 0.38530761, 0.922142565, 0.25634706, 0.895236075, -0.364470363)
  885. o135.Part0 = o4
  886. o135.Part1 = o4
  887. o136.Parent = o4
  888. o136.C0 = CFrame.new(0, 0, 0, -0.96596837, 0.223809004, -0.129671052, -0.0345144495, 0.38530761, 0.922142565, 0.25634706, 0.895236075, -0.364470363)
  889. o136.C1 = CFrame.new(0, 0, 0, -0.96596837, 0.223809004, -0.129671052, -0.0345144495, 0.38530761, 0.922142565, 0.25634706, 0.895236075, -0.364470363)
  890. o136.Part0 = o4
  891. o136.Part1 = o4
  892. o137.Parent = o4
  893. o137.C0 = CFrame.new(0, 0, 0, -0.740549207, -1.06015703e-08, 0.672001958, -3.63480872e-08, 1, -2.42796609e-08, -0.672001958, -4.2406274e-08, -0.740549207)
  894. o137.C1 = CFrame.new(0, 0, 0, -0.740549207, -1.06015703e-08, 0.672001958, -3.63480872e-08, 1, -2.42796609e-08, -0.672001958, -4.2406274e-08, -0.740549207)
  895. o137.Part0 = o4
  896. o137.Part1 = o4
  897. o138.Parent = o4
  898. o138.C0 = CFrame.new(0, 0, 0, -0.740549207, -1.06015703e-08, 0.672001958, -3.63480872e-08, 1, -2.42796609e-08, -0.672001958, -4.2406274e-08, -0.740549207)
  899. o138.C1 = CFrame.new(0, 0, 0, -0.740549207, -1.06015703e-08, 0.672001958, -3.63480872e-08, 1, -2.42796609e-08, -0.672001958, -4.2406274e-08, -0.740549207)
  900. o138.Part0 = o4
  901. o138.Part1 = o4
  902. o139.Parent = o4
  903. o139.C0 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  904. o139.C1 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  905. o139.Part0 = o4
  906. o139.Part1 = o4
  907. o140.Name = "Tick"
  908. o140.Parent = o4
  909. o140.SoundId = "rbxasset://sounds//clickfast.wav"
  910. o140.Volume = 1
  911. o141.Parent = o4
  912. o141.C0 = CFrame.new(0, 0, 0, -0.740549207, -1.06015703e-08, 0.672001958, -3.63480872e-08, 1, -2.42796609e-08, -0.672001958, -4.2406274e-08, -0.740549207)
  913. o141.C1 = CFrame.new(0, 0, 0, -0.740549207, -1.06015703e-08, 0.672001958, -3.63480872e-08, 1, -2.42796609e-08, -0.672001958, -4.2406274e-08, -0.740549207)
  914. o141.Part0 = o4
  915. o141.Part1 = o4
  916. o142.Parent = o4
  917. o142.C0 = CFrame.new(0, 0, 0, 0.931769192, 0.241410017, -0.271159291, -0.301032186, 0.0962312818, -0.948746085, -0.202942818, 0.965640068, 0.162337542)
  918. o142.C1 = CFrame.new(0, 0, 0, 0.931769192, 0.241410017, -0.271159291, -0.301032186, 0.0962312818, -0.948746085, -0.202942818, 0.965640068, 0.162337542)
  919. o142.Part0 = o4
  920. o142.Part1 = o4
  921. o143.Parent = o4
  922. o143.C0 = CFrame.new(0, 0, 0, 0.931769192, 0.241410017, -0.271159291, -0.301032186, 0.0962312818, -0.948746085, -0.202942818, 0.965640068, 0.162337542)
  923. o143.C1 = CFrame.new(0, 0, 0, 0.931769192, 0.241410017, -0.271159291, -0.301032186, 0.0962312818, -0.948746085, -0.202942818, 0.965640068, 0.162337542)
  924. o143.Part0 = o4
  925. o143.Part1 = o4
  926. o144.Parent = o4
  927. o144.C0 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  928. o144.C1 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  929. o144.Part0 = o4
  930. o144.Part1 = o4
  931. o145.Parent = o4
  932. o145.C0 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  933. o145.C1 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  934. o145.Part0 = o4
  935. o145.Part1 = o4
  936. o146.Parent = o4
  937. o146.C0 = CFrame.new(0, 0, 0, 0.488456905, -1.06015658e-08, -0.872588038, 4.21816253e-08, 1, 1.14628467e-08, 0.872588038, -4.24062918e-08, 0.488456905)
  938. o146.C1 = CFrame.new(0, 0, 0, 0.488456905, -1.06015658e-08, -0.872588038, 4.21816253e-08, 1, 1.14628467e-08, 0.872588038, -4.24062918e-08, 0.488456905)
  939. o146.Part0 = o4
  940. o146.Part1 = o4
  941. o147.Parent = o4
  942. o147.C0 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  943. o147.C1 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  944. o147.Part0 = o4
  945. o147.Part1 = o4
  946. o148.Parent = o4
  947. o148.C0 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  948. o148.C1 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  949. o148.Part0 = o4
  950. o148.Part1 = o4
  951. o149.Parent = o4
  952. o149.C0 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  953. o149.C1 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  954. o149.Part0 = o4
  955. o149.Part1 = o4
  956. o150.Parent = o4
  957. o150.C0 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  958. o150.C1 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  959. o150.Part0 = o4
  960. o150.Part1 = o4
  961. o151.Parent = o4
  962. o151.C0 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  963. o151.C1 = CFrame.new(0, 0, 0, 0.283995211, -1.06015703e-08, 0.958825707, -3.7649432e-08, 1, 2.2208237e-08, -0.958825707, -4.2406274e-08, 0.283995211)
  964. o151.Part0 = o4
  965. o151.Part1 = o4
  966. o152.Parent = o4
  967. o152.C0 = CFrame.new(0, 0, 0, 0.550402939, 0.241576076, -0.799181223, -0.807464361, -0.0893173218, -0.583100915, -0.212251902, 0.966253757, 0.145908892)
  968. o152.C1 = CFrame.new(0, 0, 0, 0.550402939, 0.241576076, -0.799181223, -0.807464361, -0.0893173218, -0.583100915, -0.212251902, 0.966253757, 0.145908892)
  969. o152.Part0 = o4
  970. o152.Part1 = o4
  971. o153.Parent = o4
  972. o153.C0 = CFrame.new(0, 0, 0, 0.550402939, 0.241576076, -0.799181223, -0.807464361, -0.0893173218, -0.583100915, -0.212251902, 0.966253757, 0.145908892)
  973. o153.C1 = CFrame.new(0, 0, 0, 0.550402939, 0.241576076, -0.799181223, -0.807464361, -0.0893173218, -0.583100915, -0.212251902, 0.966253757, 0.145908892)
  974. o153.Part0 = o4
  975. o153.Part1 = o4
  976. o154.Parent = o4
  977. o154.C0 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  978. o154.C1 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  979. o154.Part0 = o4
  980. o154.Part1 = o4
  981. o155.Parent = o4
  982. o155.C0 = CFrame.new(0, 0, 0, 0.488456905, -1.06015658e-08, -0.872588038, 4.21816253e-08, 1, 1.14628467e-08, 0.872588038, -4.24062918e-08, 0.488456905)
  983. o155.C1 = CFrame.new(0, 0, 0, 0.488456905, -1.06015658e-08, -0.872588038, 4.21816253e-08, 1, 1.14628467e-08, 0.872588038, -4.24062918e-08, 0.488456905)
  984. o155.Part0 = o4
  985. o155.Part1 = o4
  986. o156.Parent = o4
  987. o156.C0 = CFrame.new(0, 0, 0, -0.999792814, 0.000193124884, 0.0203424357, 0.000208799393, 0.999999702, 0.00076841109, -0.0203422792, 0.000772499596, -0.999792576)
  988. o156.C1 = CFrame.new(0, 0, 0, -0.999792814, 0.000193124884, 0.0203424357, 0.000208799393, 0.999999702, 0.00076841109, -0.0203422792, 0.000772499596, -0.999792576)
  989. o156.Part0 = o4
  990. o156.Part1 = o4
  991. o157.Parent = o4
  992. o157.C0 = CFrame.new(0, 0, 0, -0.999792814, 0.000193124884, 0.0203424357, 0.000208799393, 0.999999702, 0.00076841109, -0.0203422792, 0.000772499596, -0.999792576)
  993. o157.C1 = CFrame.new(0, 0, 0, -0.999792814, 0.000193124884, 0.0203424357, 0.000208799393, 0.999999702, 0.00076841109, -0.0203422792, 0.000772499596, -0.999792576)
  994. o157.Part0 = o4
  995. o157.Part1 = o4
  996. o158.Parent = o4
  997. o158.C0 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  998. o158.C1 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  999. o158.Part0 = o4
  1000. o158.Part1 = o4
  1001. o159.Parent = o4
  1002. o159.C0 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  1003. o159.C1 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  1004. o159.Part0 = o4
  1005. o159.Part1 = o4
  1006. o160.Parent = o4
  1007. o160.C0 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  1008. o160.C1 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  1009. o160.Part0 = o4
  1010. o160.Part1 = o4
  1011. o161.Parent = o4
  1012. o161.C0 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  1013. o161.C1 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  1014. o161.Part0 = o4
  1015. o161.Part1 = o4
  1016. o162.Parent = o4
  1017. o162.C0 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  1018. o162.C1 = CFrame.new(0, 0, 0, 0.377652228, -1.06015676e-08, -0.925947487, 4.32696936e-08, 1, 6.19832718e-09, 0.925947487, -4.24062776e-08, 0.377652228)
  1019. o162.Part0 = o4
  1020. o162.Part1 = o4
  1021. o164.Name = "Recoil"
  1022. o164.Parent = o1
  1023. o164.AnimationId = "http://www.roblox.com/Asset?ID=94331086"
  1024. o165.Name = "M1928"
  1025. o165.Parent = o1
  1026. table.insert(cors,coroutine.create(function()
  1027. wait()
  1028. runDummyScript(function()
  1029. --------------------- TEMPLATE ASSAULT RIFLE WEAPON ---------------------------
  1030. -- Waits for the child of the specified parent
  1031. local function WaitForChild(parent, childName)
  1032. while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
  1033. return parent[childName]
  1034. end
  1035.  
  1036. ----- MAGIC NUMBERS ABOUT THE TOOL -----
  1037. -- How much damage a bullet does
  1038. local Damage = 40
  1039. -- How many times per second the gun can fire
  1040. local FireRate = 1 / 13
  1041. -- The maximum distance the can can shoot, this value should never go above 1000
  1042. local Range = 400
  1043. -- In radians the minimum accuracy penalty
  1044. local MinSpread = 0.008
  1045. -- In radian the maximum accuracy penalty
  1046. local MaxSpread = 0.1
  1047. -- Number of bullets in a clip
  1048. local ClipSize = 30
  1049. -- DefaultValue for spare ammo
  1050. local SpareAmmo = math.huge
  1051. -- The amount the aim will increase or decrease by
  1052. -- decreases this number reduces the speed that recoil takes effect
  1053. local AimInaccuracyStepAmount = 0.013
  1054. -- Time it takes to reload weapon
  1055. local ReloadTime = 2.3
  1056. ----------------------------------------
  1057.  
  1058. -- Colors
  1059. local FriendlyReticleColor = Color3.new(0, 1, 0)
  1060. local EnemyReticleColor = Color3.new(1, 0, 0)
  1061. local NeutralReticleColor = Color3.new(1, 1, 1)
  1062.  
  1063. local Spread = MinSpread
  1064. local AmmoInClip = ClipSize
  1065.  
  1066. local Tool = script.Parent
  1067. local Handle = WaitForChild(Tool, 'Handle')
  1068. local WeaponGui = nil
  1069.  
  1070. local LeftButtonDown
  1071. local Reloading = false
  1072. local IsShooting = false
  1073.  
  1074. -- Player specific convenience variables
  1075. local MyPlayer = nil
  1076. local MyCharacter = nil
  1077. local MyHumanoid = nil
  1078. local MyTorso = nil
  1079. local MyMouse = nil
  1080.  
  1081. local RecoilAnim
  1082. local RecoilTrack = nil
  1083.  
  1084. local IconURL = Tool.TextureId -- URL to the weapon icon asset
  1085.  
  1086. local DebrisService = game:GetService('Debris')
  1087. local PlayersService = game:GetService('Players')
  1088.  
  1089.  
  1090. local FireSound
  1091.  
  1092. local OnFireConnection = nil
  1093. local OnReloadConnection = nil
  1094.  
  1095. local DecreasedAimLastShot = false
  1096. local LastSpreadUpdate = time()
  1097.  
  1098. -- this is a dummy object that holds the flash made when the gun is fired
  1099. local FlashHolder = nil
  1100.  
  1101.  
  1102. local WorldToCellFunction = Workspace.Terrain.WorldToCellPreferSolid
  1103. local GetCellFunction = Workspace.Terrain.GetCell
  1104.  
  1105. function RayIgnoreCheck(hit, pos)
  1106. if hit then
  1107. if hit.Transparency >= 1 or string.lower(hit.Name) == "water" or
  1108. hit.Name == "Effect" or hit.Name == "Rocket" or hit.Name == "Bullet" or
  1109. hit.Name == "Handle" or hit:IsDescendantOf(MyCharacter) then
  1110. return true
  1111. elseif hit:IsA('Terrain') and pos then
  1112. local cellPos = WorldToCellFunction(Workspace.Terrain, pos)
  1113. if cellPos then
  1114. local cellMat = GetCellFunction(Workspace.Terrain, cellPos.x, cellPos.y, cellPos.z)
  1115. if cellMat and cellMat == Enum.CellMaterial.Water then
  1116. return true
  1117. end
  1118. end
  1119. end
  1120. end
  1121. return false
  1122. end
  1123.  
  1124. -- @preconditions: vec should be a unit vector, and 0 < rayLength <= 1000
  1125. function RayCast(startPos, vec, rayLength)
  1126. local hitObject, hitPos = game.Workspace:FindPartOnRay(Ray.new(startPos + (vec * .01), vec * rayLength), Handle)
  1127. if hitObject and hitPos then
  1128. local distance = rayLength - (hitPos - startPos).magnitude
  1129. if RayIgnoreCheck(hitObject, hitPos) and distance > 0 then
  1130. -- there is a chance here for potential infinite recursion
  1131. return RayCast(hitPos, vec, distance)
  1132. end
  1133. end
  1134. return hitObject, hitPos
  1135. end
  1136.  
  1137.  
  1138.  
  1139. function TagHumanoid(humanoid, player)
  1140. -- Add more tags here to customize what tags are available.
  1141. while humanoid:FindFirstChild('creator') do
  1142. humanoid:FindFirstChild('creator'):Destroy()
  1143. end
  1144. local creatorTag = Instance.new("ObjectValue")
  1145. creatorTag.Value = player
  1146. creatorTag.Name = "creator"
  1147. creatorTag.Parent = humanoid
  1148. DebrisService:AddItem(creatorTag, 1.5)
  1149.  
  1150. local weaponIconTag = Instance.new("StringValue")
  1151. weaponIconTag.Value = IconURL
  1152. weaponIconTag.Name = "icon"
  1153. weaponIconTag.Parent = creatorTag
  1154. end
  1155.  
  1156.  
  1157. local function CreateBullet(bulletPos)
  1158. local bullet = Instance.new('Part', Workspace)
  1159. bullet.FormFactor = Enum.FormFactor.Custom
  1160. bullet.Size = Vector3.new(0.1, 0.1, 0.1)
  1161. bullet.BrickColor = BrickColor.new("Black")
  1162. bullet.Shape = Enum.PartType.Block
  1163. bullet.CanCollide = false
  1164. bullet.CFrame = CFrame.new(bulletPos)
  1165. bullet.Anchored = true
  1166. bullet.TopSurface = Enum.SurfaceType.Smooth
  1167. bullet.BottomSurface = Enum.SurfaceType.Smooth
  1168. bullet.Name = 'Bullet'
  1169. DebrisService:AddItem(bullet, 2.5)
  1170. return bullet
  1171. end
  1172.  
  1173. local function Reload()
  1174. if not Reloading then
  1175. Reloading = true
  1176. -- Don't reload if you are already full or have no extra ammo
  1177. if AmmoInClip ~= ClipSize and SpareAmmo > 0 then
  1178. if RecoilTrack then
  1179. RecoilTrack:Stop()
  1180. end
  1181. if WeaponGui and WeaponGui:FindFirstChild('Crosshair') then
  1182. if WeaponGui.Crosshair:FindFirstChild('ReloadingLabel') then
  1183. WeaponGui.Crosshair.ReloadingLabel.Visible = true
  1184. end
  1185. end
  1186. script.Parent.Handle.Reload:Play()
  1187. wait(ReloadTime)
  1188. -- Only use as much ammo as you have
  1189. local ammoToUse = math.min(ClipSize - AmmoInClip, SpareAmmo)
  1190. AmmoInClip = AmmoInClip + ammoToUse
  1191. SpareAmmo = SpareAmmo - ammoToUse
  1192. UpdateAmmo(AmmoInClip)
  1193. WeaponGui.Reload.Visible = false
  1194. end
  1195. Reloading = false
  1196. end
  1197. end
  1198.  
  1199. function OnFire()
  1200. if IsShooting then return end
  1201. if MyHumanoid and MyHumanoid.Health > 0 then
  1202. if RecoilTrack and AmmoInClip > 0 then
  1203. RecoilTrack:Play()
  1204. end
  1205. IsShooting = true
  1206. while LeftButtonDown and AmmoInClip > 0 and not Reloading do
  1207. if Spread and not DecreasedAimLastShot then
  1208. Spread = math.min(MaxSpread, Spread + AimInaccuracyStepAmount)
  1209. UpdateCrosshair(Spread)
  1210. end
  1211. DecreasedAimLastShot = not DecreasedAimLastShot
  1212. if Handle:FindFirstChild('FireSound') then
  1213. Handle.FireSound:Play()
  1214. Handle.Flash.Enabled = true
  1215. end
  1216. if MyMouse then
  1217. local targetPoint = MyMouse.Hit.p
  1218. local shootDirection = (targetPoint - Handle.Position).unit
  1219. -- Adjust the shoot direction randomly off by a little bit to account for recoil
  1220. shootDirection = CFrame.Angles((0.5 - math.random()) * 2 * Spread,
  1221. (0.5 - math.random()) * 2 * Spread,
  1222. (0.5 - math.random()) * 2 * Spread) * shootDirection
  1223. local hitObject, bulletPos = RayCast(Handle.Position, shootDirection, Range)
  1224. local bullet
  1225. -- Create a bullet here
  1226. if hitObject then
  1227. bullet = CreateBullet(bulletPos)
  1228. end
  1229. if hitObject and hitObject.Parent then
  1230. local hitHumanoid = hitObject.Parent:FindFirstChild("Humanoid")
  1231. if hitHumanoid then
  1232. local hitPlayer = game.Players:GetPlayerFromCharacter(hitHumanoid.Parent)
  1233. if MyPlayer.Neutral or hitPlayer then
  1234. TagHumanoid(hitHumanoid, MyPlayer)
  1235. hitHumanoid:TakeDamage(Damage)
  1236. if bullet then
  1237. bullet:Destroy()
  1238. bullet = nil
  1239. --bullet.Transparency = 1
  1240. end
  1241. Spawn(UpdateTargetHit)
  1242. end
  1243. end
  1244. end
  1245.  
  1246. AmmoInClip = AmmoInClip - 1
  1247. UpdateAmmo(AmmoInClip)
  1248. end
  1249. wait(FireRate)
  1250. end
  1251. Handle.Flash.Enabled = false
  1252. IsShooting = false
  1253. if AmmoInClip == 0 then
  1254. Handle.Tick:Play()
  1255. WeaponGui.Reload.Visible = true
  1256. end
  1257. if RecoilTrack then
  1258. RecoilTrack:Stop()
  1259. end
  1260. end
  1261. end
  1262.  
  1263. local TargetHits = 0
  1264. function UpdateTargetHit()
  1265. TargetHits = TargetHits + 1
  1266. if WeaponGui and WeaponGui:FindFirstChild('Crosshair') and WeaponGui.Crosshair:FindFirstChild('TargetHitImage') then
  1267. WeaponGui.Crosshair.TargetHitImage.Visible = true
  1268. end
  1269. wait(0.5)
  1270. TargetHits = TargetHits - 1
  1271. if TargetHits == 0 and WeaponGui and WeaponGui:FindFirstChild('Crosshair') and WeaponGui.Crosshair:FindFirstChild('TargetHitImage') then
  1272. WeaponGui.Crosshair.TargetHitImage.Visible = false
  1273. end
  1274. end
  1275.  
  1276. function UpdateCrosshair(value, mouse)
  1277. if WeaponGui then
  1278. local absoluteY = 650
  1279. WeaponGui.Crosshair:TweenSize(
  1280. UDim2.new(0, value * absoluteY * 2 + 23, 0, value * absoluteY * 2 + 23),
  1281. Enum.EasingDirection.Out,
  1282. Enum.EasingStyle.Linear,
  1283. 0.33)
  1284. end
  1285. end
  1286.  
  1287. function UpdateAmmo(value)
  1288. if WeaponGui and WeaponGui:FindFirstChild('AmmoHud') and WeaponGui.AmmoHud:FindFirstChild('ClipAmmo') then
  1289. WeaponGui.AmmoHud.ClipAmmo.Text = AmmoInClip
  1290. if value > 0 and WeaponGui:FindFirstChild('Crosshair') and WeaponGui.Crosshair:FindFirstChild('ReloadingLabel') then
  1291. WeaponGui.Crosshair.ReloadingLabel.Visible = false
  1292. end
  1293. end
  1294. if WeaponGui and WeaponGui:FindFirstChild('AmmoHud') and WeaponGui.AmmoHud:FindFirstChild('TotalAmmo') then
  1295. WeaponGui.AmmoHud.TotalAmmo.Text = SpareAmmo
  1296. end
  1297. end
  1298.  
  1299.  
  1300. function OnMouseDown()
  1301. LeftButtonDown = true
  1302. OnFire()
  1303. end
  1304.  
  1305. function OnMouseUp()
  1306. LeftButtonDown = false
  1307. end
  1308.  
  1309. function OnKeyDown(key)
  1310. if string.lower(key) == 'r' then
  1311. Reload()
  1312. end
  1313. end
  1314.  
  1315.  
  1316. function OnEquipped(mouse)
  1317. Handle.EquipSound:Play()
  1318. RecoilAnim = WaitForChild(Tool, 'Recoil')
  1319. FireSound = WaitForChild(Handle, 'FireSound')
  1320.  
  1321. MyCharacter = Tool.Parent
  1322. MyPlayer = game:GetService('Players'):GetPlayerFromCharacter(MyCharacter)
  1323. MyHumanoid = MyCharacter:FindFirstChild('Humanoid')
  1324. MyTorso = MyCharacter:FindFirstChild('Torso')
  1325. MyMouse = mouse
  1326. WeaponGui = WaitForChild(Tool, 'WeaponHud'):Clone()
  1327. if WeaponGui and MyPlayer then
  1328. WeaponGui.Parent = MyPlayer.PlayerGui
  1329. UpdateAmmo(AmmoInClip)
  1330. end
  1331. if RecoilAnim then
  1332. RecoilTrack = MyHumanoid:LoadAnimation(RecoilAnim)
  1333. end
  1334.  
  1335. if MyMouse then
  1336. -- Disable mouse icon
  1337. MyMouse.Icon = "http://www.roblox.com/asset/?id=18662154"
  1338. MyMouse.Button1Down:connect(OnMouseDown)
  1339. MyMouse.Button1Up:connect(OnMouseUp)
  1340. MyMouse.KeyDown:connect(OnKeyDown)
  1341. end
  1342. end
  1343.  
  1344.  
  1345. -- Unequip logic here
  1346. function OnUnequipped()
  1347. LeftButtonDown = false
  1348. Reloading = false
  1349. MyCharacter = nil
  1350. MyHumanoid = nil
  1351. MyTorso = nil
  1352. MyPlayer = nil
  1353. MyMouse = nil
  1354. if OnFireConnection then
  1355. OnFireConnection:disconnect()
  1356. end
  1357. if OnReloadConnection then
  1358. OnReloadConnection:disconnect()
  1359. end
  1360. if FlashHolder then
  1361. FlashHolder = nil
  1362. end
  1363. if WeaponGui then
  1364. WeaponGui.Parent = nil
  1365. WeaponGui = nil
  1366. end
  1367. if RecoilTrack then
  1368. RecoilTrack:Stop()
  1369. end
  1370. end
  1371.  
  1372. local function SetReticleColor(color)
  1373. if WeaponGui and WeaponGui:FindFirstChild('Crosshair') then
  1374. for _, line in pairs(WeaponGui.Crosshair:GetChildren()) do
  1375. if line:IsA('Frame') then
  1376. line.BorderColor3 = color
  1377. end
  1378. end
  1379. end
  1380. end
  1381.  
  1382.  
  1383. Tool.Equipped:connect(OnEquipped)
  1384. Tool.Unequipped:connect(OnUnequipped)
  1385.  
  1386. while true do
  1387. wait(0.033)
  1388. if WeaponGui and WeaponGui:FindFirstChild('Crosshair') and MyMouse then
  1389. WeaponGui.Crosshair.Position = UDim2.new(0, MyMouse.X, 0, MyMouse.Y)
  1390. SetReticleColor(NeutralReticleColor)
  1391.  
  1392. local target = MyMouse.Target
  1393. if target and target.Parent then
  1394. local player = PlayersService:GetPlayerFromCharacter(target.Parent)
  1395. if player then
  1396. if MyPlayer.Neutral or player.TeamColor ~= MyPlayer.TeamColor then
  1397. SetReticleColor(EnemyReticleColor)
  1398. else
  1399. SetReticleColor(FriendlyReticleColor)
  1400. end
  1401. end
  1402. end
  1403. end
  1404. if Spread and not IsShooting then
  1405. local currTime = time()
  1406. if currTime - LastSpreadUpdate > FireRate * 2 then
  1407. LastSpreadUpdate = currTime
  1408. Spread = math.max(MinSpread, Spread - AimInaccuracyStepAmount)
  1409. UpdateCrosshair(Spread, MyMouse)
  1410. end
  1411. end
  1412. end
  1413.  
  1414. end,o165)
  1415. end))
  1416. o166.Name = "WeaponHud"
  1417. o166.Parent = o1
  1418. o167.Name = "AmmoHud"
  1419. o167.Parent = o166
  1420. o167.Position = UDim2.new(1,-265,1,-60)
  1421. o167.Size = UDim2.new(0,200,0,50)
  1422. o167.Style = Enum.FrameStyle.RobloxSquare
  1423. o167.Position = UDim2.new(1,-265,1,-60)
  1424. o167.BackgroundTransparency = 1
  1425. o167.BorderSizePixel = 0
  1426. o168.Name = "ForwardSlash"
  1427. o168.Parent = o167
  1428. o168.Position = UDim2.new(0.5,0,0.5,0)
  1429. o168.Text = "/"
  1430. o168.Position = UDim2.new(0.5,0,0.5,0)
  1431. o168.BackgroundTransparency = 1
  1432. o168.BorderSizePixel = 0
  1433. o168.FontSize = Enum.FontSize.Size24
  1434. o168.TextColor3 = Color3.new(1, 1, 1)
  1435. o168.TextStrokeTransparency = 0
  1436. o169.Name = "ClipAmmo"
  1437. o169.Parent = o167
  1438. o169.Position = UDim2.new(0.44999998807907,0,0.5,0)
  1439. o169.Text = "54"
  1440. o169.Position = UDim2.new(0.44999998807907,0,0.5,0)
  1441. o169.BackgroundTransparency = 1
  1442. o169.BorderSizePixel = 0
  1443. o169.FontSize = Enum.FontSize.Size24
  1444. o169.TextColor3 = Color3.new(1, 1, 1)
  1445. o169.TextStrokeTransparency = 0
  1446. o169.TextXAlignment = Enum.TextXAlignment.Right
  1447. o170.Name = "TotalAmmo"
  1448. o170.Parent = o167
  1449. o170.Position = UDim2.new(0.55000001192093,0,0.5,0)
  1450. o170.Text = "180"
  1451. o170.Position = UDim2.new(0.55000001192093,0,0.5,0)
  1452. o170.BackgroundTransparency = 1
  1453. o170.BorderSizePixel = 0
  1454. o170.FontSize = Enum.FontSize.Size24
  1455. o170.TextColor3 = Color3.new(1, 1, 1)
  1456. o170.TextStrokeTransparency = 0
  1457. o170.TextXAlignment = Enum.TextXAlignment.Left
  1458. o171.Name = "Crosshair"
  1459. o171.Parent = o166
  1460. o171.Position = UDim2.new(0,500,0,500)
  1461. o171.Size = UDim2.new(0,150,0,150)
  1462. o171.Position = UDim2.new(0,500,0,500)
  1463. o171.BackgroundColor3 = Color3.new(0, 1, 0)
  1464. o171.BackgroundTransparency = 1
  1465. o171.BorderSizePixel = 0
  1466. o172.Name = "TopFrame"
  1467. o172.Parent = o171
  1468. o172.Position = UDim2.new(0,-1,-0.5,-7)
  1469. o172.Size = UDim2.new(0,2,0,14)
  1470. o172.Position = UDim2.new(0,-1,-0.5,-7)
  1471. o172.BackgroundColor3 = Color3.new(1, 1, 1)
  1472. o172.BorderColor3 = Color3.new(0, 0, 0)
  1473. o173.Name = "RightFrame"
  1474. o173.Parent = o171
  1475. o173.Position = UDim2.new(0.5,-7,0,-1)
  1476. o173.Size = UDim2.new(0,14,0,2)
  1477. o173.Position = UDim2.new(0.5,-7,0,-1)
  1478. o173.BackgroundColor3 = Color3.new(1, 1, 1)
  1479. o173.BorderColor3 = Color3.new(0, 0, 0)
  1480. o174.Name = "LeftFrame"
  1481. o174.Parent = o171
  1482. o174.Position = UDim2.new(-0.5,-7,0,-1)
  1483. o174.Size = UDim2.new(0,14,0,2)
  1484. o174.Position = UDim2.new(-0.5,-7,0,-1)
  1485. o174.BackgroundColor3 = Color3.new(1, 1, 1)
  1486. o174.BorderColor3 = Color3.new(0, 0, 0)
  1487. o175.Name = "TargetHitImage"
  1488. o175.Parent = o171
  1489. o175.Position = UDim2.new(0,-25,0,-25)
  1490. o175.Size = UDim2.new(0,50,0,50)
  1491. o175.Position = UDim2.new(0,-25,0,-25)
  1492. o175.Visible = false
  1493. o175.BackgroundTransparency = 1
  1494. o175.BorderSizePixel = 0
  1495. o175.Image = "http://www.roblox.com/asset/?id=115400215"
  1496. o176.Name = "ReloadingLabel"
  1497. o176.Parent = o171
  1498. o176.Position = UDim2.new(0,20,0,-20)
  1499. o176.Text = "Reloading"
  1500. o176.Position = UDim2.new(0,20,0,-20)
  1501. o176.Visible = false
  1502. o176.BackgroundTransparency = 1
  1503. o176.BorderSizePixel = 0
  1504. o176.Font = Enum.Font.ArialBold
  1505. o176.FontSize = Enum.FontSize.Size18
  1506. o176.TextColor3 = Color3.new(1, 1, 1)
  1507. o176.TextStrokeTransparency = 0
  1508. o176.TextXAlignment = Enum.TextXAlignment.Left
  1509. o176.TextYAlignment = Enum.TextYAlignment.Bottom
  1510. o177.Name = "BottomFrame"
  1511. o177.Parent = o171
  1512. o177.Position = UDim2.new(0,-1,0.5,-7)
  1513. o177.Size = UDim2.new(0,2,0,14)
  1514. o177.Position = UDim2.new(0,-1,0.5,-7)
  1515. o177.BackgroundColor3 = Color3.new(1, 1, 1)
  1516. o177.BorderColor3 = Color3.new(0, 0, 0)
  1517. o178.Name = "Reload"
  1518. o178.Parent = o166
  1519. o178.Position = UDim2.new(1,-265,1,-120)
  1520. o178.Size = UDim2.new(0,200,0,50)
  1521. o178.Position = UDim2.new(1,-265,1,-120)
  1522. o178.Visible = false
  1523. o178.BackgroundTransparency = 1
  1524. o178.BorderSizePixel = 0
  1525. o179.Name = "Reload"
  1526. o179.Parent = o178
  1527. o179.Position = UDim2.new(0.5,0,0.5,0)
  1528. o179.Text = "Press R to Reload"
  1529. o179.Position = UDim2.new(0.5,0,0.5,0)
  1530. o179.BackgroundTransparency = 1
  1531. o179.BorderSizePixel = 0
  1532. o179.Font = Enum.Font.ArialBold
  1533. o179.FontSize = Enum.FontSize.Size24
  1534. o179.TextColor3 = Color3.new(1, 0, 0)
  1535. o179.TextStrokeTransparency = 0
  1536. o180.Name = "ArmWeld [Rifle]"
  1537. o180.Parent = o1
  1538. table.insert(cors,coroutine.create(function()
  1539. wait()
  1540. runDummyScript(function()
  1541. Tool = script.Parent;
  1542.  
  1543. local arms = nil
  1544. local torso = nil
  1545. local welds = {}
  1546.  
  1547. function Equip(mouse)
  1548. wait(0.01)
  1549. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  1550. torso = Tool.Parent:FindFirstChild("Torso")
  1551. if arms ~= nil and torso ~= nil then
  1552. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  1553. if sh ~= nil then
  1554. local yes = true
  1555. if yes then
  1556. yes = false
  1557. sh[1].Part1 = nil
  1558. sh[2].Part1 = nil
  1559. local weld1 = Instance.new("Weld")
  1560. weld1.Part0 = torso
  1561. weld1.Parent = torso
  1562. weld1.Part1 = arms[1]
  1563. weld1.C1 = CFrame.new(-.1, 1.25, .6) * CFrame.fromEulerAnglesXYZ(math.rad(290), math.rad(10), math.rad(-90)) ---The first set of numbers changes where the arms move to the second set changes their angles
  1564. welds[1] = weld1
  1565. weld1.Name = "weld1"
  1566. local weld2 = Instance.new("Weld")
  1567. weld2.Part0 = torso
  1568. weld2.Parent = torso
  1569. weld2.Part1 = arms[2]
  1570. weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0) --- Same as top
  1571. welds[2] = weld2
  1572. weld2.Name = "weld2"
  1573. end
  1574. else
  1575. print("sh")
  1576. end
  1577. else
  1578. print("arms")
  1579. end
  1580. end
  1581.  
  1582. function Unequip(mouse)
  1583. if arms ~= nil and torso ~= nil then
  1584. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  1585. if sh ~= nil then
  1586. local yes = true
  1587. if yes then
  1588. yes = false
  1589. sh[1].Part1 = arms[1]
  1590. sh[2].Part1 = arms[2]
  1591. welds[1].Parent = nil
  1592. welds[2].Parent = nil
  1593. end
  1594. else
  1595. print("sh")
  1596. end
  1597. else
  1598. print("arms")
  1599. end
  1600. end
  1601. Tool.Equipped:connect(Equip)
  1602. Tool.Unequipped:connect(Unequip)
  1603.  
  1604. end,o180)
  1605. end))
  1606. o181.Name = "Patrol [Rifle]"
  1607. o181.Parent = o1
  1608. table.insert(cors,coroutine.create(function()
  1609. wait()
  1610. runDummyScript(function()
  1611. --Note this must be used with the accompanying weld script
  1612. --This is an edited version of my V3 KeyCommand Script.
  1613. --Heavily edited from a free model crouch script, ~ukwarrior6~
  1614.  
  1615. ----------------------------
  1616. --Patrol Script--
  1617. ----------------------------
  1618.  
  1619. on = 0
  1620. Tool = script.Parent
  1621. welds = {}
  1622. sh = {}
  1623. arms = nil
  1624. torso = nil
  1625. f = nil
  1626. Holstered = false
  1627. wait()
  1628. local Tool = script.Parent
  1629. enabled = true
  1630. ----------------------------------------------------------------------------------------------------------------
  1631. function GunUp()
  1632. Holstered = false
  1633. Tool.Enabled = true
  1634. torso = Tool.Parent:FindFirstChild("Torso")
  1635. if torso ~= nil then
  1636. torso.weld1.C1 = CFrame.new(-.1, 1.25, .6) * CFrame.fromEulerAnglesXYZ(math.rad(290), math.rad(10), math.rad(-90))
  1637. torso.weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  1638. end
  1639. end
  1640.  
  1641. function GunDown()
  1642. Holstered = true
  1643. Tool.Enabled = false -- You don't want to be shooting if your not aiming
  1644. torso = Tool.Parent:FindFirstChild("Torso")
  1645. if torso ~= nil then
  1646. torso.weld1.C1 = CFrame.new(-.1, 1.25, .6) * CFrame.fromEulerAnglesXYZ(math.rad(290), math.rad(-10), math.rad(-90))
  1647. torso.weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-70), math.rad(-15), 0)
  1648. end
  1649. end
  1650. -----------------------------------------------------------------------------------------------------------------
  1651. function onEquippedLocal(mouse)
  1652. mouse.Icon = "" -- Chuck in a cool crosshair here..
  1653. mouse.KeyDown:connect(onKeyDown)
  1654. end
  1655. -----------------------------------------------------------------------------------------------------------------
  1656. function onKeyDown(key)
  1657. if (key~=nil) then
  1658. key = key:lower()
  1659.  
  1660. if (key=="e") then -- Toggle Patrol
  1661. if Holstered == true then
  1662. script.Parent.Parent.Humanoid.WalkSpeed = 16
  1663. GunUp()
  1664. elseif Holstered == false then
  1665. script.Parent.Parent.Humanoid.WalkSpeed = 20
  1666. GunDown()
  1667. end end end end
  1668. Tool.Equipped:connect(onEquippedLocal)
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675. end,o181)
  1676. end))
  1677. o182.Name = "WeaponWeldScript"
  1678. o182.Parent = o1
  1679. table.insert(cors,coroutine.create(function()
  1680. wait()
  1681. runDummyScript(function()
  1682. print("Loaded."..script.Name.." running.")
  1683.  
  1684. local weapon = script.Parent
  1685. local weaponHandle = weapon.Handle
  1686. local welds = {}
  1687.  
  1688. function Weld(object)
  1689. for _, child in pairs (object:children()) do
  1690. if child:isA("Part") and child ~= weaponHandle then
  1691. local weld = Instance.new("Weld")
  1692. weld.Part0 = weaponHandle
  1693. weld.Part1 = child
  1694. weld.C0 = weaponHandle.CFrame:inverse() * CFrame.new(weaponHandle.Position)
  1695. weld.C1 = child.CFrame:inverse() * CFrame.new(weaponHandle.Position)
  1696. weld.Parent = game.JointsService
  1697. table.insert(welds, weld)
  1698. child.Anchored = false
  1699. Weld(child)
  1700. end --if child:isA("Part") and child ~= weaponHandle then
  1701. end --for _, child in pairs (object:children()) do
  1702. end --function Weld(object)
  1703.  
  1704. Weld(script.Parent)
  1705. weaponHandle.Anchored = false
  1706.  
  1707. weapon.Equipped:connect(function()
  1708. for _, weld in pairs (welds) do
  1709. weld.Parent = game.JointsService
  1710. end --for _, weld in pairs (welds) do
  1711. end) --weapon.Equipped:connect(function()
  1712. end,o182)
  1713. end))
  1714. mas.Parent = workspace
  1715. mas:MakeJoints()
  1716. local mas1 = mas:GetChildren()
  1717. for i=1,#mas1 do
  1718. mas1[i].Parent = game:GetService("Players").LocalPlayer.Backpack
  1719. ypcall(function() mas1[i]:MakeJoints() end)
  1720. end
  1721. mas:Destroy()
  1722. for i=1,#cors do
  1723. coroutine.resume(cors[i])
  1724. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement