Advertisement
firebudgy

Untitled

Feb 6th, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. Model0 = Instance.new("Model")
  20. Model1 = Instance.new("Model")
  21. Part2 = Instance.new("Part")
  22. CylinderMesh3 = Instance.new("CylinderMesh")
  23. Part4 = Instance.new("Part")
  24. CylinderMesh5 = Instance.new("CylinderMesh")
  25. Part6 = Instance.new("Part")
  26. CylinderMesh7 = Instance.new("CylinderMesh")
  27. Part8 = Instance.new("Part")
  28. CylinderMesh9 = Instance.new("CylinderMesh")
  29. Attachment10 = Instance.new("Attachment")
  30. ParticleEmitter11 = Instance.new("ParticleEmitter")
  31. Part12 = Instance.new("Part")
  32. CylinderMesh13 = Instance.new("CylinderMesh")
  33. Part14 = Instance.new("Part")
  34. CylinderMesh15 = Instance.new("CylinderMesh")
  35. Part16 = Instance.new("Part")
  36. ParticleEmitter17 = Instance.new("ParticleEmitter")
  37. Sound18 = Instance.new("Sound")
  38. ParticleEmitter19 = Instance.new("ParticleEmitter")
  39. Part20 = Instance.new("Part")
  40. ParticleEmitter21 = Instance.new("ParticleEmitter")
  41. Sound22 = Instance.new("Sound")
  42. ParticleEmitter23 = Instance.new("ParticleEmitter")
  43. Sound24 = Instance.new("Sound")
  44. Sound25 = Instance.new("Sound")
  45. Part26 = Instance.new("Part")
  46. CylinderMesh27 = Instance.new("CylinderMesh")
  47. Part28 = Instance.new("Part")
  48. Part29 = Instance.new("Part")
  49. Part30 = Instance.new("Part")
  50. CylinderMesh31 = Instance.new("CylinderMesh")
  51. Part32 = Instance.new("Part")
  52. Part33 = Instance.new("Part")
  53. Part34 = Instance.new("Part")
  54. Part35 = Instance.new("Part")
  55. Part36 = Instance.new("Part")
  56. Part37 = Instance.new("Part")
  57. CylinderMesh38 = Instance.new("CylinderMesh")
  58. Part39 = Instance.new("Part")
  59. CylinderMesh40 = Instance.new("CylinderMesh")
  60. Part41 = Instance.new("Part")
  61. CylinderMesh42 = Instance.new("CylinderMesh")
  62. Part43 = Instance.new("Part")
  63. Part44 = Instance.new("Part")
  64. CylinderMesh45 = Instance.new("CylinderMesh")
  65. Part46 = Instance.new("Part")
  66. Part47 = Instance.new("Part")
  67. CylinderMesh48 = Instance.new("CylinderMesh")
  68. Part49 = Instance.new("Part")
  69. CylinderMesh50 = Instance.new("CylinderMesh")
  70. Part51 = Instance.new("Part")
  71. Part52 = Instance.new("Part")
  72. Part53 = Instance.new("Part")
  73. CylinderMesh54 = Instance.new("CylinderMesh")
  74. Seat55 = Instance.new("Seat")
  75. Script56 = Instance.new("Script")
  76. Script57 = Instance.new("Script")
  77. LocalScript58 = Instance.new("LocalScript")
  78. ObjectValue59 = Instance.new("ObjectValue")
  79. Script60 = Instance.new("Script")
  80. ObjectValue61 = Instance.new("ObjectValue")
  81. ParticleEmitter62 = Instance.new("ParticleEmitter")
  82. ParticleEmitter63 = Instance.new("ParticleEmitter")
  83. WedgePart64 = Instance.new("WedgePart")
  84. WedgePart65 = Instance.new("WedgePart")
  85. Part66 = Instance.new("Part")
  86. Model67 = Instance.new("Model")
  87. Part68 = Instance.new("Part")
  88. Part69 = Instance.new("Part")
  89. Part70 = Instance.new("Part")
  90. Part71 = Instance.new("Part")
  91. Part72 = Instance.new("Part")
  92. CylinderMesh73 = Instance.new("CylinderMesh")
  93. Part74 = Instance.new("Part")
  94. CylinderMesh75 = Instance.new("CylinderMesh")
  95. Part76 = Instance.new("Part")
  96. Part77 = Instance.new("Part")
  97. Part78 = Instance.new("Part")
  98. Part79 = Instance.new("Part")
  99. Part80 = Instance.new("Part")
  100. Part81 = Instance.new("Part")
  101. Part82 = Instance.new("Part")
  102. Part83 = Instance.new("Part")
  103. Part84 = Instance.new("Part")
  104. Model0.Name = "Turret"
  105. Model0.Parent = mas
  106. Model0.PrimaryPart = Part66
  107. Model1.Name = "gun"
  108. Model1.Parent = Model0
  109. Model1.PrimaryPart = Part53
  110. Part2.Parent = Model1
  111. Part2.Material = Enum.Material.Metal
  112. Part2.BrickColor = BrickColor.new("Sand violet metallic")
  113. Part2.Rotation = Vector3.new(-90, 0, 90)
  114. Part2.Anchored = true
  115. Part2.CanCollide = false
  116. Part2.Size = Vector3.new(2.20000005, 1.60000002, 2)
  117. Part2.CFrame = CFrame.new(-165.999985, 4.2948637, -128.899979, 0, -1.00000525, 0, 0, 0, 1, -1.00000525, 0, 0)
  118. Part2.BottomSurface = Enum.SurfaceType.Smooth
  119. Part2.TopSurface = Enum.SurfaceType.Weld
  120. Part2.Color = Color3.new(0.580392, 0.580392, 0.580392)
  121. Part2.Position = Vector3.new(-165.999985, 4.2948637, -128.899979)
  122. Part2.Orientation = Vector3.new(-90, 90, 0)
  123. Part2.Color = Color3.new(0.580392, 0.580392, 0.580392)
  124. CylinderMesh3.Parent = Part2
  125. Part4.Parent = Model1
  126. Part4.Material = Enum.Material.Metal
  127. Part4.BrickColor = BrickColor.new("Sand violet metallic")
  128. Part4.Rotation = Vector3.new(-90, 0, 90)
  129. Part4.Anchored = true
  130. Part4.CanCollide = false
  131. Part4.Size = Vector3.new(1.47272682, 3.96363688, 1.63636315)
  132. Part4.CFrame = CFrame.new(-167.54541, 3.89486194, -129.699997, 0, -1.00000525, 0, 0, 0, 1, -1.00000525, 0, 0)
  133. Part4.BottomSurface = Enum.SurfaceType.Smooth
  134. Part4.TopSurface = Enum.SurfaceType.Weld
  135. Part4.Color = Color3.new(0.580392, 0.580392, 0.580392)
  136. Part4.Position = Vector3.new(-167.54541, 3.89486194, -129.699997)
  137. Part4.Orientation = Vector3.new(-90, 90, 0)
  138. Part4.Color = Color3.new(0.580392, 0.580392, 0.580392)
  139. CylinderMesh5.Parent = Part4
  140. Part6.Parent = Model1
  141. Part6.Material = Enum.Material.Metal
  142. Part6.BrickColor = BrickColor.new("Sand violet metallic")
  143. Part6.Rotation = Vector3.new(-90, 0, 90)
  144. Part6.Anchored = true
  145. Part6.CanCollide = false
  146. Part6.Size = Vector3.new(1.79999948, 2.50909066, 1.63636315)
  147. Part6.CFrame = CFrame.new(-166.981796, 3.89486194, -129.699997, 0, -1.00000525, 0, 0, 0, 1, -1.00000525, 0, 0)
  148. Part6.BottomSurface = Enum.SurfaceType.Smooth
  149. Part6.TopSurface = Enum.SurfaceType.Weld
  150. Part6.Color = Color3.new(0.580392, 0.580392, 0.580392)
  151. Part6.Position = Vector3.new(-166.981796, 3.89486194, -129.699997)
  152. Part6.Orientation = Vector3.new(-90, 90, 0)
  153. Part6.Color = Color3.new(0.580392, 0.580392, 0.580392)
  154. CylinderMesh7.Parent = Part6
  155. Part8.Name = "eject"
  156. Part8.Parent = Model1
  157. Part8.Material = Enum.Material.Metal
  158. Part8.BrickColor = BrickColor.new("Dark grey")
  159. Part8.Rotation = Vector3.new(-100.729996, 10.5500002, 150.98999)
  160. Part8.Anchored = true
  161. Part8.CanCollide = false
  162. Part8.Size = Vector3.new(1.07272673, 0.96363622, 0.836363018)
  163. Part8.CFrame = CFrame.new(-168.808609, 5.036273, -129.036804, -0.859795094, -0.476730555, 0.183013767, 0.0669873431, 0.250000209, 0.965925813, -0.506239653, 0.84275806, -0.183013692)
  164. Part8.BottomSurface = Enum.SurfaceType.Smooth
  165. Part8.TopSurface = Enum.SurfaceType.Weld
  166. Part8.Color = Color3.new(0.458824, 0.458824, 0.458824)
  167. Part8.Position = Vector3.new(-168.808609, 5.036273, -129.036804)
  168. Part8.Orientation = Vector3.new(-75, 135, 15)
  169. Part8.Color = Color3.new(0.458824, 0.458824, 0.458824)
  170. CylinderMesh9.Parent = Part8
  171. Attachment10.Name = "a"
  172. Attachment10.Parent = Part8
  173. Attachment10.CFrame = CFrame.new(0, 0.48181811, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  174. Attachment10.Position = Vector3.new(0, 0.48181811, 0)
  175. ParticleEmitter11.Name = "bullets"
  176. ParticleEmitter11.Parent = Attachment10
  177. ParticleEmitter11.Transparency = NumberSequence.new(0,0,1)
  178. ParticleEmitter11.Rotation = NumberRange.new(-180, 180)
  179. ParticleEmitter11.Size = NumberSequence.new(0.67010343074799,1)
  180. ParticleEmitter11.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  181. ParticleEmitter11.Enabled = false
  182. ParticleEmitter11.LightEmission = 0.10000000149012
  183. ParticleEmitter11.Texture = "rbxassetid://409366087"
  184. ParticleEmitter11.Acceleration = Vector3.new(0, -30, 0)
  185. ParticleEmitter11.Lifetime = NumberRange.new(0.5, 0.60000002384186)
  186. ParticleEmitter11.Rate = 50
  187. ParticleEmitter11.RotSpeed = NumberRange.new(-900, 900)
  188. ParticleEmitter11.Speed = NumberRange.new(7, 20)
  189. ParticleEmitter11.VelocitySpread = -20
  190. ParticleEmitter11.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  191. Part12.Parent = Model1
  192. Part12.Material = Enum.Material.Metal
  193. Part12.BrickColor = BrickColor.new("Sand violet metallic")
  194. Part12.Rotation = Vector3.new(-90, 0, 90)
  195. Part12.Anchored = true
  196. Part12.CanCollide = false
  197. Part12.Size = Vector3.new(1.07272673, 0.363636494, 0.836363018)
  198. Part12.CFrame = CFrame.new(-170.145416, 4.89485455, -129.5, 0, -1.00000525, 0, 0, 0, 1, -1.00000525, 0, 0)
  199. Part12.BottomSurface = Enum.SurfaceType.Smooth
  200. Part12.TopSurface = Enum.SurfaceType.Weld
  201. Part12.Color = Color3.new(0.580392, 0.580392, 0.580392)
  202. Part12.Position = Vector3.new(-170.145416, 4.89485455, -129.5)
  203. Part12.Orientation = Vector3.new(-90, 90, 0)
  204. Part12.Color = Color3.new(0.580392, 0.580392, 0.580392)
  205. CylinderMesh13.Parent = Part12
  206. Part14.Parent = Model1
  207. Part14.Material = Enum.Material.Metal
  208. Part14.BrickColor = BrickColor.new("Sand violet metallic")
  209. Part14.Rotation = Vector3.new(-90, 0, 90)
  210. Part14.Anchored = true
  211. Part14.CanCollide = false
  212. Part14.Size = Vector3.new(1.07272673, 3.56363678, 1.63636315)
  213. Part14.CFrame = CFrame.new(-168.345413, 4.89485455, -129.5, 0, -1.00000525, 0, 0, 0, 1, -1.00000525, 0, 0)
  214. Part14.BottomSurface = Enum.SurfaceType.Smooth
  215. Part14.TopSurface = Enum.SurfaceType.Weld
  216. Part14.Color = Color3.new(0.580392, 0.580392, 0.580392)
  217. Part14.Position = Vector3.new(-168.345413, 4.89485455, -129.5)
  218. Part14.Orientation = Vector3.new(-90, 90, 0)
  219. Part14.Color = Color3.new(0.580392, 0.580392, 0.580392)
  220. CylinderMesh15.Parent = Part14
  221. Part16.Name = "gunpart"
  222. Part16.Parent = Model1
  223. Part16.Transparency = 1
  224. Part16.Rotation = Vector3.new(0, -90, 0)
  225. Part16.Anchored = true
  226. Part16.CanCollide = false
  227. Part16.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  228. Part16.CFrame = CFrame.new(-154.099945, 4.8999815, -130.5, -2.84217094e-14, 0, -1.00000834, 0, 1, 0, 1.00000834, 0, -2.84217094e-14)
  229. Part16.Position = Vector3.new(-154.099945, 4.8999815, -130.5)
  230. Part16.Orientation = Vector3.new(0, -90, 0)
  231. ParticleEmitter17.Parent = Part16
  232. ParticleEmitter17.Rotation = NumberRange.new(-180, 180)
  233. ParticleEmitter17.Size = NumberSequence.new(0,2.8205127716064,0)
  234. ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.933333, 0.913725, 0.67451),Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  235. ParticleEmitter17.Enabled = false
  236. ParticleEmitter17.LightEmission = 1
  237. ParticleEmitter17.Lifetime = NumberRange.new(0.20000000298023, 0.40000000596046)
  238. ParticleEmitter17.Rate = 100
  239. ParticleEmitter17.RotSpeed = NumberRange.new(-60, 60)
  240. ParticleEmitter17.Speed = NumberRange.new(0, 50)
  241. ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.933333, 0.913725, 0.67451),Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  242. Sound18.Name = "bam"
  243. Sound18.Parent = Part16
  244. Sound18.Pitch = 2
  245. Sound18.SoundId = "rbxassetid://151299298"
  246. Sound18.Volume = 1
  247. ParticleEmitter19.Name = "smoke"
  248. ParticleEmitter19.Parent = Part16
  249. ParticleEmitter19.Transparency = NumberSequence.new(0.35465115308762,1)
  250. ParticleEmitter19.Size = NumberSequence.new(0.46153843402863,0.56410253047943,2.4102563858032)
  251. ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.568627, 0.568627, 0.568627),Color3.new(0.568627, 0.568627, 0.568627))
  252. ParticleEmitter19.Enabled = false
  253. ParticleEmitter19.Texture = "rbxasset://textures/particles/smoke_main.dds"
  254. ParticleEmitter19.Acceleration = Vector3.new(0, 10, 0)
  255. ParticleEmitter19.Lifetime = NumberRange.new(1, 1)
  256. ParticleEmitter19.RotSpeed = NumberRange.new(0, 20)
  257. ParticleEmitter19.Speed = NumberRange.new(3, 3)
  258. ParticleEmitter19.VelocitySpread = 20
  259. ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.568627, 0.568627, 0.568627),Color3.new(0.568627, 0.568627, 0.568627))
  260. Part20.Name = "effect"
  261. Part20.Parent = Model1
  262. Part20.Transparency = 1
  263. Part20.Rotation = Vector3.new(-90, 0, -90)
  264. Part20.Anchored = true
  265. Part20.CanCollide = false
  266. Part20.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  267. Part20.CFrame = CFrame.new(-155.499954, 4.8999815, -130.5, 0, 1.00000858, 0, 0, 0, 1, 1.00000858, 0, 0)
  268. Part20.Position = Vector3.new(-155.499954, 4.8999815, -130.5)
  269. Part20.Orientation = Vector3.new(-90, -90, 0)
  270. ParticleEmitter21.Parent = Part20
  271. ParticleEmitter21.Rotation = NumberRange.new(-180, 180)
  272. ParticleEmitter21.Size = NumberSequence.new(0,2.8205127716064,0)
  273. ParticleEmitter21.Color = ColorSequence.new(Color3.new(0.933333, 0.913725, 0.67451),Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  274. ParticleEmitter21.Enabled = false
  275. ParticleEmitter21.LightEmission = 1
  276. ParticleEmitter21.ZOffset = 1
  277. ParticleEmitter21.Lifetime = NumberRange.new(0.20000000298023, 0.40000000596046)
  278. ParticleEmitter21.Rate = 200
  279. ParticleEmitter21.RotSpeed = NumberRange.new(-60, 60)
  280. ParticleEmitter21.Speed = NumberRange.new(0, 50)
  281. ParticleEmitter21.Color = ColorSequence.new(Color3.new(0.933333, 0.913725, 0.67451),Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  282. Sound22.Name = "bam"
  283. Sound22.Parent = Part20
  284. Sound22.SoundId = "rbxassetid://172430819"
  285. Sound22.Volume = 1
  286. Sound22.Looped = true
  287. ParticleEmitter23.Name = "smoke"
  288. ParticleEmitter23.Parent = Part20
  289. ParticleEmitter23.Transparency = NumberSequence.new(1,0.93023252487183,0.94767439365387,1)
  290. ParticleEmitter23.Rotation = NumberRange.new(-100, 100)
  291. ParticleEmitter23.Size = NumberSequence.new(1.2371134757996,1.1340206861496,2.4102563858032)
  292. ParticleEmitter23.Color = ColorSequence.new(Color3.new(0.568627, 0.568627, 0.568627),Color3.new(0.568627, 0.568627, 0.568627))
  293. ParticleEmitter23.Enabled = false
  294. ParticleEmitter23.Texture = "rbxasset://textures/particles/smoke_main.dds"
  295. ParticleEmitter23.Acceleration = Vector3.new(0, 10, 0)
  296. ParticleEmitter23.Lifetime = NumberRange.new(0.5, 1)
  297. ParticleEmitter23.RotSpeed = NumberRange.new(0, 20)
  298. ParticleEmitter23.Speed = NumberRange.new(1, 5)
  299. ParticleEmitter23.VelocitySpread = 20
  300. ParticleEmitter23.Color = ColorSequence.new(Color3.new(0.568627, 0.568627, 0.568627),Color3.new(0.568627, 0.568627, 0.568627))
  301. Sound24.Name = "dend"
  302. Sound24.Parent = Part20
  303. Sound24.SoundId = "rbxassetid://295843191"
  304. Sound24.Volume = 1
  305. Sound25.Name = "bstart"
  306. Sound25.Parent = Part20
  307. Sound25.Pitch = 2
  308. Sound25.SoundId = "rbxassetid://698823472"
  309. Sound25.Volume = 1
  310. Part26.Parent = Model1
  311. Part26.Material = Enum.Material.Metal
  312. Part26.BrickColor = BrickColor.new("Sand violet metallic")
  313. Part26.Rotation = Vector3.new(-90, 0, 90)
  314. Part26.Anchored = true
  315. Part26.CanCollide = false
  316. Part26.Size = Vector3.new(1.79999995, 0.199999973, 2)
  317. Part26.CFrame = CFrame.new(-165.099976, 4.2948637, -128.899979, 0, -1.00000525, 0, 0, 0, 1, -1.00000525, 0, 0)
  318. Part26.BottomSurface = Enum.SurfaceType.Smooth
  319. Part26.TopSurface = Enum.SurfaceType.Weld
  320. Part26.Color = Color3.new(0.580392, 0.580392, 0.580392)
  321. Part26.Position = Vector3.new(-165.099976, 4.2948637, -128.899979)
  322. Part26.Orientation = Vector3.new(-90, 90, 0)
  323. Part26.Color = Color3.new(0.580392, 0.580392, 0.580392)
  324. CylinderMesh27.Parent = Part26
  325. Part28.Parent = Model1
  326. Part28.Material = Enum.Material.DiamondPlate
  327. Part28.Rotation = Vector3.new(0, 0, 105)
  328. Part28.Anchored = true
  329. Part28.CanCollide = false
  330. Part28.Size = Vector3.new(2.5999999, 0.400000006, 1.79999983)
  331. Part28.CFrame = CFrame.new(-170.825912, 5.29657269, -131.100006, -0.258820057, -0.965931594, 0, 0.965926528, -0.258818686, 0, 0, 0, 1.00000525)
  332. Part28.BottomSurface = Enum.SurfaceType.Smooth
  333. Part28.TopSurface = Enum.SurfaceType.Smooth
  334. Part28.Position = Vector3.new(-170.825912, 5.29657269, -131.100006)
  335. Part28.Orientation = Vector3.new(0, 0, 105)
  336. Part29.Parent = Model1
  337. Part29.Material = Enum.Material.Metal
  338. Part29.BrickColor = BrickColor.new("Dark grey")
  339. Part29.Rotation = Vector3.new(15, 0, 0)
  340. Part29.Anchored = true
  341. Part29.CanCollide = false
  342. Part29.Size = Vector3.new(1.39999986, 0.600000024, 0.600000024)
  343. Part29.CFrame = CFrame.new(-167.500015, 6.29998302, -128.899979, 1.00000525, 7.10542736e-15, 0, 0, 0.965925872, -0.258818984, 0, 0.258820355, 0.965930939)
  344. Part29.BottomSurface = Enum.SurfaceType.Smooth
  345. Part29.TopSurface = Enum.SurfaceType.Smooth
  346. Part29.Color = Color3.new(0.458824, 0.458824, 0.458824)
  347. Part29.Position = Vector3.new(-167.500015, 6.29998302, -128.899979)
  348. Part29.Orientation = Vector3.new(15, 0, 0)
  349. Part29.Color = Color3.new(0.458824, 0.458824, 0.458824)
  350. Part30.Parent = Model1
  351. Part30.Material = Enum.Material.Metal
  352. Part30.BrickColor = BrickColor.new("Sand violet metallic")
  353. Part30.Rotation = Vector3.new(-90, 0, 90)
  354. Part30.Anchored = true
  355. Part30.CanCollide = false
  356. Part30.Size = Vector3.new(1.79999995, 0.799999952, 2.20000005)
  357. Part30.CFrame = CFrame.new(-168.299988, 4.64997387, -130.449997, -8.16587908e-06, -1.00000727, 0, 0, 0, 1, -1.00000584, -2.53321048e-07, 0)
  358. Part30.BottomSurface = Enum.SurfaceType.Weld
  359. Part30.TopSurface = Enum.SurfaceType.Smooth
  360. Part30.Color = Color3.new(0.580392, 0.580392, 0.580392)
  361. Part30.Position = Vector3.new(-168.299988, 4.64997387, -130.449997)
  362. Part30.Orientation = Vector3.new(-90, 90, 0)
  363. Part30.Color = Color3.new(0.580392, 0.580392, 0.580392)
  364. CylinderMesh31.Parent = Part30
  365. Part32.Parent = Model1
  366. Part32.Material = Enum.Material.Metal
  367. Part32.BrickColor = BrickColor.new("Dark grey")
  368. Part32.Anchored = true
  369. Part32.CanCollide = false
  370. Part32.Size = Vector3.new(1.20000005, 0.200000033, 0.5)
  371. Part32.CFrame = CFrame.new(-167.407196, 5.69997692, -132.050018, 1.00000596, 0, 0, 0, 1.00000072, 0, 0, 0, 1.00000525)
  372. Part32.BottomSurface = Enum.SurfaceType.Smooth
  373. Part32.TopSurface = Enum.SurfaceType.Smooth
  374. Part32.Color = Color3.new(0.458824, 0.458824, 0.458824)
  375. Part32.Position = Vector3.new(-167.407196, 5.69997692, -132.050018)
  376. Part32.Color = Color3.new(0.458824, 0.458824, 0.458824)
  377. Part33.Parent = Model1
  378. Part33.Material = Enum.Material.Metal
  379. Part33.BrickColor = BrickColor.new("Sand violet metallic")
  380. Part33.Rotation = Vector3.new(0, 0, 15)
  381. Part33.Anchored = true
  382. Part33.CanCollide = false
  383. Part33.Size = Vector3.new(0.600000024, 1.20000005, 2.00000024)
  384. Part33.CFrame = CFrame.new(-171.100037, 4.59997845, -131.200012, 0.965930521, -0.258821011, 0, 0.25881964, 0.965925455, 0, 2.84217094e-14, 0, 1.00000525)
  385. Part33.BottomSurface = Enum.SurfaceType.Smooth
  386. Part33.TopSurface = Enum.SurfaceType.Smooth
  387. Part33.Color = Color3.new(0.580392, 0.580392, 0.580392)
  388. Part33.Position = Vector3.new(-171.100037, 4.59997845, -131.200012)
  389. Part33.Orientation = Vector3.new(0, 0, 15)
  390. Part33.Color = Color3.new(0.580392, 0.580392, 0.580392)
  391. Part34.Parent = Model1
  392. Part34.Material = Enum.Material.DiamondPlate
  393. Part34.Anchored = true
  394. Part34.CanCollide = false
  395. Part34.Size = Vector3.new(2.39999986, 0.400000006, 1.20000005)
  396. Part34.CFrame = CFrame.new(-169.400024, 3.99999499, -131.800003, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  397. Part34.BottomSurface = Enum.SurfaceType.Smooth
  398. Part34.TopSurface = Enum.SurfaceType.Smooth
  399. Part34.Position = Vector3.new(-169.400024, 3.99999499, -131.800003)
  400. Part35.Parent = Model1
  401. Part35.BrickColor = BrickColor.new("Black")
  402. Part35.Anchored = true
  403. Part35.CanCollide = false
  404. Part35.Size = Vector3.new(1.99999976, 0.400000006, 2.19999981)
  405. Part35.CFrame = CFrame.new(-169.400024, 4.3999815, -131.100006, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  406. Part35.BottomSurface = Enum.SurfaceType.Smooth
  407. Part35.TopSurface = Enum.SurfaceType.Smooth
  408. Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
  409. Part35.Position = Vector3.new(-169.400024, 4.3999815, -131.100006)
  410. Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
  411. Part36.Parent = Model1
  412. Part36.Material = Enum.Material.DiamondPlate
  413. Part36.Anchored = true
  414. Part36.CanCollide = false
  415. Part36.Size = Vector3.new(2.39999986, 0.400000006, 1.39999986)
  416. Part36.CFrame = CFrame.new(-169.400024, 3.99999499, -130.899994, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  417. Part36.BottomSurface = Enum.SurfaceType.Smooth
  418. Part36.TopSurface = Enum.SurfaceType.Smooth
  419. Part36.Position = Vector3.new(-169.400024, 3.99999499, -130.899994)
  420. Part37.Parent = Model1
  421. Part37.Material = Enum.Material.Metal
  422. Part37.BrickColor = BrickColor.new("Sand violet metallic")
  423. Part37.Rotation = Vector3.new(-90, 0, 90)
  424. Part37.Anchored = true
  425. Part37.CanCollide = false
  426. Part37.Size = Vector3.new(1.80000007, 1.60000002, 1.39999986)
  427. Part37.CFrame = CFrame.new(-167.199997, 6.39485455, -129.5, 0, -1.00000525, 0, 0, 0, 1, -1.00000525, 0, 0)
  428. Part37.BottomSurface = Enum.SurfaceType.Smooth
  429. Part37.TopSurface = Enum.SurfaceType.Weld
  430. Part37.Color = Color3.new(0.580392, 0.580392, 0.580392)
  431. Part37.Position = Vector3.new(-167.199997, 6.39485455, -129.5)
  432. Part37.Orientation = Vector3.new(-90, 90, 0)
  433. Part37.Color = Color3.new(0.580392, 0.580392, 0.580392)
  434. CylinderMesh38.Parent = Part37
  435. Part39.Parent = Model1
  436. Part39.Material = Enum.Material.Metal
  437. Part39.BrickColor = BrickColor.new("Sand violet metallic")
  438. Part39.Rotation = Vector3.new(-90, 0, 0)
  439. Part39.Anchored = true
  440. Part39.CanCollide = false
  441. Part39.Size = Vector3.new(1.79999995, 0.799999952, 2.20000005)
  442. Part39.CFrame = CFrame.new(-166.900009, 5.49997234, -131.800003, 1.00000525, 0, 0, 0, 0, 1, 0, -1.00000525, 0)
  443. Part39.BottomSurface = Enum.SurfaceType.Weld
  444. Part39.TopSurface = Enum.SurfaceType.Smooth
  445. Part39.Color = Color3.new(0.580392, 0.580392, 0.580392)
  446. Part39.Position = Vector3.new(-166.900009, 5.49997234, -131.800003)
  447. Part39.Orientation = Vector3.new(-90, 0, 0)
  448. Part39.Color = Color3.new(0.580392, 0.580392, 0.580392)
  449. CylinderMesh40.Parent = Part39
  450. Part41.Parent = Model1
  451. Part41.Material = Enum.Material.Metal
  452. Part41.BrickColor = BrickColor.new("Dark grey")
  453. Part41.Rotation = Vector3.new(-90, 0, 90)
  454. Part41.Anchored = true
  455. Part41.CanCollide = false
  456. Part41.Size = Vector3.new(1.79999995, 1.39999795, 1.80000019)
  457. Part41.CFrame = CFrame.new(-164.099991, 4.8999815, -130.5, 0, -1.00000525, 0, 0, 0, 1, -1.00000525, 0, 0)
  458. Part41.BottomSurface = Enum.SurfaceType.Smooth
  459. Part41.TopSurface = Enum.SurfaceType.Weld
  460. Part41.Color = Color3.new(0.458824, 0.458824, 0.458824)
  461. Part41.Position = Vector3.new(-164.099991, 4.8999815, -130.5)
  462. Part41.Orientation = Vector3.new(-90, 90, 0)
  463. Part41.Color = Color3.new(0.458824, 0.458824, 0.458824)
  464. CylinderMesh42.Parent = Part41
  465. Part43.Parent = Model1
  466. Part43.Material = Enum.Material.Metal
  467. Part43.BrickColor = BrickColor.new("Sand violet metallic")
  468. Part43.Anchored = true
  469. Part43.CanCollide = false
  470. Part43.Size = Vector3.new(1.20000005, 1, 2.60000038)
  471. Part43.CFrame = CFrame.new(-164.199982, 4.8999815, -130.5, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  472. Part43.BottomSurface = Enum.SurfaceType.Smooth
  473. Part43.TopSurface = Enum.SurfaceType.Smooth
  474. Part43.Color = Color3.new(0.580392, 0.580392, 0.580392)
  475. Part43.Position = Vector3.new(-164.199982, 4.8999815, -130.5)
  476. Part43.Color = Color3.new(0.580392, 0.580392, 0.580392)
  477. Part44.Parent = Model1
  478. Part44.Material = Enum.Material.Metal
  479. Part44.Rotation = Vector3.new(-90, 0, 0)
  480. Part44.Anchored = true
  481. Part44.CanCollide = false
  482. Part44.Size = Vector3.new(1.39999998, 1.80000007, 1.39999998)
  483. Part44.CFrame = CFrame.new(-166.900009, 4.09999371, -128.699997, 1.00000525, 0, 0, 0, 0, 1, 0, -1.00000525, 0)
  484. Part44.BottomSurface = Enum.SurfaceType.Weld
  485. Part44.TopSurface = Enum.SurfaceType.Smooth
  486. Part44.Position = Vector3.new(-166.900009, 4.09999371, -128.699997)
  487. Part44.Orientation = Vector3.new(-90, 0, 0)
  488. CylinderMesh45.Parent = Part44
  489. Part46.Parent = Model1
  490. Part46.Material = Enum.Material.Metal
  491. Part46.BrickColor = BrickColor.new("Sand violet metallic")
  492. Part46.Rotation = Vector3.new(0, 0, -30)
  493. Part46.Anchored = true
  494. Part46.CanCollide = false
  495. Part46.Size = Vector3.new(2.80000043, 1, 0.400000036)
  496. Part46.CFrame = CFrame.new(-166.207184, 5.09997845, -131.899994, 0.866030037, 0.500002503, 0, -0.499999911, 0.866025507, 0, 0, 1.42108547e-14, 1.00000525)
  497. Part46.BottomSurface = Enum.SurfaceType.Smooth
  498. Part46.TopSurface = Enum.SurfaceType.Smooth
  499. Part46.Color = Color3.new(0.580392, 0.580392, 0.580392)
  500. Part46.Position = Vector3.new(-166.207184, 5.09997845, -131.899994)
  501. Part46.Orientation = Vector3.new(0, 0, -30)
  502. Part46.Color = Color3.new(0.580392, 0.580392, 0.580392)
  503. Part47.Parent = Model1
  504. Part47.Material = Enum.Material.Metal
  505. Part47.BrickColor = BrickColor.new("Sand violet metallic")
  506. Part47.Rotation = Vector3.new(-90, 0, 0)
  507. Part47.Anchored = true
  508. Part47.CanCollide = false
  509. Part47.Size = Vector3.new(2.20000005, 0.599999964, 2.60000014)
  510. Part47.CFrame = CFrame.new(-166.900009, 5.49997234, -131.700012, 1.00000525, 0, 0, 0, 0, 1, 0, -1.00000525, 0)
  511. Part47.BottomSurface = Enum.SurfaceType.Weld
  512. Part47.TopSurface = Enum.SurfaceType.Smooth
  513. Part47.Color = Color3.new(0.580392, 0.580392, 0.580392)
  514. Part47.Position = Vector3.new(-166.900009, 5.49997234, -131.700012)
  515. Part47.Orientation = Vector3.new(-90, 0, 0)
  516. Part47.Color = Color3.new(0.580392, 0.580392, 0.580392)
  517. CylinderMesh48.Parent = Part47
  518. Part49.Parent = Model1
  519. Part49.Material = Enum.Material.Metal
  520. Part49.Rotation = Vector3.new(-90, 0, 0)
  521. Part49.Anchored = true
  522. Part49.CanCollide = false
  523. Part49.Size = Vector3.new(1.39999998, 1.80000007, 1.39999998)
  524. Part49.CFrame = CFrame.new(-166.900009, 4.09999371, -132.300018, 1.00000525, 0, 0, 0, 0, 1, 0, -1.00000525, 0)
  525. Part49.BottomSurface = Enum.SurfaceType.Weld
  526. Part49.TopSurface = Enum.SurfaceType.Smooth
  527. Part49.Position = Vector3.new(-166.900009, 4.09999371, -132.300018)
  528. Part49.Orientation = Vector3.new(-90, 0, 0)
  529. CylinderMesh50.Parent = Part49
  530. Part51.Parent = Model1
  531. Part51.Material = Enum.Material.Metal
  532. Part51.BrickColor = BrickColor.new("Sand violet metallic")
  533. Part51.Anchored = true
  534. Part51.CanCollide = false
  535. Part51.Size = Vector3.new(3.40000081, 1.80000019, 2.60000038)
  536. Part51.CFrame = CFrame.new(-166.5, 4.8999815, -130.5, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  537. Part51.BottomSurface = Enum.SurfaceType.Smooth
  538. Part51.TopSurface = Enum.SurfaceType.Smooth
  539. Part51.Color = Color3.new(0.580392, 0.580392, 0.580392)
  540. Part51.Position = Vector3.new(-166.5, 4.8999815, -130.5)
  541. Part51.Color = Color3.new(0.580392, 0.580392, 0.580392)
  542. Part52.Parent = Model1
  543. Part52.Material = Enum.Material.Metal
  544. Part52.BrickColor = BrickColor.new("Sand violet metallic")
  545. Part52.Anchored = true
  546. Part52.CanCollide = false
  547. Part52.Size = Vector3.new(3.20000029, 1.20000005, 0.600000024)
  548. Part52.CFrame = CFrame.new(-169.800018, 4.59997845, -129.899994, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  549. Part52.BottomSurface = Enum.SurfaceType.Smooth
  550. Part52.TopSurface = Enum.SurfaceType.Smooth
  551. Part52.Color = Color3.new(0.580392, 0.580392, 0.580392)
  552. Part52.Position = Vector3.new(-169.800018, 4.59997845, -129.899994)
  553. Part52.Color = Color3.new(0.580392, 0.580392, 0.580392)
  554. Part53.Name = "base"
  555. Part53.Parent = Model1
  556. Part53.Material = Enum.Material.Metal
  557. Part53.Transparency = 1
  558. Part53.Rotation = Vector3.new(0, -90, 0)
  559. Part53.Anchored = true
  560. Part53.CanCollide = false
  561. Part53.Size = Vector3.new(1.39999998, 1.80000377, 1.39999998)
  562. Part53.CFrame = CFrame.new(-165.899994, 4.09999371, -130.5, -4.37116228e-08, 0, -1.00000525, 0, 1, 0, 1.00000525, 0, -4.37116228e-08)
  563. Part53.BottomSurface = Enum.SurfaceType.Weld
  564. Part53.TopSurface = Enum.SurfaceType.Smooth
  565. Part53.Position = Vector3.new(-165.899994, 4.09999371, -130.5)
  566. Part53.Orientation = Vector3.new(0, -90, 0)
  567. CylinderMesh54.Parent = Part53
  568. Seat55.Parent = Model1
  569. Seat55.BrickColor = BrickColor.new("Black")
  570. Seat55.Transparency = 1
  571. Seat55.Rotation = Vector3.new(0, -90, 0)
  572. Seat55.CanCollide = false
  573. Seat55.Size = Vector3.new(2.20000005, 0.399999976, 1)
  574. Seat55.CFrame = CFrame.new(-170.100021, 4.19998455, -131.099991, 0, 0, -1.00000525, 0, 1, 0, 1.00000525, 0, 0)
  575. Seat55.Color = Color3.new(0.105882, 0.164706, 0.207843)
  576. Seat55.Position = Vector3.new(-170.100021, 4.19998455, -131.099991)
  577. Seat55.Orientation = Vector3.new(0, -90, 0)
  578. Seat55.Color = Color3.new(0.105882, 0.164706, 0.207843)
  579. Script56.Name = "FOREVERWELD"
  580. Script56.Parent = Seat55
  581. table.insert(cors,sandbox(Script56,function()
  582.  
  583. local weld = Instance.new("Weld")
  584. weld.Part0 = script.Parent
  585. weld.Part1 = script.Parent.Parent["base"]
  586. weld.C0 = script.Parent.CFrame:inverse()
  587. weld.C1 = script.Parent.Parent["base"] .CFrame:inverse()
  588. weld.Parent = script.Parent
  589.  
  590.  
  591.  
  592.  
  593. local a = script.Parent.Weld:clone()
  594. local co=script.Parent.Weld.C0
  595. local c1 = script.Parent.Weld.C1
  596. local p1 = script.Parent.Weld.Part1
  597. function poo(part)
  598. if part.Name =="Weld" then
  599. local b =a:clone()
  600. b.Parent=script.Parent
  601. b.C0 = co
  602. b.C1 =c1
  603. b.Part1 = p1
  604. end
  605. end
  606. script.Parent.ChildRemoved:connect(poo)
  607. end))
  608. Script57.Parent = Seat55
  609. table.insert(cors,sandbox(Script57,function()
  610.  
  611. function powers()
  612. if script.Parent.Occupant~= nil then
  613. local a = script.Parent.Occupant
  614. local b = game.Players:GetPlayerFromCharacter(a.Parent)
  615. if b~= nil then
  616. if a.Parent:findFirstChild("control") == nil then
  617. g=script.control:Clone()
  618. print(script.Parent.Parent.Parent)
  619. g.Value.Value=script.Parent.Parent.Parent
  620. g.Parent=b.Character
  621. g.Disabled=false
  622. end
  623. end
  624. end
  625. end
  626. script.Parent.Changed:connect(powers)
  627. end))
  628. LocalScript58.Name = "control"
  629. LocalScript58.Parent = Script57
  630. LocalScript58.Disabled = true
  631. table.insert(cors,sandbox(LocalScript58,function()
  632. wait(0.2)
  633. local TARGET_RADIUS = 5
  634. local MAX_SPEED = 1750
  635. local MAX_TORQUE = Vector3.new(4e6, 4e6, 0)
  636. local MAX_THRUST = 1750
  637. local THRUST_P = 500
  638. local THRUST_D = 500
  639. md = false
  640. local mouse = game.Players.LocalPlayer:GetMouse()
  641. mouse.TargetFilter = script.Value.Value
  642. local running = false
  643. local gun=script.Value.Value
  644. local SPAWN = gun.body:GetPrimaryPartCFrame()
  645. local aimpos = Vector3.new(0,0,0)
  646. rs=game:GetService("RunService").RenderStepped
  647. local canfire = true
  648. local round = 1
  649. function RAND(Min, Max, Accuracy)
  650. local Inverse = 1 / (Accuracy or 1)
  651. return (math.random(Min * Inverse, Max * Inverse) / Inverse)
  652. end
  653. function fire()
  654. if canfire == true and md == true then
  655. canfire=false
  656.  
  657.  
  658.  
  659. local spawnPosition
  660. local part=gun.gun:findFirstChild("gunpart")
  661. spawnPosition = part.Position + (part.CFrame.lookVector * 5)
  662. for i = 1,2 do
  663. local a = Instance.new("Part")
  664. game:GetService("Debris"):AddItem(a,1)
  665.  
  666. local spread = 10
  667. local antispread = 250
  668. local spreada = Vector3.new(math.random(-spread,spread)/antispread,math.random(-spread,spread)/antispread,math.random(-spread,spread)/antispread)
  669. a.Size = Vector3.new(0.2,0.2,5)
  670. a.CFrame = CFrame.new(spawnPosition, mouse.Hit.p)
  671. local direction = ((((mouse.Hit.p - a.Position))).unit)+spreada
  672. local boi = a.Position + (direction * 100000000)
  673. a.CFrame = CFrame.new(spawnPosition,boi)
  674. a.BrickColor=BrickColor.new("Bright yellow")
  675. a.Material = "Neon"
  676. a.Name = "Bullet"
  677. local b=script.bullet:Clone()
  678. b.Parent=a
  679. b.Value.Value = part
  680. b.Disabled =false
  681. local rocketPropulsion = Instance.new('RocketPropulsion', a)
  682. rocketPropulsion.CartoonFactor = 1
  683. rocketPropulsion.TargetRadius = TARGET_RADIUS
  684. rocketPropulsion.MaxSpeed = MAX_SPEED
  685. rocketPropulsion.MaxTorque = MAX_TORQUE
  686. rocketPropulsion.MaxThrust = MAX_THRUST
  687. rocketPropulsion.ThrustP = THRUST_P
  688. rocketPropulsion.ThrustD = THRUST_D
  689. rocketPropulsion.TargetOffset = a.Position + (direction * 100000000)
  690. rocketPropulsion:Fire()
  691. a.CanCollide = false
  692. a.Parent=game.Workspace
  693. end
  694. local effecter = gun.gun:findFirstChild("effect")
  695. game:GetService("Debris"):AddItem(b,3)
  696. spawn(function()
  697. for i = 1, 10 do
  698. effecter.ParticleEmitter:Emit(5)
  699. rs:Wait()
  700. end
  701. end)
  702. spawn(function()
  703. for i = 1, 20 do
  704. effecter.smoke:Emit(1)
  705. wait(0.1)
  706. end
  707. end)
  708. gun.gun.eject.a.bullets:Emit(2)
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716. wait(0.04)
  717. canfire=true
  718. if md == true then
  719. fire()
  720. end
  721. end
  722. end
  723. function barrel()
  724. if round == 1 then
  725. gun.gun.Barrel1.Transparency=0
  726. gun.gun.Barrel2.Transparency=1
  727. gun.gun.Barrel3.Transparency=1
  728.  
  729. end
  730. if round == 2 then
  731. gun.gun.Barrel1.Transparency=1
  732. gun.gun.Barrel2.Transparency=0
  733. gun.gun.Barrel3.Transparency=1
  734.  
  735. end
  736. if round == 3 then
  737. gun.gun.Barrel1.Transparency=1
  738. gun.gun.Barrel2.Transparency=1
  739. gun.gun.Barrel3.Transparency=0
  740.  
  741. end
  742. if round ~=3 then
  743. round = round+1
  744. else
  745. round = 1
  746. end
  747. end
  748. function poo()
  749.  
  750. mouse.TargetFilter = nil
  751. mouse.Icon=oldIcon
  752. gun.gun.effect.bam:Stop()
  753. script:remove()
  754. end
  755. local rn = game:GetService("RunService").RenderStepped
  756. function no()
  757. if md == false then return end
  758. md = false
  759. gun.gun.effect.bstart:Stop()
  760. spawn(function()
  761. for i = 1, 25 do
  762. if i > 0 and i < 5 then
  763. for i = 1,1 do
  764. rn:wait()
  765. end
  766. end
  767. if i > 4 and i < 10 then
  768. for i = 1,2 do
  769. rn:wait()
  770. end
  771. end
  772. if i > 10 and i < 15 then
  773. for i = 1,3 do
  774. rn:wait()
  775. end
  776. end
  777. if i > 14 and i < 20 then
  778. for i = 1,4 do
  779. rn:wait()
  780. end
  781. end
  782. if i > 19 and i < 26 then
  783. for i = 1,6 do
  784. rn:wait()
  785. end
  786. end
  787. if md == true then break end
  788. barrel()
  789.  
  790. end
  791. end)
  792.  
  793. gun.gun.effect.bam:Stop()
  794. gun.gun.effect.dend:Play()
  795. gun.gun.effect.dend.TimePosition=0.1
  796. end
  797.  
  798. function mousedown()
  799. md = true
  800. gun.gun.effect.bstart:Play()
  801. for i = 1, 10 do
  802.  
  803. if i > 0 and i < 5 then
  804. for i = 1,2 do
  805. rn:wait()
  806. end
  807. end
  808. if i > 4 and i < 11 then
  809. for i = 1,1 do
  810. rn:wait()
  811. end
  812. end
  813. if md == false then break end
  814. barrel()
  815.  
  816. end
  817. if md == false then return end
  818. gun.gun.effect.bam:Play()
  819. spawn(function()
  820. repeat
  821. rn:wait()
  822. barrel()
  823. until md == false
  824. end)
  825. fire()
  826.  
  827. end
  828. oldIcon = mouse.Icon
  829. mouse.Icon="http://www.roblox.com/asset/?id=138865017"
  830. person = game.Players.LocalPlayer.Character
  831. person.Humanoid.Jumping:connect(poo)
  832. mouse.Button1Down:connect(mousedown) -- Run function
  833. mouse.Button1Up:connect(no)
  834. while rs:Wait() do
  835. aimpos = mouse.Hit.p
  836. if (aimpos-gun.base.Position).magnitude>3 then
  837.  
  838.  
  839. local c = aimpos
  840. local x = (gun.gun:GetPrimaryPartCFrame()*CFrame.new(0, 0, -100000)).x
  841. local y = (SPAWN*CFrame.new(0, 0, -100000)).y
  842. local z = (gun.gun:GetPrimaryPartCFrame()*CFrame.new(0, 0, -100000)).z
  843. A = Vector3.new(x,
  844. y,
  845. z
  846. )
  847. if c then
  848. gun.gun:SetPrimaryPartCFrame(
  849. CFrame.new(gun.body:GetPrimaryPartCFrame().p,
  850. c)
  851. )
  852. gun.body:SetPrimaryPartCFrame(
  853. CFrame.new(
  854. SPAWN.p,
  855. A
  856. )
  857. )
  858. else
  859. gun:SetPrimaryPartCFrame(gun.body:GetPrimaryPartCFrame())
  860. gun.body:SetPrimaryPartCFrame(
  861. CFrame.new(
  862. SPAWN.p,
  863. A
  864. )
  865. )
  866. end
  867. end
  868. end
  869.  
  870.  
  871. end))
  872. ObjectValue59.Parent = LocalScript58
  873. Script60.Name = "bullet"
  874. Script60.Parent = LocalScript58
  875. Script60.Disabled = true
  876. table.insert(cors,sandbox(Script60,function()
  877. touched = false
  878. local ignore = {}
  879. function hit(hit)
  880. if hit.Name == "debrispart" or hit.Name == "Bullet" then return end
  881. if touched == false then
  882. touched = true
  883.  
  884.  
  885. local ray = Ray.new(script.Value.Value.Position, (script.Parent.Position - script.Value.Value.Position).unit * 500)
  886. local boi=game.Workspace:GetChildren()
  887. for i = 1,#boi do
  888. if boi[i].Name == "Bullet" then
  889. table.insert(ignore,boi[i])
  890. end
  891. end
  892. local parto, positiono = workspace:FindPartOnRayWithIgnoreList(ray,ignore, false, true)
  893.  
  894. local part = hit
  895. if part.Anchored == false then
  896. part:BreakJoints()
  897. local a = part.Position
  898. local b = script.Value.Value.Position
  899. local dir = (a - b).unit
  900.  
  901. part.Velocity = part.Velocity + dir * math.random(20,30) + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  902. ------- extreme math equations
  903. local v = 30
  904. local c = 50
  905. local m = part:GetMass()
  906. if m< 20 then
  907. m = 20
  908. end
  909. part.RotVelocity =Vector3.new(math.random(-v,v)/(m/c),math.random(-v,v)/(m/c),math.random(-v,v)/(m/c))
  910. game:GetService("Debris"):AddItem(script.Parent,0.1)--penetration
  911.  
  912. end
  913. local a = part.Parent:findFirstChild("Humanoid")
  914. local b = part.Parent.Parent:findFirstChild("Humanoid")
  915. local debrispart = Instance.new("Part")
  916. debrispart.Name="debrispart"
  917. debrispart.Size = Vector3.new(0.05,0.05,0.05)
  918. debrispart.BrickColor = part.BrickColor
  919. debrispart.Anchored=true
  920. debrispart.CanCollide = false
  921. debrispart.Transparency=1
  922. debrispart.Position=positiono
  923. debrispart.Parent=game.Workspace
  924. if a == nil and b == nil then
  925. local thingy = script.debris:Clone()
  926. thingy.Color=ColorSequence.new(part.Color,part.Color)
  927. thingy.Parent=debrispart
  928. spawn(function()
  929. thingy:Emit(10)
  930. end)
  931. end
  932. if a ~= nil or b ~= nil then
  933. local thingy = script.blood:Clone()
  934. thingy.Parent=debrispart
  935. spawn(function()
  936. thingy:Emit(10)
  937. end)
  938. end
  939. game:GetService("Debris"):AddItem(debrispart,1)
  940. game:GetService("Debris"):AddItem(script.Parent,0.05)
  941.  
  942. --[[if position ~= nil then
  943. end]]--
  944. end
  945. end
  946.  
  947. script.Parent.Touched:connect(hit)
  948.  
  949. end))
  950. ObjectValue61.Parent = Script60
  951. ParticleEmitter62.Name = "debris"
  952. ParticleEmitter62.Parent = Script60
  953. ParticleEmitter62.Transparency = NumberSequence.new(0,0,1)
  954. ParticleEmitter62.Rotation = NumberRange.new(-180, 180)
  955. ParticleEmitter62.Size = NumberSequence.new(0.34999999403954,0.34999999403954)
  956. ParticleEmitter62.Enabled = false
  957. ParticleEmitter62.Texture = "rbxassetid://241685484"
  958. ParticleEmitter62.Acceleration = Vector3.new(0, -320, 0)
  959. ParticleEmitter62.Lifetime = NumberRange.new(0.20000000298023, 1)
  960. ParticleEmitter62.Rate = 100
  961. ParticleEmitter62.RotSpeed = NumberRange.new(-660, 660)
  962. ParticleEmitter62.Speed = NumberRange.new(0, 120)
  963. ParticleEmitter62.VelocitySpread = 15
  964. ParticleEmitter63.Name = "blood"
  965. ParticleEmitter63.Parent = Script60
  966. ParticleEmitter63.Transparency = NumberSequence.new(0,0,1)
  967. ParticleEmitter63.Rotation = NumberRange.new(-180, 180)
  968. ParticleEmitter63.Size = NumberSequence.new(0.30000001192093,0.30000001192093)
  969. ParticleEmitter63.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  970. ParticleEmitter63.Enabled = false
  971. ParticleEmitter63.Texture = "rbxassetid://241685484"
  972. ParticleEmitter63.Acceleration = Vector3.new(0, -16, 0)
  973. ParticleEmitter63.Lifetime = NumberRange.new(0.20000000298023, 1)
  974. ParticleEmitter63.Rate = 100
  975. ParticleEmitter63.RotSpeed = NumberRange.new(-660, 660)
  976. ParticleEmitter63.Speed = NumberRange.new(0, 20)
  977. ParticleEmitter63.VelocitySpread = 360
  978. ParticleEmitter63.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  979. WedgePart64.Parent = Model1
  980. WedgePart64.Material = Enum.Material.Metal
  981. WedgePart64.BrickColor = BrickColor.new("Sand violet metallic")
  982. WedgePart64.Rotation = Vector3.new(0, -90, 0)
  983. WedgePart64.Anchored = true
  984. WedgePart64.CanCollide = false
  985. WedgePart64.Size = Vector3.new(2.5999999, 0.400000036, 1.19999981)
  986. WedgePart64.CFrame = CFrame.new(-164.199982, 5.59997845, -130.5, 0, 0, -1.00000525, 0, 1, 0, 1.00000525, 0, 0)
  987. WedgePart64.Color = Color3.new(0.580392, 0.580392, 0.580392)
  988. WedgePart64.Position = Vector3.new(-164.199982, 5.59997845, -130.5)
  989. WedgePart64.Orientation = Vector3.new(0, -90, 0)
  990. WedgePart64.Color = Color3.new(0.580392, 0.580392, 0.580392)
  991. WedgePart65.Parent = Model1
  992. WedgePart65.Material = Enum.Material.Metal
  993. WedgePart65.BrickColor = BrickColor.new("Sand violet metallic")
  994. WedgePart65.Rotation = Vector3.new(-180, -90, 0)
  995. WedgePart65.Anchored = true
  996. WedgePart65.CanCollide = false
  997. WedgePart65.Size = Vector3.new(2.5999999, 0.400000036, 1.19999981)
  998. WedgePart65.CFrame = CFrame.new(-164.199982, 4.19998455, -130.5, 0, 0, -1.00000525, 9.23857442e-07, -1, 0, -1.00000525, -9.23862274e-07, 0)
  999. WedgePart65.Color = Color3.new(0.580392, 0.580392, 0.580392)
  1000. WedgePart65.Position = Vector3.new(-164.199982, 4.19998455, -130.5)
  1001. WedgePart65.Orientation = Vector3.new(0, -90, 180)
  1002. WedgePart65.Color = Color3.new(0.580392, 0.580392, 0.580392)
  1003. Part66.Name = "base"
  1004. Part66.Parent = Model0
  1005. Part66.Material = Enum.Material.DiamondPlate
  1006. Part66.Rotation = Vector3.new(0, -90, 0)
  1007. Part66.Anchored = true
  1008. Part66.Size = Vector3.new(9, 1, 9)
  1009. Part66.CFrame = CFrame.new(-166.5, 0.500002623, -130.5, -4.37116228e-08, 0, -1.00000525, 0, 1, 0, 1.00000525, 0, -4.37116228e-08)
  1010. Part66.BottomSurface = Enum.SurfaceType.Smooth
  1011. Part66.TopSurface = Enum.SurfaceType.Smooth
  1012. Part66.Position = Vector3.new(-166.5, 0.500002623, -130.5)
  1013. Part66.Orientation = Vector3.new(0, -90, 0)
  1014. Model67.Name = "body"
  1015. Model67.Parent = Model0
  1016. Model67.PrimaryPart = Part74
  1017. Part68.Parent = Model67
  1018. Part68.Material = Enum.Material.DiamondPlate
  1019. Part68.Anchored = true
  1020. Part68.Size = Vector3.new(1.79999971, 0.400000006, 1)
  1021. Part68.CFrame = CFrame.new(-164.099991, 4.19998455, -128.499985, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1022. Part68.BottomSurface = Enum.SurfaceType.Smooth
  1023. Part68.TopSurface = Enum.SurfaceType.Smooth
  1024. Part68.Position = Vector3.new(-164.099991, 4.19998455, -128.499985)
  1025. Part69.Parent = Model67
  1026. Part69.Material = Enum.Material.DiamondPlate
  1027. Part69.Anchored = true
  1028. Part69.Size = Vector3.new(1.00000012, 1.60000002, 1)
  1029. Part69.CFrame = CFrame.new(-163.699982, 3.19999957, -132.500015, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1030. Part69.BottomSurface = Enum.SurfaceType.Smooth
  1031. Part69.TopSurface = Enum.SurfaceType.Smooth
  1032. Part69.Position = Vector3.new(-163.699982, 3.19999957, -132.500015)
  1033. Part70.Parent = Model67
  1034. Part70.Material = Enum.Material.DiamondPlate
  1035. Part70.Anchored = true
  1036. Part70.Size = Vector3.new(1.00000012, 1.60000002, 1)
  1037. Part70.CFrame = CFrame.new(-163.699982, 3.19999957, -128.499985, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1038. Part70.BottomSurface = Enum.SurfaceType.Smooth
  1039. Part70.TopSurface = Enum.SurfaceType.Smooth
  1040. Part70.Position = Vector3.new(-163.699982, 3.19999957, -128.499985)
  1041. Part71.Parent = Model67
  1042. Part71.Material = Enum.Material.DiamondPlate
  1043. Part71.Anchored = true
  1044. Part71.Size = Vector3.new(5, 0.400000006, 3)
  1045. Part71.CFrame = CFrame.new(-167.5, 1.8000133, -130.5, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1046. Part71.BottomSurface = Enum.SurfaceType.Smooth
  1047. Part71.TopSurface = Enum.SurfaceType.Smooth
  1048. Part71.Position = Vector3.new(-167.5, 1.8000133, -130.5)
  1049. Part72.Name = "circle"
  1050. Part72.Parent = Model67
  1051. Part72.Material = Enum.Material.DiamondPlate
  1052. Part72.Rotation = Vector3.new(0, -90, 0)
  1053. Part72.Anchored = true
  1054. Part72.Size = Vector3.new(7, 0.600000024, 7)
  1055. Part72.CFrame = CFrame.new(-166.5, 1.29999804, -130.5, 4.17230325e-07, 0, -1, 0, 1, 0, 1, 0, 4.17230325e-07)
  1056. Part72.BottomSurface = Enum.SurfaceType.Smooth
  1057. Part72.TopSurface = Enum.SurfaceType.Smooth
  1058. Part72.Position = Vector3.new(-166.5, 1.29999804, -130.5)
  1059. Part72.Orientation = Vector3.new(0, -90, 0)
  1060. CylinderMesh73.Parent = Part72
  1061. Part74.Name = "base"
  1062. Part74.Parent = Model67
  1063. Part74.Material = Enum.Material.Metal
  1064. Part74.Transparency = 1
  1065. Part74.Rotation = Vector3.new(0, -90, 0)
  1066. Part74.Anchored = true
  1067. Part74.CanCollide = false
  1068. Part74.Size = Vector3.new(1.39999998, 1.80000377, 1.39999998)
  1069. Part74.CFrame = CFrame.new(-166.5, 4.09999371, -130.5, -4.37116228e-08, 0, -1.00000525, 0, 1, 0, 1.00000525, 0, -4.37116228e-08)
  1070. Part74.BottomSurface = Enum.SurfaceType.Weld
  1071. Part74.TopSurface = Enum.SurfaceType.Smooth
  1072. Part74.Position = Vector3.new(-166.5, 4.09999371, -130.5)
  1073. Part74.Orientation = Vector3.new(0, -90, 0)
  1074. CylinderMesh75.Parent = Part74
  1075. Part76.Parent = Model67
  1076. Part76.Material = Enum.Material.DiamondPlate
  1077. Part76.Anchored = true
  1078. Part76.Size = Vector3.new(3.39999962, 0.400000006, 1)
  1079. Part76.CFrame = CFrame.new(-164.899994, 4.19998455, -132.500015, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1080. Part76.BottomSurface = Enum.SurfaceType.Smooth
  1081. Part76.TopSurface = Enum.SurfaceType.Smooth
  1082. Part76.Position = Vector3.new(-164.899994, 4.19998455, -132.500015)
  1083. Part77.Parent = Model67
  1084. Part77.Material = Enum.Material.DiamondPlate
  1085. Part77.Anchored = true
  1086. Part77.Size = Vector3.new(1, 1.60000002, 1)
  1087. Part77.CFrame = CFrame.new(-166.100006, 3.19999194, -132.500015, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1088. Part77.BottomSurface = Enum.SurfaceType.Smooth
  1089. Part77.TopSurface = Enum.SurfaceType.Smooth
  1090. Part77.Position = Vector3.new(-166.100006, 3.19999194, -132.500015)
  1091. Part78.Parent = Model67
  1092. Part78.Material = Enum.Material.DiamondPlate
  1093. Part78.Anchored = true
  1094. Part78.Size = Vector3.new(1.00000012, 1.60000002, 1)
  1095. Part78.CFrame = CFrame.new(-168.500015, 3.19999194, -128.499985, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1096. Part78.BottomSurface = Enum.SurfaceType.Smooth
  1097. Part78.TopSurface = Enum.SurfaceType.Smooth
  1098. Part78.Position = Vector3.new(-168.500015, 3.19999194, -128.499985)
  1099. Part79.Parent = Model67
  1100. Part79.Material = Enum.Material.DiamondPlate
  1101. Part79.Anchored = true
  1102. Part79.Size = Vector3.new(1.79999971, 0.400000006, 1)
  1103. Part79.CFrame = CFrame.new(-168.100006, 4.19998455, -128.499985, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1104. Part79.BottomSurface = Enum.SurfaceType.Smooth
  1105. Part79.TopSurface = Enum.SurfaceType.Smooth
  1106. Part79.Position = Vector3.new(-168.100006, 4.19998455, -128.499985)
  1107. Part80.Parent = Model67
  1108. Part80.Material = Enum.Material.DiamondPlate
  1109. Part80.Anchored = true
  1110. Part80.Size = Vector3.new(5.80000067, 0.400000006, 1)
  1111. Part80.CFrame = CFrame.new(-166.099991, 2.19999194, -132.500015, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1112. Part80.BottomSurface = Enum.SurfaceType.Smooth
  1113. Part80.TopSurface = Enum.SurfaceType.Smooth
  1114. Part80.Position = Vector3.new(-166.099991, 2.19999194, -132.500015)
  1115. Part81.Parent = Model67
  1116. Part81.Material = Enum.Material.DiamondPlate
  1117. Part81.Anchored = true
  1118. Part81.Size = Vector3.new(1.80000091, 0.400000006, 7)
  1119. Part81.CFrame = CFrame.new(-164.099976, 1.79999804, -130.5, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1120. Part81.BottomSurface = Enum.SurfaceType.Smooth
  1121. Part81.TopSurface = Enum.SurfaceType.Smooth
  1122. Part81.Position = Vector3.new(-164.099976, 1.79999804, -130.5)
  1123. Part82.Parent = Model67
  1124. Part82.Material = Enum.Material.DiamondPlate
  1125. Part82.Anchored = true
  1126. Part82.Size = Vector3.new(5.80000067, 0.400000006, 1)
  1127. Part82.CFrame = CFrame.new(-166.099991, 2.19999194, -128.499985, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1128. Part82.BottomSurface = Enum.SurfaceType.Smooth
  1129. Part82.TopSurface = Enum.SurfaceType.Smooth
  1130. Part82.Position = Vector3.new(-166.099991, 2.19999194, -128.499985)
  1131. Part83.Parent = Model67
  1132. Part83.Material = Enum.Material.Metal
  1133. Part83.Rotation = Vector3.new(-180, 0, -180)
  1134. Part83.Anchored = true
  1135. Part83.Size = Vector3.new(0.399999261, 5.79999876, 2.40000081)
  1136. Part83.CFrame = CFrame.new(-163, 4.59997845, -127.800011, -1.00000525, 0, 0, 0, 1, 0, 0, 0, -1.00000525)
  1137. Part83.BottomSurface = Enum.SurfaceType.Smooth
  1138. Part83.TopSurface = Enum.SurfaceType.Smooth
  1139. Part83.Position = Vector3.new(-163, 4.59997845, -127.800011)
  1140. Part83.Orientation = Vector3.new(0, 180, 0)
  1141. Part84.Parent = Model67
  1142. Part84.Material = Enum.Material.Metal
  1143. Part84.Anchored = true
  1144. Part84.Size = Vector3.new(0.399999261, 5.79999876, 2.40000081)
  1145. Part84.CFrame = CFrame.new(-163, 4.59997845, -133.199997, 1.00000525, 0, 0, 0, 1, 0, 0, 0, 1.00000525)
  1146. Part84.BottomSurface = Enum.SurfaceType.Smooth
  1147. Part84.TopSurface = Enum.SurfaceType.Smooth
  1148. Part84.Position = Vector3.new(-163, 4.59997845, -133.199997)
  1149. for i,v in pairs(mas:GetChildren()) do
  1150. v.Parent = workspace
  1151. pcall(function() v:MakeJoints() end)
  1152. end
  1153. mas:Destroy()
  1154. for i,v in pairs(cors) do
  1155. spawn(function()
  1156. pcall(v)
  1157. end)
  1158. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement