Advertisement
ManlyMemeScripter

Untitled

May 27th, 2018
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.26 KB | None | 0 0
  1. plr = game.Players.LocalPlayer.Character
  2. sauce = Instance.new("Sound", plr.Head)
  3. sauce.SoundId = "http://roblox.com/asset?id=899587448"
  4. sauce.Volume = 2000
  5. sauce:Play()
  6. sauce.Looped = true
  7. p = game.Players.LocalPlayer
  8. char = p.Character
  9. local txt = Instance.new("BillboardGui", char)
  10. txt.Adornee = char.Head
  11. txt.Name = "_status"
  12. txt.Size = UDim2.new(2, 0, 1.2, 0)
  13. txt.StudsOffset = Vector3.new(-9, 8, 0)
  14. local text = Instance.new("TextLabel", txt)
  15. text.Size = UDim2.new(10, 0, 7, 0)
  16. text.FontSize = "Size24"
  17. text.TextScaled = true
  18. text.TextTransparency = 0
  19. text.BackgroundTransparency = 1
  20. text.TextTransparency = 0
  21. text.TextStrokeTransparency = 0
  22. text.Font = "Fantasy"
  23. text.TextStrokeColor3 = Color3.new(0,0,0)
  24. v=Instance.new("Part")
  25. v.Name = "ColorBrick"
  26. v.Parent=p.Character
  27. v.FormFactor="Symmetric"
  28. v.Anchored=true
  29. v.CanCollide=false
  30. v.BottomSurface="Smooth"
  31. v.TopSurface="Smooth"
  32. v.Size=Vector3.new(10,5,3)
  33. v.Transparency=1
  34. v.CFrame=char.Torso.CFrame
  35. v.Transparency=1
  36. text.TextColor3 = Color3.new(255, 0, 0)
  37. v.Shape="Block"
  38. text.Text = "The kid you bullied in columbine"
  39. local Scale = game.Players.LocalPlayer.Character.Torso.Size.X/2*(game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1)*0.8
  40. local Speed = 20*Scale
  41. local Gravity = 0.1
  42.  
  43. local Player = game.Players.LocalPlayer
  44. local Character = Player.Character
  45. local Humanoid = Character.Humanoid
  46. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  47. local Torso = Character.HumanoidRootPart
  48. local Mouse = game.Players.LocalPlayer:GetMouse()
  49. local RenderStepped = game:GetService("RunService").RenderStepped
  50. local Camera = Workspace.CurrentCamera
  51. Camera:ClearAllChildren()
  52. local Model = Instance.new("Model",Character)
  53. local IgnoreList = {Character,Workspace.Terrain}
  54.  
  55. local Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  56. local Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  57. local RotationOffset = CFrame.Angles(math.rad(90),math.rad(0),0)
  58. local Gangster = false
  59.  
  60. local Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  61. local Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  62. local RotationOffsetHead = CFrame.Angles(0,0,0)
  63.  
  64. local Handle = Instance.new("Part",Model)
  65. Handle.CanCollide = false
  66. Handle.Name = "Handle"
  67. Handle.Position = Vector3.new(0,100,0)
  68. Handle:BreakJoints()
  69. Handle.FormFactor = "Custom"
  70. Handle.Size = Vector3.new(0.2,0.2,0.2)
  71. Handle.TopSurface = "SmoothNoOutlines"
  72. Handle.BottomSurface = "SmoothNoOutlines"
  73. Handle.FrontSurface = "SmoothNoOutlines"
  74. Handle.BackSurface = "SmoothNoOutlines"
  75. Handle.RightSurface = "SmoothNoOutlines"
  76. Handle.LeftSurface = "SmoothNoOutlines"
  77. Handle.BrickColor = BrickColor.new("Black")
  78. local Mesh = Instance.new("BlockMesh",Handle)
  79. Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * Scale
  80. local HandleWeld = Instance.new("Motor6D")
  81. HandleWeld.Part0 = Character["Right Arm"]
  82. HandleWeld.Part1 = Handle
  83. HandleWeld.C0 = CFrame.new(Vector3.new(0,-1,0)*Scale) * CFrame.Angles(math.rad(-105),0,0)
  84. HandleWeld.Parent = Handle
  85.  
  86. local Part = Instance.new("Part",Model)
  87. Part.CanCollide = false
  88. Part.Position = Vector3.new(0,100,0)
  89. Part:BreakJoints()
  90. Part.FormFactor = "Custom"
  91. Part.Size = Vector3.new(0.2,0.2,0.2)
  92. Part.TopSurface = "SmoothNoOutlines"
  93. Part.BottomSurface = "SmoothNoOutlines"
  94. Part.FrontSurface = "SmoothNoOutlines"
  95. Part.BackSurface = "SmoothNoOutlines"
  96. Part.RightSurface = "SmoothNoOutlines"
  97. Part.LeftSurface = "SmoothNoOutlines"
  98. Part.BrickColor = BrickColor.new("Black")
  99. local Mesh = Instance.new("CylinderMesh",Part)
  100. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  101. local PartWeld = Instance.new("Motor6D")
  102. PartWeld.Part0 = Handle
  103. PartWeld.Part1 = Part
  104. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  105. PartWeld.Parent = Part
  106.  
  107. local Part = Instance.new("Part",Model)
  108. Part.CanCollide = false
  109. Part.Position = Vector3.new(0,100,0)
  110. Part:BreakJoints()
  111. Part.FormFactor = "Custom"
  112. Part.Size = Vector3.new(0.2,0.2,0.2)
  113. Part.TopSurface = "SmoothNoOutlines"
  114. Part.BottomSurface = "SmoothNoOutlines"
  115. Part.FrontSurface = "SmoothNoOutlines"
  116. Part.BackSurface = "SmoothNoOutlines"
  117. Part.RightSurface = "SmoothNoOutlines"
  118. Part.LeftSurface = "SmoothNoOutlines"
  119. Part.BrickColor = BrickColor.new("Black")
  120. local Mesh = Instance.new("CylinderMesh",Part)
  121. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  122. local PartWeld = Instance.new("Motor6D")
  123. PartWeld.Part0 = Handle
  124. PartWeld.Part1 = Part
  125. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  126. PartWeld.Parent = Part
  127.  
  128. local Part = Instance.new("Part",Model)
  129. Part.CanCollide = false
  130. Part.Position = Vector3.new(0,100,0)
  131. Part:BreakJoints()
  132. Part.FormFactor = "Custom"
  133. Part.Size = Vector3.new(0.2,0.2,0.2)
  134. Part.TopSurface = "SmoothNoOutlines"
  135. Part.BottomSurface = "SmoothNoOutlines"
  136. Part.FrontSurface = "SmoothNoOutlines"
  137. Part.BackSurface = "SmoothNoOutlines"
  138. Part.RightSurface = "SmoothNoOutlines"
  139. Part.LeftSurface = "SmoothNoOutlines"
  140. Part.BrickColor = BrickColor.new("Black")
  141. local Mesh = Instance.new("CylinderMesh",Part)
  142. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  143. local PartWeld = Instance.new("Motor6D")
  144. PartWeld.Part0 = Handle
  145. PartWeld.Part1 = Part
  146. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  147. PartWeld.Parent = Part
  148.  
  149. local Part = Instance.new("Part",Model)
  150. Part.CanCollide = false
  151. Part.Position = Vector3.new(0,100,0)
  152. Part:BreakJoints()
  153. Part.FormFactor = "Custom"
  154. Part.Size = Vector3.new(0.2,0.2,0.2)
  155. Part.TopSurface = "SmoothNoOutlines"
  156. Part.BottomSurface = "SmoothNoOutlines"
  157. Part.FrontSurface = "SmoothNoOutlines"
  158. Part.BackSurface = "SmoothNoOutlines"
  159. Part.RightSurface = "SmoothNoOutlines"
  160. Part.LeftSurface = "SmoothNoOutlines"
  161. Part.BrickColor = BrickColor.new("Black")
  162. local Mesh = Instance.new("CylinderMesh",Part)
  163. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  164. local PartWeld = Instance.new("Motor6D")
  165. PartWeld.Part0 = Handle
  166. PartWeld.Part1 = Part
  167. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  168. PartWeld.Parent = Part
  169.  
  170. local Part = Instance.new("Part",Model)
  171. Part.CanCollide = false
  172. Part.Position = Vector3.new(0,100,0)
  173. Part:BreakJoints()
  174. Part.FormFactor = "Custom"
  175. Part.Size = Vector3.new(0.2,0.2,0.2)
  176. Part.TopSurface = "SmoothNoOutlines"
  177. Part.BottomSurface = "SmoothNoOutlines"
  178. Part.FrontSurface = "SmoothNoOutlines"
  179. Part.BackSurface = "SmoothNoOutlines"
  180. Part.RightSurface = "SmoothNoOutlines"
  181. Part.LeftSurface = "SmoothNoOutlines"
  182. Part.BrickColor = BrickColor.new("Black")
  183. local Mesh = Instance.new("BlockMesh",Part)
  184. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  185. local PartWeld = Instance.new("Motor6D")
  186. PartWeld.Part0 = Handle
  187. PartWeld.Part1 = Part
  188. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*Scale) * CFrame.Angles(0,0,0)
  189. PartWeld.Parent = Part
  190.  
  191. local Part = Instance.new("Part",Model)
  192. Part.CanCollide = false
  193. Part.Position = Vector3.new(0,100,0)
  194. Part:BreakJoints()
  195. Part.FormFactor = "Custom"
  196. Part.Size = Vector3.new(0.2,0.2,0.2)
  197. Part.TopSurface = "SmoothNoOutlines"
  198. Part.BottomSurface = "SmoothNoOutlines"
  199. Part.FrontSurface = "SmoothNoOutlines"
  200. Part.BackSurface = "SmoothNoOutlines"
  201. Part.RightSurface = "SmoothNoOutlines"
  202. Part.LeftSurface = "SmoothNoOutlines"
  203. Part.BrickColor = BrickColor.new("Black")
  204. local Mesh = Instance.new("BlockMesh",Part)
  205. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  206. local PartWeld = Instance.new("Motor6D")
  207. PartWeld.Part0 = Handle
  208. PartWeld.Part1 = Part
  209. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*Scale) * CFrame.Angles(0,0,0)
  210. PartWeld.Parent = Part
  211.  
  212. local Part = Instance.new("Part",Model)
  213. Part.CanCollide = false
  214. Part.Position = Vector3.new(0,100,0)
  215. Part:BreakJoints()
  216. Part.FormFactor = "Custom"
  217. Part.Size = Vector3.new(0.2,0.2,0.2)
  218. Part.TopSurface = "SmoothNoOutlines"
  219. Part.BottomSurface = "SmoothNoOutlines"
  220. Part.FrontSurface = "SmoothNoOutlines"
  221. Part.BackSurface = "SmoothNoOutlines"
  222. Part.RightSurface = "SmoothNoOutlines"
  223. Part.LeftSurface = "SmoothNoOutlines"
  224. Part.BrickColor = BrickColor.new("Black")
  225. local Mesh = Instance.new("BlockMesh",Part)
  226. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  227. local PartWeld = Instance.new("Motor6D")
  228. PartWeld.Part0 = Handle
  229. PartWeld.Part1 = Part
  230. PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  231. PartWeld.Parent = Part
  232.  
  233. local Part = Instance.new("Part",Model)
  234. Part.CanCollide = false
  235. Part.Position = Vector3.new(0,100,0)
  236. Part:BreakJoints()
  237. Part.FormFactor = "Custom"
  238. Part.Size = Vector3.new(0.2,0.2,0.2)
  239. Part.TopSurface = "SmoothNoOutlines"
  240. Part.BottomSurface = "SmoothNoOutlines"
  241. Part.FrontSurface = "SmoothNoOutlines"
  242. Part.BackSurface = "SmoothNoOutlines"
  243. Part.RightSurface = "SmoothNoOutlines"
  244. Part.LeftSurface = "SmoothNoOutlines"
  245. Part.BrickColor = BrickColor.new("Black")
  246. local Mesh = Instance.new("BlockMesh",Part)
  247. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  248. local PartWeld = Instance.new("Motor6D")
  249. PartWeld.Part0 = Handle
  250. PartWeld.Part1 = Part
  251. PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  252. PartWeld.Parent = Part
  253.  
  254. local Part = Instance.new("Part",Model)
  255. Part.CanCollide = false
  256. Part.Position = Vector3.new(0,100,0)
  257. Part:BreakJoints()
  258. Part.FormFactor = "Custom"
  259. Part.Size = Vector3.new(0.2,0.2,0.2)
  260. Part.TopSurface = "SmoothNoOutlines"
  261. Part.BottomSurface = "SmoothNoOutlines"
  262. Part.FrontSurface = "SmoothNoOutlines"
  263. Part.BackSurface = "SmoothNoOutlines"
  264. Part.RightSurface = "SmoothNoOutlines"
  265. Part.LeftSurface = "SmoothNoOutlines"
  266. Part.BrickColor = BrickColor.new("Black")
  267. local Mesh = Instance.new("BlockMesh",Part)
  268. Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * Scale
  269. local PartWeld = Instance.new("Motor6D")
  270. PartWeld.Part0 = Handle
  271. PartWeld.Part1 = Part
  272. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.25,-0.75)*Scale) * CFrame.Angles(math.rad(-10),0,0)
  273. PartWeld.Parent = Part
  274.  
  275. local Part = Instance.new("Part",Model)
  276. Part.CanCollide = false
  277. Part.Position = Vector3.new(0,100,0)
  278. Part:BreakJoints()
  279. Part.FormFactor = "Custom"
  280. Part.Size = Vector3.new(0.2,0.2,0.2)
  281. Part.TopSurface = "SmoothNoOutlines"
  282. Part.BottomSurface = "SmoothNoOutlines"
  283. Part.FrontSurface = "SmoothNoOutlines"
  284. Part.BackSurface = "SmoothNoOutlines"
  285. Part.RightSurface = "SmoothNoOutlines"
  286. Part.LeftSurface = "SmoothNoOutlines"
  287. Part.BrickColor = BrickColor.new("Black")
  288. local Mesh = Instance.new("BlockMesh",Part)
  289. Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * Scale
  290. local PartWeld = Instance.new("Motor6D")
  291. PartWeld.Part0 = Handle
  292. PartWeld.Part1 = Part
  293. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*Scale)
  294. PartWeld.Parent = Part
  295.  
  296. for i = 0,80,10 do
  297. local Part = Instance.new("Part",Model)
  298. Part.CanCollide = false
  299. Part.Position = Vector3.new(0,100,0)
  300. Part:BreakJoints()
  301. Part.FormFactor = "Custom"
  302. Part.Size = Vector3.new(0.2,0.2,0.2)
  303. Part.TopSurface = "SmoothNoOutlines"
  304. Part.BottomSurface = "SmoothNoOutlines"
  305. Part.FrontSurface = "SmoothNoOutlines"
  306. Part.BackSurface = "SmoothNoOutlines"
  307. Part.RightSurface = "SmoothNoOutlines"
  308. Part.LeftSurface = "SmoothNoOutlines"
  309. Part.BrickColor = BrickColor.new("Black")
  310. local Mesh = Instance.new("BlockMesh",Part)
  311. Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * Scale
  312. local PartWeld = Instance.new("Motor6D")
  313. PartWeld.Part0 = Handle
  314. PartWeld.Part1 = Part
  315. PartWeld.C0 = CFrame.new(Vector3.new(0,0.15,0.315)*Scale) * CFrame.Angles(math.rad(i-65),0,0) * CFrame.new(Vector3.new(0,0.2,0)*Scale)
  316. PartWeld.Parent = Part
  317. end
  318.  
  319. local Barrel = Instance.new("Part",Model)
  320. Barrel.CanCollide = false
  321. Barrel.Position = Vector3.new(0,100,0)
  322. Barrel:BreakJoints()
  323. Barrel.FormFactor = "Custom"
  324. Barrel.Size = Vector3.new(0.2,0.2,0.2)
  325. Barrel.TopSurface = "SmoothNoOutlines"
  326. Barrel.BottomSurface = "SmoothNoOutlines"
  327. Barrel.FrontSurface = "SmoothNoOutlines"
  328. Barrel.BackSurface = "SmoothNoOutlines"
  329. Barrel.RightSurface = "SmoothNoOutlines"
  330. Barrel.LeftSurface = "SmoothNoOutlines"
  331. Barrel.BrickColor = BrickColor.new("Black")
  332. local Mesh = Instance.new("BlockMesh",Barrel)
  333. Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
  334. local BarrelWeld = Instance.new("Motor6D")
  335. BarrelWeld.Part0 = Handle
  336. BarrelWeld.Part1 = Barrel
  337. BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
  338. BarrelWeld.Parent = Barrel
  339.  
  340. local Barrel1 = Barrel
  341.  
  342. local Barrel2 = Instance.new("Part",Model)
  343. Barrel2.CanCollide = false
  344. Barrel2.Position = Vector3.new(0,100,0)
  345. Barrel2:BreakJoints()
  346. Barrel2.FormFactor = "Custom"
  347. Barrel2.Size = Vector3.new(0.2,0.2,0.2)
  348. Barrel2.TopSurface = "SmoothNoOutlines"
  349. Barrel2.BottomSurface = "SmoothNoOutlines"
  350. Barrel2.FrontSurface = "SmoothNoOutlines"
  351. Barrel2.BackSurface = "SmoothNoOutlines"
  352. Barrel2.RightSurface = "SmoothNoOutlines"
  353. Barrel2.LeftSurface = "SmoothNoOutlines"
  354. Barrel2.BrickColor = BrickColor.new("Really black")
  355. local Mesh = Instance.new("BlockMesh",Barrel2)
  356. Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
  357. local Barrel2Weld = Instance.new("Motor6D")
  358. Barrel2Weld.Part0 = Barrel
  359. Barrel2Weld.Part1 = Barrel2
  360. Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
  361. Barrel2Weld.Parent = Barrel2
  362.  
  363. local RealBarrel = Instance.new("Part",Model)
  364. RealBarrel.CanCollide = false
  365. RealBarrel.Position = Vector3.new(0,100,0)
  366. RealBarrel:BreakJoints()
  367. RealBarrel.FormFactor = "Custom"
  368. RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
  369. RealBarrel.TopSurface = "SmoothNoOutlines"
  370. RealBarrel.BottomSurface = "SmoothNoOutlines"
  371. RealBarrel.FrontSurface = "SmoothNoOutlines"
  372. RealBarrel.BackSurface = "SmoothNoOutlines"
  373. RealBarrel.RightSurface = "SmoothNoOutlines"
  374. RealBarrel.LeftSurface = "SmoothNoOutlines"
  375. RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
  376. local Mesh = Instance.new("CylinderMesh",RealBarrel)
  377. Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
  378. local RealBarrelWeld = Instance.new("Motor6D")
  379. RealBarrelWeld.Part0 = Barrel
  380. RealBarrelWeld.Part1 = RealBarrel
  381. RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
  382. RealBarrelWeld.Parent = RealBarrel
  383.  
  384. for i = 1,75,15 do
  385. local Part = Instance.new("Part",Model)
  386. Part.CanCollide = false
  387. Part.Position = Vector3.new(0,100,0)
  388. Part:BreakJoints()
  389. Part.FormFactor = "Custom"
  390. Part.Size = Vector3.new(0.2,0.2,0.2)
  391. Part.TopSurface = "SmoothNoOutlines"
  392. Part.BottomSurface = "SmoothNoOutlines"
  393. Part.FrontSurface = "SmoothNoOutlines"
  394. Part.BackSurface = "SmoothNoOutlines"
  395. Part.RightSurface = "SmoothNoOutlines"
  396. Part.LeftSurface = "SmoothNoOutlines"
  397. Part.BrickColor = BrickColor.new("Black")
  398. local Mesh = Instance.new("BlockMesh",Part)
  399. Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
  400. local PartWeld = Instance.new("Motor6D")
  401. PartWeld.Part0 = Handle
  402. PartWeld.Part1 = Part
  403. 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)
  404. PartWeld.Parent = Part
  405. end
  406.  
  407. local Part = Instance.new("Part",Model)
  408. Part.CanCollide = false
  409. Part.Position = Vector3.new(0,100,0)
  410. Part:BreakJoints()
  411. Part.FormFactor = "Custom"
  412. Part.Size = Vector3.new(0.2,0.2,0.2)
  413. Part.TopSurface = "SmoothNoOutlines"
  414. Part.BottomSurface = "SmoothNoOutlines"
  415. Part.FrontSurface = "SmoothNoOutlines"
  416. Part.BackSurface = "SmoothNoOutlines"
  417. Part.RightSurface = "SmoothNoOutlines"
  418. Part.LeftSurface = "SmoothNoOutlines"
  419. Part.BrickColor = BrickColor.new("Really black")
  420. local Mesh = Instance.new("BlockMesh",Part)
  421. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  422. local PartWeld = Instance.new("Motor6D")
  423. PartWeld.Part0 = Barrel2
  424. PartWeld.Part1 = Part
  425. PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
  426. PartWeld.Parent = Part
  427.  
  428. local Part = Instance.new("Part",Model)
  429. Part.CanCollide = false
  430. Part.Position = Vector3.new(0,100,0)
  431. Part:BreakJoints()
  432. Part.FormFactor = "Custom"
  433. Part.Size = Vector3.new(0.2,0.2,0.2)
  434. Part.TopSurface = "SmoothNoOutlines"
  435. Part.BottomSurface = "SmoothNoOutlines"
  436. Part.FrontSurface = "SmoothNoOutlines"
  437. Part.BackSurface = "SmoothNoOutlines"
  438. Part.RightSurface = "SmoothNoOutlines"
  439. Part.LeftSurface = "SmoothNoOutlines"
  440. Part.BrickColor = BrickColor.new("Really black")
  441. local Mesh = Instance.new("BlockMesh",Part)
  442. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  443. local PartWeld = Instance.new("Motor6D")
  444. PartWeld.Part0 = Barrel2
  445. PartWeld.Part1 = Part
  446. PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
  447. PartWeld.Parent = Part
  448.  
  449. local Part = Instance.new("Part",Model)
  450. Part.CanCollide = false
  451. Part.Position = Vector3.new(0,100,0)
  452. Part:BreakJoints()
  453. Part.FormFactor = "Custom"
  454. Part.Size = Vector3.new(0.2,0.2,0.2)
  455. Part.TopSurface = "SmoothNoOutlines"
  456. Part.BottomSurface = "SmoothNoOutlines"
  457. Part.FrontSurface = "SmoothNoOutlines"
  458. Part.BackSurface = "SmoothNoOutlines"
  459. Part.RightSurface = "SmoothNoOutlines"
  460. Part.LeftSurface = "SmoothNoOutlines"
  461. Part.BrickColor = BrickColor.new("Really black")
  462. local Mesh = Instance.new("BlockMesh",Part)
  463. Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
  464. local PartWeld = Instance.new("Motor6D")
  465. PartWeld.Part0 = Barrel2
  466. PartWeld.Part1 = Part
  467. PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
  468. PartWeld.Parent = Part
  469.  
  470. local Part = Instance.new("Part",Model)
  471. Part.CanCollide = false
  472. Part.Position = Vector3.new(0,100,0)
  473. Part:BreakJoints()
  474. Part.FormFactor = "Custom"
  475. Part.Size = Vector3.new(0.2,0.2,0.2)
  476. Part.Transparency = 1
  477. Part.TopSurface = "SmoothNoOutlines"
  478. Part.BottomSurface = "SmoothNoOutlines"
  479. Part.FrontSurface = "SmoothNoOutlines"
  480. Part.BackSurface = "SmoothNoOutlines"
  481. Part.RightSurface = "SmoothNoOutlines"
  482. Part.LeftSurface = "SmoothNoOutlines"
  483. Part.BrickColor = BrickColor.new("Really black")
  484. local Mesh = Instance.new("BlockMesh",Part)
  485. Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
  486. local PartWeld = Instance.new("Motor6D")
  487. PartWeld.Part0 = Barrel
  488. PartWeld.Part1 = Part
  489. PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
  490. PartWeld.Parent = Part
  491.  
  492. local Light = Instance.new("PointLight",Part)
  493. Light.Color = BrickColor.new("Gold").Color
  494. Light.Enabled = true
  495. Light.Shadows = true
  496. Light.Brightness = 0
  497. Light.Range = 6
  498.  
  499. local Part = Instance.new("Part",Model)
  500. Part.Material = "Neon"
  501. Part.CanCollide = false
  502. Part.Position = Vector3.new(0,100,0)
  503. Part:BreakJoints()
  504. Part.FormFactor = "Custom"
  505. Part.Size = Vector3.new(0.2,0.2,0.2)
  506. Part.TopSurface = "SmoothNoOutlines"
  507. Part.BottomSurface = "SmoothNoOutlines"
  508. Part.FrontSurface = "SmoothNoOutlines"
  509. Part.BackSurface = "SmoothNoOutlines"
  510. Part.RightSurface = "SmoothNoOutlines"
  511. Part.LeftSurface = "SmoothNoOutlines"
  512. Part.BrickColor = BrickColor.new("Bright yellow")
  513. Part.Transparency = 0.25
  514. local RecoilMesh = Instance.new("SpecialMesh",Part)
  515. RecoilMesh.MeshType = "FileMesh"
  516. RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
  517. RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
  518. RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
  519. local PartWeld = Instance.new("Motor6D")
  520. PartWeld.Part0 = RealBarrel
  521. PartWeld.Part1 = Part
  522. PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
  523. PartWeld.Parent = Part
  524.  
  525. function ShootBullet(Target,barrel)
  526. local barrel = barrel or Barrel
  527. local Bullet = Instance.new("Part",Workspace)
  528. Barrel.CanCollide = false
  529. Bullet.FormFactor = "Custom"
  530. Bullet.Size = Vector3.new(0.2,0.2,5)*Scale
  531. Bullet.TopSurface = "Smooth"
  532. Bullet.BottomSurface = "Smooth"
  533. Bullet.Anchored = true
  534. Bullet.CanCollide = false
  535. 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)
  536. Bullet.Transparency = 0.1
  537. Bullet.BrickColor = BrickColor.new("Gold")
  538. --[[local Mesh = Instance.new("SpecialMesh",Bullet)
  539. Mesh.MeshType = "FileMesh"
  540. Mesh.Scale = Vector3.new(0.5,0.5,0.2)
  541. Mesh.MeshId = "http://www.roblox.com/asset/?id=2697549"
  542. --Mesh.TextureId = "http://www.roblox.com/asset/?id=2697544"]]
  543. local Mesh = Instance.new("BlockMesh",Bullet)
  544. Mesh.Scale = Vector3.new(0.2,0.2,5)*Scale/Bullet.Size
  545. IgnoreList[#IgnoreList+1] = Bullet
  546. RenderStepped:wait()
  547. for i = Speed,1000,Speed do -- Loop to do the bullet movement and stuff.
  548. local ray,Hit,Pos,SurfaceNormal;
  549. ray = Ray.new(Bullet.Position,((Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)).p-Bullet.Position).unit*Speed)
  550. Hit,Pos,SurfaceNormal = Workspace:FindPartOnRayWithIgnoreList(ray,IgnoreList)
  551. Bullet.CFrame = Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)
  552. if Hit ~= nil then
  553. local Hum = Hit.Parent:FindFirstChild("Humanoid") or Hit.Parent.Parent:FindFirstChild("Humanoid") or (Hit.Parent.Parent.Parent ~= nil and Hit.Parent.Parent.Parent:FindFirstChild("Humanoid"))
  554. if Hum ~= nil then
  555. Hum:TakeDamage((((Gangster and math.random(99999,99999) or math.random(99999,99999))*Scale)/100)*Hum.MaxHealth)
  556. end
  557. break
  558. end
  559. RenderStepped:wait()
  560. end
  561. Bullet:Destroy()
  562. end
  563.  
  564. Mouse.Button1Down:connect(function()
  565. if not Down and not DB then
  566. Down = true
  567. while Down do
  568. if Humanoid.Health == 0 then break end
  569. if not DB then
  570. DB = true
  571. local Sound = Instance.new("Sound",Barrel)
  572. Sound.SoundId = "http://www.roblox.com/Asset/?id=282716906" -- 132373574
  573. Sound.Volume = 5*Scale
  574. Sound.Pitch = (math.random(70,110)/100)/((Scale < 0.25 and 0.25) or (Scale > 4 and 4) or Scale)
  575. Sound:Play()
  576. Spawn(function()
  577. ShootBullet(Mouse.Hit.p,Barrel1)
  578. end)
  579. RecoilMesh.VertexColor = Vector3.new(1,math.random(160,245)/255,20/255)
  580. PartWeld.C0 = PartWeld.C0 * CFrame.Angles(0,math.rad(math.random(-40,40)),0)
  581. local Shell = Instance.new("Part",Workspace)
  582. Shell.FormFactor = "Custom"
  583. Shell.BrickColor = BrickColor.new("Bright yellow")
  584. Shell.Size = Vector3.new(0.2,0.5,0.2)*Scale
  585. Shell.CFrame = Barrel.CFrame*CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(-90),0,0)
  586. Shell.Velocity = ((Barrel.CFrame*CFrame.new(5,0,math.random(-2,2))).p-Barrel.CFrame.p)*5*Scale
  587. local Mesh = Instance.new("CylinderMesh",Shell)
  588. Mesh.Scale = Vector3.new(0.2,0.5,0.2)*Scale/Shell.Size
  589. Spawn(function()
  590. wait(5)
  591. Shell:Destroy()
  592. end)
  593. for i = 1,20,7.5 do
  594. RotationOffset = RotationOffset*CFrame.Angles(math.rad(7.5),0,0)
  595. Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,-0.15,0)*Scale)
  596. Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,0.15)*Scale)
  597. Light.Brightness = Light.Brightness+38
  598. RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,0.375,0)*Scale)
  599. RenderStepped:wait()
  600. end
  601. wait(0.02)
  602. for i = 1,20,3.75 do
  603. RotationOffset = RotationOffset*CFrame.Angles(math.rad(-3.75),0,0)
  604. Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,0.075,0)*Scale)
  605. Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,-0.075)*Scale)
  606. Light.Brightness = Light.Brightness-19
  607. RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,-0.1875,0)*Scale)
  608. RenderStepped:wait()
  609. end
  610. wait(0.02)
  611. DB = false
  612. end
  613. end
  614. end
  615. end)
  616.  
  617. Mouse.Button1Up:connect(function()
  618. Down = false
  619. end)
  620.  
  621. Mouse.KeyDown:connect(function(Key)
  622. if Key:lower() == "g" and not DB then
  623. DB = true
  624. if Gangster == true then
  625. for i = 1,70,5 do
  626. RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(-5),0)
  627. RenderStepped:wait()
  628. end
  629. Gangster = false
  630. else
  631. for i = 1,70,5 do
  632. RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(5),0)
  633. RenderStepped:wait()
  634. end
  635. Gangster = true
  636. end
  637. DB = false
  638. end
  639. end)
  640.  
  641. local Weld = Instance.new("Weld")
  642. Weld.Part0 = Torso
  643. Weld.Part1 = Character["Right Arm"]
  644. Weld.Parent = Torso
  645.  
  646. local Weld2 = Instance.new("Weld")
  647. Weld2.Part0 = Torso
  648. Weld2.Part1 = Character.Head
  649. Weld2.Parent = Torso
  650.  
  651. local RA = Character["Right Arm"]
  652.  
  653. game:GetService("RunService"):BindToRenderStep("Pistol",Enum.RenderPriority.Character.Value,function()
  654. local Point = Torso.CFrame:vectorToObjectSpace(Mouse.Hit.p-Torso.CFrame.p)
  655. if Point.Z > 0 then
  656. if Point.X > 0 then
  657. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
  658. elseif Point.X < 0 then
  659. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
  660. end
  661. end
  662.  
  663. local CFr = (Torso.CFrame*Part0Joint):toObjectSpace(CFrame.new((Torso.CFrame*Part0Joint).p,Mouse.Hit.p))--RayEnd))
  664. Weld.C0 = Part0Joint * (CFr-CFr.p) * RotationOffset
  665. Weld.C1 = Part1Joint
  666. Weld.Part0 = Torso
  667. Weld.Part1 = RA
  668. local CFr = (Torso.CFrame*Part0JointHead):toObjectSpace(CFrame.new((Torso.CFrame*Part0JointHead).p,Mouse.Hit.p))--RayEnd))
  669. Weld2.C0 = Part0JointHead * (CFr-CFr.p) * RotationOffsetHead
  670. Weld2.C1 = Part1JointHead
  671. Weld2.Part0 = Torso
  672. Weld2.Part1 = Character.Head
  673. local Last = Scale
  674. Scale = game.Players.LocalPlayer.Character.Torso.Size.X/2*(game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1)*0.8
  675. Speed = 20*Scale
  676. if Scale ~= Last then
  677. Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  678. Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  679. Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  680. Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  681. end
  682. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement