Advertisement
Hizemack

Untitled

Mar 31st, 2018
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.01 KB | None | 0 0
  1. --=================================--
  2.  
  3.  
  4. -- EDIT BY MELISSA666666GIRL --
  5. -- ORIGINAL SCRIPT --
  6. -- Kirky's Realistic Pistol script --
  7.  
  8. -- https://pastebin.com/raw/2W78wPwu --
  9.  
  10. -- THANKS FOR USING :> --
  11.  
  12.  
  13. --==================================--
  14.  
  15. AnimeHair = false --Change to true to get ANIME HAIR--
  16. TrapShirt = false --Change to true to get a TRAP SHIRT!--
  17.  
  18.  
  19. local Pants = "rbxassetid://889200276"
  20. local Shirt = "rbxassetid://889202926"
  21. local Pants2 = "rbxassetid://756532964"
  22. local Shirt2 = ""
  23. local Pants3 = "rbxassetid://587907973"
  24. local Shirt3 = "rbxassetid://1177765208"
  25. 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
  26. local Speed = 20*Scale
  27. local Gravity = 0.1
  28.  
  29. local Player = game.Players.LocalPlayer
  30. local Character = Player.Character
  31. local Humanoid = Character.Humanoid
  32. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  33. local Torso = Character.HumanoidRootPart
  34. local Mouse = game.Players.LocalPlayer:GetMouse()
  35. local RenderStepped = game:GetService("RunService").RenderStepped
  36. local Camera = Workspace.CurrentCamera
  37. Camera:ClearAllChildren()
  38. local Model = Instance.new("Model",Character)
  39. local IgnoreList = {Character,Workspace.Terrain}
  40.  
  41. Player.Character.Head.face.Texture = "rbxassetid://30233519"
  42.  
  43. if TrapShirt == true then
  44. Player.Character.Shirt.ShirtTexture = "rbxassetid://877679540"
  45. end
  46.  
  47. if AnimeHair == true then
  48. for i,v in pairs(Character:GetChildren()) do
  49. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  50. v:destroy()
  51. end
  52. end
  53.  
  54. local Hair = Instance.new("Part")
  55. Hair.Parent = Character
  56. Hair.Name = "Hair"
  57. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  58. Hair.CFrame = Character.Head.CFrame
  59. Hair:BreakJoints()
  60. Hair.CanCollide = false
  61. Hair.BrickColor = BrickColor.new("New Yeller")
  62. Hair.TopSurface = "Smooth"
  63. Hair.BottomSurface = "Smooth"
  64. Weld = Instance.new("Weld")
  65. Weld.Name = "Weld"
  66. Weld.Part0 = Character.Head
  67. Weld.Part1 = Hair
  68. Weld.Parent = Character.Head
  69. Weld.C0 = CFrame.new(0, -1.4, 0.2)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0)
  70. Mesh = Instance.new("SpecialMesh")
  71. Mesh.Parent = Hair
  72. Mesh.MeshId = "rbxassetid://1389678629"
  73. Mesh.TextureId = "http://www.roblox.com/asset/?id=1389678737"
  74. Mesh.Scale = Vector3.new(0.050, 0.050, 0.050)
  75. end
  76.  
  77.  
  78. z = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  79. z.SoundId = "rbxassetid://974451759"
  80. z.Looped = true
  81. z.Pitch = 1.2
  82. z.Volume = 4
  83. wait(.1)
  84. z:Play()
  85.  
  86. local Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  87. local Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  88. local RotationOffset = CFrame.Angles(math.rad(90),math.rad(0),0)
  89. local Gangster = false
  90.  
  91. local Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  92. local Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  93. local RotationOffsetHead = CFrame.Angles(0,0,0)
  94.  
  95. local Handle = Instance.new("Part",Model)
  96. Handle.CanCollide = false
  97. Handle.Name = "Handle"
  98. Handle.Position = Vector3.new(0,100,0)
  99. Handle:BreakJoints()
  100. Handle.FormFactor = "Custom"
  101. Handle.Size = Vector3.new(0.2,0.2,0.2)
  102. Handle.TopSurface = "SmoothNoOutlines"
  103. Handle.BottomSurface = "SmoothNoOutlines"
  104. Handle.FrontSurface = "SmoothNoOutlines"
  105. Handle.BackSurface = "SmoothNoOutlines"
  106. Handle.RightSurface = "SmoothNoOutlines"
  107. Handle.LeftSurface = "SmoothNoOutlines"
  108. Handle.BrickColor = BrickColor.new("Pink")
  109. Handle.Material = "Neon"
  110. local Mesh = Instance.new("BlockMesh",Handle)
  111. Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * Scale
  112. local HandleWeld = Instance.new("Motor6D")
  113. HandleWeld.Part0 = Character["Right Arm"]
  114. HandleWeld.Part1 = Handle
  115. HandleWeld.C0 = CFrame.new(Vector3.new(0,-1,0)*Scale) * CFrame.Angles(math.rad(-105),0,0)
  116. HandleWeld.Parent = Handle
  117.  
  118. local Part = Instance.new("Part",Model)
  119. Part.CanCollide = false
  120. Part.Position = Vector3.new(0,100,0)
  121. Part:BreakJoints()
  122. Part.FormFactor = "Custom"
  123. Part.Size = Vector3.new(0.2,0.2,0.2)
  124. Part.TopSurface = "SmoothNoOutlines"
  125. Part.BottomSurface = "SmoothNoOutlines"
  126. Part.FrontSurface = "SmoothNoOutlines"
  127. Part.BackSurface = "SmoothNoOutlines"
  128. Part.RightSurface = "SmoothNoOutlines"
  129. Part.LeftSurface = "SmoothNoOutlines"
  130. Part.BrickColor = BrickColor.new("Pink")
  131. Part.Material = "Neon"
  132. local Mesh = Instance.new("CylinderMesh",Part)
  133. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  134. local PartWeld = Instance.new("Motor6D")
  135. PartWeld.Part0 = Handle
  136. PartWeld.Part1 = Part
  137. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  138. PartWeld.Parent = Part
  139.  
  140. local Part = Instance.new("Part",Model)
  141. Part.CanCollide = false
  142. Part.Position = Vector3.new(0,100,0)
  143. Part:BreakJoints()
  144. Part.FormFactor = "Custom"
  145. Part.Size = Vector3.new(0.2,0.2,0.2)
  146. Part.TopSurface = "SmoothNoOutlines"
  147. Part.BottomSurface = "SmoothNoOutlines"
  148. Part.FrontSurface = "SmoothNoOutlines"
  149. Part.BackSurface = "SmoothNoOutlines"
  150. Part.RightSurface = "SmoothNoOutlines"
  151. Part.LeftSurface = "SmoothNoOutlines"
  152. Part.BrickColor = BrickColor.new("Pink")
  153. Part.Material = "Neon"
  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("Pink")
  175. Part.Material = "Neon"
  176. local Mesh = Instance.new("CylinderMesh",Part)
  177. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  178. local PartWeld = Instance.new("Motor6D")
  179. PartWeld.Part0 = Handle
  180. PartWeld.Part1 = Part
  181. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  182. PartWeld.Parent = Part
  183.  
  184. local Part = Instance.new("Part",Model)
  185. Part.CanCollide = false
  186. Part.Position = Vector3.new(0,100,0)
  187. Part:BreakJoints()
  188. Part.FormFactor = "Custom"
  189. Part.Size = Vector3.new(0.2,0.2,0.2)
  190. Part.TopSurface = "SmoothNoOutlines"
  191. Part.BottomSurface = "SmoothNoOutlines"
  192. Part.FrontSurface = "SmoothNoOutlines"
  193. Part.BackSurface = "SmoothNoOutlines"
  194. Part.RightSurface = "SmoothNoOutlines"
  195. Part.LeftSurface = "SmoothNoOutlines"
  196. Part.BrickColor = BrickColor.new("Pink")
  197. Part.Material = "Neon"
  198. local Mesh = Instance.new("CylinderMesh",Part)
  199. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  200. local PartWeld = Instance.new("Motor6D")
  201. PartWeld.Part0 = Handle
  202. PartWeld.Part1 = Part
  203. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  204. PartWeld.Parent = Part
  205.  
  206. local Part = Instance.new("Part",Model)
  207. Part.CanCollide = false
  208. Part.Position = Vector3.new(0,100,0)
  209. Part:BreakJoints()
  210. Part.FormFactor = "Custom"
  211. Part.Size = Vector3.new(0.2,0.2,0.2)
  212. Part.TopSurface = "SmoothNoOutlines"
  213. Part.BottomSurface = "SmoothNoOutlines"
  214. Part.FrontSurface = "SmoothNoOutlines"
  215. Part.BackSurface = "SmoothNoOutlines"
  216. Part.RightSurface = "SmoothNoOutlines"
  217. Part.LeftSurface = "SmoothNoOutlines"
  218. Part.BrickColor = BrickColor.new("Pink")
  219. Part.Material = "Neon"
  220. local Mesh = Instance.new("BlockMesh",Part)
  221. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  222. local PartWeld = Instance.new("Motor6D")
  223. PartWeld.Part0 = Handle
  224. PartWeld.Part1 = Part
  225. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*Scale) * CFrame.Angles(0,0,0)
  226. PartWeld.Parent = Part
  227.  
  228. local Part = Instance.new("Part",Model)
  229. Part.CanCollide = false
  230. Part.Position = Vector3.new(0,100,0)
  231. Part:BreakJoints()
  232. Part.FormFactor = "Custom"
  233. Part.Size = Vector3.new(0.2,0.2,0.2)
  234. Part.TopSurface = "SmoothNoOutlines"
  235. Part.BottomSurface = "SmoothNoOutlines"
  236. Part.FrontSurface = "SmoothNoOutlines"
  237. Part.BackSurface = "SmoothNoOutlines"
  238. Part.RightSurface = "SmoothNoOutlines"
  239. Part.LeftSurface = "SmoothNoOutlines"
  240. Part.BrickColor = BrickColor.new("Pink")
  241. Part.Material = "Neon"
  242. local Mesh = Instance.new("BlockMesh",Part)
  243. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  244. local PartWeld = Instance.new("Motor6D")
  245. PartWeld.Part0 = Handle
  246. PartWeld.Part1 = Part
  247. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*Scale) * CFrame.Angles(0,0,0)
  248. PartWeld.Parent = Part
  249.  
  250. local Part = Instance.new("Part",Model)
  251. Part.CanCollide = false
  252. Part.Position = Vector3.new(0,100,0)
  253. Part:BreakJoints()
  254. Part.FormFactor = "Custom"
  255. Part.Size = Vector3.new(0.2,0.2,0.2)
  256. Part.TopSurface = "SmoothNoOutlines"
  257. Part.BottomSurface = "SmoothNoOutlines"
  258. Part.FrontSurface = "SmoothNoOutlines"
  259. Part.BackSurface = "SmoothNoOutlines"
  260. Part.RightSurface = "SmoothNoOutlines"
  261. Part.LeftSurface = "SmoothNoOutlines"
  262. Part.BrickColor = BrickColor.new("Pink")
  263. Part.Material = "Neon"
  264. local Mesh = Instance.new("BlockMesh",Part)
  265. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  266. local PartWeld = Instance.new("Motor6D")
  267. PartWeld.Part0 = Handle
  268. PartWeld.Part1 = Part
  269. PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  270. PartWeld.Parent = Part
  271.  
  272. local Part = Instance.new("Part",Model)
  273. Part.CanCollide = false
  274. Part.Position = Vector3.new(0,100,0)
  275. Part:BreakJoints()
  276. Part.FormFactor = "Custom"
  277. Part.Size = Vector3.new(0.2,0.2,0.2)
  278. Part.TopSurface = "SmoothNoOutlines"
  279. Part.BottomSurface = "SmoothNoOutlines"
  280. Part.FrontSurface = "SmoothNoOutlines"
  281. Part.BackSurface = "SmoothNoOutlines"
  282. Part.RightSurface = "SmoothNoOutlines"
  283. Part.LeftSurface = "SmoothNoOutlines"
  284. Part.BrickColor = BrickColor.new("Pink")
  285. Part.Material = "Neon"
  286. local Mesh = Instance.new("BlockMesh",Part)
  287. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  288. local PartWeld = Instance.new("Motor6D")
  289. PartWeld.Part0 = Handle
  290. PartWeld.Part1 = Part
  291. PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  292. PartWeld.Parent = Part
  293.  
  294. local Part = Instance.new("Part",Model)
  295. Part.CanCollide = false
  296. Part.Position = Vector3.new(0,100,0)
  297. Part:BreakJoints()
  298. Part.FormFactor = "Custom"
  299. Part.Size = Vector3.new(0.2,0.2,0.2)
  300. Part.TopSurface = "SmoothNoOutlines"
  301. Part.BottomSurface = "SmoothNoOutlines"
  302. Part.FrontSurface = "SmoothNoOutlines"
  303. Part.BackSurface = "SmoothNoOutlines"
  304. Part.RightSurface = "SmoothNoOutlines"
  305. Part.LeftSurface = "SmoothNoOutlines"
  306. Part.BrickColor = BrickColor.new("Pink")
  307. Part.Material = "Neon"
  308. local Mesh = Instance.new("BlockMesh",Part)
  309. Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * Scale
  310. local PartWeld = Instance.new("Motor6D")
  311. PartWeld.Part0 = Handle
  312. PartWeld.Part1 = Part
  313. 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)
  314. PartWeld.Parent = Part
  315.  
  316. local Part = Instance.new("Part",Model)
  317. Part.CanCollide = false
  318. Part.Position = Vector3.new(0,100,0)
  319. Part:BreakJoints()
  320. Part.FormFactor = "Custom"
  321. Part.Size = Vector3.new(0.2,0.2,0.2)
  322. Part.TopSurface = "SmoothNoOutlines"
  323. Part.BottomSurface = "SmoothNoOutlines"
  324. Part.FrontSurface = "SmoothNoOutlines"
  325. Part.BackSurface = "SmoothNoOutlines"
  326. Part.RightSurface = "SmoothNoOutlines"
  327. Part.LeftSurface = "SmoothNoOutlines"
  328. Part.BrickColor = BrickColor.new("Pink")
  329. Part.Material = "Neon"
  330. local Mesh = Instance.new("BlockMesh",Part)
  331. Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * Scale
  332. local PartWeld = Instance.new("Motor6D")
  333. PartWeld.Part0 = Handle
  334. PartWeld.Part1 = Part
  335. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*Scale)
  336. PartWeld.Parent = Part
  337.  
  338. for i = 0,80,10 do
  339. local Part = Instance.new("Part",Model)
  340. Part.CanCollide = false
  341. Part.Position = Vector3.new(0,100,0)
  342. Part:BreakJoints()
  343. Part.FormFactor = "Custom"
  344. Part.Size = Vector3.new(0.2,0.2,0.2)
  345. Part.TopSurface = "SmoothNoOutlines"
  346. Part.BottomSurface = "SmoothNoOutlines"
  347. Part.FrontSurface = "SmoothNoOutlines"
  348. Part.BackSurface = "SmoothNoOutlines"
  349. Part.RightSurface = "SmoothNoOutlines"
  350. Part.LeftSurface = "SmoothNoOutlines"
  351. Part.BrickColor = BrickColor.new("Pink")
  352. Part.Material = "Neon"
  353. local Mesh = Instance.new("BlockMesh",Part)
  354. Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * Scale
  355. local PartWeld = Instance.new("Motor6D")
  356. PartWeld.Part0 = Handle
  357. PartWeld.Part1 = Part
  358. 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)
  359. PartWeld.Parent = Part
  360. end
  361.  
  362. local Barrel = Instance.new("Part",Model)
  363. Barrel.CanCollide = false
  364. Barrel.Position = Vector3.new(0,100,0)
  365. Barrel:BreakJoints()
  366. Barrel.FormFactor = "Custom"
  367. Barrel.Size = Vector3.new(0.2,0.2,0.2)
  368. Barrel.TopSurface = "SmoothNoOutlines"
  369. Barrel.BottomSurface = "SmoothNoOutlines"
  370. Barrel.FrontSurface = "SmoothNoOutlines"
  371. Barrel.BackSurface = "SmoothNoOutlines"
  372. Barrel.RightSurface = "SmoothNoOutlines"
  373. Barrel.LeftSurface = "SmoothNoOutlines"
  374. Barrel.BrickColor = BrickColor.new("Pink")
  375. Barrel.Material = "Neon"
  376. local Mesh = Instance.new("BlockMesh",Barrel)
  377. Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
  378. local BarrelWeld = Instance.new("Motor6D")
  379. BarrelWeld.Part0 = Handle
  380. BarrelWeld.Part1 = Barrel
  381. BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
  382. BarrelWeld.Parent = Barrel
  383.  
  384. local Barrel1 = Barrel
  385.  
  386. local Barrel2 = Instance.new("Part",Model)
  387. Barrel2.CanCollide = false
  388. Barrel2.Position = Vector3.new(0,100,0)
  389. Barrel2:BreakJoints()
  390. Barrel2.FormFactor = "Custom"
  391. Barrel2.Size = Vector3.new(0.2,0.2,0.2)
  392. Barrel2.TopSurface = "SmoothNoOutlines"
  393. Barrel2.BottomSurface = "SmoothNoOutlines"
  394. Barrel2.FrontSurface = "SmoothNoOutlines"
  395. Barrel2.BackSurface = "SmoothNoOutlines"
  396. Barrel2.RightSurface = "SmoothNoOutlines"
  397. Barrel2.LeftSurface = "SmoothNoOutlines"
  398. Barrel2.BrickColor = BrickColor.new("Magenta")
  399. Barrel2.Material = "Neon"
  400. local Mesh = Instance.new("BlockMesh",Barrel2)
  401. Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
  402. local Barrel2Weld = Instance.new("Motor6D")
  403. Barrel2Weld.Part0 = Barrel
  404. Barrel2Weld.Part1 = Barrel2
  405. Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
  406. Barrel2Weld.Parent = Barrel2
  407.  
  408. local RealBarrel = Instance.new("Part",Model)
  409. RealBarrel.CanCollide = false
  410. RealBarrel.Position = Vector3.new(0,100,0)
  411. RealBarrel:BreakJoints()
  412. RealBarrel.FormFactor = "Custom"
  413. RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
  414. RealBarrel.TopSurface = "SmoothNoOutlines"
  415. RealBarrel.BottomSurface = "SmoothNoOutlines"
  416. RealBarrel.FrontSurface = "SmoothNoOutlines"
  417. RealBarrel.BackSurface = "SmoothNoOutlines"
  418. RealBarrel.RightSurface = "SmoothNoOutlines"
  419. RealBarrel.LeftSurface = "SmoothNoOutlines"
  420. RealBarrel.BrickColor = BrickColor.new("Black")
  421. RealBarrel.Material = "Neon"
  422. local Mesh = Instance.new("CylinderMesh",RealBarrel)
  423. Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
  424. local RealBarrelWeld = Instance.new("Motor6D")
  425. RealBarrelWeld.Part0 = Barrel
  426. RealBarrelWeld.Part1 = RealBarrel
  427. RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
  428. RealBarrelWeld.Parent = RealBarrel
  429.  
  430. for i = 1,75,15 do
  431. local Part = Instance.new("Part",Model)
  432. Part.CanCollide = false
  433. Part.Position = Vector3.new(0,100,0)
  434. Part:BreakJoints()
  435. Part.FormFactor = "Custom"
  436. Part.Size = Vector3.new(0.2,0.2,0.2)
  437. Part.TopSurface = "SmoothNoOutlines"
  438. Part.BottomSurface = "SmoothNoOutlines"
  439. Part.FrontSurface = "SmoothNoOutlines"
  440. Part.BackSurface = "SmoothNoOutlines"
  441. Part.RightSurface = "SmoothNoOutlines"
  442. Part.LeftSurface = "SmoothNoOutlines"
  443. Part.BrickColor = BrickColor.new("Pink")
  444. Part.Material = "Neon"
  445. local Mesh = Instance.new("BlockMesh",Part)
  446. Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
  447. local PartWeld = Instance.new("Motor6D")
  448. PartWeld.Part0 = Handle
  449. PartWeld.Part1 = Part
  450. 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)
  451. PartWeld.Parent = Part
  452. end
  453.  
  454. local Part = Instance.new("Part",Model)
  455. Part.CanCollide = false
  456. Part.Position = Vector3.new(0,100,0)
  457. Part:BreakJoints()
  458. Part.FormFactor = "Custom"
  459. Part.Size = Vector3.new(0.2,0.2,0.2)
  460. Part.TopSurface = "SmoothNoOutlines"
  461. Part.BottomSurface = "SmoothNoOutlines"
  462. Part.FrontSurface = "SmoothNoOutlines"
  463. Part.BackSurface = "SmoothNoOutlines"
  464. Part.RightSurface = "SmoothNoOutlines"
  465. Part.LeftSurface = "SmoothNoOutlines"
  466. Part.BrickColor = BrickColor.new("Magenta")
  467. Part.Material = "Neon"
  468. local Mesh = Instance.new("BlockMesh",Part)
  469. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  470. local PartWeld = Instance.new("Motor6D")
  471. PartWeld.Part0 = Barrel2
  472. PartWeld.Part1 = Part
  473. PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
  474. PartWeld.Parent = Part
  475.  
  476. local Part = Instance.new("Part",Model)
  477. Part.CanCollide = false
  478. Part.Position = Vector3.new(0,100,0)
  479. Part:BreakJoints()
  480. Part.FormFactor = "Custom"
  481. Part.Size = Vector3.new(0.2,0.2,0.2)
  482. Part.TopSurface = "SmoothNoOutlines"
  483. Part.BottomSurface = "SmoothNoOutlines"
  484. Part.FrontSurface = "SmoothNoOutlines"
  485. Part.BackSurface = "SmoothNoOutlines"
  486. Part.RightSurface = "SmoothNoOutlines"
  487. Part.LeftSurface = "SmoothNoOutlines"
  488. Part.BrickColor = BrickColor.new("Magenta")
  489. Part.Material = "Neon"
  490. local Mesh = Instance.new("BlockMesh",Part)
  491. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  492. local PartWeld = Instance.new("Motor6D")
  493. PartWeld.Part0 = Barrel2
  494. PartWeld.Part1 = Part
  495. PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
  496. PartWeld.Parent = Part
  497.  
  498. local Part = Instance.new("Part",Model)
  499. Part.CanCollide = false
  500. Part.Position = Vector3.new(0,100,0)
  501. Part:BreakJoints()
  502. Part.FormFactor = "Custom"
  503. Part.Size = Vector3.new(0.2,0.2,0.2)
  504. Part.TopSurface = "SmoothNoOutlines"
  505. Part.BottomSurface = "SmoothNoOutlines"
  506. Part.FrontSurface = "SmoothNoOutlines"
  507. Part.BackSurface = "SmoothNoOutlines"
  508. Part.RightSurface = "SmoothNoOutlines"
  509. Part.LeftSurface = "SmoothNoOutlines"
  510. Part.BrickColor = BrickColor.new("Magenta")
  511. Part.Material = "Neon"
  512. local Mesh = Instance.new("BlockMesh",Part)
  513. Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
  514. local PartWeld = Instance.new("Motor6D")
  515. PartWeld.Part0 = Barrel2
  516. PartWeld.Part1 = Part
  517. PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
  518. PartWeld.Parent = Part
  519.  
  520. local Part = Instance.new("Part",Model)
  521. Part.CanCollide = false
  522. Part.Position = Vector3.new(0,100,0)
  523. Part:BreakJoints()
  524. Part.FormFactor = "Custom"
  525. Part.Size = Vector3.new(0.2,0.2,0.2)
  526. Part.Transparency = 1
  527. Part.TopSurface = "SmoothNoOutlines"
  528. Part.BottomSurface = "SmoothNoOutlines"
  529. Part.FrontSurface = "SmoothNoOutlines"
  530. Part.BackSurface = "SmoothNoOutlines"
  531. Part.RightSurface = "SmoothNoOutlines"
  532. Part.LeftSurface = "SmoothNoOutlines"
  533. Part.BrickColor = BrickColor.new("Magenta")
  534. Part.Material = "Neon"
  535. local Mesh = Instance.new("BlockMesh",Part)
  536. Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
  537. local PartWeld = Instance.new("Motor6D")
  538. PartWeld.Part0 = Barrel
  539. PartWeld.Part1 = Part
  540. PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
  541. PartWeld.Parent = Part
  542.  
  543. local Light = Instance.new("PointLight",Part)
  544. Light.Color = BrickColor.new("Gold").Color
  545. Light.Enabled = true
  546. Light.Shadows = true
  547. Light.Brightness = 0
  548. Light.Range = 6
  549.  
  550. local Part = Instance.new("Part",Model)
  551. Part.Material = "Neon"
  552. Part.CanCollide = false
  553. Part.Position = Vector3.new(0,100,0)
  554. Part:BreakJoints()
  555. Part.FormFactor = "Custom"
  556. Part.Size = Vector3.new(0.2,0.2,0.2)
  557. Part.TopSurface = "SmoothNoOutlines"
  558. Part.BottomSurface = "SmoothNoOutlines"
  559. Part.FrontSurface = "SmoothNoOutlines"
  560. Part.BackSurface = "SmoothNoOutlines"
  561. Part.RightSurface = "SmoothNoOutlines"
  562. Part.LeftSurface = "SmoothNoOutlines"
  563. Part.BrickColor = BrickColor.new("Purple")
  564. Part.Material = "Neon"
  565. Part.Transparency = 0.25
  566. local RecoilMesh = Instance.new("SpecialMesh",Part)
  567. RecoilMesh.MeshType = "FileMesh"
  568. RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
  569. RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
  570. RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
  571. local PartWeld = Instance.new("Motor6D")
  572. PartWeld.Part0 = RealBarrel
  573. PartWeld.Part1 = Part
  574. PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
  575. PartWeld.Parent = Part
  576.  
  577. function ShootBullet(Target,barrel)
  578. local barrel = barrel or Barrel
  579. local Bullet = Instance.new("Part",Workspace)
  580. Barrel.CanCollide = false
  581. Bullet.FormFactor = "Custom"
  582. Bullet.Size = Vector3.new(0.2,0.2,5)*Scale
  583. Bullet.TopSurface = "Smooth"
  584. Bullet.BottomSurface = "Smooth"
  585. Bullet.Anchored = true
  586. Bullet.CanCollide = false
  587. 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)
  588. Bullet.Transparency = 0.1
  589. Bullet.BrickColor = BrickColor.new("Purple")
  590. Bullet.Material = "Neon"
  591. --[[local Mesh = Instance.new("SpecialMesh",Bullet)
  592. Mesh.MeshType = "FileMesh"
  593. Mesh.Scale = Vector3.new(0.5,0.5,0.2)
  594. Mesh.MeshId = "http://www.roblox.com/asset/?id=2697549"
  595. --Mesh.TextureId = "http://www.roblox.com/asset/?id=2697544"]]
  596. local Mesh = Instance.new("BlockMesh",Bullet)
  597. Mesh.Scale = Vector3.new(0.2,0.2,5)*Scale/Bullet.Size
  598. IgnoreList[#IgnoreList+1] = Bullet
  599. RenderStepped:wait()
  600. for i = Speed,1000,Speed do -- Loop to do the bullet movement and stuff.
  601. local ray,Hit,Pos,SurfaceNormal;
  602. ray = Ray.new(Bullet.Position,((Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)).p-Bullet.Position).unit*Speed)
  603. Hit,Pos,SurfaceNormal = Workspace:FindPartOnRayWithIgnoreList(ray,IgnoreList)
  604. Bullet.CFrame = Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)
  605. if Hit ~= nil then
  606. 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"))
  607. if Hum ~= nil then
  608. player2 = Hit.Parent
  609. Hum:TakeDamage(5)
  610. if Hum.Parent.Torso == nil then
  611. q = Instance.new("Sound", Hum.Parent.UpperTorso)
  612. q.SoundId = "rbxassetid://924357545"
  613. q:Play()
  614.  
  615. elseif Hum.Parent.Torso ~= nil then
  616. q = Instance.new("Sound", Hum.Parent.Torso)
  617. q.SoundId = "rbxassetid://924357545"
  618. q:Play()
  619.  
  620. end
  621.  
  622. for i,v in pairs(player2:GetChildren()) do
  623. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  624. v:destroy()
  625. end
  626. end
  627.  
  628. local Hair = Instance.new("Part")
  629. Hair.Parent = player2
  630. Hair.Name = "Hair"
  631. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  632. Hair.CFrame = player2.Head.CFrame
  633. Hair:BreakJoints()
  634. Hair.CanCollide = false
  635. Hair.BrickColor = BrickColor.new("New Yeller")
  636. Hair.TopSurface = "Smooth"
  637. Hair.BottomSurface = "Smooth"
  638. Weld = Instance.new("Weld")
  639. Weld.Name = "Weld"
  640. Weld.Part0 = player2.Head
  641. Weld.Part1 = Hair
  642. Weld.Parent = player2.Head
  643. Weld.C0 = CFrame.new(0, -1.4, 0.2)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0)
  644. Mesh = Instance.new("SpecialMesh")
  645. Mesh.Parent = Hair
  646. Mesh.MeshId = "rbxassetid://1389678629"
  647. Mesh.TextureId = "http://www.roblox.com/asset/?id=1389678737"
  648. Mesh.Scale = Vector3.new(0.050, 0.050, 0.050)
  649. Hum.Parent.Head.face.Texture = "rbxassetid://318927908"
  650.  
  651. local num = math.random(1, 3)
  652. print(num)
  653. local charPants = player2:FindFirstChildOfClass("Pants")
  654. local charShirt = player2: FindFirstChildOfClass("Shirt")
  655. if charPants and charShirt then
  656. if num == 1 then
  657. charShirt.ShirtTemplate = Shirt
  658. charPants.PantsTemplate = Pants
  659. elseif num == 2 then
  660. charShirt.ShirtTemplate = Shirt2
  661. charPants.PantsTemplate = Pants2
  662. elseif num == 3 then
  663. charShirt.ShirtTemplate = Shirt3
  664. charPants.PantsTemplate = Pants3
  665. end
  666. end
  667. end
  668. break
  669. end
  670. RenderStepped:wait()
  671. end
  672. Bullet:Destroy()
  673. end
  674.  
  675. Mouse.Button1Down:connect(function()
  676. if not Down and not DB then
  677. Down = true
  678. while Down do
  679. if Humanoid.Health == 0 then break end
  680. if not DB then
  681. DB = true
  682. local Sound = Instance.new("Sound",Barrel)
  683. Sound.SoundId = "rbxassetid://426232201" -- 132373574
  684. Sound.Volume = 5*Scale
  685. Sound.Pitch = (math.random(70,110)/100)/((Scale < 0.25 and 0.25) or (Scale > 4 and 4) or Scale)
  686. Sound:Play()
  687. Spawn(function()
  688. ShootBullet(Mouse.Hit.p,Barrel1)
  689. end)
  690. RecoilMesh.VertexColor = Vector3.new(1,math.random(160,245)/255,20/255)
  691. PartWeld.C0 = PartWeld.C0 * CFrame.Angles(0,math.rad(math.random(-40,40)),0)
  692. local Shell = Instance.new("Part",Workspace)
  693. Shell.FormFactor = "Custom"
  694. Shell.BrickColor = BrickColor.new("Purple")
  695. Shell.Material = "Neon"
  696. Shell.Size = Vector3.new(0.2,0.5,0.2)*Scale
  697. Shell.CFrame = Barrel.CFrame*CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(-90),0,0)
  698. Shell.Velocity = ((Barrel.CFrame*CFrame.new(5,0,math.random(-2,2))).p-Barrel.CFrame.p)*5*Scale
  699. local Mesh = Instance.new("CylinderMesh",Shell)
  700. Mesh.Scale = Vector3.new(0.2,0.5,0.2)*Scale/Shell.Size
  701. Spawn(function()
  702. wait(5)
  703. Shell:Destroy()
  704. end)
  705. for i = 1,20,7.5 do
  706. RotationOffset = RotationOffset*CFrame.Angles(math.rad(7.5),0,0)
  707. Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,-0.15,0)*Scale)
  708. Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,0.15)*Scale)
  709. Light.Brightness = Light.Brightness+38
  710. RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,0.375,0)*Scale)
  711. RenderStepped:wait()
  712. end
  713. wait(0.02)
  714. for i = 1,20,3.75 do
  715. RotationOffset = RotationOffset*CFrame.Angles(math.rad(-3.75),0,0)
  716. Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,0.075,0)*Scale)
  717. Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,-0.075)*Scale)
  718. Light.Brightness = Light.Brightness-19
  719. RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,-0.1875,0)*Scale)
  720. RenderStepped:wait()
  721. end
  722. wait(0.02)
  723. DB = false
  724. end
  725. end
  726. end
  727. end)
  728.  
  729. Mouse.Button1Up:connect(function()
  730. Down = false
  731. end)
  732.  
  733. Mouse.KeyDown:connect(function(Key)
  734. if Key:lower() == 'f' and not DB then
  735. DB=true
  736. for i = 1,70,5 do
  737. RotationOffset = RotationOffset*CFrame.Angles(0,0,math.rad(-5))
  738. RenderStepped:wait()
  739. end
  740.  
  741. for i,v in pairs(Character:GetChildren()) do
  742. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  743. v:destroy()
  744. end
  745. end
  746.  
  747. local Hair = Instance.new("Part")
  748. Hair.Parent = Character
  749. Hair.Name = "Hair"
  750. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  751. Hair.CFrame = Character.Head.CFrame
  752. Hair:BreakJoints()
  753. Hair.CanCollide = false
  754. Hair.BrickColor = BrickColor.new("New Yeller")
  755. Hair.TopSurface = "Smooth"
  756. Hair.BottomSurface = "Smooth"
  757. Weld = Instance.new("Weld")
  758. Weld.Name = "Weld"
  759. Weld.Part0 = Character.Head
  760. Weld.Part1 = Hair
  761. Weld.Parent = Character.Head
  762. Weld.C0 = CFrame.new(0, -1.4, 0.2)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0)
  763. Mesh = Instance.new("SpecialMesh")
  764. Mesh.Parent = Hair
  765. Mesh.MeshId = "rbxassetid://1389678629"
  766. Mesh.TextureId = "http://www.roblox.com/asset/?id=1389678737"
  767. Mesh.Scale = Vector3.new(0.050, 0.050, 0.050)
  768. Character.Head.face.Texture = "rbxassetid://318927908"
  769. local num = math.random(1, 3)
  770. print(num)
  771. local charPants = Character:FindFirstChildOfClass("Pants")
  772. local charShirt = Character: FindFirstChildOfClass("Shirt")
  773. if charPants and charShirt then
  774. if num == 1 then
  775. charShirt.ShirtTemplate = Shirt
  776. charPants.PantsTemplate = Pants
  777. elseif num == 2 then
  778. charShirt.ShirtTemplate = Shirt2
  779. charPants.PantsTemplate = Pants2
  780. elseif num == 3 then
  781. charShirt.ShirtTemplate = Shirt3
  782. charPants.PantsTemplate = Pants3
  783. end
  784. end
  785. for i = 1,70,5 do
  786. RotationOffset = RotationOffset*CFrame.Angles(0,0,math.rad(5))
  787. RenderStepped:wait()
  788. end
  789. DB=false
  790. end
  791.  
  792. if Key:lower() == "g" and not DB then
  793. DB = true
  794. if Gangster == true then
  795. for i = 1,70,5 do
  796. RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(-5),0)
  797. RenderStepped:wait()
  798. end
  799. Gangster = false
  800. else
  801. for i = 1,70,5 do
  802. RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(5),0)
  803. RenderStepped:wait()
  804. end
  805. Gangster = true
  806. end
  807. DB = false
  808. end
  809. end)
  810.  
  811. local Weld = Instance.new("Weld")
  812. Weld.Part0 = Torso
  813. Weld.Part1 = Character["Right Arm"]
  814. Weld.Parent = Torso
  815.  
  816. local Weld2 = Instance.new("Weld")
  817. Weld2.Part0 = Torso
  818. Weld2.Part1 = Character.Head
  819. Weld2.Parent = Torso
  820.  
  821. local RA = Character["Right Arm"]
  822.  
  823.  
  824. game:GetService("RunService"):BindToRenderStep("Pistol",Enum.RenderPriority.Character.Value,function()
  825. local Point = Torso.CFrame:vectorToObjectSpace(Mouse.Hit.p-Torso.CFrame.p)
  826. if Point.Z > 0 then
  827. if Point.X > 0 then
  828. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
  829. elseif Point.X < 0 then
  830. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
  831. end
  832. end
  833.  
  834. local CFr = (Torso.CFrame*Part0Joint):toObjectSpace(CFrame.new((Torso.CFrame*Part0Joint).p,Mouse.Hit.p))--RayEnd))
  835. Weld.C0 = Part0Joint * (CFr-CFr.p) * RotationOffset
  836. Weld.C1 = Part1Joint
  837. Weld.Part0 = Torso
  838. Weld.Part1 = RA
  839. local CFr = (Torso.CFrame*Part0JointHead):toObjectSpace(CFrame.new((Torso.CFrame*Part0JointHead).p,Mouse.Hit.p))--RayEnd))
  840. Weld2.C0 = Part0JointHead * (CFr-CFr.p) * RotationOffsetHead
  841. Weld2.C1 = Part1JointHead
  842. Weld2.Part0 = Torso
  843. Weld2.Part1 = Character.Head
  844. local Last = Scale
  845. 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
  846. Speed = 20*Scale
  847. if Scale ~= Last then
  848. Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
  849. Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
  850. Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
  851. Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
  852. end
  853. end)
  854.  
  855. while true do
  856. wait(60)
  857. print("You're Using Trap Gun, Made By Melissa666666girl! :D")
  858. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement