Advertisement
lafur

Untitled

Apr 21st, 2019
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Player = game:GetService("Players").LocalPlayer
  2. local Character = Player.Character
  3. local Humanoid = Character:FindFirstChildOfClass("Humanoid")
  4. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  5. local Torso = Character.HumanoidRootPart
  6. local Mouse = game.Players.LocalPlayer:GetMouse()
  7. local RenderStepped = game:GetService("RunService").RenderStepped
  8. local Camera = Workspace.CurrentCamera
  9. Camera:ClearAllChildren()
  10. local Model = Instance.new("Model",Character)
  11. local IgnoreList = {Character,Workspace.Terrain}
  12. Instance.new("ForceField",Character).Visible = false
  13.  
  14. local Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*1.25)
  15. local Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*1.25)
  16. local RotationOffset = CFrame.Angles(math.rad(90),math.rad(0),0)
  17. local Gangster = false
  18.  
  19. local Part0JointHead = CFrame.new(Vector3.new(0,1,0)*1.25)
  20. local Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*1.25)
  21. local RotationOffsetHead = CFrame.Angles(0,0,0)
  22.  
  23. local Handle = Instance.new("Part",Model)
  24. Handle.CanCollide = false
  25. Handle.Name = "Handle"
  26. Handle.Position = Vector3.new(0,100,0)
  27. Handle:BreakJoints()
  28. Handle.FormFactor = "Custom"
  29. Handle.Size = Vector3.new(0.2,0.2,0.2)
  30. Handle.TopSurface = "SmoothNoOutlines"
  31. Handle.BottomSurface = "SmoothNoOutlines"
  32. Handle.FrontSurface = "SmoothNoOutlines"
  33. Handle.BackSurface = "SmoothNoOutlines"
  34. Handle.RightSurface = "SmoothNoOutlines"
  35. Handle.LeftSurface = "SmoothNoOutlines"
  36. Handle.BrickColor = BrickColor.new("Black")
  37. local Mesh = Instance.new("BlockMesh",Handle)
  38. Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * math.random(-Scale,Scale)
  39. local HandleWeld = Instance.new("Motor6D")
  40. HandleWeld.Part0 = Character["Right Arm"]
  41. HandleWeld.Part1 = Handle
  42. HandleWeld.C0 = CFrame.new(Vector3.new(0,-1,0)*math.random(-Scale,Scale)) * CFrame.Angles(math.rad(-105),0,0)
  43. HandleWeld.Parent = Handle
  44.  
  45. local Part = Instance.new("Part",Model)
  46. Part.CanCollide = false
  47. Part.Position = Vector3.new(0,100,0)
  48. Part:BreakJoints()
  49. Part.FormFactor = "Custom"
  50. Part.Size = Vector3.new(0.2,0.2,0.2)
  51. Part.TopSurface = "SmoothNoOutlines"
  52. Part.BottomSurface = "SmoothNoOutlines"
  53. Part.FrontSurface = "SmoothNoOutlines"
  54. Part.BackSurface = "SmoothNoOutlines"
  55. Part.RightSurface = "SmoothNoOutlines"
  56. Part.LeftSurface = "SmoothNoOutlines"
  57. Part.BrickColor = BrickColor.new("Black")
  58. local Mesh = Instance.new("CylinderMesh",Part)
  59. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * math.random(-Scale,Scale)
  60. local PartWeld = Instance.new("Motor6D")
  61. PartWeld.Part0 = Handle
  62. PartWeld.Part1 = Part
  63. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*math.random(-Scale,Scale)) * CFrame.Angles(0,0,0)
  64. PartWeld.Parent = Part
  65.  
  66. local Part = Instance.new("Part",Model)
  67. Part.CanCollide = false
  68. Part.Position = Vector3.new(0,100,0)
  69. Part:BreakJoints()
  70. Part.FormFactor = "Custom"
  71. Part.Size = Vector3.new(0.2,0.2,0.2)
  72. Part.TopSurface = "SmoothNoOutlines"
  73. Part.BottomSurface = "SmoothNoOutlines"
  74. Part.FrontSurface = "SmoothNoOutlines"
  75. Part.BackSurface = "SmoothNoOutlines"
  76. Part.RightSurface = "SmoothNoOutlines"
  77. Part.LeftSurface = "SmoothNoOutlines"
  78. Part.BrickColor = BrickColor.new("Black")
  79. local Mesh = Instance.new("CylinderMesh",Part)
  80. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * math.random(-Scale,Scale)
  81. local PartWeld = Instance.new("Motor6D")
  82. PartWeld.Part0 = Handle
  83. PartWeld.Part1 = Part
  84. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,0.190)*math.random(-Scale,Scale)) * CFrame.Angles(0,0,0)
  85. PartWeld.Parent = Part
  86.  
  87. local Part = Instance.new("Part",Model)
  88. Part.CanCollide = false
  89. Part.Position = Vector3.new(0,100,0)
  90. Part:BreakJoints()
  91. Part.FormFactor = "Custom"
  92. Part.Size = Vector3.new(0.2,0.2,0.2)
  93. Part.TopSurface = "SmoothNoOutlines"
  94. Part.BottomSurface = "SmoothNoOutlines"
  95. Part.FrontSurface = "SmoothNoOutlines"
  96. Part.BackSurface = "SmoothNoOutlines"
  97. Part.RightSurface = "SmoothNoOutlines"
  98. Part.LeftSurface = "SmoothNoOutlines"
  99. Part.BrickColor = BrickColor.new("Black")
  100. local Mesh = Instance.new("CylinderMesh",Part)
  101. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * math.random(-Scale,Scale)
  102. local PartWeld = Instance.new("Motor6D")
  103. PartWeld.Part0 = Handle
  104. PartWeld.Part1 = Part
  105. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*math.random(-Scale,Scale)) * CFrame.Angles(0,0,0)
  106. PartWeld.Parent = Part
  107.  
  108. local Part = Instance.new("Part",Model)
  109. Part.CanCollide = false
  110. Part.Position = Vector3.new(0,100,0)
  111. Part:BreakJoints()
  112. Part.FormFactor = "Custom"
  113. Part.Size = Vector3.new(0.2,0.2,0.2)
  114. Part.TopSurface = "SmoothNoOutlines"
  115. Part.BottomSurface = "SmoothNoOutlines"
  116. Part.FrontSurface = "SmoothNoOutlines"
  117. Part.BackSurface = "SmoothNoOutlines"
  118. Part.RightSurface = "SmoothNoOutlines"
  119. Part.LeftSurface = "SmoothNoOutlines"
  120. Part.BrickColor = BrickColor.new("Black")
  121. local Mesh = Instance.new("CylinderMesh",Part)
  122. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * math.random(-Scale,Scale)
  123. local PartWeld = Instance.new("Motor6D")
  124. PartWeld.Part0 = Handle
  125. PartWeld.Part1 = Part
  126. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*math.random(-Scale,Scale)) * CFrame.Angles(0,0,0)
  127. PartWeld.Parent = Part
  128.  
  129. local Part = Instance.new("Part",Model)
  130. Part.CanCollide = false
  131. Part.Position = Vector3.new(0,100,0)
  132. Part:BreakJoints()
  133. Part.FormFactor = "Custom"
  134. Part.Size = Vector3.new(0.2,0.2,0.2)
  135. Part.TopSurface = "SmoothNoOutlines"
  136. Part.BottomSurface = "SmoothNoOutlines"
  137. Part.FrontSurface = "SmoothNoOutlines"
  138. Part.BackSurface = "SmoothNoOutlines"
  139. Part.RightSurface = "SmoothNoOutlines"
  140. Part.LeftSurface = "SmoothNoOutlines"
  141. Part.BrickColor = BrickColor.new("Black")
  142. local Mesh = Instance.new("BlockMesh",Part)
  143. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * math.random(-Scale,Scale)
  144. local PartWeld = Instance.new("Motor6D")
  145. PartWeld.Part0 = Handle
  146. PartWeld.Part1 = Part
  147. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*math.random(-Scale,Scale)) * CFrame.Angles(0,0,0)
  148. PartWeld.Parent = Part
  149.  
  150. local Part = Instance.new("Part",Model)
  151. Part.CanCollide = false
  152. Part.Position = Vector3.new(0,100,0)
  153. Part:BreakJoints()
  154. Part.FormFactor = "Custom"
  155. Part.Size = Vector3.new(0.2,0.2,0.2)
  156. Part.TopSurface = "SmoothNoOutlines"
  157. Part.BottomSurface = "SmoothNoOutlines"
  158. Part.FrontSurface = "SmoothNoOutlines"
  159. Part.BackSurface = "SmoothNoOutlines"
  160. Part.RightSurface = "SmoothNoOutlines"
  161. Part.LeftSurface = "SmoothNoOutlines"
  162. Part.BrickColor = BrickColor.new("Black")
  163. local Mesh = Instance.new("BlockMesh",Part)
  164. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * math.random(-Scale,Scale)
  165. local PartWeld = Instance.new("Motor6D")
  166. PartWeld.Part0 = Handle
  167. PartWeld.Part1 = Part
  168. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*math.random(-Scale,Scale)) * CFrame.Angles(0,0,0)
  169. PartWeld.Parent = Part
  170.  
  171. local Part = Instance.new("Part",Model)
  172. Part.CanCollide = false
  173. Part.Position = Vector3.new(0,100,0)
  174. Part:BreakJoints()
  175. Part.FormFactor = "Custom"
  176. Part.Size = Vector3.new(0.2,0.2,0.2)
  177. Part.TopSurface = "SmoothNoOutlines"
  178. Part.BottomSurface = "SmoothNoOutlines"
  179. Part.FrontSurface = "SmoothNoOutlines"
  180. Part.BackSurface = "SmoothNoOutlines"
  181. Part.RightSurface = "SmoothNoOutlines"
  182. Part.LeftSurface = "SmoothNoOutlines"
  183. Part.BrickColor = BrickColor.new("Black")
  184. local Mesh = Instance.new("BlockMesh",Part)
  185. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * math.random(-Scale,Scale)
  186. local PartWeld = Instance.new("Motor6D")
  187. PartWeld.Part0 = Handle
  188. PartWeld.Part1 = Part
  189. PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*math.random(-Scale,Scale)) * CFrame.Angles(0,0,0)
  190. PartWeld.Parent = Part
  191.  
  192. local Part = Instance.new("Part",Model)
  193. Part.CanCollide = false
  194. Part.Position = Vector3.new(0,100,0)
  195. Part:BreakJoints()
  196. Part.FormFactor = "Custom"
  197. Part.Size = Vector3.new(0.2,0.2,0.2)
  198. Part.TopSurface = "SmoothNoOutlines"
  199. Part.BottomSurface = "SmoothNoOutlines"
  200. Part.FrontSurface = "SmoothNoOutlines"
  201. Part.BackSurface = "SmoothNoOutlines"
  202. Part.RightSurface = "SmoothNoOutlines"
  203. Part.LeftSurface = "SmoothNoOutlines"
  204. Part.BrickColor = BrickColor.new("Black")
  205. local Mesh = Instance.new("BlockMesh",Part)
  206. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * math.random(-Scale,Scale)
  207. local PartWeld = Instance.new("Motor6D")
  208. PartWeld.Part0 = Handle
  209. PartWeld.Part1 = Part
  210. PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*math.random(-Scale,Scale)) * CFrame.Angles(0,0,0)
  211. PartWeld.Parent = Part
  212.  
  213. local Part = Instance.new("Part",Model)
  214. Part.CanCollide = false
  215. Part.Position = Vector3.new(0,100,0)
  216. Part:BreakJoints()
  217. Part.FormFactor = "Custom"
  218. Part.Size = Vector3.new(0.2,0.2,0.2)
  219. Part.TopSurface = "SmoothNoOutlines"
  220. Part.BottomSurface = "SmoothNoOutlines"
  221. Part.FrontSurface = "SmoothNoOutlines"
  222. Part.BackSurface = "SmoothNoOutlines"
  223. Part.RightSurface = "SmoothNoOutlines"
  224. Part.LeftSurface = "SmoothNoOutlines"
  225. Part.BrickColor = BrickColor.new("Black")
  226. local Mesh = Instance.new("BlockMesh",Part)
  227. Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * math.random(-Scale,Scale)
  228. local PartWeld = Instance.new("Motor6D")
  229. PartWeld.Part0 = Handle
  230. PartWeld.Part1 = Part
  231. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.25,-0.75)*math.random(-Scale,Scale)) * CFrame.Angles(math.rad(-10),0,0)
  232. PartWeld.Parent = Part
  233.  
  234. local Part = Instance.new("Part",Model)
  235. Part.CanCollide = false
  236. Part.Position = Vector3.new(0,100,0)
  237. Part:BreakJoints()
  238. Part.FormFactor = "Custom"
  239. Part.Size = Vector3.new(0.2,0.2,0.2)
  240. Part.TopSurface = "SmoothNoOutlines"
  241. Part.BottomSurface = "SmoothNoOutlines"
  242. Part.FrontSurface = "SmoothNoOutlines"
  243. Part.BackSurface = "SmoothNoOutlines"
  244. Part.RightSurface = "SmoothNoOutlines"
  245. Part.LeftSurface = "SmoothNoOutlines"
  246. Part.BrickColor = BrickColor.new("Black")
  247. local Mesh = Instance.new("BlockMesh",Part)
  248. Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * math.random(-Scale,Scale)
  249. local PartWeld = Instance.new("Motor6D")
  250. PartWeld.Part0 = Handle
  251. PartWeld.Part1 = Part
  252. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*math.random(-Scale,Scale))
  253. PartWeld.Parent = Part
  254.  
  255. for i = 0,80,10 do
  256.     local Part = Instance.new("Part",Model)
  257.     Part.CanCollide = false
  258.     Part.Position = Vector3.new(0,100,0)
  259.     Part:BreakJoints()
  260.     Part.FormFactor = "Custom"
  261.     Part.Size = Vector3.new(0.2,0.2,0.2)
  262.     Part.TopSurface = "SmoothNoOutlines"
  263.     Part.BottomSurface = "SmoothNoOutlines"
  264.     Part.FrontSurface = "SmoothNoOutlines"
  265.     Part.BackSurface = "SmoothNoOutlines"
  266.     Part.RightSurface = "SmoothNoOutlines"
  267.     Part.LeftSurface = "SmoothNoOutlines"
  268.     Part.BrickColor = BrickColor.new("Black")
  269.     local Mesh = Instance.new("BlockMesh",Part)
  270.     Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * math.random(-Scale,Scale)
  271.     local PartWeld = Instance.new("Motor6D")
  272.     PartWeld.Part0 = Handle
  273.     PartWeld.Part1 = Part
  274.     PartWeld.C0 = CFrame.new(Vector3.new(0,0.15,0.315)*math.random(-Scale,Scale)) * CFrame.Angles(math.rad(i-65),0,0) * CFrame.new(Vector3.new(0,0.2,0)*math.random(-Scale,Scale))
  275.     PartWeld.Parent = Part
  276. end
  277.  
  278. local Barrel = Instance.new("Part",Model)
  279. Barrel.CanCollide = false
  280. Barrel.Position = Vector3.new(0,100,0)
  281. Barrel:BreakJoints()
  282. Barrel.FormFactor = "Custom"
  283. Barrel.Size = Vector3.new(0.2,0.2,0.2)
  284. Barrel.TopSurface = "SmoothNoOutlines"
  285. Barrel.BottomSurface = "SmoothNoOutlines"
  286. Barrel.FrontSurface = "SmoothNoOutlines"
  287. Barrel.BackSurface = "SmoothNoOutlines"
  288. Barrel.RightSurface = "SmoothNoOutlines"
  289. Barrel.LeftSurface = "SmoothNoOutlines"
  290. Barrel.BrickColor = BrickColor.new("Black")
  291. local Mesh = Instance.new("BlockMesh",Barrel)
  292. Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * math.random(-Scale,Scale)
  293. local BarrelWeld = Instance.new("Motor6D")
  294. BarrelWeld.Part0 = Handle
  295. BarrelWeld.Part1 = Barrel
  296. BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*math.random(-Scale,Scale))
  297. BarrelWeld.Parent = Barrel
  298.  
  299. local Barrel1 = Barrel
  300.  
  301. local Barrel2 = Instance.new("Part",Model)
  302. Barrel2.CanCollide = false
  303. Barrel2.Position = Vector3.new(0,100,0)
  304. Barrel2:BreakJoints()
  305. Barrel2.FormFactor = "Custom"
  306. Barrel2.Size = Vector3.new(0.2,0.2,0.2)
  307. Barrel2.TopSurface = "SmoothNoOutlines"
  308. Barrel2.BottomSurface = "SmoothNoOutlines"
  309. Barrel2.FrontSurface = "SmoothNoOutlines"
  310. Barrel2.BackSurface = "SmoothNoOutlines"
  311. Barrel2.RightSurface = "SmoothNoOutlines"
  312. Barrel2.LeftSurface = "SmoothNoOutlines"
  313. Barrel2.BrickColor = BrickColor.new("Really black")
  314. local Mesh = Instance.new("BlockMesh",Barrel2)
  315. Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
  316. local Barrel2Weld = Instance.new("Motor6D")
  317. Barrel2Weld.Part0 = Barrel
  318. Barrel2Weld.Part1 = Barrel2
  319. Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
  320. Barrel2Weld.Parent = Barrel2
  321.  
  322. local RealBarrel = Instance.new("Part",Model)
  323. RealBarrel.CanCollide = false
  324. RealBarrel.Position = Vector3.new(0,100,0)
  325. RealBarrel:BreakJoints()
  326. RealBarrel.FormFactor = "Custom"
  327. RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
  328. RealBarrel.TopSurface = "SmoothNoOutlines"
  329. RealBarrel.BottomSurface = "SmoothNoOutlines"
  330. RealBarrel.FrontSurface = "SmoothNoOutlines"
  331. RealBarrel.BackSurface = "SmoothNoOutlines"
  332. RealBarrel.RightSurface = "SmoothNoOutlines"
  333. RealBarrel.LeftSurface = "SmoothNoOutlines"
  334. RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
  335. local Mesh = Instance.new("CylinderMesh",RealBarrel)
  336. Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
  337. local RealBarrelWeld = Instance.new("Motor6D")
  338. RealBarrelWeld.Part0 = Barrel
  339. RealBarrelWeld.Part1 = RealBarrel
  340. RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
  341. RealBarrelWeld.Parent = RealBarrel
  342.  
  343. for i = 1,75,15 do
  344.     local Part = Instance.new("Part",Model)
  345.     Part.CanCollide = false
  346.     Part.Position = Vector3.new(0,100,0)
  347.     Part:BreakJoints()
  348.     Part.FormFactor = "Custom"
  349.     Part.Size = Vector3.new(0.2,0.2,0.2)
  350.     Part.TopSurface = "SmoothNoOutlines"
  351.     Part.BottomSurface = "SmoothNoOutlines"
  352.     Part.FrontSurface = "SmoothNoOutlines"
  353.     Part.BackSurface = "SmoothNoOutlines"
  354.     Part.RightSurface = "SmoothNoOutlines"
  355.     Part.LeftSurface = "SmoothNoOutlines"
  356.     Part.BrickColor = BrickColor.new("Black")
  357.     local Mesh = Instance.new("BlockMesh",Part)
  358.     Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
  359.     local PartWeld = Instance.new("Motor6D")
  360.     PartWeld.Part0 = Handle
  361.     PartWeld.Part1 = Part
  362.     PartWeld.C0 = CFrame.new(Vector3.new(0,0.525,-0.515)*Scale) * CFrame.Angles(math.rad(i),0,0) * CFrame.new(Vector3.new(0,0,0.2)*Scale)
  363.     PartWeld.Parent = Part
  364. end
  365.  
  366. local Part = Instance.new("Part",Model)
  367. Part.CanCollide = false
  368. Part.Position = Vector3.new(0,100,0)
  369. Part:BreakJoints()
  370. Part.FormFactor = "Custom"
  371. Part.Size = Vector3.new(0.2,0.2,0.2)
  372. Part.TopSurface = "SmoothNoOutlines"
  373. Part.BottomSurface = "SmoothNoOutlines"
  374. Part.FrontSurface = "SmoothNoOutlines"
  375. Part.BackSurface = "SmoothNoOutlines"
  376. Part.RightSurface = "SmoothNoOutlines"
  377. Part.LeftSurface = "SmoothNoOutlines"
  378. Part.BrickColor = BrickColor.new("Really black")
  379. local Mesh = Instance.new("BlockMesh",Part)
  380. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  381. local PartWeld = Instance.new("Motor6D")
  382. PartWeld.Part0 = Barrel2
  383. PartWeld.Part1 = Part
  384. PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
  385. PartWeld.Parent = Part
  386.  
  387. local Part = Instance.new("Part",Model)
  388. Part.CanCollide = false
  389. Part.Position = Vector3.new(0,100,0)
  390. Part:BreakJoints()
  391. Part.FormFactor = "Custom"
  392. Part.Size = Vector3.new(0.2,0.2,0.2)
  393. Part.TopSurface = "SmoothNoOutlines"
  394. Part.BottomSurface = "SmoothNoOutlines"
  395. Part.FrontSurface = "SmoothNoOutlines"
  396. Part.BackSurface = "SmoothNoOutlines"
  397. Part.RightSurface = "SmoothNoOutlines"
  398. Part.LeftSurface = "SmoothNoOutlines"
  399. Part.BrickColor = BrickColor.new("Really black")
  400. local Mesh = Instance.new("BlockMesh",Part)
  401. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  402. local PartWeld = Instance.new("Motor6D")
  403. PartWeld.Part0 = Barrel2
  404. PartWeld.Part1 = Part
  405. PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
  406. PartWeld.Parent = Part
  407.  
  408. local Part = Instance.new("Part",Model)
  409. Part.CanCollide = false
  410. Part.Position = Vector3.new(0,100,0)
  411. Part:BreakJoints()
  412. Part.FormFactor = "Custom"
  413. Part.Size = Vector3.new(0.2,0.2,0.2)
  414. Part.TopSurface = "SmoothNoOutlines"
  415. Part.BottomSurface = "SmoothNoOutlines"
  416. Part.FrontSurface = "SmoothNoOutlines"
  417. Part.BackSurface = "SmoothNoOutlines"
  418. Part.RightSurface = "SmoothNoOutlines"
  419. Part.LeftSurface = "SmoothNoOutlines"
  420. Part.BrickColor = BrickColor.new("Really black")
  421. local Mesh = Instance.new("BlockMesh",Part)
  422. Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
  423. local PartWeld = Instance.new("Motor6D")
  424. PartWeld.Part0 = Barrel2
  425. PartWeld.Part1 = Part
  426. PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
  427. PartWeld.Parent = Part
  428.  
  429. local Part = Instance.new("Part",Model)
  430. Part.CanCollide = false
  431. Part.Position = Vector3.new(0,100,0)
  432. Part:BreakJoints()
  433. Part.FormFactor = "Custom"
  434. Part.Size = Vector3.new(0.2,0.2,0.2)
  435. Part.Transparency = 1
  436. Part.TopSurface = "SmoothNoOutlines"
  437. Part.BottomSurface = "SmoothNoOutlines"
  438. Part.FrontSurface = "SmoothNoOutlines"
  439. Part.BackSurface = "SmoothNoOutlines"
  440. Part.RightSurface = "SmoothNoOutlines"
  441. Part.LeftSurface = "SmoothNoOutlines"
  442. Part.BrickColor = BrickColor.new("Really black")
  443. local Mesh = Instance.new("BlockMesh",Part)
  444. Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
  445. local PartWeld = Instance.new("Motor6D")
  446. PartWeld.Part0 = Barrel
  447. PartWeld.Part1 = Part
  448. PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
  449. PartWeld.Parent = Part
  450.  
  451. local Light = Instance.new("PointLight",Part)
  452. Light.Color = BrickColor.new("Gold").Color
  453. Light.Enabled = true
  454. Light.Shadows = true
  455. Light.Brightness = 0
  456. Light.Range = 6
  457.  
  458. local Part = Instance.new("Part",Model)
  459. Part.Material = "Neon"
  460. Part.CanCollide = false
  461. Part.Position = Vector3.new(0,100,0)
  462. Part:BreakJoints()
  463. Part.FormFactor = "Custom"
  464. Part.Size = Vector3.new(0.2,0.2,0.2)
  465. Part.TopSurface = "SmoothNoOutlines"
  466. Part.BottomSurface = "SmoothNoOutlines"
  467. Part.FrontSurface = "SmoothNoOutlines"
  468. Part.BackSurface = "SmoothNoOutlines"
  469. Part.RightSurface = "SmoothNoOutlines"
  470. Part.LeftSurface = "SmoothNoOutlines"
  471. Part.BrickColor = BrickColor.new("Bright yellow")
  472. Part.Transparency = 0.25
  473. local RecoilMesh = Instance.new("SpecialMesh",Part)
  474. RecoilMesh.MeshType = "FileMesh"
  475. RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
  476. RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
  477. RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
  478. local PartWeld = Instance.new("Motor6D")
  479. PartWeld.Part0 = RealBarrel
  480. PartWeld.Part1 = Part
  481. PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
  482. PartWeld.Parent = Part
  483.  
  484. function ShootBullet(Target,barrel)
  485. coroutine.resume(coroutine.create(function()
  486.     local barrel = barrel or Barrel
  487.     local Bullet = Instance.new("Part",Workspace)
  488.     Barrel.CanCollide = false
  489.     Bullet.FormFactor = "Custom"
  490.     Bullet.Size = Vector3.new(math.random(5,10)/10,math.random(5,10)/10,math.random(30,50)/10)
  491.     Bullet.TopSurface = "Smooth"
  492.     Bullet.BottomSurface = "Smooth"
  493.     Bullet.Anchored = false
  494.     Bullet.CanCollide = true
  495.     Bullet.CFrame = CFrame.new((barrel.CFrame*CFrame.new(0,0,-barrel.Size.Z*barrel.Mesh.Scale.Z/2)).p,Target)*CFrame.new(0,0,-Bullet.Size.Z/2)
  496.     Bullet.BrickColor = BrickColor.new("Gold")
  497.     Bullet:BreakJoints()
  498.     IgnoreList[#IgnoreList+1] = Bullet
  499.     Bullet.Touched:Connect(function(hit)
  500.         hit:Explode()
  501.     end)
  502.     RenderStepped:wait()
  503.     for i = 1,75,1 do -- Loop to do the bullet movement and stuff.
  504.         Bullet.CFrame = Bullet.CFrame*CFrame.Angles(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)*CFrame.new(0,0,-Speed/1.2)
  505.         RenderStepped:wait()
  506.     end
  507.     Bullet:Destroy()
  508. end))
  509. end
  510.  
  511. Mouse.Button1Down:connect(function()
  512.     if not Down and not DB then
  513.         Down = true
  514.         while Down do
  515.             if Humanoid.Health == 0 then break end
  516.             if not DB then
  517.                 DB = true
  518.                 coroutine.resume(coroutine.create(function()
  519.                     for i = 1,4 do
  520.                         ShootBullet(Mouse.Hit.p,Barrel1)
  521.                     end
  522.                 end))
  523.                 RecoilMesh.VertexColor = Vector3.new(1,math.random(160,245)/255,20/255)
  524.                 PartWeld.C0 = PartWeld.C0 * CFrame.Angles(0,math.rad(math.random(-40,40)),0)
  525.                 local Shell = Instance.new("Part",Workspace)
  526.                 Shell.FormFactor = "Custom"
  527.                 Shell.BrickColor = BrickColor.new("Bright yellow")
  528.                 Shell.Size = Vector3.new(5,1,5)*Scale
  529.                 Shell.CFrame = Barrel.CFrame*CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(-90),0,0)
  530.                 Shell.Velocity = ((Barrel.CFrame*CFrame.new(5,0,math.random(-2,2))).p-Barrel.CFrame.p)*5*Scale
  531.                 Spawn(function()
  532.                     wait(5)
  533.                     Shell:Destroy()
  534.                 end)
  535.                 RenderStepped:wait()
  536.                 DB = false
  537.             end
  538.         end
  539.     end
  540. end)
  541.  
  542. Mouse.Button1Up:connect(function()
  543.     Down = false
  544. end)
  545.  
  546. local Weld = Instance.new("Weld")
  547. Weld.Part0 = Torso
  548. Weld.Part1 = Character["Right Arm"]
  549. Weld.Parent = Torso
  550.  
  551. local Weld2 = Instance.new("Weld")
  552. Weld2.Part0 = Torso
  553. Weld2.Part1 = Character.Head
  554. Weld2.Parent = Torso
  555.  
  556. local RA = Character["Right Arm"]
  557. local bestweld = Instance.new("Weld",Character)
  558. bestweld.Part0 = Character.Torso
  559. bestweld.Part1 = RA
  560. bestweld.C1 = CFrame.new(0,-.5,0)
  561. bestweld.C0 = CFrame.new(1.5,-.5,0)
  562. while true do
  563. Gravity = math.random(-1,1)*100
  564. for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  565. if v:IsA("Part") and v.Name ~= "Head" and v.Parent.ClassName ~= "Accessory" then
  566. v.LocalTransparencyModifier = 0
  567. end
  568. end
  569.     for i,v in pairs(Character:GetDescendants()) do
  570.     if v:IsA("BlockMesh") or v:IsA("CylinderMesh") then
  571.     v.Scale = v.Scale:Lerp(Vector3.new(math.random(3,20)/10,math.random(3,20)/10,math.random(3,20)/10),.3)
  572.     v.Offset = v.Offset:Lerp(Vector3.new(math.random(3,20)/10,math.random(3,20)/10,math.random(3,20)/10),.3)
  573.     end
  574.     end
  575.     local CFr = CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) * CFrame.Angles(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  576.     Weld.C0 = Weld.C0:Lerp(Part0Joint * CFr,.3)
  577.     Weld.C1 = Part1Joint
  578.     Weld.Part0 = Torso
  579.     Weld.Part1 = RA
  580.     local CFr = CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) * CFrame.Angles(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  581.     Weld2.C0 = Weld2.C0:Lerp(Part0Joint * CFr,.3)
  582.     Weld2.C1 = Part1JointHead
  583.     Weld2.Part0 = Torso
  584.     Weld2.Part1 = Character.Head
  585.     local Last = Scale
  586.     Speed = 5
  587.     bestweld.C0 = bestweld.C0:Lerp(CFrame.new(math.random(-15,15)/10,math.random(-5,5)/10,0) * CFrame.Angles(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10),.3)
  588.     HandleWeld.C0 = HandleWeld.C0:Lerp(CFrame.new(math.random(-20,20)/10,math.random(-20,20)/10,math.random(-20,20)/10) * CFrame.Angles(math.random(-20,20)/10,math.random(-20,20)/10,math.random(-20,20)/10),.3)
  589. game:GetService("RunService").Stepped:Wait()
  590. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement