Advertisement
spacemonkey3591

Bad

Jun 16th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.51 KB | None | 0 0
  1. --Created with PenguinAnonymous's compiler
  2. --PenguinAnonymous is not responsible for damages caused to your game
  3. --This plugin does not remove things
  4. --PenguinAnonymous cannot be held resonsible for manual deletion for the purpose of testing
  5. --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
  6. --Thank you for using my plugin and enjoy :)
  7. --It is free to use
  8. --If you use this plugin to create your own, please give me credit
  9. --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
  10. --Errors:
  11. local runDummyScript = function(f,scri)
  12. local oldenv = getfenv(f)
  13. local newenv = setmetatable({}, {
  14. __index = function(_, k)
  15. if k:lower() == 'script' then
  16. return scri
  17. else
  18. return oldenv[k]
  19. end
  20. end
  21. })
  22. setfenv(f, newenv)
  23. ypcall(function() f() end)
  24. end
  25. cors = {}
  26. mas = Instance.new("Model",game:GetService("Lighting"))
  27. mas.Name = "CompiledModel"
  28. o1 = Instance.new("Tool")
  29. o2 = Instance.new("BlockMesh")
  30. o3 = Instance.new("Part")
  31. o4 = Instance.new("SpecialMesh")
  32. o5 = Instance.new("Part")
  33. o6 = Instance.new("SpecialMesh")
  34. o7 = Instance.new("Part")
  35. o8 = Instance.new("BlockMesh")
  36. o9 = Instance.new("Part")
  37. o10 = Instance.new("BlockMesh")
  38. o11 = Instance.new("Part")
  39. o12 = Instance.new("BlockMesh")
  40. o13 = Instance.new("Part")
  41. o14 = Instance.new("SpecialMesh")
  42. o15 = Instance.new("Part")
  43. o16 = Instance.new("BlockMesh")
  44. o17 = Instance.new("Decal")
  45. o18 = Instance.new("Part")
  46. o19 = Instance.new("Sound")
  47. o20 = Instance.new("Sound")
  48. o21 = Instance.new("Sound")
  49. o22 = Instance.new("Sound")
  50. o23 = Instance.new("Weld")
  51. o24 = Instance.new("Weld")
  52. o25 = Instance.new("Weld")
  53. o26 = Instance.new("Weld")
  54. o27 = Instance.new("Weld")
  55. o28 = Instance.new("Weld")
  56. o29 = Instance.new("Weld")
  57. o30 = Instance.new("Weld")
  58. o31 = Instance.new("Weld")
  59. o32 = Instance.new("Weld")
  60. o33 = Instance.new("Weld")
  61. o34 = Instance.new("Weld")
  62. o35 = Instance.new("Weld")
  63. o36 = Instance.new("Weld")
  64. o37 = Instance.new("Weld")
  65. o38 = Instance.new("Weld")
  66. o39 = Instance.new("Weld")
  67. o40 = Instance.new("Weld")
  68. o41 = Instance.new("Weld")
  69. o42 = Instance.new("Weld")
  70. o43 = Instance.new("Weld")
  71. o44 = Instance.new("Weld")
  72. o45 = Instance.new("Part")
  73. o46 = Instance.new("BlockMesh")
  74. o47 = Instance.new("SpotLight")
  75. o48 = Instance.new("Part")
  76. o49 = Instance.new("BlockMesh")
  77. o50 = Instance.new("Part")
  78. o51 = Instance.new("SpecialMesh")
  79. o52 = Instance.new("Part")
  80. o53 = Instance.new("BlockMesh")
  81. o54 = Instance.new("Part")
  82. o55 = Instance.new("SpecialMesh")
  83. o56 = Instance.new("Part")
  84. o57 = Instance.new("BlockMesh")
  85. o58 = Instance.new("Part")
  86. o59 = Instance.new("BlockMesh")
  87. o60 = Instance.new("Part")
  88. o61 = Instance.new("BlockMesh")
  89. o62 = Instance.new("BoolValue")
  90. o63 = Instance.new("BoolValue")
  91. o64 = Instance.new("Part")
  92. o65 = Instance.new("BlockMesh")
  93. o66 = Instance.new("Part")
  94. o67 = Instance.new("BlockMesh")
  95. o68 = Instance.new("IntValue")
  96. o69 = Instance.new("LocalScript")
  97. o70 = Instance.new("ScreenGui")
  98. o71 = Instance.new("Frame")
  99. o72 = Instance.new("Frame")
  100. o73 = Instance.new("TextLabel")
  101. o74 = Instance.new("TextLabel")
  102. o75 = Instance.new("TextLabel")
  103. o76 = Instance.new("TextLabel")
  104. o77 = Instance.new("TextLabel")
  105. o78 = Instance.new("Part")
  106. o79 = Instance.new("BlockMesh")
  107. o80 = Instance.new("Part")
  108. o81 = Instance.new("SpecialMesh")
  109. o82 = Instance.new("Script")
  110. o83 = Instance.new("Script")
  111. o84 = Instance.new("Script")
  112. o85 = Instance.new("LocalScript")
  113. o1.Name = "ER-31X"
  114. o1.Parent = game.Players.LocalPlayer.Backpack
  115. o2.Name = "BarbMesh"
  116. o2.Parent = o1
  117. o2.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  118. o3.Parent = o1
  119. o3.BrickColor = BrickColor.new("Light stone grey")
  120. o3.Reflectance = 0.10000000149012
  121. o3.Transparency = 0.20000000298023
  122. o3.Position = Vector3.new(12.4499998, 5.89999247, -81.3000412)
  123. o3.FormFactor = Enum.FormFactor.Custom
  124. o3.Size = Vector3.new(0.300000012, 0.200000003, 0.200000003)
  125. o3.CFrame = CFrame.new(12.4499998, 5.89999247, -81.3000412, 1, 6.13542691e-14, 0, 6.13542691e-14, 1, 0, 0, 0, 1)
  126. o3.BottomSurface = Enum.SurfaceType.Smooth
  127. o3.TopSurface = Enum.SurfaceType.Smooth
  128. o3.Color = Color3.new(0.898039, 0.894118, 0.87451)
  129. o3.Position = Vector3.new(12.4499998, 5.89999247, -81.3000412)
  130. o4.Parent = o3
  131. o4.Scale = Vector3.new(1, 1, 0.5)
  132. o4.MeshType = Enum.MeshType.Wedge
  133. o5.Parent = o1
  134. o5.BrickColor = BrickColor.new("Light stone grey")
  135. o5.Reflectance = 0.10000000149012
  136. o5.Transparency = 0.20000000298023
  137. o5.Position = Vector3.new(12.4500055, 6.15000343, -81.275032)
  138. o5.Rotation = Vector3.new(0, 0, 180)
  139. o5.FormFactor = Enum.FormFactor.Custom
  140. o5.Size = Vector3.new(0.300000012, 0.200000003, 0.200000003)
  141. o5.CFrame = CFrame.new(12.4500055, 6.15000343, -81.275032, -1, -5.21518331e-08, 2.23519692e-08, 5.21517194e-08, -1, 3.72528461e-08, 2.23519692e-08, 3.72528604e-08, 1)
  142. o5.BottomSurface = Enum.SurfaceType.Smooth
  143. o5.TopSurface = Enum.SurfaceType.Smooth
  144. o5.Color = Color3.new(0.898039, 0.894118, 0.87451)
  145. o5.Position = Vector3.new(12.4500055, 6.15000343, -81.275032)
  146. o6.Parent = o5
  147. o6.Scale = Vector3.new(1, 0.5, 0.25)
  148. o6.MeshType = Enum.MeshType.Wedge
  149. o7.Parent = o1
  150. o7.BrickColor = BrickColor.new("Light stone grey")
  151. o7.Reflectance = 0.10000000149012
  152. o7.Transparency = 0.20000000298023
  153. o7.Position = Vector3.new(12.4499989, 6.29999781, -80.4499588)
  154. o7.Rotation = Vector3.new(180, 0, 180)
  155. o7.FormFactor = Enum.FormFactor.Custom
  156. o7.Size = Vector3.new(0.300000012, 0.200000003, 1)
  157. o7.CFrame = CFrame.new(12.4499989, 6.29999781, -80.4499588, -1, -4.26233726e-07, 4.11052497e-07, -4.26233896e-07, 1, -1.19209744e-07, -4.11052383e-07, -1.19209915e-07, -1)
  158. o7.BottomSurface = Enum.SurfaceType.Smooth
  159. o7.TopSurface = Enum.SurfaceType.Smooth
  160. o7.Color = Color3.new(0.898039, 0.894118, 0.87451)
  161. o7.Position = Vector3.new(12.4499989, 6.29999781, -80.4499588)
  162. o8.Parent = o7
  163. o8.Offset = Vector3.new(0, -0.0610000007, 0)
  164. o8.Scale = Vector3.new(1, 0.400000006, 1)
  165. o9.Name = "Probe"
  166. o9.Parent = o1
  167. o9.Reflectance = 0.20000000298023
  168. o9.Position = Vector3.new(12.4500055, 6.09999275, -79.8498993)
  169. o9.Rotation = Vector3.new(180, 0, 180)
  170. o9.FormFactor = Enum.FormFactor.Custom
  171. o9.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  172. o9.CFrame = CFrame.new(12.4500055, 6.09999275, -79.8498993, -1, -1.03038246e-05, 5.44461091e-06, -1.03038365e-05, 1, -2.21278106e-06, -5.44458817e-06, -2.21283722e-06, -1)
  173. o9.BottomSurface = Enum.SurfaceType.Smooth
  174. o9.TopSurface = Enum.SurfaceType.Smooth
  175. o9.Position = Vector3.new(12.4500055, 6.09999275, -79.8498993)
  176. o10.Parent = o9
  177. o10.Offset = Vector3.new(0, 0.140000001, 0.100000001)
  178. o10.Scale = Vector3.new(0.400000006, 0.300000012, 0.200000003)
  179. o11.Parent = o1
  180. o11.BrickColor = BrickColor.new("Light stone grey")
  181. o11.Reflectance = 0.10000000149012
  182. o11.Transparency = 0.20000000298023
  183. o11.Position = Vector3.new(12.4499998, 5.9000001, -80.4500046)
  184. o11.Rotation = Vector3.new(-180, 0, 180)
  185. o11.FormFactor = Enum.FormFactor.Custom
  186. o11.Size = Vector3.new(0.300000012, 0.200000003, 1)
  187. o11.CFrame = CFrame.new(12.4499998, 5.9000001, -80.4500046, -1, -6.22973971e-07, -6.68012603e-07, -6.22974028e-07, 1, 2.98028766e-08, 6.68012603e-07, 2.98032923e-08, -1)
  188. o11.BottomSurface = Enum.SurfaceType.Smooth
  189. o11.TopSurface = Enum.SurfaceType.Smooth
  190. o11.Color = Color3.new(0.898039, 0.894118, 0.87451)
  191. o11.Position = Vector3.new(12.4499998, 5.9000001, -80.4500046)
  192. o12.Parent = o11
  193. o12.Offset = Vector3.new(0, 0.075000003, 0)
  194. o12.Scale = Vector3.new(1, 0.25, 1)
  195. o13.Name = "CartPart2"
  196. o13.Parent = o1
  197. o13.BrickColor = BrickColor.new("Black")
  198. o13.Position = Vector3.new(12.4500036, 5.97498035, -79.8499451)
  199. o13.Rotation = Vector3.new(-90, 0, -180)
  200. o13.FormFactor = Enum.FormFactor.Custom
  201. o13.Size = Vector3.new(0.300000012, 0.200000003, 0.200000003)
  202. o13.CFrame = CFrame.new(12.4500036, 5.97498035, -79.8499451, -1, 6.21577419e-06, -1.4625467e-05, -1.46253042e-05, 2.6247546e-05, 1, 6.21615845e-06, 1, -2.6247455e-05)
  203. o13.BottomSurface = Enum.SurfaceType.Smooth
  204. o13.TopSurface = Enum.SurfaceType.Smooth
  205. o13.Color = Color3.new(0.105882, 0.164706, 0.207843)
  206. o13.Position = Vector3.new(12.4500036, 5.97498035, -79.8499451)
  207. o14.Parent = o13
  208. o14.Scale = Vector3.new(1, 1, 0.25)
  209. o14.MeshType = Enum.MeshType.Wedge
  210. o15.Name = "Electric"
  211. o15.Parent = o1
  212. o15.Transparency = 1
  213. o15.Position = Vector3.new(12.4499979, 6.09997463, -79.8498993)
  214. o15.Rotation = Vector3.new(180, 0, 90)
  215. o15.FormFactor = Enum.FormFactor.Custom
  216. o15.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  217. o15.CFrame = CFrame.new(12.4499979, 6.09997463, -79.8498993, 1.37414181e-05, -1, 2.41971316e-06, -1, -1.37414181e-05, -3.5016339e-07, 3.50196643e-07, -2.41970838e-06, -1)
  218. o15.BottomSurface = Enum.SurfaceType.Smooth
  219. o15.TopSurface = Enum.SurfaceType.Smooth
  220. o15.Position = Vector3.new(12.4499979, 6.09997463, -79.8498993)
  221. o16.Parent = o15
  222. o16.Offset = Vector3.new(-0.00999999978, 0, 0.0900000036)
  223. o16.Scale = Vector3.new(1, 1, 0)
  224. o17.Parent = o15
  225. o18.Name = "Handle"
  226. o18.Parent = o1
  227. o18.BrickColor = BrickColor.new("Light stone grey")
  228. o18.Reflectance = 0.10000000149012
  229. o18.Transparency = 0.20000000298023
  230. o18.Position = Vector3.new(12.4499998, 5.49999475, -81.2500381)
  231. o18.Rotation = Vector3.new(180, 0, -180)
  232. o18.FormFactor = Enum.FormFactor.Custom
  233. o18.Size = Vector3.new(0.300000012, 0.600000024, 0.200000003)
  234. o18.CFrame = CFrame.new(12.4499998, 5.49999475, -81.2500381, -1, 2.66120907e-07, 1.40528471e-06, 2.66120537e-07, 1, -1.78813963e-07, -1.40528471e-06, -1.78813593e-07, -1)
  235. o18.BottomSurface = Enum.SurfaceType.Smooth
  236. o18.TopSurface = Enum.SurfaceType.Smooth
  237. o18.Color = Color3.new(0.898039, 0.894118, 0.87451)
  238. o18.Position = Vector3.new(12.4499998, 5.49999475, -81.2500381)
  239. o19.Name = "Shot"
  240. o19.Parent = o18
  241. o19.Pitch = 3
  242. o19.SoundId = "http://roblox.com/asset/?id=10209859"
  243. o19.Volume = 1
  244. o20.Name = "sound2"
  245. o20.Parent = o18
  246. o20.Pitch = 4
  247. o20.SoundId = "rbxasset://sounds/clickfast.wav"
  248. o20.Volume = 1
  249. o21.Name = "sound3"
  250. o21.Parent = o18
  251. o21.Pitch = 6
  252. o21.SoundId = "rbxasset://sounds/clickfast.wav"
  253. o21.Volume = 1
  254. o22.Name = "sound"
  255. o22.Parent = o18
  256. o22.Pitch = 5
  257. o22.SoundId = "rbxasset://sounds/clickfast.wav"
  258. o22.Volume = 1
  259. o23.Parent = o18
  260. o23.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  261. o23.C1 = CFrame.new(0.599979401, 9.53674316e-06, 1.40009689, 1.40070906e-05, -0.999999762, -0.000796118227, -1, -1.40062793e-05, -1.02556487e-06, 1.01441378e-06, 0.000796118227, -0.999999762)
  262. o23.Part0 = o18
  263. o23.Part1 = o15
  264. o24.Parent = o18
  265. o24.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  266. o24.C1 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  267. o24.Part0 = o18
  268. o24.Part1 = o18
  269. o25.Parent = o18
  270. o25.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  271. o25.C1 = CFrame.new(0, -0.400001526, 1.00007629, -1, -8.9074075e-07, 2.07258881e-06, -8.8908962e-07, 0.999999762, 0.000796498323, -2.07329731e-06, 0.000796498323, -0.999999762)
  272. o25.Part0 = o18
  273. o25.Part1 = o45
  274. o26.Parent = o18
  275. o26.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  276. o26.C1 = CFrame.new(0, -0.600006104, 0.900062561, -1, -8.9074075e-07, 2.07258881e-06, -8.8908962e-07, 0.999999762, 0.000796498323, -2.07329731e-06, 0.000796498323, -0.999999762)
  277. o26.Part0 = o18
  278. o26.Part1 = o48
  279. o27.Parent = o18
  280. o27.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  281. o27.C1 = CFrame.new(0, -3.81469727e-06, 0.180015564, 1, 2.67245099e-07, -1.40507154e-06, -2.6612588e-07, 0.999999762, 0.000796468405, 1.4052838e-06, -0.000796468405, 0.999999762)
  282. o27.Part0 = o18
  283. o27.Part1 = o50
  284. o28.Parent = o18
  285. o28.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  286. o28.C1 = CFrame.new(0, -0.800003052, 0.200008392, -1, -8.9074075e-07, 2.07258881e-06, -8.8908962e-07, 0.999999762, 0.000796498323, -2.07329731e-06, 0.000796498323, -0.999999762)
  287. o28.Part0 = o18
  288. o28.Part1 = o52
  289. o29.Parent = o18
  290. o29.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  291. o29.C1 = CFrame.new(1.90734863e-06, 3.81469727e-06, 0.180019379, 1, 2.67290972e-07, -1.46281366e-06, 2.66125852e-07, -0.999999762, -0.000796416251, -1.46302591e-06, 0.000796416251, -0.999999762)
  292. o29.Part0 = o18
  293. o29.Part1 = o54
  294. o30.Parent = o18
  295. o30.C0 = CFrame.new(0, 0, 0, -1.00000548, 9.05259183e-17, -2.27373675e-13, -9.05259183e-17, 0.999999702, 0.000796276494, 2.27373675e-13, 0.000796276494, -1.00000525)
  296. o30.C1 = CFrame.new(0, 0, 0, -1.00000548, 9.05259183e-17, -2.27373675e-13, -9.05259183e-17, 0.999999702, 0.000796276494, 2.27373675e-13, 0.000796276494, -1.00000525)
  297. o30.Part0 = o18
  298. o30.Part1 = o18
  299. o31.Parent = o18
  300. o31.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  301. o31.C1 = CFrame.new(1.90734863e-06, -1.40006256, -0.474948883, -1, -1.48979634e-05, 7.6095771e-06, 7.62104901e-06, -0.000770220067, 0.999999762, -1.48920972e-05, 0.999999762, 0.000770220184)
  302. o31.Part0 = o18
  303. o31.Part1 = o13
  304. o32.Parent = o18
  305. o32.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  306. o32.C1 = CFrame.new(0, -0.400005341, 0.800033569, -1.00000656, -8.90747685e-07, 2.072602e-06, -8.89101443e-07, 0.999999642, 0.000796482898, -2.0733105e-06, 0.000796488312, -1.00000644)
  307. o32.Part0 = o18
  308. o32.Part1 = o11
  309. o33.Parent = o18
  310. o33.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  311. o33.C1 = CFrame.new(1.90734863e-05, -0.599995136, 1.40009689, -1, -1.05670733e-05, -4.04771799e-06, -1.05702838e-05, 0.999999762, 0.00079424819, 4.03932336e-06, 0.000794248248, -0.999999762)
  312. o33.Part0 = o18
  313. o33.Part1 = o9
  314. o34.Parent = o18
  315. o34.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  316. o34.C1 = CFrame.new(0, -0.800003052, 0.800056458, -1, -6.93165077e-07, 9.93679919e-07, -6.92373476e-07, 0.999999762, 0.000796349312, -9.94231527e-07, 0.000796349312, -0.999999762)
  317. o34.Part0 = o18
  318. o34.Part1 = o7
  319. o35.Parent = o18
  320. o35.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  321. o35.C1 = CFrame.new(5.7220459e-06, 0.650008678, 0.0249938965, -1, -2.15109438e-07, 1.42746501e-06, 2.13972484e-07, -0.999999762, -0.000796431035, 1.42763577e-06, -0.000796431035, 0.999999762)
  322. o35.Part0 = o18
  323. o35.Part1 = o5
  324. o36.Parent = o18
  325. o36.C0 = CFrame.new(0, 0, 0, -1, -5.25194763e-22, 3.85268963e-22, 4.33056011e-22, -0.0942550078, 0.995548069, -4.86543103e-22, 0.995548069, 0.0942550078)
  326. o36.C1 = CFrame.new(-7.62939453e-06, -0.400009155, 0.600020409, -1.00000548, -1.98027692e-06, -1.08055269e-06, -8.89095588e-07, -0.0942552164, 0.995548069, -2.07330868e-06, 0.995553672, 0.0942557454)
  327. o36.Part0 = o18
  328. o36.Part1 = o56
  329. o37.Parent = o18
  330. o37.C0 = CFrame.new(0, 0, 0, -1, -5.25194763e-22, 3.85268963e-22, 4.33056011e-22, -0.0942550078, 0.995548069, -4.86543103e-22, 0.995548069, 0.0942550078)
  331. o37.C1 = CFrame.new(1.90734863e-05, -0.59998703, 1.40004396, -1.00000548, 5.01764407e-06, -1.01425103e-05, -1.05703448e-05, -0.0942529812, 0.995548248, 4.03934519e-06, 0.995553851, 0.0942535028)
  332. o37.Part0 = o18
  333. o37.Part1 = o58
  334. o38.Parent = o18
  335. o38.C0 = CFrame.new(0, 0, 0, -1, -5.25194763e-22, 3.85268963e-22, 4.33056011e-22, -0.0942550078, 0.995548069, -4.86543103e-22, 0.995548069, 0.0942550078)
  336. o38.C1 = CFrame.new(0, -0.500007629, 0.200006723, -1.00000548, -1.98027692e-06, -1.08055269e-06, -8.89095588e-07, -0.0942552164, 0.995548069, -2.07330868e-06, 0.995553672, 0.0942557454)
  337. o38.Part0 = o18
  338. o38.Part1 = o60
  339. o39.Parent = o18
  340. o39.C0 = CFrame.new(0, 0, 0, -1, -5.25194763e-22, 3.85268963e-22, 4.33056011e-22, -0.0942550078, 0.995548069, -4.86543103e-22, 0.995548069, 0.0942550078)
  341. o39.C1 = CFrame.new(-7.62939453e-06, -0.599994659, 1.60005093, -1.00000548, -4.94962251e-06, -1.25819952e-06, -7.86074793e-07, -0.0942551717, 0.995548069, -5.04617901e-06, 0.995553672, 0.0942557007)
  342. o39.Part0 = o18
  343. o39.Part1 = o78
  344. o40.Parent = o18
  345. o40.C0 = CFrame.new(0, 0, 0, -1, -5.25194763e-22, 3.85268963e-22, 4.33056011e-22, -0.0942550078, 0.995548069, -4.86543103e-22, 0.995548069, 0.0942550078)
  346. o40.C1 = CFrame.new(-1.90734863e-05, -1.40005493, 0.754981995, 1.00000548, -4.83451413e-06, 2.2322838e-06, -4.60262709e-06, -0.995554924, -0.0942409635, 2.677971e-06, 0.0942404494, -0.995549381)
  347. o40.Part0 = o18
  348. o40.Part1 = o80
  349. o41.Parent = o18
  350. o41.C0 = CFrame.new(0, 0, 0, -1, -5.25194763e-22, 3.85268963e-22, 4.33056011e-22, -0.0942550078, 0.995548069, -4.86543103e-22, 0.995548069, 0.0942550078)
  351. o41.C1 = CFrame.new(-7.62939453e-06, -0.599994659, 1.60005093, -1.00000548, -4.94962251e-06, -1.25819952e-06, -7.86074793e-07, -0.0942551717, 0.995548069, -5.04617901e-06, 0.995553672, 0.0942557007)
  352. o41.Part0 = o18
  353. o41.Part1 = o64
  354. o42.Parent = o18
  355. o42.C0 = CFrame.new(0, 0, 0, -1, -5.25194763e-22, 3.85268963e-22, 4.33056011e-22, -0.0942550078, 0.995548069, -4.86543103e-22, 0.995548069, 0.0942550078)
  356. o42.C1 = CFrame.new(-1.14440918e-05, -0.599994659, 1.40004826, -1.00000548, -4.94962251e-06, -1.25819952e-06, -7.86074793e-07, -0.0942551717, 0.995548069, -5.04617901e-06, 0.995553672, 0.0942557007)
  357. o42.Part0 = o18
  358. o42.Part1 = o66
  359. o43.Parent = o18
  360. o43.C0 = CFrame.new(0, 0, 0, -1, -5.25194763e-22, 3.85268963e-22, 4.33056011e-22, -0.0942550078, 0.995548069, -4.86543103e-22, 0.995548069, 0.0942550078)
  361. o43.C1 = CFrame.new(0, 0, 0, -1, -5.25194763e-22, 3.85268963e-22, 4.33056011e-22, -0.0942550078, 0.995548069, -4.86543103e-22, 0.995548069, 0.0942550078)
  362. o43.Part0 = o18
  363. o43.Part1 = o18
  364. o44.Parent = o18
  365. o44.C0 = CFrame.new(0, 0, 0, -1, 1.08001032e-12, 8.60004675e-16, 1.08001065e-12, 0.999999762, 0.000796285225, 0, 0.000796285225, -0.999999762)
  366. o44.C1 = CFrame.new(0, -0.399997711, 0.0500030518, 1, 2.67245099e-07, -1.40507177e-06, -2.6612588e-07, 0.999999762, 0.000796468405, 1.40528402e-06, -0.000796468405, 0.999999762)
  367. o44.Part0 = o18
  368. o44.Part1 = o3
  369. o45.Name = "Lamp"
  370. o45.Parent = o1
  371. o45.Material = Enum.Material.SmoothPlastic
  372. o45.BrickColor = BrickColor.new("White")
  373. o45.Reflectance = 0.10000000149012
  374. o45.Position = Vector3.new(12.4499998, 5.89999628, -80.2499313)
  375. o45.Rotation = Vector3.new(-180, 0, 180)
  376. o45.FormFactor = Enum.FormFactor.Custom
  377. o45.Size = Vector3.new(0.300000012, 0.200000003, 0.200000003)
  378. o45.CFrame = CFrame.new(12.4499998, 5.89999628, -80.2499313, -1, -6.22943674e-07, -6.6801374e-07, -6.22943787e-07, 1, 2.98010292e-08, 6.68013627e-07, 2.98014413e-08, -1)
  379. o45.BottomSurface = Enum.SurfaceType.Smooth
  380. o45.TopSurface = Enum.SurfaceType.Smooth
  381. o45.Color = Color3.new(0.94902, 0.952941, 0.952941)
  382. o45.Position = Vector3.new(12.4499998, 5.89999628, -80.2499313)
  383. o46.Parent = o45
  384. o46.Offset = Vector3.new(0, -0.0250000004, 0.104999997)
  385. o46.Scale = Vector3.new(0.899999976, 0.649999976, 0.100000001)
  386. o47.Name = "Light"
  387. o47.Parent = o45
  388. o47.Enabled = false
  389. o47.Brightness = 2
  390. o47.Range = 30
  391. o47.Shadows = true
  392. o48.Parent = o1
  393. o48.BrickColor = BrickColor.new("Light stone grey")
  394. o48.Reflectance = 0.10000000149012
  395. o48.Transparency = 0.20000000298023
  396. o48.Position = Vector3.new(12.4499998, 6.10000086, -80.3499451)
  397. o48.Rotation = Vector3.new(-180, 0, 180)
  398. o48.FormFactor = Enum.FormFactor.Custom
  399. o48.Size = Vector3.new(0.300000012, 0.200000003, 0.800000012)
  400. o48.CFrame = CFrame.new(12.4499998, 6.10000086, -80.3499451, -1, -6.22943674e-07, -6.6801374e-07, -6.22943787e-07, 1, 2.98010292e-08, 6.68013627e-07, 2.98014413e-08, -1)
  401. o48.BottomSurface = Enum.SurfaceType.Smooth
  402. o48.TopSurface = Enum.SurfaceType.Smooth
  403. o48.Color = Color3.new(0.898039, 0.894118, 0.87451)
  404. o48.Position = Vector3.new(12.4499998, 6.10000086, -80.3499451)
  405. o49.Parent = o48
  406. o50.Parent = o1
  407. o50.BrickColor = BrickColor.new("Light stone grey")
  408. o50.Reflectance = 0.10000000149012
  409. o50.Transparency = 0.20000000298023
  410. o50.Position = Vector3.new(12.4499998, 5.49999857, -81.4300613)
  411. o50.FormFactor = Enum.FormFactor.Custom
  412. o50.Size = Vector3.new(0.300000012, 0.600000024, 0.200000003)
  413. o50.CFrame = CFrame.new(12.4499998, 5.49999857, -81.4300613, 1, 6.13542691e-14, -2.27373675e-13, 6.13543233e-14, 1, 0, 2.27373675e-13, 0, 1)
  414. o50.BottomSurface = Enum.SurfaceType.Smooth
  415. o50.TopSurface = Enum.SurfaceType.Smooth
  416. o50.Color = Color3.new(0.898039, 0.894118, 0.87451)
  417. o50.Position = Vector3.new(12.4499998, 5.49999857, -81.4300613)
  418. o51.Parent = o50
  419. o51.Scale = Vector3.new(1, 1, 0.800000012)
  420. o51.MeshType = Enum.MeshType.Wedge
  421. o52.Parent = o1
  422. o52.BrickColor = BrickColor.new("Light stone grey")
  423. o52.Reflectance = 0.10000000149012
  424. o52.Transparency = 0.20000000298023
  425. o52.Position = Vector3.new(12.4499998, 6.29999781, -81.0500259)
  426. o52.Rotation = Vector3.new(-180, 0, 180)
  427. o52.FormFactor = Enum.FormFactor.Custom
  428. o52.Size = Vector3.new(0.300000012, 0.200000003, 0.200000033)
  429. o52.CFrame = CFrame.new(12.4499998, 6.29999781, -81.0500259, -1, -6.22943674e-07, -6.6801374e-07, -6.22943787e-07, 1, 2.98010292e-08, 6.68013627e-07, 2.98014413e-08, -1)
  430. o52.BottomSurface = Enum.SurfaceType.Smooth
  431. o52.TopSurface = Enum.SurfaceType.Smooth
  432. o52.Color = Color3.new(0.898039, 0.894118, 0.87451)
  433. o52.Position = Vector3.new(12.4499998, 6.29999781, -81.0500259)
  434. o53.Parent = o52
  435. o53.Offset = Vector3.new(0, -0.0500000007, 0.075000003)
  436. o53.Scale = Vector3.new(1, 0.5, 1.75)
  437. o54.Parent = o1
  438. o54.BrickColor = BrickColor.new("Light stone grey")
  439. o54.Reflectance = 0.10000000149012
  440. o54.Transparency = 0.20000000298023
  441. o54.Position = Vector3.new(12.4499979, 5.49999857, -81.070015)
  442. o54.Rotation = Vector3.new(180, 0, 0)
  443. o54.FormFactor = Enum.FormFactor.Custom
  444. o54.Size = Vector3.new(0.300000012, 0.600010157, 0.200000033)
  445. o54.CFrame = CFrame.new(12.4499979, 5.49999857, -81.070015, 1, -1.34645631e-13, -5.77417723e-08, -5.81416968e-15, -1, -5.21540926e-08, -5.77417723e-08, 5.21540926e-08, -1)
  446. o54.BottomSurface = Enum.SurfaceType.Smooth
  447. o54.TopSurface = Enum.SurfaceType.Smooth
  448. o54.Color = Color3.new(0.898039, 0.894118, 0.87451)
  449. o54.Position = Vector3.new(12.4499979, 5.49999857, -81.070015)
  450. o55.Parent = o54
  451. o55.Scale = Vector3.new(1, 1, 0.800000012)
  452. o55.MeshType = Enum.MeshType.Wedge
  453. o56.Parent = o1
  454. o56.BrickColor = BrickColor.new("Light stone grey")
  455. o56.Reflectance = 0.10000000149012
  456. o56.Transparency = 0.20000000298023
  457. o56.Position = Vector3.new(12.4499922, 5.90000391, -80.6500168)
  458. o56.Rotation = Vector3.new(-180, 0, 180)
  459. o56.FormFactor = Enum.FormFactor.Custom
  460. o56.Size = Vector3.new(0.300000012, 0.200000003, 0.600000024)
  461. o56.CFrame = CFrame.new(12.4499922, 5.90000391, -80.6500168, -1.00000548, -6.22974937e-07, -6.68016128e-07, -6.22968685e-07, 1, 2.98018392e-08, 6.68016128e-07, 2.98014129e-08, -1.0000056)
  462. o56.BottomSurface = Enum.SurfaceType.Smooth
  463. o56.TopSurface = Enum.SurfaceType.Smooth
  464. o56.Color = Color3.new(0.898039, 0.894118, 0.87451)
  465. o56.Position = Vector3.new(12.4499922, 5.90000391, -80.6500168)
  466. o57.Parent = o56
  467. o57.Offset = Vector3.new(0, -0.0250000004, 0)
  468. o57.Scale = Vector3.new(1, 0.75, 1)
  469. o58.Parent = o1
  470. o58.Reflectance = 0.20000000298023
  471. o58.Position = Vector3.new(12.4500055, 6.09998512, -79.8499908)
  472. o58.Rotation = Vector3.new(180, 0, 180)
  473. o58.CanCollide = false
  474. o58.FormFactor = Enum.FormFactor.Custom
  475. o58.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  476. o58.CFrame = CFrame.new(12.4500055, 6.09998512, -79.8499908, -1.00000548, -1.03042212e-05, 5.44463728e-06, -1.03041739e-05, 1, -2.22027529e-06, -5.44461363e-06, -2.21283699e-06, -1.0000056)
  477. o58.BottomSurface = Enum.SurfaceType.Smooth
  478. o58.TopSurface = Enum.SurfaceType.Smooth
  479. o58.Position = Vector3.new(12.4500055, 6.09998512, -79.8499908)
  480. o59.Parent = o58
  481. o59.Offset = Vector3.new(0, -0.109999999, 0.100000001)
  482. o59.Scale = Vector3.new(0.400000006, 0.300000012, 0.200000003)
  483. o60.Parent = o1
  484. o60.BrickColor = BrickColor.new("Light stone grey")
  485. o60.Reflectance = 0.10000000149012
  486. o60.Transparency = 0.20000000298023
  487. o60.Position = Vector3.new(12.4499998, 6.00000238, -81.0500336)
  488. o60.Rotation = Vector3.new(-180, 0, 180)
  489. o60.FormFactor = Enum.FormFactor.Custom
  490. o60.Size = Vector3.new(0.300000012, 0.400000036, 0.200000003)
  491. o60.CFrame = CFrame.new(12.4499998, 6.00000238, -81.0500336, -1.00000548, -6.22974937e-07, -6.68016128e-07, -6.22968685e-07, 1, 2.98018392e-08, 6.68016128e-07, 2.98014129e-08, -1.0000056)
  492. o60.BottomSurface = Enum.SurfaceType.Smooth
  493. o60.TopSurface = Enum.SurfaceType.Smooth
  494. o60.Color = Color3.new(0.898039, 0.894118, 0.87451)
  495. o60.Position = Vector3.new(12.4499998, 6.00000238, -81.0500336)
  496. o61.Parent = o60
  497. o61.Offset = Vector3.new(0, 0, 0.0500000007)
  498. o61.Scale = Vector3.new(1, 1, 1.5)
  499. o62.Name = "Cartr"
  500. o62.Parent = o1
  501. o62.Value = true
  502. o63.Name = "Deployed"
  503. o63.Parent = o1
  504. o64.Name = "BlastDoor1"
  505. o64.Parent = o1
  506. o64.BrickColor = BrickColor.new("Lime green")
  507. o64.Position = Vector3.new(12.4499979, 6.09998941, -79.6499786)
  508. o64.Rotation = Vector3.new(180, 0, 180)
  509. o64.FormFactor = Enum.FormFactor.Custom
  510. o64.Size = Vector3.new(0.200000003, 0.200000003, 0.200000033)
  511. o64.CFrame = CFrame.new(12.4499979, 6.09998941, -79.6499786, -1.00000548, -5.19954142e-07, -3.64088646e-06, -5.19948458e-07, 1, -1.49008628e-08, 3.64088669e-06, -1.49019286e-08, -1.0000056)
  512. o64.BottomSurface = Enum.SurfaceType.Smooth
  513. o64.TopSurface = Enum.SurfaceType.Smooth
  514. o64.Color = Color3.new(0, 1, 0)
  515. o64.Position = Vector3.new(12.4499979, 6.09998941, -79.6499786)
  516. o65.Parent = o64
  517. o65.Offset = Vector3.new(0.0719999969, 0.0149999997, 0.100000001)
  518. o65.Scale = Vector3.new(0.699999988, 1.10000002, 0.100000001)
  519. o66.Name = "Cart"
  520. o66.Parent = o1
  521. o66.BrickColor = BrickColor.new("Black")
  522. o66.Position = Vector3.new(12.4499931, 6.09998941, -79.8499832)
  523. o66.Rotation = Vector3.new(180, 0, 180)
  524. o66.FormFactor = Enum.FormFactor.Custom
  525. o66.Size = Vector3.new(0.300000012, 0.200000003, 0.200000033)
  526. o66.CFrame = CFrame.new(12.4499931, 6.09998941, -79.8499832, -1.00000548, -5.19954142e-07, -3.64088646e-06, -5.19948458e-07, 1, -1.49008628e-08, 3.64088669e-06, -1.49019286e-08, -1.0000056)
  527. o66.BottomSurface = Enum.SurfaceType.Smooth
  528. o66.TopSurface = Enum.SurfaceType.Smooth
  529. o66.Color = Color3.new(0.105882, 0.164706, 0.207843)
  530. o66.Position = Vector3.new(12.4499931, 6.09998941, -79.8499832)
  531. o67.Parent = o66
  532. o67.Offset = Vector3.new(0, 0.0149999997, 0)
  533. o67.Scale = Vector3.new(1, 1.14999998, 1)
  534. o68.Name = "TimerVal"
  535. o68.Parent = o1
  536. o69.Name = "BackupWeld"
  537. o69.Parent = o1
  538. table.insert(cors,coroutine.create(function()
  539. wait()
  540. runDummyScript(function()
  541. function Weld(x,y)
  542. local W = Instance.new("Weld")
  543. W.Part0 = x
  544. W.Part1 = y
  545. local CJ = CFrame.new(x.Position)
  546. local C0 = x.CFrame:inverse()*CJ
  547. local C1 = y.CFrame:inverse()*CJ
  548. W.C0 = C0
  549. W.C1 = C1
  550. W.Parent = x
  551. end
  552.  
  553. function Get(A)
  554. if A.className == "Part" then
  555. Weld(script.Parent.Handle, A)
  556. A.Anchored = false
  557. else
  558. local C = A:GetChildren()
  559. for i=1, #C do
  560. Get(C[i])
  561. end
  562. end
  563. end
  564.  
  565. function Finale()
  566. Get(script.Parent)
  567. end
  568.  
  569. script.Parent.Equipped:connect(Finale)
  570. script.Parent.Unequipped:connect(Finale)
  571.  
  572. Finale()
  573. end,o69)
  574. end))
  575. o70.Name = "Gui"
  576. o70.Parent = o1
  577. o71.Name = "Main"
  578. o71.Parent = o70
  579. o71.Position = UDim2.new(0,0,0.5,-62)
  580. o71.Size = UDim2.new(0,100,0,125)
  581. o71.Position = UDim2.new(0,0,0.5,-62)
  582. o71.BackgroundColor3 = Color3.new(0.945098, 0.945098, 0.945098)
  583. o71.BorderColor3 = Color3.new(0.811765, 0.811765, 0.811765)
  584. o72.Name = "Background"
  585. o72.Parent = o71
  586. o72.Position = UDim2.new(0,5,0,25)
  587. o72.Size = UDim2.new(0,90,0,50)
  588. o72.Position = UDim2.new(0,5,0,25)
  589. o72.BackgroundColor3 = Color3.new(0, 0, 0)
  590. o72.BorderColor3 = Color3.new(0.811765, 0.811765, 0.811765)
  591. o72.BorderSizePixel = 0
  592. o73.Name = "Logo"
  593. o73.Parent = o71
  594. o73.Position = UDim2.new(0,0,0,5)
  595. o73.Size = UDim2.new(0,100,0,15)
  596. o73.Text = "IER ER-31X"
  597. o73.Position = UDim2.new(0,0,0,5)
  598. o73.BackgroundColor3 = Color3.new(0.85098, 0.85098, 0.85098)
  599. o73.BorderSizePixel = 0
  600. o73.Font = Enum.Font.Arial
  601. o73.FontSize = Enum.FontSize.Size14
  602. o73.TextColor3 = Color3.new(0, 0, 0)
  603. o74.Name = "Countdown"
  604. o74.Parent = o71
  605. o74.Position = UDim2.new(0,15,0,35)
  606. o74.Size = UDim2.new(0,30,0,30)
  607. o74.Text = ""
  608. o74.Position = UDim2.new(0,15,0,35)
  609. o74.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  610. o74.BackgroundTransparency = 1
  611. o74.BorderSizePixel = 0
  612. o74.Font = Enum.Font.Arial
  613. o74.FontSize = Enum.FontSize.Size36
  614. o74.TextColor3 = Color3.new(1, 0, 0)
  615. o75.Name = "CartStatus"
  616. o75.Parent = o71
  617. o75.Position = UDim2.new(0,60,0,30)
  618. o75.Size = UDim2.new(0,30,0,40)
  619. o75.Text = "1"
  620. o75.Position = UDim2.new(0,60,0,30)
  621. o75.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  622. o75.BorderColor3 = Color3.new(1, 1, 1)
  623. o75.Font = Enum.Font.ArialBold
  624. o75.FontSize = Enum.FontSize.Size24
  625. o75.TextColor3 = Color3.new(0, 0, 0)
  626. o76.Name = "Controls"
  627. o76.Parent = o71
  628. o76.Position = UDim2.new(0,0,0,77)
  629. o76.Size = UDim2.new(0,100,0,13)
  630. o76.Text = "Press Y for Light"
  631. o76.Position = UDim2.new(0,0,0,77)
  632. o76.BackgroundColor3 = Color3.new(1, 1, 1)
  633. o76.BackgroundTransparency = 1
  634. o76.BorderColor3 = Color3.new(1, 1, 1)
  635. o76.BorderSizePixel = 0
  636. o76.Font = Enum.Font.Arial
  637. o76.FontSize = Enum.FontSize.Size11
  638. o76.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  639. o77.Name = "Controls2"
  640. o77.Parent = o71
  641. o77.Position = UDim2.new(0,0,0,87)
  642. o77.Size = UDim2.new(0,100,0,35)
  643. o77.Text = "Press R to remove cartridge, then to reload"
  644. o77.Position = UDim2.new(0,0,0,87)
  645. o77.BackgroundColor3 = Color3.new(1, 1, 1)
  646. o77.BackgroundTransparency = 1
  647. o77.BorderColor3 = Color3.new(1, 1, 1)
  648. o77.BorderSizePixel = 0
  649. o77.Font = Enum.Font.Arial
  650. o77.FontSize = Enum.FontSize.Size11
  651. o77.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  652. o77.TextWrapped = true
  653. o78.Name = "BlastDoor2"
  654. o78.Parent = o1
  655. o78.BrickColor = BrickColor.new("Lime green")
  656. o78.Position = Vector3.new(12.4499979, 6.09998941, -79.6499786)
  657. o78.Rotation = Vector3.new(180, 0, 180)
  658. o78.FormFactor = Enum.FormFactor.Custom
  659. o78.Size = Vector3.new(0.200000003, 0.200000003, 0.200000033)
  660. o78.CFrame = CFrame.new(12.4499979, 6.09998941, -79.6499786, -1.00000548, -5.19954142e-07, -3.64088646e-06, -5.19948458e-07, 1, -1.49008628e-08, 3.64088669e-06, -1.49019286e-08, -1.0000056)
  661. o78.BottomSurface = Enum.SurfaceType.Smooth
  662. o78.TopSurface = Enum.SurfaceType.Smooth
  663. o78.Color = Color3.new(0, 1, 0)
  664. o78.Position = Vector3.new(12.4499979, 6.09998941, -79.6499786)
  665. o79.Parent = o78
  666. o79.Offset = Vector3.new(-0.0719999969, 0.0149999997, 0.100000001)
  667. o79.Scale = Vector3.new(0.699999988, 1.10000002, 0.100000001)
  668. o80.Name = "CartPart1"
  669. o80.Parent = o1
  670. o80.BrickColor = BrickColor.new("Black")
  671. o80.Position = Vector3.new(12.4500084, 6.25499725, -79.8499832)
  672. o80.Rotation = Vector3.new(90, 0, 0)
  673. o80.FormFactor = Enum.FormFactor.Custom
  674. o80.Size = Vector3.new(0.300000012, 0.200000003, 0.200000003)
  675. o80.CFrame = CFrame.new(12.4500084, 6.25499725, -79.8499832, 1.00000548, -6.00791554e-06, 2.41182966e-06, 2.41190173e-06, 1.4811756e-05, -0.999999881, 6.00787962e-06, 1.00000548, 1.47968567e-05)
  676. o80.BottomSurface = Enum.SurfaceType.Smooth
  677. o80.TopSurface = Enum.SurfaceType.Smooth
  678. o80.Color = Color3.new(0.105882, 0.164706, 0.207843)
  679. o80.Position = Vector3.new(12.4500084, 6.25499725, -79.8499832)
  680. o81.Parent = o80
  681. o81.Scale = Vector3.new(1, 1, 0.25)
  682. o81.MeshType = Enum.MeshType.Wedge
  683. o82.Name = "BarbScript"
  684. o82.Parent = o1
  685. o82.Disabled = true
  686. table.insert(cors,coroutine.create(function()
  687. wait()
  688. runDummyScript(function()
  689. wait(5)
  690. script.Parent:Remove()
  691.  
  692. end,o82)
  693. end))
  694. o83.Name = "OverrideScript"
  695. o83.Parent = o1
  696. o83.Disabled = true
  697. table.insert(cors,coroutine.create(function()
  698. wait()
  699. runDummyScript(function()
  700. local t = script.Parent.Torso
  701.  
  702. local w = script.Parent:GetChildren()
  703.  
  704. local h = nil
  705.  
  706. for i = 1, #w do
  707. if w[i].ClassName == "Humanoid" then h = w[i] end
  708. end
  709.  
  710. t.CFrame = CFrame.new(t.Position.x,t.Position.y,t.Position.z,0,-1,0,0,0,-1,1,0,0)
  711. h:UnequipTools()
  712.  
  713. function OnAttempt()
  714. t.CFrame = CFrame.new(t.Position.x,t.Position.y,t.Position.z,0,-1,0,0,0,-1,1,0,0)
  715. end
  716.  
  717. local c = h.Jumping:connect(OnAttempt)
  718. local c2 = h.GettingUp:connect(OnAttempt)
  719. local c3 = h.Running:connect(OnAttempt)
  720.  
  721. h.Jump = true
  722.  
  723. while true do
  724. h:UnequipTools()
  725. wait()
  726. end
  727.  
  728. end,o83)
  729. end))
  730. o84.Name = "DriveStunScript"
  731. o84.Parent = o1
  732. o84.Disabled = true
  733. table.insert(cors,coroutine.create(function()
  734. wait()
  735. runDummyScript(function()
  736. local t = script.Parent.Torso
  737. local w = script.Parent:GetChildren()
  738.  
  739. local h = nil
  740.  
  741. for i = 1, #w do
  742. if w[i].ClassName == "Humanoid" then h = w[i] end
  743. end
  744.  
  745. h.Jump = true
  746.  
  747. t.CFrame = CFrame.new(t.Position.x,t.Position.y,t.Position.z,0,-1,0,0,0,-1,1,0,0)
  748. h:UnequipTools()
  749.  
  750. wait(1)
  751. script:Remove()
  752.  
  753. end,o84)
  754. end))
  755. o85.Parent = o1
  756. table.insert(cors,coroutine.create(function()
  757. wait()
  758. runDummyScript(function()
  759. local Tool = script.Parent;
  760.  
  761. autolength = 5
  762. enabled = true
  763. enabled2 = true
  764. benabled = true
  765. pgui = nil
  766. mtarg = nil
  767. mousedown = false
  768. target = nil
  769. cart = true
  770. electrictextures = {"http://www.roblox.com/asset/?id=109201383", "http://www.roblox.com/asset/?id=109201366", "http://www.roblox.com/asset/?id=109201474", "http://www.roblox.com/asset/?id=109201980", "http://www.roblox.com/asset/?id=109202011"}
  771.  
  772. function BarbTouched(hit, barb)
  773. if hit == nil then return end
  774. if hit.Parent == nil then return end
  775. if hit.Parent:findFirstChild("Humanoid") or hit.Parent:findFirstChild("Zombie") ~= nil then
  776. if hit.Parent.Name == game.Players.LocalPlayer.Name then return end
  777. if target ~= nil then return end
  778.  
  779. if hit.Parent:findFirstChild("OverrideScript") == nil then
  780. local s = script.Parent.OverrideScript:clone()
  781. s.Parent = hit.Parent
  782. target = hit.Parent
  783. s.Disabled = false
  784. end
  785.  
  786. barb:Remove()
  787.  
  788. elseif hit.CanCollide == true then
  789. barb:Remove()
  790. end
  791. end
  792.  
  793. function DriveStun(hit)
  794. if hit.Parent:findFirstChild("Humanoid") or hit.Parent:findFirstChild("Zombie") ~= nil then
  795. local s = script.Parent.DriveStunScript:clone()
  796. s.Parent = hit.Parent
  797. s.Disabled = false
  798. end
  799. end
  800.  
  801. function GetElectricTexture()
  802. local r = math.random(1,#electrictextures)
  803. return electrictextures[r]
  804. end
  805.  
  806. function onButton1Down(mouse)
  807. mousedown = true
  808. if not enabled then
  809. return
  810. end
  811. if not enabled2 then return end
  812. enabled = false
  813. enabled2 = false
  814.  
  815. if mouse.Hit ~= nil then
  816. mtarg = mouse.Hit.p
  817. end
  818.  
  819. if cart and benabled then
  820. benabled = false
  821. Tool.Deployed.Value = true
  822. local v = (mtarg - Tool.Cart.Position).unit
  823. local v2 = ((mtarg + Vector3.new(0,-1.5,0)) - Tool.Cart.Position).unit
  824.  
  825. local spawnPos = script.Parent.Cart.Position
  826. spawnPos = spawnPos + (v * 2)
  827.  
  828. Tool.BlastDoor1.Transparency = 1
  829. Tool.BlastDoor2.Transparency = 1
  830.  
  831. local barb_1 = Instance.new("Part")
  832.  
  833. barb_1.Position = spawnPos
  834. barb_1.FormFactor = 3
  835. barb_1.Size = Vector3.new(1,1,1)
  836. barb_1.Velocity = v * 500--1000
  837. barb_1.BrickColor = BrickColor.new(194)
  838. barb_1.BottomSurface = 0
  839. barb_1.TopSurface = 0
  840. barb_1.Name = "TaserBarb"
  841. barb_1.Elasticity = 0
  842. barb_1.Reflectance = 0.1
  843. barb_1.Friction = 1
  844.  
  845. Tool.BarbMesh:clone().Parent = barb_1
  846.  
  847. local sc = Tool.BarbScript:clone()
  848. sc.Parent = barb_1
  849. sc.Disabled = false
  850.  
  851. local force = Instance.new("BodyForce")
  852. force.force = Vector3.new(0,150,0)
  853. force.Parent = barb_1
  854.  
  855. barb_1.Parent = game.Workspace
  856.  
  857. local barb_2 = barb_1:clone()
  858. barb_2.Position = spawnPos + (v2 * 2) + Vector3.new(0,-0.5,0)
  859. barb_2.Velocity = v2 * 500
  860. barb_2.BodyForce.force = Vector3.new(0,150,0)
  861. barb_2.Parent = game.Workspace
  862.  
  863. barb_1.Touched:connect(function(hit) BarbTouched(hit, barb_1) end)
  864. barb_2.Touched:connect(function(hit) BarbTouched(hit, barb_2) end)
  865. Tool.Handle.Shot:Play()
  866.  
  867. local al = 70 * (autolength / 5) + 2
  868. local t = 0
  869. local timerval = 0
  870.  
  871. coroutine.resume(coroutine.create(function()
  872. while not enabled do
  873. t = t + 0.1
  874. if t < autolength then
  875. Tool.TimerVal.Value = math.ceil(autolength - t)
  876. else
  877. Tool.TimerVal.Value = math.ceil(t)
  878. end
  879. wait(0.1)
  880. end
  881. Tool.TimerVal.Value = 0
  882. end))
  883.  
  884. while (mousedown or t < autolength - 0.2) and not safety and t < 90 do
  885. script.Parent.Handle.sound:Play()
  886. script.Parent.Handle.sound2:Play()
  887. script.Parent.Handle.sound3:Play()
  888. wait(0.06)
  889. end
  890.  
  891. if target ~= nil then
  892. if target:findFirstChild("OverrideScript") ~= nil then target.OverrideScript:Remove() end
  893. end
  894.  
  895. Tool.TimerVal.Value = 0
  896. safety = false
  897. enabled = true
  898. wait(0.2)
  899. enabled2 = true
  900.  
  901. elseif cart and target ~= nil then
  902.  
  903. enabled = false
  904. local st = script.Parent.OverrideScript:clone()
  905. st.Disabled = false
  906. st.Parent = target
  907.  
  908. local al = 70 * (autolength / 5) + 2
  909. local t = 0
  910. local timerval = 0
  911.  
  912. coroutine.resume(coroutine.create(function()
  913. while not enabled do
  914. t = t + 0.1
  915. if t < autolength then
  916. Tool.TimerVal.Value = math.ceil(autolength - t)
  917. else
  918. Tool.TimerVal.Value = math.ceil(t)
  919. end
  920. wait(0.1)
  921. end
  922. Tool.TimerVal.Value = 0
  923. end))
  924.  
  925. while (mousedown or t < autolength - 0.2) and not safety and t < 90 do
  926. script.Parent.Handle.sound:Play()
  927. script.Parent.Handle.sound2:Play()
  928. script.Parent.Handle.sound3:Play()
  929. wait(0.06)
  930. end
  931.  
  932. if target ~= nil then
  933. if target:findFirstChild("OverrideScript") ~= nil then target.OverrideScript:Remove() end
  934. end
  935.  
  936. Tool.TimerVal.Value = 0
  937. safety = false
  938. enabled = true
  939. wait(0.2)
  940. enabled2 = true
  941.  
  942. elseif not cart then
  943.  
  944. enabled = false
  945. local con2 = script.Parent.Cart.Touched:connect(DriveStun)
  946.  
  947. local al = 70 * (autolength / 5) + 2
  948. local t = 0
  949.  
  950. coroutine.resume(coroutine.create(function()
  951. while not enabled do
  952. t = t + 0.1
  953. if t < autolength then
  954. Tool.TimerVal.Value = math.ceil(autolength - t)
  955. else
  956. Tool.TimerVal.Value = math.ceil(t)
  957. end
  958. wait(0.1)
  959. end
  960. Tool.TimerVal.Value = 0
  961. end))
  962.  
  963. while (mousedown or t < autolength - 0.2) and not safety and t < 90 do
  964. Tool.Electric.Decal.Texture = GetElectricTexture()
  965. script.Parent.Handle.sound:Play()
  966. script.Parent.Handle.sound2:Play()
  967. script.Parent.Handle.sound3:Play()
  968. wait(0.06)
  969. end
  970.  
  971. Tool.Electric.Decal.Texture = ""
  972. con2:disconnect()
  973.  
  974. Tool.TimerVal.Value = 0
  975. safety = false
  976. enabled = true
  977. wait(0.2)
  978. enabled2 = true
  979. else
  980. enabled = true
  981. enabled2 = true
  982. end
  983. end
  984.  
  985. function onButton1Up(mouse)
  986. mousedown = false
  987. end
  988.  
  989. function UpdateDisplay()
  990. if pgui == nil then return end
  991. if Tool.TimerVal.Value == 0 then
  992. pgui.Main.Countdown.Text = ""
  993. else
  994. pgui.Main.Countdown.Text = Tool.TimerVal.Value
  995. end
  996. if Tool.Cartr.Value == false then
  997. pgui.Main.CartStatus.BackgroundColor3 = Color3.new(1,1,1)
  998. pgui.Main.CartStatus.BorderColor3 = Color3.new(195/255,195/255,195/255)
  999. pgui.Main.CartStatus.Text = "-"
  1000. elseif Tool.Deployed.Value == true then
  1001. pgui.Main.CartStatus.BackgroundColor3 = Color3.new(1,79/255,79/255)
  1002. pgui.Main.CartStatus.BorderColor3 = Color3.new(1,0,0)
  1003. pgui.Main.CartStatus.Text = "X"
  1004. else
  1005. pgui.Main.CartStatus.BackgroundColor3 = Color3.new(1,1,127/255)
  1006. pgui.Main.CartStatus.BorderColor3 = Color3.new(1,1,1)
  1007. pgui.Main.CartStatus.Text = "1"
  1008. end
  1009. end
  1010.  
  1011. function onKeyDown(key)
  1012. if key == "y" and Tool.Lamp.Light.Enabled == true then
  1013. Tool.Lamp.Light.Enabled = false
  1014. elseif key == "y" then
  1015. Tool.Lamp.Light.Enabled = true
  1016. end
  1017. if key == "r" and not enabled then
  1018. safety = true
  1019. elseif key == "r" and cart then
  1020. cart = false
  1021. Tool.Cartr.Value = false
  1022. Tool.Cart.Transparency = 1
  1023. Tool.Cart.CanCollide = false
  1024. Tool.CartPart1.Transparency = 1
  1025. Tool.CartPart1.CanCollide = false
  1026. Tool.CartPart2.Transparency = 1
  1027. Tool.CartPart2.CanCollide = false
  1028. Tool.BlastDoor1.Transparency = 1
  1029. Tool.BlastDoor1.CanCollide = false
  1030. Tool.BlastDoor2.Transparency = 1
  1031. Tool.BlastDoor2.CanCollide = false
  1032. elseif key == "r" then
  1033. Tool.Cartr.Value = true
  1034. Tool.Deployed.Value = false
  1035. cart = true
  1036. benabled = true
  1037. target = nil
  1038. Tool.Cart.Transparency = 0
  1039. Tool.Cart.CanCollide = true
  1040. Tool.CartPart1.Transparency = 0
  1041. Tool.CartPart1.CanCollide = true
  1042. Tool.CartPart2.Transparency = 0
  1043. Tool.CartPart2.CanCollide = true
  1044. Tool.BlastDoor1.Transparency = 0
  1045. Tool.BlastDoor1.CanCollide = true
  1046. Tool.BlastDoor2.Transparency = 0
  1047. Tool.BlastDoor2.CanCollide = true
  1048. end
  1049. end
  1050.  
  1051. function onEquippedLocal(mouse)
  1052.  
  1053. if mouse == nil then
  1054. print("Mouse not found")
  1055. return
  1056. end
  1057.  
  1058. local h = Tool.Parent:findFirstChild("Humanoid")
  1059.  
  1060. if h~=nil and game.Players:findFirstChild(h.Parent.Name)~=nil then
  1061. local gui = Tool.Gui:clone()
  1062. gui.Parent = game.Players:findFirstChild(h.Parent.Name).PlayerGui
  1063. pgui = gui
  1064.  
  1065. UpdateDisplay()
  1066.  
  1067. Tool.TimerVal.Changed:connect(UpdateDisplay)
  1068. Tool.Cartr.Changed:connect(UpdateDisplay)
  1069. Tool.Deployed.Changed:connect(UpdateDisplay)
  1070. end
  1071.  
  1072. mouse.Icon = "http://www.roblox.com/asset/?id=2966012"
  1073. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  1074. mouse.Button1Up:connect(function() onButton1Up(mouse)end)
  1075. mouse.KeyDown:connect(onKeyDown)
  1076. end
  1077.  
  1078.  
  1079. Tool.Equipped:connect(onEquippedLocal)
  1080.  
  1081. function onUnequippedLocal()
  1082. if pgui ~= nil then
  1083. pgui:Remove()
  1084. pgui = nil
  1085. end
  1086. if target ~= nil then
  1087. if target:findFirstChild("OverrideScript") ~= nil then target.OverrideScript:Remove() end
  1088. end
  1089. end
  1090.  
  1091. Tool.Unequipped:connect(onUnequippedLocal)
  1092.  
  1093. end,o85)
  1094. end))
  1095. mas.Parent = workspace
  1096. mas:MakeJoints()
  1097. local mas1 = mas:GetChildren()
  1098. for i=1,#mas1 do
  1099. mas1[i].Parent = script
  1100. ypcall(function() mas1[i]:MakeJoints() end)
  1101. end
  1102. mas:Destroy()
  1103. for i=1,#cors do
  1104. coroutine.resume(cors[i])
  1105. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement