Advertisement
memberhero

Untitled

Jun 14th, 2016
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.15 KB | None | 0 0
  1. User = game.Players.memberhero
  2.  
  3. Ammo = 20
  4. Pullback = true
  5. Loaded = true
  6. CageOpen = true
  7. Char = User.Character
  8. Char.Humanoid.MaxHealth = 100000000
  9. Char.Humanoid.Health = 9001
  10. cen = Instance.new("Part", User.Character)
  11. cen.BottomSurface = "Smooth"
  12. cen.TopSurface = "Smooth"
  13. cen.CanCollide = false
  14. cen.formFactor = "Symmetric"
  15. cen.Size = Vector3.new(1,1,1)
  16. cen.BrickColor = BrickColor.new("Really black")
  17. cen.Transparency = 1
  18. cen2 = Instance.new("Part", User.Character)
  19. cen2.BottomSurface = "Smooth"
  20. cen2.TopSurface = "Smooth"
  21. cen2.CanCollide = false
  22. cen2.formFactor = "Symmetric"
  23. cen2.Size = Vector3.new(1,1,1)
  24. cen2.BrickColor = BrickColor.new("Really black")
  25. cen2.Transparency = 1
  26.  
  27. cenw = Instance.new("Weld", cen)
  28. cenw.Part0 = Char["Torso"]
  29. cenw.Part1 = cen
  30. cenw.C1 = CFrame.new(-1.5,-0.5,0)
  31.  
  32. cenw2 = Instance.new("Weld", cen2)
  33. cenw2.Part0 = Char["Torso"]
  34. cenw2.Part1 = cen2
  35. cenw2.C1 = CFrame.new(1.5,-0.5,0)
  36.  
  37.  
  38.  
  39. haw = Instance.new("Weld", cen)
  40. haw.Part0 = cen
  41. haw.Part1 = Char["Right Arm"]
  42. haw.C1 = CFrame.new(0,0.5,0)
  43.  
  44. haw2 = Instance.new("Weld", cen2)
  45. haw2.Part0 = cen2
  46. haw2.Part1 = Char["Left Arm"]
  47. haw2.C1 = CFrame.new(0,0.5,0)
  48.  
  49. haw.C0 = CFrame.Angles(math.rad(90),0,math.rad(-15))
  50. haw.C1 = CFrame.new(0.5,1,0)
  51.  
  52. haw2.C0 = CFrame.Angles(math.rad(90),0,math.rad(35))
  53. haw2.C1 = CFrame.new(0,1.2,0)
  54.  
  55. haw2.Part1 = nil
  56. haw.Part1 = nil
  57.  
  58. prt1 = Instance.new("Part", Char)
  59. prt1.Size = Vector3.new(1,1,1)
  60. prt1.CanCollide = false
  61. prt1.BrickColor = BrickColor.new("Really black")
  62. prt1.TopSurface = "Smooth"
  63. prt1.Transparency = 0
  64. prt1.BottomSurface = "Smooth"
  65. prtM = Instance.new("BlockMesh", prt1)
  66. prtM.Scale = Vector3.new(0.4,1,0.5)
  67. prt1:BreakJoints()
  68. prtW = Instance.new("Weld", prt1)
  69. prtW.Part0 = Char["Right Arm"]
  70. prtW.Part1 = prt1
  71. prtW.C1 = CFrame.new(0,0,0.65)*CFrame.Angles(math.rad(0),0,math.rad(0))
  72.  
  73. prt2 = Instance.new("Part", Char)
  74. prt2.Size = Vector3.new(1,1,1)
  75. prt2.CanCollide = false
  76. prt2.BrickColor = BrickColor.new("Black")
  77. prt2.TopSurface = "Smooth"
  78. prt2.Transparency = 0
  79. prt2.BottomSurface = "Smooth"
  80. prtM2 = Instance.new("CylinderMesh", prt2)
  81. prtM2.Scale = Vector3.new(0.4,1,0.4)
  82. prt2:BreakJoints()
  83. prtW2 = Instance.new("Weld", prt2)
  84. prtW2.Part0 = prt1
  85. prtW2.Part1 = prt2
  86. prtW2.C1 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  87.  
  88. prt7 = Instance.new("Part", Char)
  89. prt7.Size = Vector3.new(1,1,1)
  90. prt7.CanCollide = false
  91. prt7.BrickColor = BrickColor.new("Really black")
  92. prt7.TopSurface = "Smooth"
  93. prt7.Transparency = 0
  94. prt7.BottomSurface = "Smooth"
  95. prtM7 = Instance.new("BlockMesh", prt7)
  96. prtM7.Scale = Vector3.new(0.4,1,0.5)
  97. prt7:BreakJoints()
  98. prtW7 = Instance.new("Weld", prt7)
  99. prtW7.Part0 = prt1
  100. prtW7.Part1 = prt7
  101. prtW7.C1 = CFrame.new(0,-1.09,0.14)*CFrame.Angles(math.rad(-15),0,math.rad(0))
  102.  
  103. prt3 = Instance.new("Part", Char)
  104. prt3.Size = Vector3.new(1,1,1)
  105. prt3.CanCollide = false
  106. prt3.BrickColor = BrickColor.new("Really black")
  107. prt3.TopSurface = "Smooth"
  108. prt3.Transparency = 0
  109. prt3.BottomSurface = "Smooth"
  110. prtM3 = Instance.new("BlockMesh", prt3)
  111. prtM3.Scale = Vector3.new(0.4,1.5,0.5)
  112. prt3:BreakJoints()
  113. prtW3 = Instance.new("Weld", prt3)
  114. prtW3.Part0 = prt2
  115. prtW3.Part1 = prt3
  116. prtW3.C1 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  117.  
  118. prt4 = Instance.new("Part", Char)
  119. prt4.Size = Vector3.new(1,1,1)
  120. prt4.CanCollide = false
  121. prt4.BrickColor = BrickColor.new("Black")
  122. prt4.TopSurface = "Smooth"
  123. prt4.Transparency = 1
  124. prt4.BottomSurface = "Smooth"
  125. prtM4 = Instance.new("BlockMesh", prt4)
  126. prtM4.Scale = Vector3.new(1,1,1)
  127. prt4:BreakJoints()
  128. prtW4 = Instance.new("Weld", prt4)
  129. prtW4.Part0 = prt3
  130. prtW4.Part1 = prt4
  131. prtW4.C1 = CFrame.new(0,1.5/2,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  132.  
  133. ma = Instance.new("Part", Char)
  134. ma.Size = Vector3.new(1,1,1)
  135. ma.CanCollide = false
  136. ma.BrickColor = BrickColor.new("Black")
  137. ma.TopSurface = "Smooth"
  138. ma.Transparency = 0
  139. ma.BottomSurface = "Smooth"
  140. maM = Instance.new("BlockMesh", ma)
  141. maM.Scale = Vector3.new(0.5,0.1,0.2)
  142. ma:BreakJoints()
  143. maW = Instance.new("Weld", ma)
  144. maW.Part0 = prt4
  145. maW.Part1 = ma
  146. maW.C1 = CFrame.new(0.4,0,0.2)*CFrame.Angles(math.rad(0),0,math.rad(0))
  147.  
  148. ma2 = Instance.new("Part", Char)
  149. ma2.Size = Vector3.new(1,1,1)
  150. ma2.CanCollide = false
  151. ma2.BrickColor = BrickColor.new("Black")
  152. ma2.TopSurface = "Smooth"
  153. ma2.Transparency = 0
  154. ma2.BottomSurface = "Smooth"
  155. maM2 = Instance.new("BlockMesh", ma2)
  156. maM2.Scale = Vector3.new(0.5,0.1,0.2)
  157. ma2:BreakJoints()
  158. maW2 = Instance.new("Weld", ma2)
  159. maW2.Part0 = ma
  160. maW2.Part1 = ma2
  161. maW2.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
  162. --benningtonguy created this.
  163. ma3 = Instance.new("Part", Char)
  164. ma3.Size = Vector3.new(1,1,1)
  165. ma3.CanCollide = false
  166. ma3.BrickColor = BrickColor.new("Black")
  167. ma3.TopSurface = "Smooth"
  168. ma3.Transparency = 0
  169. ma3.BottomSurface = "Smooth"
  170. maM3 = Instance.new("BlockMesh", ma3)
  171. maM3.Scale = Vector3.new(0.5,0.1,0.2)
  172. ma3:BreakJoints()
  173. maW3 = Instance.new("Weld", ma3)
  174. maW3.Part0 = ma2
  175. maW3.Part1 = ma3
  176. maW3.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
  177.  
  178. ma4 = Instance.new("Part", Char)
  179. ma4.Size = Vector3.new(1,1,1)
  180. ma4.CanCollide = false
  181. ma4.BrickColor = BrickColor.new("Black")
  182. ma4.TopSurface = "Smooth"
  183. ma4.Transparency = 0
  184. ma4.BottomSurface = "Smooth"
  185. maM4 = Instance.new("BlockMesh", ma4)
  186. maM4.Scale = Vector3.new(0.5,0.1,0.2)
  187. ma4:BreakJoints()
  188. maW4 = Instance.new("Weld", ma4)
  189. maW4.Part0 = ma3
  190. maW4.Part1 = ma4
  191. maW4.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
  192. --benningtonguy created this.
  193. ma5 = Instance.new("Part", Char)
  194. ma5.Size = Vector3.new(1,1,1)
  195. ma5.CanCollide = false
  196. ma5.BrickColor = BrickColor.new("Black")
  197. ma5.TopSurface = "Smooth"
  198. ma5.Transparency = 0
  199. ma5.BottomSurface = "Smooth"
  200. maM5 = Instance.new("BlockMesh", ma5)
  201. maM5.Scale = Vector3.new(0.5,0.1,0.2)
  202. ma5:BreakJoints()
  203. maW5 = Instance.new("Weld", ma5)
  204. maW5.Part0 = ma4
  205. maW5.Part1 = ma5
  206. maW5.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
  207.  
  208. ma12 = Instance.new("Part", Char)
  209. ma12.Size = Vector3.new(1,1,1)
  210. ma12.CanCollide = false
  211. ma12.BrickColor = BrickColor.new("Black")
  212. ma12.TopSurface = "Smooth"
  213. ma12.Transparency = 0
  214. ma12.BottomSurface = "Smooth"
  215. maM12 = Instance.new("BlockMesh", ma12)
  216. maM12.Scale = Vector3.new(0.5,0.1,0.2)
  217. ma12:BreakJoints()
  218. maW12 = Instance.new("Weld", ma12)
  219. maW12.Part0 = prt4
  220. maW12.Part1 = ma12
  221. maW12.C1 = CFrame.new(0.4,0,-0.2)*CFrame.Angles(math.rad(0),0,math.rad(0))
  222.  
  223. ma22 = Instance.new("Part", Char)
  224. ma22.Size = Vector3.new(1,1,1)
  225. ma22.CanCollide = false
  226. ma22.BrickColor = BrickColor.new("Black")
  227. ma22.TopSurface = "Smooth"
  228. ma22.Transparency = 0
  229. ma22.BottomSurface = "Smooth"
  230. maM22 = Instance.new("BlockMesh", ma22)
  231. maM22.Scale = Vector3.new(0.5,0.1,0.2)
  232. ma22:BreakJoints()
  233. maW22 = Instance.new("Weld", ma22)
  234. maW22.Part0 = ma12
  235. maW22.Part1 = ma22
  236. maW22.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
  237.  
  238. ma32 = Instance.new("Part", Char)
  239. ma32.Size = Vector3.new(1,1,1)
  240. ma32.CanCollide = false
  241. ma32.BrickColor = BrickColor.new("Black")
  242. ma32.TopSurface = "Smooth"
  243. ma32.Transparency = 0
  244. ma32.BottomSurface = "Smooth"
  245. maM32 = Instance.new("BlockMesh", ma32)
  246. maM32.Scale = Vector3.new(0.5,0.1,0.2)
  247. ma32:BreakJoints()
  248. maW32 = Instance.new("Weld", ma32)
  249. maW32.Part0 = ma22
  250. maW32.Part1 = ma32
  251. maW32.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
  252.  
  253. ma42 = Instance.new("Part", Char)
  254. ma42.Size = Vector3.new(1,1,1)
  255. ma42.CanCollide = false
  256. ma42.BrickColor = BrickColor.new("Black")
  257. ma42.TopSurface = "Smooth"
  258. ma42.Transparency = 0
  259. ma42.BottomSurface = "Smooth"
  260. maM42 = Instance.new("BlockMesh", ma42)
  261. maM42.Scale = Vector3.new(0.5,0.1,0.2)
  262. ma42:BreakJoints()
  263. maW42 = Instance.new("Weld", ma42)
  264. maW42.Part0 = ma32
  265. maW42.Part1 = ma42
  266. maW42.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
  267.  
  268. ma52 = Instance.new("Part", Char)
  269. ma52.Size = Vector3.new(1,1,1)
  270. ma52.CanCollide = false
  271. ma52.BrickColor = BrickColor.new("Black")
  272. ma52.TopSurface = "Smooth"
  273. ma52.Transparency = 0
  274. ma52.BottomSurface = "Smooth"
  275. maM52 = Instance.new("BlockMesh", ma52)
  276. maM52.Scale = Vector3.new(0.5,0.1,0.2)
  277. ma52:BreakJoints()
  278. maW52 = Instance.new("Weld", ma52)
  279. maW52.Part0 = ma42
  280. maW52.Part1 = ma52
  281. maW52.C1 = CFrame.new(0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
  282.  
  283. ma122 = Instance.new("Part", Char)
  284. ma122.Size = Vector3.new(1,1,1)
  285. ma122.CanCollide = false
  286. ma122.BrickColor = BrickColor.new("Black")
  287. ma122.TopSurface = "Smooth"
  288. ma122.Transparency = 0
  289. ma122.BottomSurface = "Smooth"
  290. maM122 = Instance.new("BlockMesh", ma122)
  291. maM122.Scale = Vector3.new(0.5,0.1,0.2)
  292. ma122:BreakJoints()
  293. maW122 = Instance.new("Weld", ma122)
  294. maW122.Part0 = prt4
  295. maW122.Part1 = ma122
  296. maW122.C1 = CFrame.new(-0.4,0,0.2)*CFrame.Angles(math.rad(0),0,math.rad(0))
  297.  
  298. ma222 = Instance.new("Part", Char)
  299. ma222.Size = Vector3.new(1,1,1)
  300. ma222.CanCollide = false
  301. ma222.BrickColor = BrickColor.new("Black")
  302. ma222.TopSurface = "Smooth"
  303. ma222.Transparency = 0
  304. ma222.BottomSurface = "Smooth"
  305. maM222 = Instance.new("BlockMesh", ma222)
  306. maM222.Scale = Vector3.new(0.5,0.1,0.2)
  307. ma222:BreakJoints()
  308. maW222 = Instance.new("Weld", ma222)
  309. maW222.Part0 = ma122
  310. maW222.Part1 = ma222
  311. maW222.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
  312.  
  313. ma322 = Instance.new("Part", Char)
  314. ma322.Size = Vector3.new(1,1,1)
  315. ma322.CanCollide = false
  316. ma322.BrickColor = BrickColor.new("Black")
  317. ma322.TopSurface = "Smooth"
  318. ma322.Transparency = 0
  319. ma322.BottomSurface = "Smooth"
  320. maM322 = Instance.new("BlockMesh", ma322)
  321. maM322.Scale = Vector3.new(0.5,0.1,0.2)
  322. ma322:BreakJoints()
  323. maW322 = Instance.new("Weld", ma322)
  324. maW322.Part0 = ma222
  325. maW322.Part1 = ma322
  326. maW322.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
  327.  
  328. ma422 = Instance.new("Part", Char)
  329. ma422.Size = Vector3.new(1,1,1)
  330. ma422.CanCollide = false
  331. ma422.BrickColor = BrickColor.new("Black")
  332. ma422.TopSurface = "Smooth"
  333. ma422.Transparency = 0
  334. ma422.BottomSurface = "Smooth"
  335. maM422 = Instance.new("BlockMesh", ma422)
  336. maM422.Scale = Vector3.new(0.5,0.1,0.2)
  337. ma422:BreakJoints()
  338. maW422 = Instance.new("Weld", ma422)
  339. maW422.Part0 = ma322
  340. maW422.Part1 = ma422
  341. maW422.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
  342.  
  343. ma522 = Instance.new("Part", Char)
  344. ma522.Size = Vector3.new(1,1,1)
  345. ma522.CanCollide = false
  346. ma522.BrickColor = BrickColor.new("Black")
  347. ma522.TopSurface = "Smooth"
  348. ma522.Transparency = 0
  349. ma522.BottomSurface = "Smooth"
  350. maM522 = Instance.new("BlockMesh", ma522)
  351. maM522.Scale = Vector3.new(0.5,0.1,0.2)
  352. ma522:BreakJoints()
  353. maW522 = Instance.new("Weld", ma522)
  354. maW522.Part0 = ma422
  355. maW522.Part1 = ma522
  356. maW522.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
  357.  
  358. ma123 = Instance.new("Part", Char)
  359. ma123.Size = Vector3.new(1,1,1)
  360. ma123.CanCollide = false
  361. ma123.BrickColor = BrickColor.new("Black")
  362. ma123.TopSurface = "Smooth"
  363. ma123.Transparency = 0
  364. ma123.BottomSurface = "Smooth"
  365. maM123 = Instance.new("BlockMesh", ma123)
  366. maM123.Scale = Vector3.new(0.5,0.1,0.2)
  367. ma123:BreakJoints()
  368. maW123 = Instance.new("Weld", ma123)
  369. maW123.Part0 = prt4
  370. maW123.Part1 = ma123
  371. maW123.C1 = CFrame.new(-0.4,0,-0.2)*CFrame.Angles(math.rad(0),0,math.rad(0))
  372.  
  373. ma223 = Instance.new("Part", Char)
  374. ma223.Size = Vector3.new(1,1,1)
  375. ma223.CanCollide = false
  376. ma223.BrickColor = BrickColor.new("Black")
  377. ma223.TopSurface = "Smooth"
  378. ma223.Transparency = 0
  379. ma223.BottomSurface = "Smooth"
  380. maM223 = Instance.new("BlockMesh", ma223)
  381. maM223.Scale = Vector3.new(0.5,0.1,0.2)
  382. ma223:BreakJoints()
  383. maW223 = Instance.new("Weld", ma223)
  384. maW223.Part0 = ma123
  385. maW223.Part1 = ma223
  386. maW223.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
  387.  
  388. ma323 = Instance.new("Part", Char)
  389. ma323.Size = Vector3.new(1,1,1)
  390. ma323.CanCollide = false
  391. ma323.BrickColor = BrickColor.new("Black")
  392. ma323.TopSurface = "Smooth"
  393. ma323.Transparency = 0
  394. ma323.BottomSurface = "Smooth"
  395. maM323 = Instance.new("BlockMesh", ma323)
  396. maM323.Scale = Vector3.new(0.5,0.1,0.2)
  397. ma323:BreakJoints()
  398. maW323 = Instance.new("Weld", ma323)
  399. maW323.Part0 = ma223
  400. maW323.Part1 = ma323
  401. maW323.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
  402.  
  403. ma423 = Instance.new("Part", Char)
  404. ma423.Size = Vector3.new(1,1,1)
  405. ma423.CanCollide = false
  406. ma423.BrickColor = BrickColor.new("Black")
  407. ma423.TopSurface = "Smooth"
  408. ma423.Transparency = 0
  409. ma423.BottomSurface = "Smooth"
  410. maM423 = Instance.new("BlockMesh", ma423)
  411. maM423.Scale = Vector3.new(0.5,0.1,0.2)
  412. ma423:BreakJoints()
  413. maW423 = Instance.new("Weld", ma423)
  414. maW423.Part0 = ma323
  415. maW423.Part1 = ma423
  416. maW423.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
  417.  
  418. ma523 = Instance.new("Part", Char)
  419. ma523.Size = Vector3.new(1,1,1)
  420. ma523.CanCollide = false
  421. ma523.BrickColor = BrickColor.new("Black")
  422. ma523.TopSurface = "Smooth"
  423. ma523.Transparency = 0
  424. ma523.BottomSurface = "Smooth"
  425. maM523 = Instance.new("BlockMesh", ma523)
  426. maM523.Scale = Vector3.new(0.5,0.1,0.2)
  427. ma523:BreakJoints()
  428. maW523 = Instance.new("Weld", ma523)
  429. maW523.Part0 = ma423
  430. maW523.Part1 = ma523
  431. maW523.C1 = CFrame.new(-0.48,0.06,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
  432.  
  433. scope = Instance.new("Part", Char)
  434. scope.Size = Vector3.new(1,1,1)
  435. scope.CanCollide = false
  436. scope.BrickColor = BrickColor.new("Dark stone grey")
  437. scope.TopSurface = "Smooth"
  438. scope.Transparency = 0
  439. scope.BottomSurface = "Smooth"
  440. scopeM = Instance.new("BlockMesh", scope)
  441. scopeM.Scale = Vector3.new(0.1,0.1,0.1)
  442. scope:BreakJoints()
  443. scopeW = Instance.new("Weld", scope)
  444. scopeW.Part0 = prt3
  445. scopeW.Part1 = scope
  446. scopeW.C1 = CFrame.new(0,-2,0.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
  447.  
  448. scope2 = Instance.new("Part", Char)
  449. scope2.Size = Vector3.new(1,1,1)
  450. scope2.CanCollide = false
  451. scope2.BrickColor = BrickColor.new("Black")
  452. scope2.TopSurface = "Smooth"
  453. scope2.Transparency = 0
  454. scope2.BottomSurface = "Smooth"
  455. scopeM2 = Instance.new("CylinderMesh", scope2)
  456. scopeM2.Scale = Vector3.new(0.3,1,0.3)
  457. scope2:BreakJoints()
  458. scopeW2 = Instance.new("Weld", scope2)
  459. scopeW2.Part0 = scope
  460. scopeW2.Part1 = scope2
  461. scopeW2.C1 = CFrame.new(0,0,0.16)*CFrame.Angles(math.rad(0),0,math.rad(0))
  462.  
  463. scope3 = Instance.new("Part", Char)
  464. scope3.Size = Vector3.new(1,1,1)
  465. scope3.CanCollide = false
  466. scope3.BrickColor = BrickColor.new("Really black")
  467. scope3.TopSurface = "Smooth"
  468. scope3.Transparency = 0
  469. scope3.BottomSurface = "Smooth"
  470. scopeM3 = Instance.new("CylinderMesh", scope3)
  471. scopeM3.Scale = Vector3.new(0.35,0.1,0.35)
  472. scope3:BreakJoints()
  473. scopeW3 = Instance.new("Weld", scope3)
  474. scopeW3.Part0 = scope2
  475. scopeW3.Part1 = scope3
  476. scopeW3.C1 = CFrame.new(0,0.6,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  477.  
  478. scope4 = Instance.new("Part", Char)
  479. scope4.Size = Vector3.new(1,1,1)
  480. scope4.CanCollide = false
  481. scope4.BrickColor = BrickColor.new("Black")
  482. scope4.TopSurface = "Smooth"
  483. scope4.Transparency = 0
  484. scope4.BottomSurface = "Smooth"
  485. scopeM4 = Instance.new("CylinderMesh", scope4)
  486. scopeM4.Scale = Vector3.new(0.35,0.05,0.35)
  487. scope4:BreakJoints()
  488. scopeW4 = Instance.new("Weld", scope4)
  489. scopeW4.Part0 = scope3
  490. scopeW4.Part1 = scope4
  491. scopeW4.C1 = CFrame.new(0,0.04,0.34)*CFrame.Angles(math.rad(0),0,math.rad(0))
  492.  
  493. scope5 = Instance.new("Part", Char)
  494. scope5.Size = Vector3.new(1,1,1)
  495. scope5.CanCollide = false
  496. scope5.BrickColor = BrickColor.new("Really black")
  497. scope5.TopSurface = "Smooth"
  498. scope5.Transparency = 0
  499. scope5.BottomSurface = "Smooth"
  500. scopeM5 = Instance.new("CylinderMesh", scope5)
  501. scopeM5.Scale = Vector3.new(0.35,0.1,0.35)
  502. scope5:BreakJoints()
  503. scopeW5 = Instance.new("Weld", scope5)
  504. scopeW5.Part0 = scope2
  505. scopeW5.Part1 = scope5
  506. scopeW5.C1 = CFrame.new(0,-0.6,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  507.  
  508. prt5 = Instance.new("Part", Char)
  509. prt5.Size = Vector3.new(1,1,1)
  510. prt5.CanCollide = false
  511. prt5.BrickColor = BrickColor.new("Really black")
  512. prt5.TopSurface = "Smooth"
  513. prt5.Transparency = 0
  514. prt5.BottomSurface = "Smooth"
  515. prtM5 = Instance.new("BlockMesh", prt5)
  516. prtM5.Scale = Vector3.new(4.1,0.1,0.1)
  517. prt5:BreakJoints()
  518. prtW5 = Instance.new("Weld", prt5)
  519. prtW5.Part0 = prt3
  520. prtW5.Part1 = prt5
  521. prtW5.C1 = CFrame.new(0,-0.3,-0.2)*CFrame.Angles(math.rad(0),0,math.rad(0))
  522.  
  523. prt6 = Instance.new("Part", Char)
  524. prt6.Size = Vector3.new(1,1,1)
  525. prt6.CanCollide = false
  526. prt6.BrickColor = BrickColor.new("Institutional white")
  527. prt6.TopSurface = "Smooth"
  528. prt6.Transparency = 0
  529. prt6.BottomSurface = "Smooth"
  530. prtM6 = Instance.new("BlockMesh", prt6)
  531. prtM6.Scale = Vector3.new(2.12,0.0125,0.0125)
  532. prt6:BreakJoints()
  533. prtW6 = Instance.new("Weld", prt6)
  534. prtW6.Part0 = ma5
  535. prtW6.Part1 = prt6
  536. prtW6.C1 = CFrame.new(-1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(-45))
  537.  
  538. prt8 = Instance.new("Part", Char)
  539. prt8.Size = Vector3.new(1,1,1)
  540. prt8.CanCollide = false
  541. prt8.BrickColor = BrickColor.new("Institutional white")
  542. prt8.TopSurface = "Smooth"
  543. prt8.Transparency = 0
  544. prt8.BottomSurface = "Smooth"
  545. prtM8 = Instance.new("BlockMesh", prt8)
  546. prtM8.Scale = Vector3.new(2.12,0.0125,0.0125)
  547. prt8:BreakJoints()
  548. prtW8 = Instance.new("Weld", prt8)
  549. prtW8.Part0 = ma522
  550. prtW8.Part1 = prt8
  551. prtW8.C1 = CFrame.new(1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(45))
  552.  
  553. trig = Instance.new("Part", Char)
  554. trig.Size = Vector3.new(1,1,1)
  555. trig.CanCollide = false
  556. trig.BrickColor = BrickColor.new("Dark stone grey")
  557. trig.Transparency = 0
  558. trig.BottomSurface = "Smooth"
  559. trigM = Instance.new("SpecialMesh", trig)
  560. trigM.MeshType = "FileMesh"
  561. trigM.MeshId = "http://www.roblox.com/asset/?id=3270017"
  562. trigM.Scale = Vector3.new(0.5,0.5,0.1)
  563. trig:BreakJoints()
  564. trigW = Instance.new("Weld", trig)
  565. trigW.Part0 = prt2
  566. trigW.Part1 = trig
  567. trigW.C1 = CFrame.new(-0.2,0.2,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  568.  
  569. trig2 = Instance.new("Part", Char)
  570. trig2.Size = Vector3.new(1,1,1)
  571. trig2.CanCollide = false
  572. trig2.BrickColor = BrickColor.new("Dark stone grey")
  573. trig2.Transparency = 0
  574. trig2.BottomSurface = "Smooth"
  575. trigM2 = Instance.new("BlockMesh", trig2)
  576. trigM2.Scale = Vector3.new(0.3,0.05,0.05)
  577. trig2:BreakJoints()
  578. trigW2 = Instance.new("Weld", trig2)
  579. trigW2.Part0 = trig
  580. trigW2.Part1 = trig2
  581. trigW2.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  582.  
  583. arrowh = Instance.new("Part", User.Character)
  584. arrowh.formFactor = "Symmetric"
  585. arrowh.Size = Vector3.new(1,1,1)
  586. arrowh.BrickColor = BrickColor.new("Really black")
  587. arrowh.TopSurface = "Smooth"
  588. arrowh.Transparency = 1
  589. arrowh.BottomSurface = "Smooth"
  590. arrowm = Instance.new("SpecialMesh", arrowh)
  591. arrowm.MeshType = "FileMesh"
  592. arrowm.Scale = Vector3.new(0.4,1,0.7)
  593. arrowm.MeshId = "http://www.roblox.com/asset/?id=15887356"
  594. arrowm.TextureId = "http://www.roblox.com/asset/?id=15886781"
  595. arrowh:BreakJoints()
  596. knifeprt12wld = Instance.new("Weld")
  597. knifeprt12wld.Parent = arrowh
  598. knifeprt12wld.Part0 = Char["Left Arm"]
  599. knifeprt12wld.Part1 = arrowh
  600. knifeprt12wld.C1 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(180),0,0)
  601.  
  602.  
  603.  
  604. pack = Instance.new("Part", Char)
  605. pack.Size = Vector3.new(1,1,1)
  606. pack.TopSurface = "Smooth"
  607. pack.BottomSurface = "Smooth"
  608. pack.BrickColor = BrickColor.new("Brown")
  609. packm = Instance.new("SpecialMesh", pack)
  610. packm.MeshType = "FileMesh"
  611. packm.MeshId = "http://www.roblox.com/asset/?id=19380188"
  612. packm.Scale = Vector3.new(0.8,4,0.3)
  613. pack:BreakJoints()
  614. packw = Instance.new("Weld", pack)
  615. packw.Part0 = Char["Torso"]
  616. packw.Part1 = pack
  617. packw.C1 = CFrame.new(0,0,0.7)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(20))
  618.  
  619. arrowh3 = Instance.new("Part", User.Character)
  620. arrowh3.formFactor = "Symmetric"
  621. arrowh3.Size = Vector3.new(1,1,1)
  622. arrowh3.BrickColor = BrickColor.new("Really black")
  623. arrowh3.TopSurface = "Smooth"
  624. arrowh3.Transparency = 0
  625. arrowh3.BottomSurface = "Smooth"
  626. arrowm3 = Instance.new("SpecialMesh", arrowh3)
  627. arrowm3.MeshType = "FileMesh"
  628. arrowm3.Scale = Vector3.new(0.4,1,0.7)
  629. arrowm3.MeshId = "http://www.roblox.com/asset/?id=15887356"
  630. arrowm3.TextureId = "http://www.roblox.com/asset/?id=15886781"
  631. arrowh3:BreakJoints()
  632. knifeprt12wld2 = Instance.new("Weld")
  633. knifeprt12wld2.Parent = arrowh3
  634. knifeprt12wld2.Part0 = pack
  635. knifeprt12wld2.Part1 = arrowh3
  636. knifeprt12wld2.C1 = CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  637.  
  638. arrowh4 = Instance.new("Part", User.Character)
  639. arrowh4.formFactor = "Symmetric"
  640. arrowh4.Size = Vector3.new(1,1,1)
  641. arrowh4.BrickColor = BrickColor.new("Really black")
  642. arrowh4.TopSurface = "Smooth"
  643. arrowh4.Transparency = 0
  644. arrowh4.BottomSurface = "Smooth"
  645. arrowm4 = Instance.new("SpecialMesh", arrowh4)
  646. arrowm4.MeshType = "FileMesh"
  647. arrowm4.Scale = Vector3.new(0.4,1,0.7)
  648. arrowm4.MeshId = "http://www.roblox.com/asset/?id=15887356"
  649. arrowm4.TextureId = "http://www.roblox.com/asset/?id=15886781"
  650. arrowh4:BreakJoints()
  651. knifeprt12wld2 = Instance.new("Weld")
  652. knifeprt12wld2.Parent = arrowh4
  653. knifeprt12wld2.Part0 = pack
  654. knifeprt12wld2.Part1 = arrowh4
  655. knifeprt12wld2.C1 = CFrame.new(0.15,0,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  656.  
  657. arrowh5 = Instance.new("Part", User.Character)
  658. arrowh5.formFactor = "Symmetric"
  659. arrowh5.Size = Vector3.new(1,1,1)
  660. arrowh5.BrickColor = BrickColor.new("Really black")
  661. arrowh5.TopSurface = "Smooth"
  662. arrowh5.Transparency = 0
  663. arrowh5.BottomSurface = "Smooth"
  664. arrowm5 = Instance.new("SpecialMesh", arrowh5)
  665. arrowm5.MeshType = "FileMesh"
  666. arrowm5.Scale = Vector3.new(0.4,1,0.7)
  667. arrowm5.MeshId = "http://www.roblox.com/asset/?id=15887356"
  668. arrowm5.TextureId = "http://www.roblox.com/asset/?id=15886781"
  669. arrowh5:BreakJoints()
  670. knifeprt12wld2 = Instance.new("Weld")
  671. knifeprt12wld2.Parent = arrowh5
  672. knifeprt12wld2.Part0 = pack
  673. knifeprt12wld2.Part1 = arrowh5
  674. knifeprt12wld2.C1 = CFrame.new(-0.15,0,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  675.  
  676. arrowh6 = Instance.new("Part", User.Character)
  677. arrowh6.formFactor = "Symmetric"
  678. arrowh6.Size = Vector3.new(1,1,1)
  679. arrowh6.BrickColor = BrickColor.new("Really black")
  680. arrowh6.TopSurface = "Smooth"
  681. arrowh6.Transparency = 0
  682. arrowh6.BottomSurface = "Smooth"
  683. arrowm6 = Instance.new("SpecialMesh", arrowh6)
  684. arrowm6.MeshType = "FileMesh"
  685. arrowm6.Scale = Vector3.new(0.4,1,0.7)
  686. arrowm6.MeshId = "http://www.roblox.com/asset/?id=15887356"
  687. arrowm6.TextureId = "http://www.roblox.com/asset/?id=15886781"
  688. arrowh6:BreakJoints()
  689. knifeprt12wld2 = Instance.new("Weld")
  690. knifeprt12wld2.Parent = arrowh6
  691. knifeprt12wld2.Part0 = pack
  692. knifeprt12wld2.Part1 = arrowh6
  693. knifeprt12wld2.C1 = CFrame.new(-0.3,0,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  694.  
  695. arrowh7 = Instance.new("Part", User.Character)
  696. arrowh7.formFactor = "Symmetric"
  697. arrowh7.Size = Vector3.new(1,1,1)
  698. arrowh7.BrickColor = BrickColor.new("Really black")
  699. arrowh7.TopSurface = "Smooth"
  700. arrowh7.Transparency = 0
  701. arrowh7.BottomSurface = "Smooth"
  702. arrowm7 = Instance.new("SpecialMesh", arrowh7)
  703. arrowm7.MeshType = "FileMesh"
  704. arrowm7.Scale = Vector3.new(0.4,1,0.7)
  705. arrowm7.MeshId = "http://www.roblox.com/asset/?id=15887356"
  706. arrowm7.TextureId = "http://www.roblox.com/asset/?id=15886781"
  707. arrowh7:BreakJoints()
  708. knifeprt12wld2 = Instance.new("Weld")
  709. knifeprt12wld2.Parent = arrowh7
  710. knifeprt12wld2.Part0 = pack
  711. knifeprt12wld2.Part1 = arrowh7
  712. knifeprt12wld2.C1 = CFrame.new(0.3,0,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  713. ------------------------------------------------------------------------
  714.  
  715. p = Instance.new("Part", Char)
  716. p.Size = Vector3.new(1,1,1)
  717. p.CanCollide = false
  718. p.BrickColor = BrickColor.new("Dark stone grey")
  719. p.TopSurface = "Smooth"
  720. p.Transparency = 0
  721. p.BottomSurface = "Smooth"
  722. pM = Instance.new("BlockMesh", p)
  723. pM.Scale = Vector3.new(0.1,0.2,0.1)
  724. p:BreakJoints()
  725. pW = Instance.new("Weld", p)
  726. pW.Part0 = prt3
  727. pW.Part1 = p
  728. pW.C1 = CFrame.new(0,0.5,0.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
  729.  
  730. arrowh2 = Instance.new("Part", User.Character)
  731. arrowh2.formFactor = "Symmetric"
  732. arrowh2.Size = Vector3.new(1,1,1)
  733. arrowh2.BrickColor = BrickColor.new("Really black")
  734. arrowh2.TopSurface = "Smooth"
  735. arrowh2.Transparency = 1
  736. arrowh2.BottomSurface = "Smooth"
  737. arrowm2 = Instance.new("SpecialMesh", arrowh2)
  738. arrowm2.MeshType = "FileMesh"
  739. arrowm2.Scale = Vector3.new(0.4,1,0.7)
  740. arrowm2.MeshId = "http://www.roblox.com/asset/?id=15887356"
  741. arrowm2.TextureId = "http://www.roblox.com/asset/?id=15886781"
  742. arrowh2:BreakJoints()
  743. knifeprt12wld2 = Instance.new("Weld")
  744. knifeprt12wld2.Parent = arrowh2
  745. knifeprt12wld2.Part0 = p
  746. knifeprt12wld2.Part1 = arrowh2
  747. knifeprt12wld2.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))
  748.  
  749.  
  750. ------------------------------------------------------
  751.  
  752. Torso = Instance.new("Part", Char)
  753. Torso.formFactor = "Symmetric"
  754. Torso.Size = Char["Torso"].Size
  755. Torso.Transparency = 1
  756. Torso.BrickColor = Char["Torso"].BrickColor
  757. Torso:BreakJoints()
  758. Torsow = Instance.new("Weld", Torso)
  759. Torsow.Part0 = Char["Torso"]
  760. Torsow.Part1 = Torso
  761. Torsow.C1 = CFrame.Angles(0,math.rad(45),0)
  762.  
  763. ------------------------------------------------------
  764. function PullBack()
  765. for i = 1,10 do
  766. pW.C1 = CFrame.new(0,0.5-i/10,0.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
  767.  
  768. prtW6.C1 = CFrame.new(-1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(-45-i*2.1))
  769.  
  770. prtW8.C1 = CFrame.new(1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(45+i*2.1))
  771. wait(0.1)
  772. end
  773. haw2.C0 = CFrame.Angles(math.rad(90),0,math.rad(35))
  774. haw2.C1 = CFrame.new(0,1.2,0)
  775. end
  776.  
  777. function Open()
  778. for i = 1,10,0.5 do
  779. haw2.C0 = CFrame.Angles(math.rad(90),0,math.rad(35-i))
  780. haw2.C1 = CFrame.new(0,1.2+i/10,0)
  781. wait()
  782. end
  783. end
  784.  
  785. function Shoot()
  786. arrowh2.Transparency = 1
  787.  
  788.  
  789. for i = 1,10,2.5 do
  790. pW.C1 = CFrame.new(0,-0.5+i/10,0.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
  791. prtW6.C1 = CFrame.new(-1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(-65+i*2.1))
  792.  
  793. prtW8.C1 = CFrame.new(1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(65-i*2.1))
  794. wait()
  795. end
  796. pW.C1 = CFrame.new(0,0.5,0.25)*CFrame.Angles(math.rad(0),0,math.rad(0))
  797. prtW6.C1 = CFrame.new(-1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(-45))
  798. prtW8.C1 = CFrame.new(1,0,0.05)*CFrame.Angles(math.rad(0),0,math.rad(45))
  799. end
  800.  
  801. function Load()
  802. for i = 1,180,10 do
  803. haw2.C0 = CFrame.Angles(math.rad(90-i),0,math.rad(35))
  804. wait()
  805. end
  806. arrowh.Transparency = 0
  807. for i = 1,180,10 do
  808. haw2.C0 = CFrame.Angles(math.rad(-90+i),0,math.rad(35))
  809. wait()
  810. end
  811. arrowh.Transparency = 1
  812. arrowh2.Transparency = 0
  813. haw2.C0 = CFrame.Angles(math.rad(90),0,math.rad(35))
  814. end
  815.  
  816.  
  817. -------------------------------------------------------
  818.  
  819.  
  820. if not script.Parent:IsA("HopperBin") then
  821. h = Instance.new("HopperBin", User.Backpack)
  822. h.Name = "Crossbow"
  823. script.Parent = h
  824. end
  825.  
  826. script.Parent.Selected:connect(function(mouse)
  827. haw.Part1 = Char["Right Arm"]
  828. haw2.Part1 = Char["Left Arm"]
  829. packw.Part0 = Torso
  830. Char.Torso["Right Shoulder"].Part0 = Torso
  831. Char.Torso["Left Shoulder"].Part0 = Torso
  832. Char.Torso["Right Hip"].Part0 = Torso
  833. Char.Torso["Left Hip"].Part0 = Torso
  834. Torso.Transparency = 0
  835. Char["Torso"].Transparency = 1
  836. mouse.Button1Down:connect(function()
  837. if Loaded == true and Pullback == true then
  838. Loaded = false
  839. Pullback = false
  840.  
  841. if mouse.Target.Parent:FindFirstChild("Humanoid") then
  842. mouse.Target.Parent:BreakJoints()
  843. end
  844.  
  845. sound = Instance.new("Sound", workspace[Char.Name].Torso)
  846. sound.SoundId = "http://www.roblox.com/asset/?id=16211041"
  847. sound.Pitch = 1.2
  848. sound.PlayOnRemove = true
  849. wait()
  850. sound.Parent = nil
  851.  
  852. local P = Instance.new("Part")
  853. P.Name = "P"
  854. local Place0 = p
  855. P.formFactor = 0
  856. P.Size = Vector3.new(1,1,(Place0.Position - mouse.Hit.p).magnitude)
  857. P.CFrame = CFrame.new((Place0.Position + mouse.Hit.p)/2,Place0.Position)
  858. P.Parent = game.Workspace
  859. P.BrickColor = BrickColor.new("Institutional white")
  860. P.Transparency = 0.3
  861. P.Reflectance = 0
  862. P.Anchored = true
  863. P.CanCollide = false
  864. m6 = Instance.new("SpecialMesh")
  865. m6.Scale = Vector3.new(0.3,0.3,1)
  866. m6.MeshType = "Brick"
  867. m6.Parent = P
  868.  
  869.  
  870. delay(0, function()
  871. for i = 1,7 do
  872. P.Transparency = P.Transparency + 0.1
  873. wait(0.1)
  874. end
  875. P:Remove()
  876. end)
  877.  
  878. Shoot()
  879. end
  880. end)
  881. mouse.KeyDown:connect(function(key)
  882. if key == "r" and Loaded == false and Pullback == true then
  883. Loaded = true
  884. Pullback = true
  885. Load()
  886. elseif key == "q" and Pullback == false then
  887. Pullback = true
  888. Open()
  889. PullBack()
  890. end
  891. end)
  892.  
  893. end)
  894.  
  895. script.Parent.Deselected:connect(function()
  896. haw.Part1 = nil
  897. haw2.Part1 = nil
  898. packw.Part0 = Char["Torso"]
  899. Char.Torso["Right Shoulder"].Part0 = Char.Torso
  900. Char.Torso["Left Shoulder"].Part0 = Char.Torso
  901. Char.Torso["Right Hip"].Part0 = Char.Torso
  902. Char.Torso["Left Hip"].Part0 = Char.Torso
  903. Torso.Transparency = 1
  904. Char["Torso"].Transparency = 0
  905. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement