Advertisement
refrop

shoter sans

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