Advertisement
firebudgy

Untitled

Mar 4th, 2018
567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.74 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. Part1 = Instance.new("Part")
  21. Script2 = Instance.new("Script")
  22. Sound3 = Instance.new("Sound")
  23. BoolValue4 = Instance.new("BoolValue")
  24. Part5 = Instance.new("Part")
  25. Decal6 = Instance.new("Decal")
  26. SpecialMesh7 = Instance.new("SpecialMesh")
  27. Part8 = Instance.new("Part")
  28. SpecialMesh9 = Instance.new("SpecialMesh")
  29. Part10 = Instance.new("Part")
  30. SpecialMesh11 = Instance.new("SpecialMesh")
  31. Part12 = Instance.new("Part")
  32. Decal13 = Instance.new("Decal")
  33. SpecialMesh14 = Instance.new("SpecialMesh")
  34. Part15 = Instance.new("Part")
  35. Decal16 = Instance.new("Decal")
  36. SpecialMesh17 = Instance.new("SpecialMesh")
  37. Part18 = Instance.new("Part")
  38. SpecialMesh19 = Instance.new("SpecialMesh")
  39. Part20 = Instance.new("Part")
  40. Decal21 = Instance.new("Decal")
  41. SpecialMesh22 = Instance.new("SpecialMesh")
  42. Part23 = Instance.new("Part")
  43. Decal24 = Instance.new("Decal")
  44. SpecialMesh25 = Instance.new("SpecialMesh")
  45. Part26 = Instance.new("Part")
  46. Decal27 = Instance.new("Decal")
  47. SpecialMesh28 = Instance.new("SpecialMesh")
  48. Part29 = Instance.new("Part")
  49. SpecialMesh30 = Instance.new("SpecialMesh")
  50. Part31 = Instance.new("Part")
  51. SpecialMesh32 = Instance.new("SpecialMesh")
  52. Part33 = Instance.new("Part")
  53. Decal34 = Instance.new("Decal")
  54. SpecialMesh35 = Instance.new("SpecialMesh")
  55. Script36 = Instance.new("Script")
  56. Tool37 = Instance.new("Tool")
  57. Texture38 = Instance.new("Texture")
  58. Texture39 = Instance.new("Texture")
  59. Part40 = Instance.new("Part")
  60. Sound41 = Instance.new("Sound")
  61. Sound42 = Instance.new("Sound")
  62. PointLight43 = Instance.new("PointLight")
  63. Part44 = Instance.new("Part")
  64. SpecialMesh45 = Instance.new("SpecialMesh")
  65. Part46 = Instance.new("Part")
  66. SpecialMesh47 = Instance.new("SpecialMesh")
  67. Part48 = Instance.new("Part")
  68. Part49 = Instance.new("Part")
  69. SpecialMesh50 = Instance.new("SpecialMesh")
  70. Part51 = Instance.new("Part")
  71. SpecialMesh52 = Instance.new("SpecialMesh")
  72. Part53 = Instance.new("Part")
  73. SpecialMesh54 = Instance.new("SpecialMesh")
  74. Part55 = Instance.new("Part")
  75. Part56 = Instance.new("Part")
  76. SpecialMesh57 = Instance.new("SpecialMesh")
  77. Part58 = Instance.new("Part")
  78. SpecialMesh59 = Instance.new("SpecialMesh")
  79. Part60 = Instance.new("Part")
  80. Texture61 = Instance.new("Texture")
  81. SpecialMesh62 = Instance.new("SpecialMesh")
  82. Part63 = Instance.new("Part")
  83. SpecialMesh64 = Instance.new("SpecialMesh")
  84. Part65 = Instance.new("Part")
  85. SpecialMesh66 = Instance.new("SpecialMesh")
  86. Part67 = Instance.new("Part")
  87. SpecialMesh68 = Instance.new("SpecialMesh")
  88. Part69 = Instance.new("Part")
  89. SpecialMesh70 = Instance.new("SpecialMesh")
  90. Part71 = Instance.new("Part")
  91. SpecialMesh72 = Instance.new("SpecialMesh")
  92. Part73 = Instance.new("Part")
  93. SpecialMesh74 = Instance.new("SpecialMesh")
  94. Part75 = Instance.new("Part")
  95. SpecialMesh76 = Instance.new("SpecialMesh")
  96. Script77 = Instance.new("Script")
  97. LocalScript78 = Instance.new("LocalScript")
  98. LocalScript79 = Instance.new("LocalScript")
  99. Sound80 = Instance.new("Sound")
  100. Tool81 = Instance.new("Tool")
  101. Part82 = Instance.new("Part")
  102. Sound83 = Instance.new("Sound")
  103. Part84 = Instance.new("Part")
  104. CylinderMesh85 = Instance.new("CylinderMesh")
  105. Part86 = Instance.new("Part")
  106. BlockMesh87 = Instance.new("BlockMesh")
  107. Part88 = Instance.new("Part")
  108. CylinderMesh89 = Instance.new("CylinderMesh")
  109. Part90 = Instance.new("Part")
  110. CylinderMesh91 = Instance.new("CylinderMesh")
  111. Part92 = Instance.new("Part")
  112. CylinderMesh93 = Instance.new("CylinderMesh")
  113. Part94 = Instance.new("Part")
  114. CylinderMesh95 = Instance.new("CylinderMesh")
  115. Part96 = Instance.new("Part")
  116. SpecialMesh97 = Instance.new("SpecialMesh")
  117. Part98 = Instance.new("Part")
  118. CylinderMesh99 = Instance.new("CylinderMesh")
  119. Part100 = Instance.new("Part")
  120. Part101 = Instance.new("Part")
  121. CylinderMesh102 = Instance.new("CylinderMesh")
  122. Part103 = Instance.new("Part")
  123. BlockMesh104 = Instance.new("BlockMesh")
  124. Part105 = Instance.new("Part")
  125. CylinderMesh106 = Instance.new("CylinderMesh")
  126. Part107 = Instance.new("Part")
  127. CylinderMesh108 = Instance.new("CylinderMesh")
  128. Part109 = Instance.new("Part")
  129. BlockMesh110 = Instance.new("BlockMesh")
  130. Part111 = Instance.new("Part")
  131. CylinderMesh112 = Instance.new("CylinderMesh")
  132. Part113 = Instance.new("Part")
  133. CylinderMesh114 = Instance.new("CylinderMesh")
  134. WedgePart115 = Instance.new("WedgePart")
  135. Script116 = Instance.new("Script")
  136. Script117 = Instance.new("Script")
  137. Tool118 = Instance.new("Tool")
  138. Model119 = Instance.new("Model")
  139. StringValue120 = Instance.new("StringValue")
  140. StringValue121 = Instance.new("StringValue")
  141. StringValue122 = Instance.new("StringValue")
  142. StringValue123 = Instance.new("StringValue")
  143. StringValue124 = Instance.new("StringValue")
  144. StringValue125 = Instance.new("StringValue")
  145. StringValue126 = Instance.new("StringValue")
  146. Part127 = Instance.new("Part")
  147. BlockMesh128 = Instance.new("BlockMesh")
  148. Sound129 = Instance.new("Sound")
  149. BoolValue130 = Instance.new("BoolValue")
  150. Script131 = Instance.new("Script")
  151. Sound132 = Instance.new("Sound")
  152. Script133 = Instance.new("Script")
  153. BoolValue134 = Instance.new("BoolValue")
  154. Decal135 = Instance.new("Decal")
  155. Part136 = Instance.new("Part")
  156. CylinderMesh137 = Instance.new("CylinderMesh")
  157. LocalScript138 = Instance.new("LocalScript")
  158. BoolValue139 = Instance.new("BoolValue")
  159. LocalScript140 = Instance.new("LocalScript")
  160. ObjectValue141 = Instance.new("ObjectValue")
  161. LocalScript142 = Instance.new("LocalScript")
  162. LocalScript143 = Instance.new("LocalScript")
  163. Script144 = Instance.new("Script")
  164. Script145 = Instance.new("Script")
  165. Frame146 = Instance.new("Frame")
  166. TextLabel147 = Instance.new("TextLabel")
  167. TextLabel148 = Instance.new("TextLabel")
  168. TextLabel149 = Instance.new("TextLabel")
  169. TextLabel150 = Instance.new("TextLabel")
  170. TextLabel151 = Instance.new("TextLabel")
  171. TextLabel152 = Instance.new("TextLabel")
  172. TextLabel153 = Instance.new("TextLabel")
  173. TextLabel154 = Instance.new("TextLabel")
  174. ObjectValue155 = Instance.new("ObjectValue")
  175. LocalScript156 = Instance.new("LocalScript")
  176. Script157 = Instance.new("Script")
  177. Tool158 = Instance.new("Tool")
  178. Script159 = Instance.new("Script")
  179. Part160 = Instance.new("Part")
  180. Texture161 = Instance.new("Texture")
  181. BlockMesh162 = Instance.new("BlockMesh")
  182. Part163 = Instance.new("Part")
  183. Texture164 = Instance.new("Texture")
  184. BlockMesh165 = Instance.new("BlockMesh")
  185. Part166 = Instance.new("Part")
  186. BlockMesh167 = Instance.new("BlockMesh")
  187. Part168 = Instance.new("Part")
  188. BlockMesh169 = Instance.new("BlockMesh")
  189. Part170 = Instance.new("Part")
  190. Sound171 = Instance.new("Sound")
  191. PointLight172 = Instance.new("PointLight")
  192. Script173 = Instance.new("Script")
  193. Tool0.Name = "Tricorder"
  194. Tool0.Parent = mas
  195. Tool0.TextureId = "http://www.roblox.com/asset?id=234895077"
  196. Tool0.ToolTip = "Scan for stuff!"
  197. Part1.Name = "Handle"
  198. Part1.Parent = Tool0
  199. Part1.Material = Enum.Material.SmoothPlastic
  200. Part1.Transparency = 1
  201. Part1.Rotation = Vector3.new(-67.659996, -0.0199999996, 140.139999)
  202. Part1.FormFactor = Enum.FormFactor.Custom
  203. Part1.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
  204. Part1.CFrame = CFrame.new(23.7026825, 3.27846193, -23.7760086, -0.767579079, -0.640945137, -0.000276200095, 0.243393242, -0.291877925, 0.924964488, -0.592938185, 0.709914029, 0.380045533)
  205. Part1.BottomSurface = Enum.SurfaceType.Smooth
  206. Part1.TopSurface = Enum.SurfaceType.Smooth
  207. Part1.Position = Vector3.new(23.7026825, 3.27846193, -23.7760086)
  208. Part1.Orientation = Vector3.new(-67.659996, -0.0399999991, 140.179993)
  209. Script2.Parent = Part1
  210. table.insert(cors,sandbox(Script2,function()
  211. function sound()
  212. if script.Parent.play.Value == false then
  213. script.Parent.Sound:play()
  214. script.Parent.play.Value = true
  215. else
  216. script.Parent.Sound:stop()
  217. script.Parent.play.Value = false
  218. end
  219. end
  220.  
  221. script.Parent.Parent.Activated:connect(sound)
  222. end))
  223. Sound3.Parent = Part1
  224. Sound3.SoundId = "http://www.roblox.com/asset?id=143575463"
  225. Sound3.Looped = true
  226. BoolValue4.Name = "play"
  227. BoolValue4.Parent = Part1
  228. Part5.Parent = Tool0
  229. Part5.Material = Enum.Material.SmoothPlastic
  230. Part5.Rotation = Vector3.new(22.3199997, 50.1399994, -179.979996)
  231. Part5.FormFactor = Enum.FormFactor.Custom
  232. Part5.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
  233. Part5.CFrame = CFrame.new(23.4465637, 2.97661591, -23.5678368, -0.640945077, 0.000263595313, 0.767579556, -0.291874737, -0.924962223, -0.243405491, 0.709915757, -0.380050927, 0.592933238)
  234. Part5.BottomSurface = Enum.SurfaceType.Smooth
  235. Part5.TopSurface = Enum.SurfaceType.Smooth
  236. Part5.Position = Vector3.new(23.4465637, 2.97661591, -23.5678368)
  237. Part5.Orientation = Vector3.new(14.0900002, 52.3099976, -162.48999)
  238. Decal6.Parent = Part5
  239. Decal6.Texture = "http://www.roblox.com/asset/?id=48579240"
  240. Decal6.Face = Enum.NormalId.Bottom
  241. SpecialMesh7.Parent = Part5
  242. SpecialMesh7.Scale = Vector3.new(0.384760767, 0.0226329863, 1.58430922)
  243. SpecialMesh7.MeshType = Enum.MeshType.Brick
  244. SpecialMesh7.Scale = Vector3.new(0.384760767, 0.0226329863, 1.58430922)
  245. Part8.Parent = Tool0
  246. Part8.Material = Enum.Material.SmoothPlastic
  247. Part8.Rotation = Vector3.new(22.3199997, -39.8699989, -180)
  248. Part8.FormFactor = Enum.FormFactor.Custom
  249. Part8.Size = Vector3.new(0.62403214, 0.62403208, 0.62403208)
  250. Part8.CFrame = CFrame.new(22.9873581, 2.71915507, -23.0989914, -0.767495692, 1.13113265e-05, -0.641045034, 0.243447304, -0.92507422, -0.291483164, -0.593023956, -0.379776984, 0.709985793)
  251. Part8.BottomSurface = Enum.SurfaceType.Smooth
  252. Part8.TopSurface = Enum.SurfaceType.Smooth
  253. Part8.Position = Vector3.new(22.9873581, 2.71915507, -23.0989914)
  254. Part8.Orientation = Vector3.new(16.9499989, -42.079998, 165.259995)
  255. SpecialMesh9.Parent = Part8
  256. SpecialMesh9.Scale = Vector3.new(1.05017054, 0.196906999, 0.196907014)
  257. SpecialMesh9.MeshType = Enum.MeshType.Brick
  258. SpecialMesh9.Scale = Vector3.new(1.05017054, 0.196906999, 0.196907014)
  259. Part10.Parent = Tool0
  260. Part10.Material = Enum.Material.SmoothPlastic
  261. Part10.BrickColor = BrickColor.new("Toothpaste")
  262. Part10.Transparency = 0.39999997615814
  263. Part10.Rotation = Vector3.new(22.3199997, 50.1399994, -14.8999996)
  264. Part10.FormFactor = Enum.FormFactor.Custom
  265. Part10.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
  266. Part10.CFrame = CFrame.new(24.1532288, 3.43550396, -23.9068336, 0.619396448, 0.164808959, 0.767580092, 0.0438233763, 0.968931496, -0.243404716, -0.783846676, 0.184406281, 0.592935324)
  267. Part10.BottomSurface = Enum.SurfaceType.Smooth
  268. Part10.TopSurface = Enum.SurfaceType.Smooth
  269. Part10.Color = Color3.new(0, 1, 1)
  270. Part10.Position = Vector3.new(24.1532288, 3.43550396, -23.9068336)
  271. Part10.Orientation = Vector3.new(14.0900002, 52.3099976, 2.58999991)
  272. Part10.Color = Color3.new(0, 1, 1)
  273. SpecialMesh11.Parent = Part10
  274. SpecialMesh11.Scale = Vector3.new(0.195111975, 0.234134346, 0.195111975)
  275. SpecialMesh11.MeshType = Enum.MeshType.Brick
  276. SpecialMesh11.Scale = Vector3.new(0.195111975, 0.234134346, 0.195111975)
  277. Part12.Parent = Tool0
  278. Part12.Material = Enum.Material.SmoothPlastic
  279. Part12.Rotation = Vector3.new(59.4300003, -33.6699982, -157.25)
  280. Part12.FormFactor = Enum.FormFactor.Custom
  281. Part12.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
  282. Part12.CFrame = CFrame.new(23.7587357, 3.1372509, -23.7029457, -0.767495632, 0.321876228, -0.554376841, 0.243447587, -0.653662026, -0.716555536, -0.593024135, -0.684916675, 0.42331636)
  283. Part12.BottomSurface = Enum.SurfaceType.Smooth
  284. Part12.TopSurface = Enum.SurfaceType.Smooth
  285. Part12.Position = Vector3.new(23.7587357, 3.1372509, -23.7029457)
  286. Part12.Orientation = Vector3.new(45.7700005, -52.6399994, 159.569992)
  287. Decal13.Parent = Part12
  288. Decal13.Texture = "http://www.roblox.com/asset/?id=48579240"
  289. Decal13.Face = Enum.NormalId.Bottom
  290. SpecialMesh14.Parent = Part12
  291. SpecialMesh14.Scale = Vector3.new(0.79215461, 0.0226329863, 0.79215461)
  292. SpecialMesh14.MeshType = Enum.MeshType.Brick
  293. SpecialMesh14.Scale = Vector3.new(0.79215461, 0.0226329863, 0.79215461)
  294. Part15.Parent = Tool0
  295. Part15.Material = Enum.Material.SmoothPlastic
  296. Part15.Rotation = Vector3.new(59.4300003, -33.6699982, -157.25)
  297. Part15.FormFactor = Enum.FormFactor.Custom
  298. Part15.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
  299. Part15.CFrame = CFrame.new(23.7193756, 3.41314411, -23.9988022, -0.767495692, 0.321873963, -0.554377973, 0.243447468, -0.653665185, -0.716553032, -0.593024075, -0.684914827, 0.423318982)
  300. Part15.BottomSurface = Enum.SurfaceType.Smooth
  301. Part15.TopSurface = Enum.SurfaceType.Smooth
  302. Part15.Position = Vector3.new(23.7193756, 3.41314411, -23.9988022)
  303. Part15.Orientation = Vector3.new(45.7700005, -52.6299973, 159.569992)
  304. Decal16.Parent = Part15
  305. Decal16.Texture = "http://www.roblox.com/asset/?id=110707451"
  306. Decal16.Face = Enum.NormalId.Bottom
  307. SpecialMesh17.Parent = Part15
  308. SpecialMesh17.Scale = Vector3.new(1.28773904, 0.117067173, 0.507291138)
  309. SpecialMesh17.MeshType = Enum.MeshType.Brick
  310. SpecialMesh17.Scale = Vector3.new(1.28773904, 0.117067173, 0.507291138)
  311. Part18.Parent = Tool0
  312. Part18.Material = Enum.Material.SmoothPlastic
  313. Part18.BrickColor = BrickColor.new("Bright red")
  314. Part18.Rotation = Vector3.new(22.3199997, 50.1399994, 29.8799992)
  315. Part18.FormFactor = Enum.FormFactor.Custom
  316. Part18.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
  317. Part18.CFrame = CFrame.new(23.5613098, 3.1788969, -23.9299278, 0.555724144, -0.319347411, 0.767580986, 0.71365279, 0.656847119, -0.243402153, -0.426449746, 0.683053732, 0.592934906)
  318. Part18.BottomSurface = Enum.SurfaceType.Smooth
  319. Part18.TopSurface = Enum.SurfaceType.Smooth
  320. Part18.Color = Color3.new(0.768628, 0.156863, 0.109804)
  321. Part18.Position = Vector3.new(23.5613098, 3.1788969, -23.9299278)
  322. Part18.Orientation = Vector3.new(14.0900002, 52.3099976, 47.3699989)
  323. Part18.Color = Color3.new(0.768628, 0.156863, 0.109804)
  324. SpecialMesh19.Parent = Part18
  325. SpecialMesh19.Scale = Vector3.new(0.117067188, 0.19511196, 0.117067188)
  326. SpecialMesh19.MeshType = Enum.MeshType.Brick
  327. SpecialMesh19.Scale = Vector3.new(0.117067188, 0.19511196, 0.117067188)
  328. Part20.Parent = Tool0
  329. Part20.Material = Enum.Material.SmoothPlastic
  330. Part20.Rotation = Vector3.new(22.3199997, -39.8699989, -180)
  331. Part20.FormFactor = Enum.FormFactor.Custom
  332. Part20.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
  333. Part20.CFrame = CFrame.new(23.4371185, 2.84194207, -23.2360611, -0.767495692, 1.13113265e-05, -0.641045034, 0.243447304, -0.92507422, -0.291483164, -0.593023956, -0.379776984, 0.709985793)
  334. Part20.BottomSurface = Enum.SurfaceType.Smooth
  335. Part20.TopSurface = Enum.SurfaceType.Smooth
  336. Part20.Position = Vector3.new(23.4371185, 2.84194207, -23.2360611)
  337. Part20.Orientation = Vector3.new(16.9499989, -42.079998, 165.259995)
  338. Decal21.Parent = Part20
  339. Decal21.Texture = "http://www.roblox.com/asset/?id=48579240"
  340. Decal21.Face = Enum.NormalId.Bottom
  341. SpecialMesh22.Parent = Part20
  342. SpecialMesh22.Scale = Vector3.new(0.384760767, 0.0226329863, 1.76537323)
  343. SpecialMesh22.MeshType = Enum.MeshType.Brick
  344. SpecialMesh22.Scale = Vector3.new(0.384760767, 0.0226329863, 1.76537323)
  345. Part23.Parent = Tool0
  346. Part23.Material = Enum.Material.SmoothPlastic
  347. Part23.Rotation = Vector3.new(22.3199997, 50.1399994, 126.540001)
  348. Part23.FormFactor = Enum.FormFactor.Custom
  349. Part23.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
  350. Part23.CFrame = CFrame.new(22.9828262, 2.83537006, -23.0332756, -0.381572664, -0.514989614, 0.767579436, 0.569753289, -0.784938514, -0.243404791, 0.727853656, 0.344450176, 0.592934012)
  351. Part23.BottomSurface = Enum.SurfaceType.Smooth
  352. Part23.TopSurface = Enum.SurfaceType.Smooth
  353. Part23.Position = Vector3.new(22.9828262, 2.83537006, -23.0332756)
  354. Part23.Orientation = Vector3.new(14.0900002, 52.3099976, 144.029999)
  355. Decal24.Parent = Part23
  356. Decal24.Texture = "http://www.roblox.com/asset/?id=11369857"
  357. Decal24.Face = Enum.NormalId.Bottom
  358. SpecialMesh25.Parent = Part23
  359. SpecialMesh25.Scale = Vector3.new(0.332704872, 0.0226329863, 1.58430922)
  360. SpecialMesh25.MeshType = Enum.MeshType.Brick
  361. SpecialMesh25.Scale = Vector3.new(0.332704872, 0.0226329863, 1.58430922)
  362. Part26.Parent = Tool0
  363. Part26.Material = Enum.Material.SmoothPlastic
  364. Part26.Rotation = Vector3.new(59.4300003, -33.6699982, -157.25)
  365. Part26.FormFactor = Enum.FormFactor.Custom
  366. Part26.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
  367. Part26.CFrame = CFrame.new(23.9347534, 3.34762096, -23.8316269, -0.767495692, 0.321873963, -0.554377973, 0.243447468, -0.653665185, -0.716553032, -0.593024075, -0.684914827, 0.423318982)
  368. Part26.BottomSurface = Enum.SurfaceType.Smooth
  369. Part26.TopSurface = Enum.SurfaceType.Smooth
  370. Part26.Position = Vector3.new(23.9347534, 3.34762096, -23.8316269)
  371. Part26.Orientation = Vector3.new(45.7700005, -52.6299973, 159.569992)
  372. Decal27.Parent = Part26
  373. Decal27.Texture = "http://www.roblox.com/asset/?id=110707451"
  374. Decal27.Face = Enum.NormalId.Bottom
  375. SpecialMesh28.Parent = Part26
  376. SpecialMesh28.Scale = Vector3.new(1.28773904, 0.117067173, 0.507291138)
  377. SpecialMesh28.MeshType = Enum.MeshType.Brick
  378. SpecialMesh28.Scale = Vector3.new(1.28773904, 0.117067173, 0.507291138)
  379. Part29.Parent = Tool0
  380. Part29.Material = Enum.Material.SmoothPlastic
  381. Part29.BrickColor = BrickColor.new("Toothpaste")
  382. Part29.Transparency = 0.39999997615814
  383. Part29.Rotation = Vector3.new(22.3199997, 50.1399994, 29.8799992)
  384. Part29.FormFactor = Enum.FormFactor.Custom
  385. Part29.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
  386. Part29.CFrame = CFrame.new(23.5410461, 3.17993689, -23.9038925, 0.555724144, -0.319347411, 0.767580986, 0.71365279, 0.656847119, -0.243402153, -0.426449746, 0.683053732, 0.592934906)
  387. Part29.BottomSurface = Enum.SurfaceType.Smooth
  388. Part29.TopSurface = Enum.SurfaceType.Smooth
  389. Part29.Color = Color3.new(0, 1, 1)
  390. Part29.Position = Vector3.new(23.5410461, 3.17993689, -23.9038925)
  391. Part29.Orientation = Vector3.new(14.0900002, 52.3099976, 47.3699989)
  392. Part29.Color = Color3.new(0, 1, 1)
  393. SpecialMesh30.Parent = Part29
  394. SpecialMesh30.Scale = Vector3.new(0.195111975, 0.234134346, 0.195111975)
  395. SpecialMesh30.MeshType = Enum.MeshType.Brick
  396. SpecialMesh30.Scale = Vector3.new(0.195111975, 0.234134346, 0.195111975)
  397. Part31.Parent = Tool0
  398. Part31.Material = Enum.Material.SmoothPlastic
  399. Part31.BrickColor = BrickColor.new("Bright red")
  400. Part31.Rotation = Vector3.new(22.3199997, 50.1399994, -14.8999996)
  401. Part31.FormFactor = Enum.FormFactor.Custom
  402. Part31.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
  403. Part31.CFrame = CFrame.new(24.1532288, 3.42478895, -23.9112358, 0.619396448, 0.164808959, 0.767580092, 0.0438233763, 0.968931496, -0.243404716, -0.783846676, 0.184406281, 0.592935324)
  404. Part31.BottomSurface = Enum.SurfaceType.Smooth
  405. Part31.TopSurface = Enum.SurfaceType.Smooth
  406. Part31.Color = Color3.new(0.768628, 0.156863, 0.109804)
  407. Part31.Position = Vector3.new(24.1532288, 3.42478895, -23.9112358)
  408. Part31.Orientation = Vector3.new(14.0900002, 52.3099976, 2.58999991)
  409. Part31.Color = Color3.new(0.768628, 0.156863, 0.109804)
  410. SpecialMesh32.Parent = Part31
  411. SpecialMesh32.Scale = Vector3.new(0.117067188, 0.19511196, 0.117067188)
  412. SpecialMesh32.MeshType = Enum.MeshType.Brick
  413. SpecialMesh32.Scale = Vector3.new(0.117067188, 0.19511196, 0.117067188)
  414. Part33.Name = "display"
  415. Part33.Parent = Tool0
  416. Part33.Material = Enum.Material.SmoothPlastic
  417. Part33.BrickColor = BrickColor.new("Really black")
  418. Part33.Rotation = Vector3.new(22.3199997, -39.8699989, -180)
  419. Part33.FormFactor = Enum.FormFactor.Custom
  420. Part33.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
  421. Part33.CFrame = CFrame.new(23.0976944, 2.88602591, -23.3704872, -0.767495692, 1.13650058e-05, -0.641045153, 0.243447304, -0.925074577, -0.291483283, -0.593023956, -0.379777342, 0.709985793)
  422. Part33.BottomSurface = Enum.SurfaceType.Smooth
  423. Part33.TopSurface = Enum.SurfaceType.Smooth
  424. Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  425. Part33.Position = Vector3.new(23.0976944, 2.88602591, -23.3704872)
  426. Part33.Orientation = Vector3.new(16.9499989, -42.079998, 165.259995)
  427. Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  428. Decal34.Parent = Part33
  429. Decal34.Texture = "http://www.roblox.com/asset/?id=230007849"
  430. Decal34.Face = Enum.NormalId.Bottom
  431. SpecialMesh35.Parent = Part33
  432. SpecialMesh35.Scale = Vector3.new(1.01848447, 0.0226329863, 0.79215461)
  433. SpecialMesh35.MeshType = Enum.MeshType.Brick
  434. SpecialMesh35.Scale = Vector3.new(1.01848447, 0.0226329863, 0.79215461)
  435. Script36.Name = "Welding"
  436. Script36.Parent = Tool0
  437. table.insert(cors,sandbox(Script36,function()
  438. function Weld(x,y)
  439. local W = Instance.new("Weld")
  440. W.Part0 = x
  441. W.Part1 = y
  442. local CJ = CFrame.new(x.Position)
  443. local C0 = x.CFrame:inverse()*CJ
  444. local C1 = y.CFrame:inverse()*CJ
  445. W.C0 = C0
  446. W.C1 = C1
  447. W.Parent = x
  448. end
  449.  
  450. function Get(A)
  451. if A.className == "Part" or A.className == "UnionOperation" then
  452. Weld(script.Parent.Handle, A)
  453. A.Anchored = false
  454. else
  455. local C = A:GetChildren()
  456. for i=1, #C do
  457. Get(C[i])
  458. end
  459. end
  460. end
  461.  
  462. function Finale()
  463. Get(script.Parent)
  464. end
  465.  
  466. script.Parent.Equipped:connect(Finale)
  467. script.Parent.Unequipped:connect(Finale)
  468. Finale()
  469. end))
  470. Tool37.Name = "Phaser"
  471. Tool37.Parent = mas
  472. Tool37.TextureId = "http://www.roblox.com/asset?id=234894196"
  473. Tool37.ToolTip = "ZAP!"
  474. Texture38.Parent = mas
  475. Texture38.Texture = "http://www.roblox.com/asset/?id=234419562"
  476. Texture38.Face = Enum.NormalId.Bottom
  477. Texture38.StudsPerTileU = 1
  478. Texture38.StudsPerTileV = 1
  479. Texture39.Parent = mas
  480. Texture39.Texture = "http://www.roblox.com/asset/?id=234419562"
  481. Texture39.Face = Enum.NormalId.Bottom
  482. Texture39.StudsPerTileU = 1
  483. Texture39.StudsPerTileV = 1
  484. Part40.Name = "Handle"
  485. Part40.Parent = Tool37
  486. Part40.Transparency = 1
  487. Part40.Rotation = Vector3.new(-16.6499996, 37.7700005, 26.6299992)
  488. Part40.FormFactor = Enum.FormFactor.Custom
  489. Part40.Size = Vector3.new(0.78000021, 1.14000094, 2.2800014)
  490. Part40.CFrame = CFrame.new(23.7472916, 3.43801689, -23.8731194, 0.706609368, -0.354380488, 0.612467945, 0.272684276, 0.935076594, 0.226451933, -0.652957678, 0.00699480623, 0.757358432)
  491. Part40.BottomSurface = Enum.SurfaceType.Smooth
  492. Part40.TopSurface = Enum.SurfaceType.Smooth
  493. Part40.Position = Vector3.new(23.7472916, 3.43801689, -23.8731194)
  494. Part40.Orientation = Vector3.new(-13.0900002, 38.9599991, 16.2600002)
  495. Sound41.Name = "Fire"
  496. Sound41.Parent = Part40
  497. Sound41.SoundId = "http://www.roblox.com/asset?id=151568387"
  498. Sound42.Name = "Reload"
  499. Sound42.Parent = Part40
  500. PointLight43.Parent = Part40
  501. PointLight43.Color = Color3.new(1, 0.568627, 0.133333)
  502. PointLight43.Range = 6
  503. PointLight43.Color = Color3.new(1, 0.568627, 0.133333)
  504. Part44.Parent = Tool37
  505. Part44.Material = Enum.Material.SmoothPlastic
  506. Part44.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  507. Part44.FormFactor = Enum.FormFactor.Custom
  508. Part44.Size = Vector3.new(0.291600019, 0.291599989, 0.291599989)
  509. Part44.CFrame = CFrame.new(23.4761124, 3.50957394, -24.0666618, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  510. Part44.BottomSurface = Enum.SurfaceType.Smooth
  511. Part44.TopSurface = Enum.SurfaceType.Smooth
  512. Part44.Position = Vector3.new(23.4761124, 3.50957394, -24.0666618)
  513. Part44.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  514. SpecialMesh45.Parent = Part44
  515. SpecialMesh45.Scale = Vector3.new(0.255091608, 0.119042777, 0.61221993)
  516. SpecialMesh45.MeshType = Enum.MeshType.Brick
  517. SpecialMesh45.Scale = Vector3.new(0.255091608, 0.119042777, 0.61221993)
  518. Part46.Parent = Tool37
  519. Part46.Material = Enum.Material.SmoothPlastic
  520. Part46.Rotation = Vector3.new(-16.6499996, 37.7700005, -153.360001)
  521. Part46.FormFactor = Enum.FormFactor.Custom
  522. Part46.Size = Vector3.new(1, 1, 1)
  523. Part46.CFrame = CFrame.new(23.5970917, 3.3064909, -23.9226189, -0.706611753, 0.354387373, 0.612461209, -0.272695005, -0.935074031, 0.226450086, 0.652950466, -0.0070003178, 0.757364213)
  524. Part46.BottomSurface = Enum.SurfaceType.Smooth
  525. Part46.TopSurface = Enum.SurfaceType.Smooth
  526. Part46.Position = Vector3.new(23.5970917, 3.3064909, -23.9226189)
  527. Part46.Orientation = Vector3.new(-13.0900002, 38.9599991, -163.73999)
  528. SpecialMesh47.Parent = Part46
  529. SpecialMesh47.Scale = Vector3.new(0.247949094, 0.238031119, 0.138851523)
  530. SpecialMesh47.MeshType = Enum.MeshType.Brick
  531. SpecialMesh47.Scale = Vector3.new(0.247949094, 0.238031119, 0.138851523)
  532. Part48.Parent = Tool37
  533. Part48.Material = Enum.Material.SmoothPlastic
  534. Part48.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  535. Part48.FormFactor = Enum.FormFactor.Custom
  536. Part48.Size = Vector3.new(0.247949094, 0.27274397, 0.371923685)
  537. Part48.CFrame = CFrame.new(23.4656677, 3.35853195, -24.0413933, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  538. Part48.BottomSurface = Enum.SurfaceType.Smooth
  539. Part48.TopSurface = Enum.SurfaceType.Smooth
  540. Part48.Position = Vector3.new(23.4656677, 3.35853195, -24.0413933)
  541. Part48.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  542. Part49.Parent = Tool37
  543. Part49.Material = Enum.Material.SmoothPlastic
  544. Part49.BrickColor = BrickColor.new("Mid gray")
  545. Part49.Rotation = Vector3.new(-16.6499996, 37.7700005, -153.360001)
  546. Part49.FormFactor = Enum.FormFactor.Custom
  547. Part49.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
  548. Part49.CFrame = CFrame.new(23.7121582, 3.40693307, -23.7555046, -0.706611753, 0.354387373, 0.612461209, -0.272695005, -0.935074031, 0.226450086, 0.652950466, -0.0070003178, 0.757364213)
  549. Part49.BottomSurface = Enum.SurfaceType.Smooth
  550. Part49.TopSurface = Enum.SurfaceType.Smooth
  551. Part49.Color = Color3.new(0.803922, 0.803922, 0.803922)
  552. Part49.Position = Vector3.new(23.7121582, 3.40693307, -23.7555046)
  553. Part49.Orientation = Vector3.new(-13.0900002, 38.9599991, -163.73999)
  554. Part49.Color = Color3.new(0.803922, 0.803922, 0.803922)
  555. SpecialMesh50.Parent = Part49
  556. SpecialMesh50.Scale = Vector3.new(0.229582503, 0.0183665995, 0.0734663904)
  557. SpecialMesh50.MeshType = Enum.MeshType.Brick
  558. SpecialMesh50.Scale = Vector3.new(0.229582503, 0.0183665995, 0.0734663904)
  559. Part51.Parent = Tool37
  560. Part51.Material = Enum.Material.SmoothPlastic
  561. Part51.BrickColor = BrickColor.new("Black")
  562. Part51.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  563. Part51.FormFactor = Enum.FormFactor.Custom
  564. Part51.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
  565. Part51.CFrame = CFrame.new(23.2127151, 3.46094894, -24.2737541, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  566. Part51.BottomSurface = Enum.SurfaceType.Smooth
  567. Part51.TopSurface = Enum.SurfaceType.Smooth
  568. Part51.Color = Color3.new(0.105882, 0.164706, 0.207843)
  569. Part51.Position = Vector3.new(23.2127151, 3.46094894, -24.2737541)
  570. Part51.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  571. Part51.Color = Color3.new(0.105882, 0.164706, 0.207843)
  572. SpecialMesh52.Parent = Part51
  573. SpecialMesh52.Scale = Vector3.new(0.238765806, 0.266315699, 0.165299401)
  574. SpecialMesh52.MeshType = Enum.MeshType.Brick
  575. SpecialMesh52.Scale = Vector3.new(0.238765806, 0.266315699, 0.165299401)
  576. Part53.Parent = Tool37
  577. Part53.Material = Enum.Material.SmoothPlastic
  578. Part53.BrickColor = BrickColor.new("Really black")
  579. Part53.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  580. Part53.FormFactor = Enum.FormFactor.Custom
  581. Part53.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
  582. Part53.CFrame = CFrame.new(23.5549622, 3.45906496, -23.9141655, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  583. Part53.BottomSurface = Enum.SurfaceType.Smooth
  584. Part53.TopSurface = Enum.SurfaceType.Smooth
  585. Part53.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  586. Part53.Position = Vector3.new(23.5549622, 3.45906496, -23.9141655)
  587. Part53.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  588. Part53.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  589. SpecialMesh54.Parent = Part53
  590. SpecialMesh54.Scale = Vector3.new(0.330598831, 0.0183665995, 0.137749478)
  591. SpecialMesh54.MeshType = Enum.MeshType.Brick
  592. SpecialMesh54.Scale = Vector3.new(0.330598831, 0.0183665995, 0.137749478)
  593. Part55.Parent = Tool37
  594. Part55.Material = Enum.Material.SmoothPlastic
  595. Part55.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  596. Part55.FormFactor = Enum.FormFactor.Custom
  597. Part55.Size = Vector3.new(0.247949094, 0.223154172, 0.495898187)
  598. Part55.CFrame = CFrame.new(23.9153214, 3.25722504, -23.6020927, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  599. Part55.BottomSurface = Enum.SurfaceType.Smooth
  600. Part55.TopSurface = Enum.SurfaceType.Smooth
  601. Part55.Position = Vector3.new(23.9153214, 3.25722504, -23.6020927)
  602. Part55.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  603. Part56.Parent = Tool37
  604. Part56.Material = Enum.Material.SmoothPlastic
  605. Part56.BrickColor = BrickColor.new("Black")
  606. Part56.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  607. Part56.FormFactor = Enum.FormFactor.Custom
  608. Part56.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
  609. Part56.CFrame = CFrame.new(23.1827469, 3.47551489, -24.2959099, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  610. Part56.BottomSurface = Enum.SurfaceType.Smooth
  611. Part56.TopSurface = Enum.SurfaceType.Smooth
  612. Part56.Color = Color3.new(0.105882, 0.164706, 0.207843)
  613. Part56.Position = Vector3.new(23.1827469, 3.47551489, -24.2959099)
  614. Part56.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  615. Part56.Color = Color3.new(0.105882, 0.164706, 0.207843)
  616. SpecialMesh57.Parent = Part56
  617. SpecialMesh57.Scale = Vector3.new(0.192849308, 0.192849278, 0.238765791)
  618. SpecialMesh57.MeshType = Enum.MeshType.Brick
  619. SpecialMesh57.Scale = Vector3.new(0.192849308, 0.192849278, 0.238765791)
  620. Part58.Parent = Tool37
  621. Part58.Material = Enum.Material.SmoothPlastic
  622. Part58.Rotation = Vector3.new(-16.6499996, 37.7700005, -153.360001)
  623. Part58.FormFactor = Enum.FormFactor.Custom
  624. Part58.Size = Vector3.new(1, 1, 1)
  625. Part58.CFrame = CFrame.new(23.7180252, 3.31459188, -23.7903862, -0.706611753, 0.354387373, 0.612461209, -0.272695005, -0.935074031, 0.226450086, 0.652950466, -0.0070003178, 0.757364213)
  626. Part58.BottomSurface = Enum.SurfaceType.Smooth
  627. Part58.TopSurface = Enum.SurfaceType.Smooth
  628. Part58.Position = Vector3.new(23.7180252, 3.31459188, -23.7903862)
  629. Part58.Orientation = Vector3.new(-13.0900002, 38.9599991, -163.73999)
  630. SpecialMesh59.Parent = Part58
  631. SpecialMesh59.Scale = Vector3.new(0.247949094, 0.168605372, 0.213236228)
  632. SpecialMesh59.MeshType = Enum.MeshType.Brick
  633. SpecialMesh59.Scale = Vector3.new(0.247949094, 0.168605372, 0.213236228)
  634. Part60.Parent = Tool37
  635. Part60.Material = Enum.Material.SmoothPlastic
  636. Part60.Transparency = 1
  637. Part60.Rotation = Vector3.new(112.709999, -0.049999997, 134.959991)
  638. Part60.FormFactor = Enum.FormFactor.Custom
  639. Part60.Size = Vector3.new(0.291600019, 0.291599989, 0.291599989)
  640. Part60.CFrame = CFrame.new(23.8308182, 3.26897907, -23.5024223, -0.706611753, -0.707600534, -0.000817267632, -0.272695005, 0.273375243, -0.922447383, 0.652950466, -0.651582241, -0.386122137)
  641. Part60.BottomSurface = Enum.SurfaceType.Smooth
  642. Part60.TopSurface = Enum.SurfaceType.Smooth
  643. Part60.Position = Vector3.new(23.8308182, 3.26897907, -23.5024223)
  644. Part60.Orientation = Vector3.new(67.2900009, -179.87999, -44.9300003)
  645. Texture61.Parent = Part60
  646. Texture61.Texture = "http://www.roblox.com/asset/?id=234419562"
  647. Texture61.Face = Enum.NormalId.Right
  648. Texture61.StudsPerTileU = 1
  649. Texture61.StudsPerTileV = 1
  650. SpecialMesh62.Parent = Part60
  651. SpecialMesh62.Scale = Vector3.new(0.0246588588, 1.36644101, 0.426853478)
  652. SpecialMesh62.MeshType = Enum.MeshType.Brick
  653. SpecialMesh62.Scale = Vector3.new(0.0246588588, 1.36644101, 0.426853478)
  654. Part63.Parent = Tool37
  655. Part63.Material = Enum.Material.SmoothPlastic
  656. Part63.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  657. Part63.FormFactor = Enum.FormFactor.Custom
  658. Part63.Size = Vector3.new(0.291600019, 0.291599989, 0.291599989)
  659. Part63.CFrame = CFrame.new(23.3863297, 3.47478104, -23.9869804, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  660. Part63.BottomSurface = Enum.SurfaceType.Smooth
  661. Part63.TopSurface = Enum.SurfaceType.Smooth
  662. Part63.Position = Vector3.new(23.3863297, 3.47478104, -23.9869804)
  663. Part63.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  664. SpecialMesh64.Parent = Part63
  665. SpecialMesh64.Scale = Vector3.new(0.255091608, 0.119042777, 0.61221993)
  666. SpecialMesh64.MeshType = Enum.MeshType.Brick
  667. SpecialMesh64.Scale = Vector3.new(0.255091608, 0.119042777, 0.61221993)
  668. Part65.Parent = Tool37
  669. Part65.Material = Enum.Material.SmoothPlastic
  670. Part65.BrickColor = BrickColor.new("Black")
  671. Part65.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  672. Part65.FormFactor = Enum.FormFactor.Custom
  673. Part65.Size = Vector3.new(1, 1, 1)
  674. Part65.CFrame = CFrame.new(23.3975143, 3.38566494, -24.1061821, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  675. Part65.BottomSurface = Enum.SurfaceType.Smooth
  676. Part65.TopSurface = Enum.SurfaceType.Smooth
  677. Part65.Color = Color3.new(0.105882, 0.164706, 0.207843)
  678. Part65.Position = Vector3.new(23.3975143, 3.38566494, -24.1061821)
  679. Part65.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  680. Part65.Color = Color3.new(0.105882, 0.164706, 0.207843)
  681. SpecialMesh66.Parent = Part65
  682. SpecialMesh66.Scale = Vector3.new(0.198359296, 0.223154172, 0.510775149)
  683. SpecialMesh66.MeshType = Enum.MeshType.Brick
  684. SpecialMesh66.Scale = Vector3.new(0.198359296, 0.223154172, 0.510775149)
  685. Part67.Parent = Tool37
  686. Part67.Material = Enum.Material.SmoothPlastic
  687. Part67.BrickColor = BrickColor.new("Mid gray")
  688. Part67.Rotation = Vector3.new(-16.6499996, 37.7700005, -153.360001)
  689. Part67.FormFactor = Enum.FormFactor.Custom
  690. Part67.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
  691. Part67.CFrame = CFrame.new(23.6885929, 3.3994379, -23.8624687, -0.706611753, 0.354387373, 0.612461209, -0.272695005, -0.935074031, 0.226450086, 0.652950466, -0.0070003178, 0.757364213)
  692. Part67.BottomSurface = Enum.SurfaceType.Smooth
  693. Part67.TopSurface = Enum.SurfaceType.Smooth
  694. Part67.Color = Color3.new(0.803922, 0.803922, 0.803922)
  695. Part67.Position = Vector3.new(23.6885929, 3.3994379, -23.8624687)
  696. Part67.Orientation = Vector3.new(-13.0900002, 38.9599991, -163.73999)
  697. Part67.Color = Color3.new(0.803922, 0.803922, 0.803922)
  698. SpecialMesh68.Parent = Part67
  699. SpecialMesh68.Scale = Vector3.new(0.091832988, 0.0183665995, 0.10101629)
  700. SpecialMesh68.MeshType = Enum.MeshType.Brick
  701. SpecialMesh68.Scale = Vector3.new(0.091832988, 0.0183665995, 0.10101629)
  702. Part69.Parent = Tool37
  703. Part69.Material = Enum.Material.SmoothPlastic
  704. Part69.BrickColor = BrickColor.new("Black")
  705. Part69.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  706. Part69.FormFactor = Enum.FormFactor.Custom
  707. Part69.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
  708. Part69.CFrame = CFrame.new(23.2299957, 3.44946194, -24.2594414, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  709. Part69.BottomSurface = Enum.SurfaceType.Smooth
  710. Part69.TopSurface = Enum.SurfaceType.Smooth
  711. Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  712. Part69.Position = Vector3.new(23.2299957, 3.44946194, -24.2594414)
  713. Part69.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  714. Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  715. SpecialMesh70.Parent = Part69
  716. SpecialMesh70.Scale = Vector3.new(0.257132411, 0.303048968, 0.165299401)
  717. SpecialMesh70.MeshType = Enum.MeshType.Brick
  718. SpecialMesh70.Scale = Vector3.new(0.257132411, 0.303048968, 0.165299401)
  719. Part71.Parent = Tool37
  720. Part71.Material = Enum.Material.SmoothPlastic
  721. Part71.BrickColor = BrickColor.new("Really black")
  722. Part71.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  723. Part71.FormFactor = Enum.FormFactor.Custom
  724. Part71.Size = Vector3.new(0.291600019, 0.291599989, 0.291599989)
  725. Part71.CFrame = CFrame.new(23.2802353, 3.53763294, -24.1746979, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  726. Part71.BottomSurface = Enum.SurfaceType.Smooth
  727. Part71.TopSurface = Enum.SurfaceType.Smooth
  728. Part71.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  729. Part71.Position = Vector3.new(23.2802353, 3.53763294, -24.1746979)
  730. Part71.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  731. Part71.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  732. SpecialMesh72.Parent = Part71
  733. SpecialMesh72.Scale = Vector3.new(0.493177235, 0.0170061104, 0.459165007)
  734. SpecialMesh72.MeshType = Enum.MeshType.Brick
  735. SpecialMesh72.Scale = Vector3.new(0.493177235, 0.0170061104, 0.459165007)
  736. Part73.Parent = Tool37
  737. Part73.Material = Enum.Material.SmoothPlastic
  738. Part73.BrickColor = BrickColor.new("Mid gray")
  739. Part73.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
  740. Part73.FormFactor = Enum.FormFactor.Custom
  741. Part73.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
  742. Part73.CFrame = CFrame.new(23.5556107, 3.45856094, -23.914257, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
  743. Part73.BottomSurface = Enum.SurfaceType.Smooth
  744. Part73.TopSurface = Enum.SurfaceType.Smooth
  745. Part73.Color = Color3.new(0.803922, 0.803922, 0.803922)
  746. Part73.Position = Vector3.new(23.5556107, 3.45856094, -23.914257)
  747. Part73.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
  748. Part73.Color = Color3.new(0.803922, 0.803922, 0.803922)
  749. SpecialMesh74.Parent = Part73
  750. SpecialMesh74.Scale = Vector3.new(0.348965436, 0.0183665995, 0.156116083)
  751. SpecialMesh74.MeshType = Enum.MeshType.Brick
  752. SpecialMesh74.Scale = Vector3.new(0.348965436, 0.0183665995, 0.156116083)
  753. Part75.Parent = Tool37
  754. Part75.Material = Enum.Material.SmoothPlastic
  755. Part75.BrickColor = BrickColor.new("Mid gray")
  756. Part75.Rotation = Vector3.new(-16.6499996, 37.7700005, -153.360001)
  757. Part75.FormFactor = Enum.FormFactor.Custom
  758. Part75.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
  759. Part75.CFrame = CFrame.new(23.6153336, 3.37160397, -23.7944145, -0.706611753, 0.354387373, 0.612461209, -0.272695005, -0.935074031, 0.226450086, 0.652950466, -0.0070003178, 0.757364213)
  760. Part75.BottomSurface = Enum.SurfaceType.Smooth
  761. Part75.TopSurface = Enum.SurfaceType.Smooth
  762. Part75.Color = Color3.new(0.803922, 0.803922, 0.803922)
  763. Part75.Position = Vector3.new(23.6153336, 3.37160397, -23.7944145)
  764. Part75.Orientation = Vector3.new(-13.0900002, 38.9599991, -163.73999)
  765. Part75.Color = Color3.new(0.803922, 0.803922, 0.803922)
  766. SpecialMesh76.Parent = Part75
  767. SpecialMesh76.Scale = Vector3.new(0.091832988, 0.0183665995, 0.10101629)
  768. SpecialMesh76.MeshType = Enum.MeshType.Brick
  769. SpecialMesh76.Scale = Vector3.new(0.091832988, 0.0183665995, 0.10101629)
  770. Script77.Name = "Welding"
  771. Script77.Parent = Tool37
  772. table.insert(cors,sandbox(Script77,function()
  773. function Weld(x,y)
  774. local W = Instance.new("Weld")
  775. W.Part0 = x
  776. W.Part1 = y
  777. local CJ = CFrame.new(x.Position)
  778. local C0 = x.CFrame:inverse()*CJ
  779. local C1 = y.CFrame:inverse()*CJ
  780. W.C0 = C0
  781. W.C1 = C1
  782. W.Parent = x
  783. end
  784.  
  785. function Get(A)
  786. if A.className == "Part" or A.className == "UnionOperation" then
  787. Weld(script.Parent.Handle, A)
  788. A.Anchored = false
  789. else
  790. local C = A:GetChildren()
  791. for i=1, #C do
  792. Get(C[i])
  793. end
  794. end
  795. end
  796.  
  797. function Finale()
  798. Get(script.Parent)
  799. end
  800.  
  801. script.Parent.Equipped:connect(Finale)
  802. script.Parent.Unequipped:connect(Finale)
  803. Finale()
  804. end))
  805. LocalScript78.Name = "MouseIcon"
  806. LocalScript78.Parent = Tool37
  807. table.insert(cors,sandbox(LocalScript78,function()
  808. local MOUSE_ICON = 'rbxasset://textures/GunCursor.png'
  809. local RELOADING_ICON = 'rbxasset://textures/GunWaitCursor.png'
  810.  
  811. local Tool = script.Parent
  812.  
  813. local Mouse = nil
  814.  
  815. local function UpdateIcon()
  816. if Mouse then
  817. Mouse.Icon = Tool.Enabled and MOUSE_ICON or RELOADING_ICON
  818. end
  819. end
  820.  
  821. local function OnEquipped(mouse)
  822. Mouse = mouse
  823. UpdateIcon()
  824. end
  825.  
  826. local function OnChanged(property)
  827. if property == 'Enabled' then
  828. UpdateIcon()
  829. end
  830. end
  831.  
  832. Tool.Equipped:connect(OnEquipped)
  833. Tool.Changed:connect(OnChanged)
  834.  
  835. end))
  836. LocalScript79.Name = "ToolScript"
  837. LocalScript79.Parent = Tool37
  838. table.insert(cors,sandbox(LocalScript79,function()
  839. -----------------
  840. --| Constants |--
  841. -----------------
  842.  
  843. local SHOT_SPEED = 100
  844. local SHOT_TIME = 1000
  845.  
  846. local NOZZLE_OFFSET = Vector3.new(0, 0.4, -1.1)
  847.  
  848. -----------------
  849. --| Variables |--
  850. -----------------
  851.  
  852. local PlayersService = Game:GetService('Players')
  853. local DebrisService = Game:GetService('Debris')
  854.  
  855. local Tool = script.Parent
  856. local Handle = Tool:WaitForChild('Handle')
  857.  
  858. local FireSound = Handle:WaitForChild('Fire')
  859. local ReloadSound = Handle:WaitForChild('Reload')
  860. local HitFadeSound = script:WaitForChild('HitFade')
  861.  
  862. local PointLight = Handle:WaitForChild('PointLight')
  863.  
  864. local Character = nil
  865. local Humanoid = nil
  866. local Player = nil
  867.  
  868. local BaseShot = nil
  869.  
  870. -----------------
  871. --| Functions |--
  872. -----------------
  873.  
  874. -- Returns a character ancestor and its Humanoid, or nil
  875. local function FindCharacterAncestor(subject)
  876. if subject and subject ~= Workspace then
  877. local humanoid = subject:FindFirstChild('Humanoid')
  878. if humanoid then
  879. return subject, humanoid
  880. else
  881. return FindCharacterAncestor(subject.Parent)
  882. end
  883. end
  884. return nil
  885. end
  886.  
  887. -- Removes any old creator tags and applies new ones to the specified target
  888. local function ApplyTags(target)
  889. while target:FindFirstChild('creator') do
  890. target.creator:Destroy()
  891. end
  892.  
  893. local creatorTag = Instance.new('ObjectValue')
  894. creatorTag.Value = Player
  895. creatorTag.Name = 'creator' --NOTE: Must be called 'creator' for website stats
  896.  
  897. local iconTag = Instance.new('StringValue')
  898. iconTag.Value = Tool.TextureId
  899. iconTag.Name = 'icon'
  900.  
  901. iconTag.Parent = creatorTag
  902. creatorTag.Parent = target
  903. DebrisService:AddItem(creatorTag, 4)
  904. end
  905.  
  906. -- Returns all objects under instance with Transparency
  907. local function GetTransparentsRecursive(instance, partsTable)
  908. local partsTable = partsTable or {}
  909. for _, child in pairs(instance:GetChildren()) do
  910. if child:IsA('BasePart') or child:IsA('Decal') then
  911. table.insert(partsTable, child)
  912. end
  913. GetTransparentsRecursive(child, partsTable)
  914. end
  915. return partsTable
  916. end
  917.  
  918. local function SelectionBoxify(instance)
  919. local selectionBox = Instance.new('SelectionBox')
  920. selectionBox.Adornee = instance
  921. selectionBox.Color = BrickColor.new('Deep orange')
  922. selectionBox.Parent = instance
  923. return selectionBox
  924. end
  925.  
  926. local function Light(instance)
  927. local light = PointLight:Clone()
  928. light.Range = light.Range + 2
  929. light.Parent = instance
  930. end
  931.  
  932. local function FadeOutObjects(objectsWithTransparency, fadeIncrement)
  933. repeat
  934. local lastObject = nil
  935. for _, object in pairs(objectsWithTransparency) do
  936. object.Transparency = object.Transparency + fadeIncrement
  937. lastObject = object
  938. end
  939. wait()
  940. until lastObject.Transparency >= 1 or not lastObject
  941. end
  942.  
  943. local function Dematerialize(character, humanoid, firstPart)
  944. humanoid.WalkSpeed = 0
  945.  
  946. local parts = {}
  947. for _, child in pairs(character:GetChildren()) do
  948. if child:IsA('BasePart') then
  949. child.Anchored = true
  950. table.insert(parts, child)
  951. elseif child:IsA('LocalScript') or child:IsA('Script') then
  952. child:Destroy()
  953. end
  954. end
  955.  
  956. local selectionBoxes = {}
  957.  
  958. local firstSelectionBox = SelectionBoxify(firstPart)
  959. Light(firstPart)
  960. wait(0.05)
  961.  
  962. for _, part in pairs(parts) do
  963. if part ~= firstPart then
  964. table.insert(selectionBoxes, SelectionBoxify(part))
  965. Light(part)
  966. end
  967. end
  968.  
  969. local objectsWithTransparency = GetTransparentsRecursive(character)
  970. FadeOutObjects(objectsWithTransparency, 0.1)
  971.  
  972. wait(0.5)
  973.  
  974. humanoid.Health = 0
  975. DebrisService:AddItem(character, 2)
  976.  
  977. local fadeIncrement = 0.05
  978. Delay(0.2, function()
  979. FadeOutObjects({firstSelectionBox}, fadeIncrement)
  980. if character then
  981. character:Destroy()
  982. end
  983. end)
  984. FadeOutObjects(selectionBoxes, fadeIncrement)
  985. end
  986.  
  987. local function OnTouched(shot, otherPart)
  988. local character, humanoid = FindCharacterAncestor(otherPart)
  989. if character and humanoid and character ~= Character then
  990. ApplyTags(humanoid)
  991. if shot then
  992. local hitFadeSound = shot:FindFirstChild(HitFadeSound.Name)
  993. if hitFadeSound then
  994. hitFadeSound.Parent = humanoid.Torso
  995. hitFadeSound:Play()
  996. end
  997. shot:Destroy()
  998. end
  999. Dematerialize(character, humanoid, otherPart)
  1000. end
  1001. end
  1002.  
  1003. local function OnEquipped()
  1004. Character = Tool.Parent
  1005. Humanoid = Character:WaitForChild('Humanoid')
  1006. Player = PlayersService:GetPlayerFromCharacter(Character)
  1007. end
  1008.  
  1009. local function OnActivated()
  1010. if Tool.Enabled and Humanoid.Health > 0 then
  1011. Tool.Enabled = false
  1012.  
  1013. FireSound:Play()
  1014.  
  1015. local handleCFrame = Handle.CFrame
  1016. local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
  1017. local shotCFrame = CFrame.new(firingPoint, Humanoid.TargetPoint)
  1018.  
  1019. local laserShotClone = BaseShot:Clone()
  1020. laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (BaseShot.Size.Z / 2))
  1021. local bodyVelocity = Instance.new('BodyVelocity')
  1022. bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
  1023. bodyVelocity.Parent = laserShotClone
  1024. laserShotClone.Touched:connect(function(otherPart)
  1025. OnTouched(laserShotClone, otherPart)
  1026. end)
  1027. DebrisService:AddItem(laserShotClone, SHOT_TIME)
  1028. laserShotClone.Parent = Tool
  1029.  
  1030. wait(0) -- FireSound length
  1031.  
  1032. ReloadSound:Play()
  1033. wait(0) -- ReloadSound length
  1034.  
  1035. Tool.Enabled = true
  1036. end
  1037. end
  1038.  
  1039. local function OnUnequipped()
  1040.  
  1041. end
  1042.  
  1043. --------------------
  1044. --| Script Logic |--
  1045. --------------------
  1046.  
  1047. BaseShot = Instance.new('Part')
  1048. BaseShot.Name = 'Effect'
  1049. BaseShot.FormFactor = Enum.FormFactor.Custom
  1050. BaseShot.Size = Vector3.new(0.2, 0.2, 3)
  1051. BaseShot.CanCollide = false
  1052. BaseShot.BrickColor = BrickColor.new('Really red')
  1053. SelectionBoxify(BaseShot)
  1054. Light(BaseShot)
  1055. HitFadeSound:Clone().Parent = BaseShot
  1056.  
  1057. Tool.Equipped:connect(OnEquipped)
  1058. Tool.Unequipped:connect(OnUnequipped)
  1059. Tool.Activated:connect(OnActivated)
  1060. end))
  1061. Sound80.Name = "HitFade"
  1062. Sound80.Parent = LocalScript79
  1063. Sound80.SoundId = "http://www.roblox.com/asset?id=130113415"
  1064. Tool81.Name = "Hypospray"
  1065. Tool81.Parent = mas
  1066. Tool81.TextureId = "http://www.roblox.com/asset?id=234893876"
  1067. Tool81.GripPos = Vector3.new(0, 0, 0.5)
  1068. Tool81.ToolTip = "Heal yourself!"
  1069. Part82.Name = "Handle"
  1070. Part82.Parent = Tool81
  1071. Part82.Transparency = 1
  1072. Part82.Rotation = Vector3.new(111.360001, -0.0199999996, -25)
  1073. Part82.FormFactor = Enum.FormFactor.Custom
  1074. Part82.Size = Vector3.new(0.580000222, 1.31000102, 0.600001454)
  1075. Part82.CFrame = CFrame.new(23.2818375, 3.51479506, -23.5966187, 0.906289876, 0.422648519, -0.000319148996, 0.153670579, -0.330220997, -0.931307197, -0.393722028, 0.843988061, -0.364225835)
  1076. Part82.BottomSurface = Enum.SurfaceType.Smooth
  1077. Part82.TopSurface = Enum.SurfaceType.Smooth
  1078. Part82.Position = Vector3.new(23.2818375, 3.51479506, -23.5966187)
  1079. Part82.Orientation = Vector3.new(68.6399994, -179.949997, 155.039993)
  1080. Sound83.Parent = Part82
  1081. Sound83.SoundId = "http://www.roblox.com/asset?id=234540144"
  1082. Part84.Parent = Tool81
  1083. Part84.Material = Enum.Material.SmoothPlastic
  1084. Part84.BrickColor = BrickColor.new("Mid gray")
  1085. Part84.Reflectance = 0.5
  1086. Part84.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1087. Part84.Anchored = true
  1088. Part84.CanCollide = false
  1089. Part84.FormFactor = Enum.FormFactor.Custom
  1090. Part84.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
  1091. Part84.CFrame = CFrame.new(23.4049549, 3.04845095, -23.4674301, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1092. Part84.BottomSurface = Enum.SurfaceType.Smooth
  1093. Part84.TopSurface = Enum.SurfaceType.Smooth
  1094. Part84.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1095. Part84.Position = Vector3.new(23.4049549, 3.04845095, -23.4674301)
  1096. Part84.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1097. Part84.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1098. CylinderMesh85.Parent = Part84
  1099. CylinderMesh85.Scale = Vector3.new(1, 0.378493398, 1)
  1100. CylinderMesh85.Scale = Vector3.new(1, 0.378493398, 1)
  1101. Part86.Parent = Tool81
  1102. Part86.Material = Enum.Material.SmoothPlastic
  1103. Part86.BrickColor = BrickColor.new("Dark stone grey")
  1104. Part86.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1105. Part86.Anchored = true
  1106. Part86.CanCollide = false
  1107. Part86.FormFactor = Enum.FormFactor.Custom
  1108. Part86.Size = Vector3.new(0.290208012, 0.461761862, 0.200000003)
  1109. Part86.CFrame = CFrame.new(23.2200699, 3.25517607, -23.8144417, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1110. Part86.BottomSurface = Enum.SurfaceType.Smooth
  1111. Part86.TopSurface = Enum.SurfaceType.Smooth
  1112. Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1113. Part86.Position = Vector3.new(23.2200699, 3.25517607, -23.8144417)
  1114. Part86.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1115. Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1116. BlockMesh87.Parent = Part86
  1117. BlockMesh87.Scale = Vector3.new(1, 1, 0.546895444)
  1118. BlockMesh87.Scale = Vector3.new(1, 1, 0.546895444)
  1119. Part88.Parent = Tool81
  1120. Part88.Material = Enum.Material.SmoothPlastic
  1121. Part88.BrickColor = BrickColor.new("Really black")
  1122. Part88.Reflectance = 0.5
  1123. Part88.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1124. Part88.Anchored = true
  1125. Part88.CanCollide = false
  1126. Part88.FormFactor = Enum.FormFactor.Custom
  1127. Part88.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
  1128. Part88.CFrame = CFrame.new(23.3543015, 3.08736897, -23.5720825, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1129. Part88.BottomSurface = Enum.SurfaceType.Smooth
  1130. Part88.TopSurface = Enum.SurfaceType.Smooth
  1131. Part88.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1132. Part88.Position = Vector3.new(23.3543015, 3.08736897, -23.5720825)
  1133. Part88.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1134. Part88.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1135. CylinderMesh89.Parent = Part88
  1136. CylinderMesh89.Scale = Vector3.new(1, 0.0946233496, 1)
  1137. CylinderMesh89.Scale = Vector3.new(1, 0.0946233496, 1)
  1138. Part90.Parent = Tool81
  1139. Part90.Material = Enum.Material.SmoothPlastic
  1140. Part90.BrickColor = BrickColor.new("Really black")
  1141. Part90.Reflectance = 0.5
  1142. Part90.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1143. Part90.Anchored = true
  1144. Part90.CanCollide = false
  1145. Part90.FormFactor = Enum.FormFactor.Custom
  1146. Part90.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
  1147. Part90.CFrame = CFrame.new(23.3858566, 3.0628829, -23.5078506, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1148. Part90.BottomSurface = Enum.SurfaceType.Smooth
  1149. Part90.TopSurface = Enum.SurfaceType.Smooth
  1150. Part90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1151. Part90.Position = Vector3.new(23.3858566, 3.0628829, -23.5078506)
  1152. Part90.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1153. Part90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1154. CylinderMesh91.Parent = Part90
  1155. CylinderMesh91.Scale = Vector3.new(1, 0.0946233496, 1)
  1156. CylinderMesh91.Scale = Vector3.new(1, 0.0946233496, 1)
  1157. Part92.Parent = Tool81
  1158. Part92.Material = Enum.Material.SmoothPlastic
  1159. Part92.BrickColor = BrickColor.new("Bright yellow")
  1160. Part92.Reflectance = 0.5
  1161. Part92.Rotation = Vector3.new(-110.82, -17.3799992, 18.2600002)
  1162. Part92.Anchored = true
  1163. Part92.CanCollide = false
  1164. Part92.FormFactor = Enum.FormFactor.Custom
  1165. Part92.Size = Vector3.new(0.275197238, 0.200000003, 0.421565235)
  1166. Part92.CFrame = CFrame.new(23.4813709, 3.03728104, -23.2980728, 0.906293094, -0.299072802, -0.29863289, 0.153661132, -0.425063848, 0.892021835, -0.393718749, -0.854324341, -0.339277536)
  1167. Part92.BottomSurface = Enum.SurfaceType.Smooth
  1168. Part92.TopSurface = Enum.SurfaceType.Smooth
  1169. Part92.Color = Color3.new(0.960784, 0.803922, 0.188235)
  1170. Part92.Position = Vector3.new(23.4813709, 3.03728104, -23.2980728)
  1171. Part92.Orientation = Vector3.new(-63.1299973, -138.649994, 160.12999)
  1172. Part92.Color = Color3.new(0.960784, 0.803922, 0.188235)
  1173. CylinderMesh93.Parent = Part92
  1174. CylinderMesh93.Scale = Vector3.new(1, 0.378493398, 1)
  1175. CylinderMesh93.Scale = Vector3.new(1, 0.378493398, 1)
  1176. Part94.Parent = Tool81
  1177. Part94.Material = Enum.Material.SmoothPlastic
  1178. Part94.BrickColor = BrickColor.new("Mid gray")
  1179. Part94.Reflectance = 0.5
  1180. Part94.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1181. Part94.Anchored = true
  1182. Part94.CanCollide = false
  1183. Part94.FormFactor = Enum.FormFactor.Custom
  1184. Part94.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
  1185. Part94.CFrame = CFrame.new(23.3695068, 3.07488394, -23.539856, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1186. Part94.BottomSurface = Enum.SurfaceType.Smooth
  1187. Part94.TopSurface = Enum.SurfaceType.Smooth
  1188. Part94.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1189. Part94.Position = Vector3.new(23.3695068, 3.07488394, -23.539856)
  1190. Part94.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1191. Part94.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1192. CylinderMesh95.Parent = Part94
  1193. CylinderMesh95.Scale = Vector3.new(1, 0.283870012, 1)
  1194. CylinderMesh95.Scale = Vector3.new(1, 0.283870012, 1)
  1195. Part96.Parent = Tool81
  1196. Part96.Material = Enum.Material.SmoothPlastic
  1197. Part96.BrickColor = BrickColor.new("Bright yellow")
  1198. Part96.Reflectance = 0.5
  1199. Part96.Rotation = Vector3.new(-110.82, -17.3799992, 18.2600002)
  1200. Part96.Anchored = true
  1201. Part96.CanCollide = false
  1202. Part96.FormFactor = Enum.FormFactor.Symmetric
  1203. Part96.Shape = Enum.PartType.Ball
  1204. Part96.Size = Vector3.new(1, 1, 1)
  1205. Part96.CFrame = CFrame.new(23.4931717, 3.05800295, -23.2628174, 0.906293094, -0.299072802, -0.29863289, 0.153661132, -0.425063848, 0.892021835, -0.393718749, -0.854324341, -0.339277536)
  1206. Part96.BottomSurface = Enum.SurfaceType.Smooth
  1207. Part96.TopSurface = Enum.SurfaceType.Smooth
  1208. Part96.Color = Color3.new(0.960784, 0.803922, 0.188235)
  1209. Part96.Position = Vector3.new(23.4931717, 3.05800295, -23.2628174)
  1210. Part96.Orientation = Vector3.new(-63.1299973, -138.649994, 160.12999)
  1211. Part96.Color = Color3.new(0.960784, 0.803922, 0.188235)
  1212. SpecialMesh97.Parent = Part96
  1213. SpecialMesh97.Scale = Vector3.new(0.275197268, 0.208171338, 0.25066036)
  1214. SpecialMesh97.MeshType = Enum.MeshType.Sphere
  1215. SpecialMesh97.Scale = Vector3.new(0.275197268, 0.208171338, 0.25066036)
  1216. Part98.Parent = Tool81
  1217. Part98.Material = Enum.Material.SmoothPlastic
  1218. Part98.BrickColor = BrickColor.new("Mid gray")
  1219. Part98.Reflectance = 0.5
  1220. Part98.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1221. Part98.Anchored = true
  1222. Part98.CanCollide = false
  1223. Part98.FormFactor = Enum.FormFactor.Custom
  1224. Part98.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
  1225. Part98.CFrame = CFrame.new(23.3337231, 3.10121202, -23.6121025, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1226. Part98.BottomSurface = Enum.SurfaceType.Smooth
  1227. Part98.TopSurface = Enum.SurfaceType.Smooth
  1228. Part98.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1229. Part98.Position = Vector3.new(23.3337231, 3.10121202, -23.6121025)
  1230. Part98.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1231. Part98.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1232. CylinderMesh99.Parent = Part98
  1233. CylinderMesh99.Scale = Vector3.new(1, 0.378493398, 1)
  1234. CylinderMesh99.Scale = Vector3.new(1, 0.378493398, 1)
  1235. Part100.Parent = Tool81
  1236. Part100.Material = Enum.Material.SmoothPlastic
  1237. Part100.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1238. Part100.Anchored = true
  1239. Part100.FormFactor = Enum.FormFactor.Custom
  1240. Part100.Size = Vector3.new(0.275197238, 0.567740083, 0.25066036)
  1241. Part100.CFrame = CFrame.new(23.1979141, 3.20223188, -23.8876991, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1242. Part100.BottomSurface = Enum.SurfaceType.Smooth
  1243. Part100.TopSurface = Enum.SurfaceType.Smooth
  1244. Part100.Position = Vector3.new(23.1979141, 3.20223188, -23.8876991)
  1245. Part100.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1246. Part101.Parent = Tool81
  1247. Part101.Material = Enum.Material.SmoothPlastic
  1248. Part101.BrickColor = BrickColor.new("Cyan")
  1249. Part101.Transparency = 0.30000001192093
  1250. Part101.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1251. Part101.Anchored = true
  1252. Part101.CanCollide = false
  1253. Part101.FormFactor = Enum.FormFactor.Custom
  1254. Part101.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
  1255. Part101.CFrame = CFrame.new(23.0537338, 3.30894995, -24.1767426, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1256. Part101.BottomSurface = Enum.SurfaceType.Smooth
  1257. Part101.TopSurface = Enum.SurfaceType.Smooth
  1258. Part101.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  1259. Part101.Position = Vector3.new(23.0537338, 3.30894995, -24.1767426)
  1260. Part101.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1261. Part101.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  1262. CylinderMesh102.Parent = Part101
  1263. CylinderMesh102.Scale = Vector3.new(1, 0.567740023, 1)
  1264. CylinderMesh102.Scale = Vector3.new(1, 0.567740023, 1)
  1265. Part103.Parent = Tool81
  1266. Part103.Material = Enum.Material.SmoothPlastic
  1267. Part103.BrickColor = BrickColor.new("Really black")
  1268. Part103.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1269. Part103.Anchored = true
  1270. Part103.CanCollide = false
  1271. Part103.FormFactor = Enum.FormFactor.Custom
  1272. Part103.Size = Vector3.new(0.280200869, 0.200000003, 0.25521785)
  1273. Part103.CFrame = CFrame.new(23.1014709, 3.27297807, -24.0807495, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1274. Part103.BottomSurface = Enum.SurfaceType.Smooth
  1275. Part103.TopSurface = Enum.SurfaceType.Smooth
  1276. Part103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1277. Part103.Position = Vector3.new(23.1014709, 3.27297807, -24.0807495)
  1278. Part103.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1279. Part103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1280. BlockMesh104.Parent = Part103
  1281. BlockMesh104.Scale = Vector3.new(1, 0.189246684, 1)
  1282. BlockMesh104.Scale = Vector3.new(1, 0.189246684, 1)
  1283. Part105.Parent = Tool81
  1284. Part105.Material = Enum.Material.SmoothPlastic
  1285. Part105.BrickColor = BrickColor.new("Mid gray")
  1286. Part105.Reflectance = 0.5
  1287. Part105.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1288. Part105.Anchored = true
  1289. Part105.CanCollide = false
  1290. Part105.FormFactor = Enum.FormFactor.Custom
  1291. Part105.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
  1292. Part105.CFrame = CFrame.new(23.0237732, 3.32993889, -24.2374191, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1293. Part105.BottomSurface = Enum.SurfaceType.Smooth
  1294. Part105.TopSurface = Enum.SurfaceType.Smooth
  1295. Part105.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1296. Part105.Position = Vector3.new(23.0237732, 3.32993889, -24.2374191)
  1297. Part105.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1298. Part105.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1299. CylinderMesh106.Parent = Part105
  1300. CylinderMesh106.Scale = Vector3.new(1, 0.141935006, 1)
  1301. CylinderMesh106.Scale = Vector3.new(1, 0.141935006, 1)
  1302. Part107.Parent = Tool81
  1303. Part107.Material = Enum.Material.SmoothPlastic
  1304. Part107.BrickColor = BrickColor.new("Cyan")
  1305. Part107.Transparency = 0.30000001192093
  1306. Part107.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1307. Part107.Anchored = true
  1308. Part107.CanCollide = false
  1309. Part107.FormFactor = Enum.FormFactor.Custom
  1310. Part107.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
  1311. Part107.CFrame = CFrame.new(23.0121613, 3.33829594, -24.2586327, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1312. Part107.BottomSurface = Enum.SurfaceType.Smooth
  1313. Part107.TopSurface = Enum.SurfaceType.Smooth
  1314. Part107.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  1315. Part107.Position = Vector3.new(23.0121613, 3.33829594, -24.2586327)
  1316. Part107.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1317. Part107.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  1318. CylinderMesh108.Parent = Part107
  1319. CylinderMesh108.Scale = Vector3.new(1, 0.113548033, 1)
  1320. CylinderMesh108.Scale = Vector3.new(1, 0.113548033, 1)
  1321. Part109.Parent = Tool81
  1322. Part109.Material = Enum.Material.SmoothPlastic
  1323. Part109.BrickColor = BrickColor.new("Dark stone grey")
  1324. Part109.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1325. Part109.Anchored = true
  1326. Part109.CanCollide = false
  1327. Part109.FormFactor = Enum.FormFactor.Custom
  1328. Part109.Size = Vector3.new(0.290208012, 0.461761862, 0.200000003)
  1329. Part109.CFrame = CFrame.new(23.2210617, 3.11504889, -23.8669472, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1330. Part109.BottomSurface = Enum.SurfaceType.Smooth
  1331. Part109.TopSurface = Enum.SurfaceType.Smooth
  1332. Part109.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1333. Part109.Position = Vector3.new(23.2210617, 3.11504889, -23.8669472)
  1334. Part109.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1335. Part109.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1336. BlockMesh110.Parent = Part109
  1337. BlockMesh110.Scale = Vector3.new(1, 1, 0.546895444)
  1338. BlockMesh110.Scale = Vector3.new(1, 1, 0.546895444)
  1339. Part111.Parent = Tool81
  1340. Part111.Material = Enum.Material.SmoothPlastic
  1341. Part111.BrickColor = BrickColor.new("Cyan")
  1342. Part111.Transparency = 0.30000001192093
  1343. Part111.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1344. Part111.Anchored = true
  1345. Part111.CanCollide = false
  1346. Part111.FormFactor = Enum.FormFactor.Custom
  1347. Part111.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
  1348. Part111.CFrame = CFrame.new(22.9902115, 3.35501289, -24.3048248, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1349. Part111.BottomSurface = Enum.SurfaceType.Smooth
  1350. Part111.TopSurface = Enum.SurfaceType.Smooth
  1351. Part111.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  1352. Part111.Position = Vector3.new(22.9902115, 3.35501289, -24.3048248)
  1353. Part111.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1354. Part111.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  1355. CylinderMesh112.Parent = Part111
  1356. CylinderMesh112.Scale = Vector3.new(1, 0.141935006, 1)
  1357. CylinderMesh112.Scale = Vector3.new(1, 0.141935006, 1)
  1358. Part113.Parent = Tool81
  1359. Part113.Material = Enum.Material.SmoothPlastic
  1360. Part113.BrickColor = BrickColor.new("Mid gray")
  1361. Part113.Reflectance = 0.5
  1362. Part113.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
  1363. Part113.Anchored = true
  1364. Part113.CanCollide = false
  1365. Part113.FormFactor = Enum.FormFactor.Custom
  1366. Part113.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
  1367. Part113.CFrame = CFrame.new(23.0025101, 3.34529495, -24.2808685, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
  1368. Part113.BottomSurface = Enum.SurfaceType.Smooth
  1369. Part113.TopSurface = Enum.SurfaceType.Smooth
  1370. Part113.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1371. Part113.Position = Vector3.new(23.0025101, 3.34529495, -24.2808685)
  1372. Part113.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
  1373. Part113.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1374. CylinderMesh114.Parent = Part113
  1375. CylinderMesh114.Scale = Vector3.new(1, 0.141935006, 1)
  1376. CylinderMesh114.Scale = Vector3.new(1, 0.141935006, 1)
  1377. WedgePart115.Parent = Tool81
  1378. WedgePart115.Material = Enum.Material.SmoothPlastic
  1379. WedgePart115.BrickColor = BrickColor.new("Dark stone grey")
  1380. WedgePart115.Rotation = Vector3.new(110.329994, 0.459999979, -25)
  1381. WedgePart115.FormFactor = Enum.FormFactor.Custom
  1382. WedgePart115.Size = Vector3.new(0.325233132, 0.236558318, 0.296234995)
  1383. WedgePart115.CFrame = CFrame.new(23.4712143, 3.01092196, -23.3308868, 0.906293094, 0.422565639, 0.00803131424, 0.153661132, -0.311742038, -0.937656105, -0.393718749, 0.851028085, -0.347462565)
  1384. WedgePart115.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1385. WedgePart115.Position = Vector3.new(23.4712143, 3.01092196, -23.3308868)
  1386. WedgePart115.Orientation = Vector3.new(69.659996, 178.679993, 153.759995)
  1387. WedgePart115.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1388. Script116.Name = "Welding"
  1389. Script116.Parent = Tool81
  1390. table.insert(cors,sandbox(Script116,function()
  1391. function Weld(x,y)
  1392. local W = Instance.new("Weld")
  1393. W.Part0 = x
  1394. W.Part1 = y
  1395. local CJ = CFrame.new(x.Position)
  1396. local C0 = x.CFrame:inverse()*CJ
  1397. local C1 = y.CFrame:inverse()*CJ
  1398. W.C0 = C0
  1399. W.C1 = C1
  1400. W.Parent = x
  1401. end
  1402.  
  1403. function Get(A)
  1404. if A.className == "Part" or A.className == "UnionOperation" or A.className == "WedgePart" then
  1405. Weld(script.Parent.Handle, A)
  1406. A.Anchored = false
  1407. else
  1408. local C = A:GetChildren()
  1409. for i=1, #C do
  1410. Get(C[i])
  1411. end
  1412. end
  1413. end
  1414.  
  1415. function Finale()
  1416. Get(script.Parent)
  1417. end
  1418.  
  1419. script.Parent.Equipped:connect(Finale)
  1420. script.Parent.Unequipped:connect(Finale)
  1421. Finale()
  1422. end))
  1423. Script117.Name = "Heal"
  1424. Script117.Parent = Tool81
  1425. table.insert(cors,sandbox(Script117,function()
  1426. local db = false
  1427.  
  1428. function onHit()
  1429. if db then return end
  1430. local h = script.Parent.Parent:findFirstChild ("Humanoid")
  1431. if (h ~= nil) then
  1432. h.Health = h.Health + 100
  1433. script.Parent.Handle.Sound:Play()
  1434. db = true
  1435. wait(2)
  1436. db = false
  1437. end
  1438. end
  1439. script.Parent.Activated:connect(onHit)
  1440.  
  1441. end))
  1442. Tool118.Name = "Commbadge"
  1443. Tool118.Parent = mas
  1444. Tool118.TextureId = "http://www.roblox.com/asset?id=231558077"
  1445. Tool118.GripForward = Vector3.new(-0.89442724, -0, -0.44721362)
  1446. Tool118.GripPos = Vector3.new(0.200000003, -0.100000001, -0.5)
  1447. Tool118.GripRight = Vector3.new(0.44721356, 0, -0.894427121)
  1448. Tool118.ToolTip = "Starfleet Standard Issue"
  1449. Model119.Name = "OfficerRadioSystem"
  1450. Model119.Parent = Tool118
  1451. StringValue120.Name = "Line1"
  1452. StringValue120.Parent = Model119
  1453. StringValue121.Name = "Line2"
  1454. StringValue121.Parent = Model119
  1455. StringValue122.Name = "Line3"
  1456. StringValue122.Parent = Model119
  1457. StringValue123.Name = "Line4"
  1458. StringValue123.Parent = Model119
  1459. StringValue124.Name = "Line5"
  1460. StringValue124.Parent = Model119
  1461. StringValue125.Name = "Line6"
  1462. StringValue125.Parent = Model119
  1463. StringValue126.Name = "Line7"
  1464. StringValue126.Parent = Model119
  1465. Part127.Name = "Handle"
  1466. Part127.Parent = Tool118
  1467. Part127.BrickColor = BrickColor.new("Really black")
  1468. Part127.Transparency = 1
  1469. Part127.Rotation = Vector3.new(-90, 33.4199982, 90)
  1470. Part127.Anchored = true
  1471. Part127.CanCollide = false
  1472. Part127.FormFactor = Enum.FormFactor.Custom
  1473. Part127.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1474. Part127.CFrame = CFrame.new(23.5868378, 2.37112093, -23.857233, 9.83937866e-07, -0.834609032, 0.550840735, 1.81445989e-06, 0.550843239, 0.834604681, -0.999994993, 1.78586561e-07, 2.05636024e-06)
  1475. Part127.BottomSurface = Enum.SurfaceType.Smooth
  1476. Part127.TopSurface = Enum.SurfaceType.Smooth
  1477. Part127.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1478. Part127.Position = Vector3.new(23.5868378, 2.37112093, -23.857233)
  1479. Part127.Orientation = Vector3.new(-56.5699997, 90, 0)
  1480. Part127.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1481. BlockMesh128.Parent = Part127
  1482. Sound129.Name = "Alert"
  1483. Sound129.Parent = Part127
  1484. Sound129.Pitch = 0.69999998807907
  1485. Sound129.SoundId = "http://www.roblox.com/asset/?id=151568394"
  1486. Sound129.Volume = 0
  1487. BoolValue130.Name = "Run"
  1488. BoolValue130.Parent = Sound129
  1489. Script131.Name = "SoundScript"
  1490. Script131.Parent = Sound129
  1491. table.insert(cors,sandbox(Script131,function()
  1492. --ToolSoundScript V1.2
  1493. --Mark901
  1494. wait(0.5)
  1495.  
  1496. local Sound = script.Parent --Defines Sound
  1497. local Bool = Sound.Run --BoolValue activated by outside script to request sound
  1498.  
  1499.  
  1500. function Play()
  1501. wait()
  1502. if Bool.Value == true then
  1503. Sound:Play() --Plays the sound
  1504. wait()
  1505. Bool.Value = false
  1506. end
  1507. end
  1508.  
  1509.  
  1510. Bool.Changed:connect(Play)
  1511. end))
  1512. Sound132.Name = "EquipSound"
  1513. Sound132.Parent = Part127
  1514. Sound132.Pitch = 1.1499999761581
  1515. Sound132.SoundId = "http://roblox.com/asset/?id=151568394"
  1516. Sound132.Volume = 0
  1517. Script133.Name = "SoundScript"
  1518. Script133.Parent = Sound132
  1519. table.insert(cors,sandbox(Script133,function()
  1520. --ToolSoundScript V1.2
  1521. --Mark901
  1522. wait(0.5)
  1523.  
  1524. local Sound = script.Parent --Defines Sound
  1525. local Bool = Sound.Run --BoolValue activated by outside script to request sound
  1526.  
  1527.  
  1528. function Play()
  1529. wait()
  1530. if Bool.Value == true then
  1531. Sound:Play() --Plays the sound
  1532. wait()
  1533. Bool.Value = false
  1534. end
  1535. end
  1536.  
  1537.  
  1538. Bool.Changed:connect(Play)
  1539. end))
  1540. BoolValue134.Name = "Run"
  1541. BoolValue134.Parent = Sound132
  1542. Decal135.Parent = Part127
  1543. Decal135.Texture = "http://www.roblox.com/asset/?id=231558077"
  1544. Decal135.Face = Enum.NormalId.Back
  1545. Part136.Name = "Light"
  1546. Part136.Parent = Tool118
  1547. Part136.BrickColor = BrickColor.new("Really red")
  1548. Part136.Reflectance = 0.10000000149012
  1549. Part136.Transparency = 1
  1550. Part136.Rotation = Vector3.new(180, 0, -146.580002)
  1551. Part136.Anchored = true
  1552. Part136.CanCollide = false
  1553. Part136.FormFactor = Enum.FormFactor.Custom
  1554. Part136.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1555. Part136.CFrame = CFrame.new(23.5375137, 2.31632996, -23.8435745, -0.834608912, 0.550840735, -1.35397761e-06, 0.550843239, 0.834604383, -1.67735811e-06, 2.06387668e-07, -2.14576721e-06, -0.999994934)
  1556. Part136.BottomSurface = Enum.SurfaceType.Smooth
  1557. Part136.TopSurface = Enum.SurfaceType.Smooth
  1558. Part136.Color = Color3.new(1, 0, 0)
  1559. Part136.Position = Vector3.new(23.5375137, 2.31632996, -23.8435745)
  1560. Part136.Orientation = Vector3.new(0, -180, 33.4300003)
  1561. Part136.Color = Color3.new(1, 0, 0)
  1562. CylinderMesh137.Parent = Part136
  1563. CylinderMesh137.Offset = Vector3.new(0, -0.020833334, 0)
  1564. CylinderMesh137.Scale = Vector3.new(0.50000006, 0.208333343, 0.50000006)
  1565. CylinderMesh137.Scale = Vector3.new(0.50000006, 0.208333343, 0.50000006)
  1566. LocalScript138.Name = "WeldScript"
  1567. LocalScript138.Parent = Tool118
  1568. table.insert(cors,sandbox(LocalScript138,function()
  1569. local Tool = script.Parent
  1570. wait(0.2)
  1571.  
  1572.  
  1573. function CreateWeld(x,y)
  1574. local W = Instance.new("Weld")
  1575. W.Part0 = x
  1576. W.Part1 = y
  1577. local CJ = CFrame.new(x.Position)
  1578. local C0 = x.CFrame:inverse()*CJ
  1579. local C1 = y.CFrame:inverse()*CJ
  1580. W.C0 = C0
  1581. W.C1 = C1
  1582. W.Parent = x
  1583. end
  1584.  
  1585. function Weld(A)
  1586. if A.className == "Part" then
  1587. CreateWeld(Tool.Handle, A)
  1588. A.Anchored = false
  1589. else
  1590. local C = A:GetChildren()
  1591. for i=1, #C do
  1592. Weld(C[i])
  1593. end
  1594. end
  1595. end
  1596.  
  1597. function Anchor(D)
  1598. if D.className == "Part" then
  1599. D.Anchored = true
  1600. else
  1601. local E = D:GetChildren()
  1602. for i=1, #E do
  1603. Anchor(E[i])
  1604. end
  1605. end
  1606. end
  1607.  
  1608. function Equipped()
  1609. Weld(Tool)
  1610. end
  1611.  
  1612. function Unequipped()
  1613. wait()
  1614. if script:IsDescendantOf(game.Players) == true then
  1615. Anchor(Tool)
  1616. wait()
  1617. local B = Tool.Handle:GetChildren()
  1618. for i = 1, #B do
  1619. if B[i].className == "Weld" then
  1620. B[i]:Remove()
  1621. end
  1622. end
  1623. wait()
  1624. Weld(Tool)
  1625. end
  1626. end
  1627.  
  1628.  
  1629. Tool.Equipped:connect(Equipped)
  1630. Tool.Unequipped:connect(Unequipped)
  1631. --Equipped()
  1632. Weld(Tool)
  1633. end))
  1634. BoolValue139.Name = "On"
  1635. BoolValue139.Parent = Tool118
  1636. LocalScript140.Name = "RadioScript"
  1637. LocalScript140.Parent = Tool118
  1638. table.insert(cors,sandbox(LocalScript140,function()
  1639. wait(0.2)
  1640. local Tool = script.Parent
  1641. local ToolPart = Tool:GetChildren()
  1642. local Handle = Tool.Handle
  1643. local OriginGUI = script.OfficerRadio:Clone()
  1644. wait()
  1645. script.OfficerRadio:Remove()
  1646. if game.Workspace:findFirstChild("OfficerRadioSystem") == nil then
  1647. Tool.OfficerRadioSystem:Clone().Parent = game.Workspace
  1648. end
  1649. wait()
  1650. Tool.OfficerRadioSystem:Remove()
  1651.  
  1652.  
  1653. function Equip(mouse)
  1654. local Character = Tool.Parent
  1655. if Character:findFirstChild("Humanoid") == nil then return end
  1656. if Character.Humanoid.Health < 0.01 then return end
  1657. if game.Players:GetPlayerFromCharacter(Character) == nil then return end
  1658. local Player = game.Players:GetPlayerFromCharacter(Character)
  1659. Tool.Character.Value = Character
  1660. mouse.Button1Down:connect(Toggle)
  1661. mouse.KeyDown:connect(onKeyDown)
  1662. Handle.Alert.Volume = 0
  1663. Handle.Alert:Stop()
  1664. Handle.EquipSound:Stop()
  1665. Handle.EquipSound.Volume = 1
  1666. Handle.EquipSound.Run.Value = true
  1667. if Player.PlayerGui:findFirstChild(OriginGUI.Name) == nil then
  1668. GUI = OriginGUI:Clone()
  1669. GUI.Tool.Value = Tool
  1670. GUI.RadioGUIScript.Disabled = false
  1671. GUI.UpdateScript.Disabled = false
  1672. GUI.Parent = Player.PlayerGui
  1673. end
  1674. end
  1675.  
  1676. function Unequip(mouse)
  1677. local Character = Tool.Character.Value
  1678. if Character:findFirstChild("Humanoid") == nil then return end
  1679. if Tool:IsDescendantOf(game.Workspace) == true then
  1680. Tool.Character.Value = nil
  1681. end
  1682. Handle.Alert.Volume = 0
  1683. Handle.Alert:Stop()
  1684. Handle.EquipSound.Volume = 0
  1685. Handle.EquipSound:Stop()
  1686. Tool.On.Value = false
  1687. Tool.Light.BrickColor = BrickColor.new("Really red")
  1688. SetCollide()
  1689. end
  1690.  
  1691. function Toggle()
  1692. if Tool.On.Value == false then
  1693. Tool.On.Value = true
  1694. Tool.Light.BrickColor = BrickColor.new("Lime green")
  1695. elseif Tool.On.Value == true then
  1696. Tool.On.Value = false
  1697. Tool.Light.BrickColor = BrickColor.new("Really red")
  1698. end
  1699. Handle.Alert.Volume = 0.4
  1700. Handle.Alert.Run.Value = true
  1701. end
  1702.  
  1703. --[[
  1704. function onKeyDown(key)
  1705. local Character = Tool.Parent
  1706. if Character:findFirstChild("Humanoid") == nil then return end
  1707. if game.Players:GetPlayerFromCharacter(Character) == nil then return end
  1708. local Humanoid = Character.Humanoid
  1709. if Humanoid.Health < 0.01 then return end
  1710.  
  1711. if key == "" then
  1712. end
  1713. end
  1714. ]]
  1715. function SetCollide()
  1716. if Tool:IsDescendantOf(game.Workspace) == true then
  1717. Tool.On.Value = false
  1718. Tool.Light.BrickColor = BrickColor.new("Really red")
  1719. for i = 1, #ToolPart do
  1720. if ToolPart[i].className == "Part" then
  1721. if ToolPart[i]:findFirstChild("Collide") ~= nil then
  1722. if ToolPart[i]["Collide"].Value == false then
  1723. ToolPart[i].CanCollide = false
  1724. end
  1725. else
  1726. ToolPart[i].CanCollide = true
  1727. end
  1728. end
  1729. end
  1730. end
  1731. if Tool:IsDescendantOf(game.Players) == true then
  1732. for i = 1, #ToolPart do
  1733. if ToolPart[i].className == "Part" then
  1734. ToolPart[i].CanCollide = false
  1735. end
  1736. end
  1737. end
  1738. end
  1739.  
  1740.  
  1741. Tool.Equipped:connect(Equip)
  1742. Tool.Unequipped:connect(Unequip)
  1743. end))
  1744. ObjectValue141.Name = "Tool"
  1745. ObjectValue141.Parent = mas
  1746. LocalScript142.Name = "RadioGUIScript[o]"
  1747. LocalScript142.Parent = mas
  1748. LocalScript142.Disabled = true
  1749. table.insert(cors,sandbox(LocalScript142,function()
  1750. --Mark901
  1751. wait(1)
  1752. local MainGUI = script.Parent
  1753. local GUI = MainGUI.Frame
  1754. local Tool = MainGUI.Tool
  1755. local Channel = game.Workspace["OfficerRadioSystem"]
  1756.  
  1757.  
  1758. function Transmit(MSG, Targ)
  1759. if Tool.Value.On.Value == false then return end
  1760. Channel.Line1.Value = Channel.Line2.Value
  1761. Channel.Line2.Value = Channel.Line3.Value
  1762. Channel.Line3.Value = Channel.Line4.Value
  1763. Channel.Line4.Value = Channel.Line5.Value
  1764. Channel.Line5.Value = Channel.Line6.Value
  1765. Channel.Line6.Value = Channel.Line7.Value
  1766. Channel.Line7.Value = Tool.Value.Parent.Name ..": ".. MSG
  1767. end
  1768.  
  1769.  
  1770. MainGUI.Parent.Parent.Chatted:connect(Transmit)
  1771. end))
  1772. LocalScript143.Name = "UpdateScript[o]"
  1773. LocalScript143.Parent = mas
  1774. LocalScript143.Disabled = true
  1775. table.insert(cors,sandbox(LocalScript143,function()
  1776. --Mark901
  1777. wait(1)
  1778. local MainGUI = script.Parent
  1779. local GUI = MainGUI.Frame
  1780. local Tool = MainGUI.Tool
  1781. local Channel = game.Workspace["OfficerRadioSystem"]
  1782.  
  1783.  
  1784. function Update()
  1785. GUI.Line1.Text = Channel.Line1.Value
  1786. GUI.Line2.Text = Channel.Line2.Value
  1787. GUI.Line3.Text = Channel.Line3.Value
  1788. GUI.Line4.Text = Channel.Line4.Value
  1789. GUI.Line5.Text = Channel.Line5.Value
  1790. GUI.Line6.Text = Channel.Line6.Value
  1791. GUI.Line7.Text = Channel.Line7.Value
  1792. Tool.Value.Handle.Alert.Volume = 0.4
  1793. Tool.Value.Handle.Alert.Run.Value = true
  1794. end
  1795.  
  1796.  
  1797. Channel.Line7.Changed:connect(Update)
  1798. wait(0.2)
  1799. Update()
  1800. end))
  1801. Script144.Name = "RadioGUIScript"
  1802. Script144.Parent = mas
  1803. Script144.Disabled = true
  1804. table.insert(cors,sandbox(Script144,function()
  1805. --Mark901
  1806. wait(1)
  1807. local MainGUI = script.Parent
  1808. local GUI = MainGUI.Frame
  1809. local Tool = MainGUI.Tool
  1810. local Channel = game.Workspace["OfficerRadioSystem"]
  1811.  
  1812.  
  1813. function Transmit(MSG, Targ)
  1814. if Tool.Value.On.Value == false then return end
  1815. Channel.Line1.Value = Channel.Line2.Value
  1816. Channel.Line2.Value = Channel.Line3.Value
  1817. Channel.Line3.Value = Channel.Line4.Value
  1818. Channel.Line4.Value = Channel.Line5.Value
  1819. Channel.Line5.Value = Channel.Line6.Value
  1820. Channel.Line6.Value = Channel.Line7.Value
  1821. Channel.Line7.Value = " ".. Tool.Value.Parent.Name ..": ".. MSG
  1822. end
  1823.  
  1824.  
  1825. MainGUI.Parent.Parent.Chatted:connect(Transmit)
  1826. end))
  1827. Script145.Name = "UpdateScript"
  1828. Script145.Parent = mas
  1829. Script145.Disabled = true
  1830. table.insert(cors,sandbox(Script145,function()
  1831. --Mark901
  1832. wait(1)
  1833. local MainGUI = script.Parent
  1834. local GUI = MainGUI.Frame
  1835. local Tool = MainGUI.Tool
  1836. local Channel = game.Workspace["OfficerRadioSystem"]
  1837.  
  1838.  
  1839. function Update()
  1840. GUI.Line1.Text = Channel.Line1.Value
  1841. GUI.Line2.Text = Channel.Line2.Value
  1842. GUI.Line3.Text = Channel.Line3.Value
  1843. GUI.Line4.Text = Channel.Line4.Value
  1844. GUI.Line5.Text = Channel.Line5.Value
  1845. GUI.Line6.Text = Channel.Line6.Value
  1846. GUI.Line7.Text = Channel.Line7.Value
  1847. Tool.Value.Handle.Alert.Volume = 0.4
  1848. Tool.Value.Handle.Alert.Run.Value = true
  1849. end
  1850.  
  1851.  
  1852. Channel.Line7.Changed:connect(Update)
  1853. wait(0.2)
  1854. Update()
  1855. end))
  1856. Frame146.Parent = mas
  1857. Frame146.Size = UDim2.new(-0.389999986, 0, -0.25, 0)
  1858. Frame146.Style = Enum.FrameStyle.RobloxRound
  1859. Frame146.Position = UDim2.new(0.975000024, 0, 0.899999976, 0)
  1860. Frame146.BackgroundColor3 = Color3.new(0, 0, 0)
  1861. Frame146.BorderColor3 = Color3.new(0, 0, 0)
  1862. Frame146.BorderSizePixel = 0
  1863. TextLabel147.Name = "Title"
  1864. TextLabel147.Parent = Frame146
  1865. TextLabel147.Transparency = 0.80000001192093
  1866. TextLabel147.Size = UDim2.new(1, 0, 0.200000003, 0)
  1867. TextLabel147.Text = "U.S.S Traverser Commbadge"
  1868. TextLabel147.Active = true
  1869. TextLabel147.BackgroundColor3 = Color3.new(1, 1, 1)
  1870. TextLabel147.BackgroundTransparency = 0.80000001192093
  1871. TextLabel147.BorderColor3 = Color3.new(1, 1, 1)
  1872. TextLabel147.Font = Enum.Font.ArialBold
  1873. TextLabel147.FontSize = Enum.FontSize.Size24
  1874. TextLabel147.TextColor3 = Color3.new(1, 1, 1)
  1875. TextLabel147.TextScaled = true
  1876. TextLabel147.TextTransparency = 0.20000000298023
  1877. TextLabel147.TextWrapped = true
  1878. TextLabel148.Name = "Line1"
  1879. TextLabel148.Parent = Frame146
  1880. TextLabel148.Transparency = 0.80000001192093
  1881. TextLabel148.Size = UDim2.new(1, 0, 0.0900000036, 0)
  1882. TextLabel148.Text = ""
  1883. TextLabel148.Position = UDim2.new(0, 0, 0.25, 0)
  1884. TextLabel148.BackgroundColor3 = Color3.new(0, 0, 0)
  1885. TextLabel148.BackgroundTransparency = 0.80000001192093
  1886. TextLabel148.BorderColor3 = Color3.new(1, 1, 1)
  1887. TextLabel148.Font = Enum.Font.ArialBold
  1888. TextLabel148.TextColor3 = Color3.new(1, 1, 1)
  1889. TextLabel148.TextScaled = true
  1890. TextLabel148.TextTransparency = 0.20000000298023
  1891. TextLabel148.TextWrapped = true
  1892. TextLabel148.TextXAlignment = Enum.TextXAlignment.Left
  1893. TextLabel149.Name = "Line2"
  1894. TextLabel149.Parent = Frame146
  1895. TextLabel149.Transparency = 0.80000001192093
  1896. TextLabel149.Size = UDim2.new(1, 0, 0.0900000036, 0)
  1897. TextLabel149.Text = ""
  1898. TextLabel149.Position = UDim2.new(0, 0, 0.349999994, 0)
  1899. TextLabel149.BackgroundColor3 = Color3.new(0, 0, 0)
  1900. TextLabel149.BackgroundTransparency = 0.80000001192093
  1901. TextLabel149.BorderColor3 = Color3.new(1, 1, 1)
  1902. TextLabel149.Font = Enum.Font.ArialBold
  1903. TextLabel149.TextColor3 = Color3.new(1, 1, 1)
  1904. TextLabel149.TextScaled = true
  1905. TextLabel149.TextTransparency = 0.20000000298023
  1906. TextLabel149.TextWrapped = true
  1907. TextLabel149.TextXAlignment = Enum.TextXAlignment.Left
  1908. TextLabel150.Name = "Line3"
  1909. TextLabel150.Parent = Frame146
  1910. TextLabel150.Transparency = 0.80000001192093
  1911. TextLabel150.Size = UDim2.new(1, 0, 0.0900000036, 0)
  1912. TextLabel150.Text = ""
  1913. TextLabel150.Position = UDim2.new(0, 0, 0.449999988, 0)
  1914. TextLabel150.BackgroundColor3 = Color3.new(0, 0, 0)
  1915. TextLabel150.BackgroundTransparency = 0.80000001192093
  1916. TextLabel150.BorderColor3 = Color3.new(1, 1, 1)
  1917. TextLabel150.Font = Enum.Font.ArialBold
  1918. TextLabel150.TextColor3 = Color3.new(1, 1, 1)
  1919. TextLabel150.TextScaled = true
  1920. TextLabel150.TextTransparency = 0.20000000298023
  1921. TextLabel150.TextWrapped = true
  1922. TextLabel150.TextXAlignment = Enum.TextXAlignment.Left
  1923. TextLabel151.Name = "Line4"
  1924. TextLabel151.Parent = Frame146
  1925. TextLabel151.Transparency = 0.80000001192093
  1926. TextLabel151.Size = UDim2.new(1, 0, 0.0900000036, 0)
  1927. TextLabel151.Text = ""
  1928. TextLabel151.Position = UDim2.new(0, 0, 0.550000012, 0)
  1929. TextLabel151.BackgroundColor3 = Color3.new(0, 0, 0)
  1930. TextLabel151.BackgroundTransparency = 0.80000001192093
  1931. TextLabel151.BorderColor3 = Color3.new(1, 1, 1)
  1932. TextLabel151.Font = Enum.Font.ArialBold
  1933. TextLabel151.TextColor3 = Color3.new(1, 1, 1)
  1934. TextLabel151.TextScaled = true
  1935. TextLabel151.TextTransparency = 0.20000000298023
  1936. TextLabel151.TextWrapped = true
  1937. TextLabel151.TextXAlignment = Enum.TextXAlignment.Left
  1938. TextLabel152.Name = "Line5"
  1939. TextLabel152.Parent = Frame146
  1940. TextLabel152.Transparency = 0.80000001192093
  1941. TextLabel152.Size = UDim2.new(1, 0, 0.0900000036, 0)
  1942. TextLabel152.Text = ""
  1943. TextLabel152.Position = UDim2.new(0, 0, 0.649999976, 0)
  1944. TextLabel152.BackgroundColor3 = Color3.new(0, 0, 0)
  1945. TextLabel152.BackgroundTransparency = 0.80000001192093
  1946. TextLabel152.BorderColor3 = Color3.new(1, 1, 1)
  1947. TextLabel152.Font = Enum.Font.ArialBold
  1948. TextLabel152.TextColor3 = Color3.new(1, 1, 1)
  1949. TextLabel152.TextScaled = true
  1950. TextLabel152.TextTransparency = 0.20000000298023
  1951. TextLabel152.TextWrapped = true
  1952. TextLabel152.TextXAlignment = Enum.TextXAlignment.Left
  1953. TextLabel153.Name = "Line6"
  1954. TextLabel153.Parent = Frame146
  1955. TextLabel153.Transparency = 0.80000001192093
  1956. TextLabel153.Size = UDim2.new(1, 0, 0.0900000036, 0)
  1957. TextLabel153.Text = ""
  1958. TextLabel153.Position = UDim2.new(0, 0, 0.75, 0)
  1959. TextLabel153.BackgroundColor3 = Color3.new(0, 0, 0)
  1960. TextLabel153.BackgroundTransparency = 0.80000001192093
  1961. TextLabel153.BorderColor3 = Color3.new(1, 1, 1)
  1962. TextLabel153.Font = Enum.Font.ArialBold
  1963. TextLabel153.TextColor3 = Color3.new(1, 1, 1)
  1964. TextLabel153.TextScaled = true
  1965. TextLabel153.TextTransparency = 0.20000000298023
  1966. TextLabel153.TextWrapped = true
  1967. TextLabel153.TextXAlignment = Enum.TextXAlignment.Left
  1968. TextLabel154.Name = "Line7"
  1969. TextLabel154.Parent = Frame146
  1970. TextLabel154.Transparency = 0.80000001192093
  1971. TextLabel154.Size = UDim2.new(1, 0, 0.0900000036, 0)
  1972. TextLabel154.Text = ""
  1973. TextLabel154.Position = UDim2.new(0, 0, 0.850000024, 0)
  1974. TextLabel154.BackgroundColor3 = Color3.new(0, 0, 0)
  1975. TextLabel154.BackgroundTransparency = 0.80000001192093
  1976. TextLabel154.BorderColor3 = Color3.new(1, 1, 1)
  1977. TextLabel154.Font = Enum.Font.ArialBold
  1978. TextLabel154.TextColor3 = Color3.new(1, 1, 1)
  1979. TextLabel154.TextScaled = true
  1980. TextLabel154.TextTransparency = 0.20000000298023
  1981. TextLabel154.TextWrapped = true
  1982. TextLabel154.TextXAlignment = Enum.TextXAlignment.Left
  1983. ObjectValue155.Name = "Character"
  1984. ObjectValue155.Parent = Tool118
  1985. LocalScript156.Name = "Welding"
  1986. LocalScript156.Parent = Tool118
  1987. table.insert(cors,sandbox(LocalScript156,function()
  1988. function Weld(x,y)
  1989. local W = Instance.new("Weld")
  1990. W.Part0 = x
  1991. W.Part1 = y
  1992. local CJ = CFrame.new(x.Position)
  1993. local C0 = x.CFrame:inverse()*CJ
  1994. local C1 = y.CFrame:inverse()*CJ
  1995. W.C0 = C0
  1996. W.C1 = C1
  1997. W.Parent = x
  1998. end
  1999.  
  2000. function Get(A)
  2001. if A.className == "Part" then
  2002. Weld(script.Parent.Handle, A)
  2003. A.Anchored = false
  2004. else
  2005. local C = A:GetChildren()
  2006. for i=1, #C do
  2007. Get(C[i])
  2008. end
  2009. end
  2010. end
  2011.  
  2012. function Finale()
  2013. Get(script.Parent)
  2014. end
  2015.  
  2016. script.Parent.Equipped:connect(Finale)
  2017. script.Parent.Unequipped:connect(Finale)
  2018. Finale()
  2019. end))
  2020. Script157.Name = "WeldArm"
  2021. Script157.Parent = Tool118
  2022. table.insert(cors,sandbox(Script157,function()
  2023. Tool = script.Parent;
  2024. local arms = nil
  2025. local torso = nil
  2026. local welds = {}
  2027.  
  2028. function Equip(mouse)
  2029. wait(0.01)
  2030. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  2031. torso = Tool.Parent:FindFirstChild("Torso")
  2032. if arms ~= nil and torso ~= nil then
  2033. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  2034. if sh ~= nil then
  2035. local yes = true
  2036. if yes then
  2037. yes = false
  2038. sh[1].Part1 = nil
  2039. sh[2].Part1 = nil
  2040. local weld1 = Instance.new("Weld")
  2041. weld1.Part0 = torso
  2042. weld1.Parent = torso
  2043. weld1.Part1 = arms[1]
  2044. weld1.C1 = CFrame.new(0.95, -0.4, -0.2) * CFrame.fromEulerAnglesXYZ(math.rad(5), 0.5, math.rad(-30))
  2045. welds[1] = weld1
  2046. local weld2 = Instance.new("Weld")
  2047. weld2.Part0 = torso
  2048. weld2.Parent = torso
  2049. weld2.Part1 = arms[2]
  2050. weld2.C1 = CFrame.new(-0.8, -0.2, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-60), 0)
  2051. welds[2] = weld2
  2052. end
  2053. else
  2054. print("sh")
  2055. end
  2056. else
  2057. print("arms")
  2058. end
  2059. end
  2060.  
  2061. function Unequip(mouse)
  2062. if arms ~= nil and torso ~= nil then
  2063. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  2064. if sh ~= nil then
  2065. local yes = true
  2066. if yes then
  2067. yes = false
  2068. sh[1].Part1 = arms[1]
  2069. sh[2].Part1 = arms[2]
  2070. welds[1].Parent = nil
  2071. welds[2].Parent = nil
  2072. end
  2073. else
  2074. print("sh")
  2075. end
  2076. else
  2077. print("arms")
  2078. end
  2079. end
  2080. Tool.Equipped:connect(Equip)
  2081. Tool.Unequipped:connect(Unequip)
  2082.  
  2083. end))
  2084. Tool158.Name = "EmergencyTransport"
  2085. Tool158.Parent = mas
  2086. Tool158.TextureId = "http://www.roblox.com/asset?id=234894588"
  2087. Tool158.ToolTip = "One use"
  2088. Script159.Name = "Welding"
  2089. Script159.Parent = Tool158
  2090. table.insert(cors,sandbox(Script159,function()
  2091. function Weld(x,y)
  2092. local W = Instance.new("Weld")
  2093. W.Part0 = x
  2094. W.Part1 = y
  2095. local CJ = CFrame.new(x.Position)
  2096. local C0 = x.CFrame:inverse()*CJ
  2097. local C1 = y.CFrame:inverse()*CJ
  2098. W.C0 = C0
  2099. W.C1 = C1
  2100. W.Parent = x
  2101. end
  2102.  
  2103. function Get(A)
  2104. if A.className == "Part" or A.className == "UnionOperation" or A.className == "WedgePart" then
  2105. Weld(script.Parent.Handle, A)
  2106. A.Anchored = false
  2107. else
  2108. local C = A:GetChildren()
  2109. for i=1, #C do
  2110. Get(C[i])
  2111. end
  2112. end
  2113. end
  2114.  
  2115. function Finale()
  2116. Get(script.Parent)
  2117. end
  2118.  
  2119. script.Parent.Equipped:connect(Finale)
  2120. script.Parent.Unequipped:connect(Finale)
  2121. Finale()
  2122. end))
  2123. Part160.Parent = Tool158
  2124. Part160.Material = Enum.Material.SmoothPlastic
  2125. Part160.BrickColor = BrickColor.new("Pastel blue-green")
  2126. Part160.Rotation = Vector3.new(179.080002, -51.8499985, -134.319992)
  2127. Part160.CanCollide = false
  2128. Part160.FormFactor = Enum.FormFactor.Custom
  2129. Part160.Size = Vector3.new(0.25453198, 0.200000003, 0.286348403)
  2130. Part160.CFrame = CFrame.new(23.3453293, 2.69810295, -23.6291237, -0.431545854, 0.441938639, -0.786425173, 0.72423166, 0.689472556, -0.00996089727, 0.537809074, -0.573847353, -0.617619514)
  2131. Part160.BottomSurface = Enum.SurfaceType.Smooth
  2132. Part160.TopSurface = Enum.SurfaceType.Smooth
  2133. Part160.Color = Color3.new(0.623529, 0.952941, 0.913726)
  2134. Part160.Position = Vector3.new(23.3453293, 2.69810295, -23.6291237)
  2135. Part160.Orientation = Vector3.new(0.569999993, -128.139999, 46.4099998)
  2136. Part160.Color = Color3.new(0.623529, 0.952941, 0.913726)
  2137. Texture161.Parent = Part160
  2138. Texture161.Texture = "http://www.roblox.com/asset/?id=234419562"
  2139. Texture161.Face = Enum.NormalId.Top
  2140. Texture161.StudsPerTileU = 100
  2141. Texture161.StudsPerTileV = 100
  2142. BlockMesh162.Parent = Part160
  2143. BlockMesh162.Scale = Vector3.new(1, 0.0318164788, 1)
  2144. BlockMesh162.Scale = Vector3.new(1, 0.0318164788, 1)
  2145. Part163.Parent = Tool158
  2146. Part163.Material = Enum.Material.SmoothPlastic
  2147. Part163.BrickColor = BrickColor.new("Pastel blue-green")
  2148. Part163.Rotation = Vector3.new(179.080002, -51.8499985, -134.319992)
  2149. Part163.CanCollide = false
  2150. Part163.FormFactor = Enum.FormFactor.Custom
  2151. Part163.Size = Vector3.new(0.25453198, 0.200000003, 0.286348403)
  2152. Part163.CFrame = CFrame.new(23.6906357, 2.70396805, -23.3595314, -0.431545854, 0.441938639, -0.786425173, 0.72423166, 0.689472556, -0.00996089727, 0.537809074, -0.573847353, -0.617619514)
  2153. Part163.BottomSurface = Enum.SurfaceType.Smooth
  2154. Part163.TopSurface = Enum.SurfaceType.Smooth
  2155. Part163.Color = Color3.new(0.623529, 0.952941, 0.913726)
  2156. Part163.Position = Vector3.new(23.6906357, 2.70396805, -23.3595314)
  2157. Part163.Orientation = Vector3.new(0.569999993, -128.139999, 46.4099998)
  2158. Part163.Color = Color3.new(0.623529, 0.952941, 0.913726)
  2159. Texture164.Parent = Part163
  2160. Texture164.Texture = "http://www.roblox.com/asset/?id=234419562"
  2161. Texture164.Face = Enum.NormalId.Top
  2162. Texture164.StudsPerTileU = 100
  2163. Texture164.StudsPerTileV = 100
  2164. BlockMesh165.Parent = Part163
  2165. BlockMesh165.Scale = Vector3.new(1, 0.0318164788, 1)
  2166. BlockMesh165.Scale = Vector3.new(1, 0.0318164788, 1)
  2167. Part166.Parent = Tool158
  2168. Part166.Material = Enum.Material.SmoothPlastic
  2169. Part166.BrickColor = BrickColor.new("Really blue")
  2170. Part166.Rotation = Vector3.new(179.080002, -51.8499985, -134.319992)
  2171. Part166.CanCollide = false
  2172. Part166.FormFactor = Enum.FormFactor.Custom
  2173. Part166.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2174. Part166.CFrame = CFrame.new(23.5017471, 2.67463493, -23.4836617, -0.431545854, 0.441938639, -0.786425173, 0.72423166, 0.689472556, -0.00996089727, 0.537809074, -0.573847353, -0.617619514)
  2175. Part166.BottomSurface = Enum.SurfaceType.Smooth
  2176. Part166.TopSurface = Enum.SurfaceType.Smooth
  2177. Part166.Color = Color3.new(0, 0, 1)
  2178. Part166.Position = Vector3.new(23.5017471, 2.67463493, -23.4836617)
  2179. Part166.Orientation = Vector3.new(0.569999993, -128.139999, 46.4099998)
  2180. Part166.Color = Color3.new(0, 0, 1)
  2181. BlockMesh167.Parent = Part166
  2182. BlockMesh167.Scale = Vector3.new(0.190898985, 0.159082413, 0.159082413)
  2183. BlockMesh167.Scale = Vector3.new(0.190898985, 0.159082413, 0.159082413)
  2184. Part168.Parent = Tool158
  2185. Part168.Material = Enum.Material.SmoothPlastic
  2186. Part168.BrickColor = BrickColor.new("Dark stone grey")
  2187. Part168.Rotation = Vector3.new(179.080002, -51.8499985, -134.319992)
  2188. Part168.CanCollide = false
  2189. Part168.FormFactor = Enum.FormFactor.Custom
  2190. Part168.Size = Vector3.new(0.25453198, 0.200000003, 0.200000003)
  2191. Part168.CFrame = CFrame.new(23.4921188, 2.66840696, -23.4712601, -0.431545854, 0.441938639, -0.786425173, 0.72423166, 0.689472556, -0.00996089727, 0.537809074, -0.573847353, -0.617619514)
  2192. Part168.BottomSurface = Enum.SurfaceType.Smooth
  2193. Part168.TopSurface = Enum.SurfaceType.Smooth
  2194. Part168.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2195. Part168.Position = Vector3.new(23.4921188, 2.66840696, -23.4712601)
  2196. Part168.Orientation = Vector3.new(0.569999993, -128.139999, 46.4099998)
  2197. Part168.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2198. BlockMesh169.Parent = Part168
  2199. BlockMesh169.Scale = Vector3.new(1, 0.254531831, 0.540880263)
  2200. BlockMesh169.Scale = Vector3.new(1, 0.254531831, 0.540880263)
  2201. Part170.Name = "Handle"
  2202. Part170.Parent = Tool158
  2203. Part170.Material = Enum.Material.SmoothPlastic
  2204. Part170.Transparency = 1
  2205. Part170.Rotation = Vector3.new(50.25, -26.2199993, 28.7699986)
  2206. Part170.FormFactor = Enum.FormFactor.Custom
  2207. Part170.Size = Vector3.new(0.580000222, 0.580000997, 0.200000003)
  2208. Part170.CFrame = CFrame.new(23.4556885, 2.63605595, -23.3905716, 0.786333203, -0.431831568, -0.441816032, 0.0101025933, 0.724033415, -0.689690769, 0.617719948, 0.537863493, 0.573693931)
  2209. Part170.BottomSurface = Enum.SurfaceType.Smooth
  2210. Part170.TopSurface = Enum.SurfaceType.Smooth
  2211. Part170.Position = Vector3.new(23.4556885, 2.63605595, -23.3905716)
  2212. Part170.Orientation = Vector3.new(43.6100006, -37.5999985, 0.799999952)
  2213. Sound171.Parent = Part170
  2214. Sound171.SoundId = "http://www.roblox.com/asset?id=137064059"
  2215. PointLight172.Parent = Part170
  2216. PointLight172.Color = Color3.new(0, 1, 1)
  2217. PointLight172.Range = 5
  2218. PointLight172.Color = Color3.new(0, 1, 1)
  2219. Script173.Parent = Tool158
  2220. table.insert(cors,sandbox(Script173,function()
  2221. function transport()
  2222. script.Parent.Parent.Torso.CFrame = CFrame.new(math.random(-400,400),4.2,math.random(-400,400))
  2223. script.Parent.Handle.Sound:play()
  2224. wait(2.04)
  2225. script.Parent:Destroy()
  2226. end
  2227.  
  2228. script.Parent.Activated:connect(transport)
  2229. end))
  2230. for i,v in pairs(mas:GetChildren()) do
  2231. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  2232. pcall(function() v:MakeJoints() end)
  2233. end
  2234. mas:Destroy()
  2235. for i,v in pairs(cors) do
  2236. spawn(function()
  2237. pcall(v)
  2238. end)
  2239. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement