Advertisement
lafur

Untitled

Sep 2nd, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.11 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end -- aaaa
  6. plr = game.Players.LocalPlayer
  7. repeat wait() until plr.Character
  8. char = plr.Character
  9.  
  10. local caac = Instance.new("Sound",char)
  11. caac.SoundId = "rbxassetid://1883633498"
  12. caac.Volume = 10
  13. caac:Play()
  14. char.Humanoid.WalkSpeed = 0
  15. char.Humanoid.JumpPower = 0
  16. repeat wait() until caac.IsPlaying
  17. local neck = Instance.new("Weld",char)
  18. neck.Part0 = char.Torso
  19. neck.Part1 = char.Head
  20. neck.C0 = CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  21. local human2 = Instance.new("Weld",char)
  22. human2.Part0 = char.HumanoidRootPart
  23. human2.Part1 = char.Torso
  24. human2co = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  25. necc = CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  26. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  27. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  28. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  29. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  30. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  31. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  32. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  33. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  34. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  35. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  36. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  37. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  38. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  39. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  40. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  41. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  42. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  43. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  44. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  45. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  46. function resetlerp()
  47. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  48. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  49. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  50. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  51. neck.C0 = CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  52. human2.C0 = human2co
  53. end
  54. 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
  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. Character = char
  65. Model = Instance.new("Model",char)
  66.  
  67. local Handle = Instance.new("Part",Model)
  68. Handle.CanCollide = false
  69. Handle.Name = "Handle"
  70. Handle.Position = Vector3.new(0,100,0)
  71. Handle:BreakJoints()
  72. Handle.FormFactor = "Custom"
  73. Handle.Size = Vector3.new(0.2,0.2,0.2)
  74. Handle.TopSurface = "SmoothNoOutlines"
  75. Handle.BottomSurface = "SmoothNoOutlines"
  76. Handle.FrontSurface = "SmoothNoOutlines"
  77. Handle.BackSurface = "SmoothNoOutlines"
  78. Handle.RightSurface = "SmoothNoOutlines"
  79. Handle.LeftSurface = "SmoothNoOutlines"
  80. Handle.BrickColor = BrickColor.new("Black")
  81. local Mesh = Instance.new("BlockMesh",Handle)
  82. Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * Scale
  83. local HandleWeld = Instance.new("Motor6D")
  84. HandleWeld.Part0 = Character["Right Arm"]
  85. HandleWeld.Part1 = Handle
  86. HandleWeld.C0 = CFrame.new(Vector3.new(0,-1,0)*Scale) * CFrame.Angles(math.rad(-105),0,0)
  87. HandleWeld.Parent = Handle
  88.  
  89. local Part = Instance.new("Part",Model)
  90. Part.CanCollide = false
  91. Part.Position = Vector3.new(0,100,0)
  92. Part:BreakJoints()
  93. Part.FormFactor = "Custom"
  94. Part.Size = Vector3.new(0.2,0.2,0.2)
  95. Part.TopSurface = "SmoothNoOutlines"
  96. Part.BottomSurface = "SmoothNoOutlines"
  97. Part.FrontSurface = "SmoothNoOutlines"
  98. Part.BackSurface = "SmoothNoOutlines"
  99. Part.RightSurface = "SmoothNoOutlines"
  100. Part.LeftSurface = "SmoothNoOutlines"
  101. Part.BrickColor = BrickColor.new("Black")
  102. local Mesh = Instance.new("CylinderMesh",Part)
  103. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  104. local PartWeld = Instance.new("Motor6D")
  105. PartWeld.Part0 = Handle
  106. PartWeld.Part1 = Part
  107. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  108. PartWeld.Parent = Part
  109.  
  110. local Part = Instance.new("Part",Model)
  111. Part.CanCollide = false
  112. Part.Position = Vector3.new(0,100,0)
  113. Part:BreakJoints()
  114. Part.FormFactor = "Custom"
  115. Part.Size = Vector3.new(0.2,0.2,0.2)
  116. Part.TopSurface = "SmoothNoOutlines"
  117. Part.BottomSurface = "SmoothNoOutlines"
  118. Part.FrontSurface = "SmoothNoOutlines"
  119. Part.BackSurface = "SmoothNoOutlines"
  120. Part.RightSurface = "SmoothNoOutlines"
  121. Part.LeftSurface = "SmoothNoOutlines"
  122. Part.BrickColor = BrickColor.new("Black")
  123. local Mesh = Instance.new("CylinderMesh",Part)
  124. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  125. local PartWeld = Instance.new("Motor6D")
  126. PartWeld.Part0 = Handle
  127. PartWeld.Part1 = Part
  128. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  129. PartWeld.Parent = Part
  130.  
  131. local Part = Instance.new("Part",Model)
  132. Part.CanCollide = false
  133. Part.Position = Vector3.new(0,100,0)
  134. Part:BreakJoints()
  135. Part.FormFactor = "Custom"
  136. Part.Size = Vector3.new(0.2,0.2,0.2)
  137. Part.TopSurface = "SmoothNoOutlines"
  138. Part.BottomSurface = "SmoothNoOutlines"
  139. Part.FrontSurface = "SmoothNoOutlines"
  140. Part.BackSurface = "SmoothNoOutlines"
  141. Part.RightSurface = "SmoothNoOutlines"
  142. Part.LeftSurface = "SmoothNoOutlines"
  143. Part.BrickColor = BrickColor.new("Black")
  144. local Mesh = Instance.new("CylinderMesh",Part)
  145. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  146. local PartWeld = Instance.new("Motor6D")
  147. PartWeld.Part0 = Handle
  148. PartWeld.Part1 = Part
  149. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  150. PartWeld.Parent = Part
  151.  
  152. local Part = Instance.new("Part",Model)
  153. Part.CanCollide = false
  154. Part.Position = Vector3.new(0,100,0)
  155. Part:BreakJoints()
  156. Part.FormFactor = "Custom"
  157. Part.Size = Vector3.new(0.2,0.2,0.2)
  158. Part.TopSurface = "SmoothNoOutlines"
  159. Part.BottomSurface = "SmoothNoOutlines"
  160. Part.FrontSurface = "SmoothNoOutlines"
  161. Part.BackSurface = "SmoothNoOutlines"
  162. Part.RightSurface = "SmoothNoOutlines"
  163. Part.LeftSurface = "SmoothNoOutlines"
  164. Part.BrickColor = BrickColor.new("Black")
  165. local Mesh = Instance.new("CylinderMesh",Part)
  166. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  167. local PartWeld = Instance.new("Motor6D")
  168. PartWeld.Part0 = Handle
  169. PartWeld.Part1 = Part
  170. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  171. PartWeld.Parent = Part
  172.  
  173. local Part = Instance.new("Part",Model)
  174. Part.CanCollide = false
  175. Part.Position = Vector3.new(0,100,0)
  176. Part:BreakJoints()
  177. Part.FormFactor = "Custom"
  178. Part.Size = Vector3.new(0.2,0.2,0.2)
  179. Part.TopSurface = "SmoothNoOutlines"
  180. Part.BottomSurface = "SmoothNoOutlines"
  181. Part.FrontSurface = "SmoothNoOutlines"
  182. Part.BackSurface = "SmoothNoOutlines"
  183. Part.RightSurface = "SmoothNoOutlines"
  184. Part.LeftSurface = "SmoothNoOutlines"
  185. Part.BrickColor = BrickColor.new("Black")
  186. local Mesh = Instance.new("BlockMesh",Part)
  187. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  188. local PartWeld = Instance.new("Motor6D")
  189. PartWeld.Part0 = Handle
  190. PartWeld.Part1 = Part
  191. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*Scale) * CFrame.Angles(0,0,0)
  192. PartWeld.Parent = Part
  193.  
  194. local Part = Instance.new("Part",Model)
  195. Part.CanCollide = false
  196. Part.Position = Vector3.new(0,100,0)
  197. Part:BreakJoints()
  198. Part.FormFactor = "Custom"
  199. Part.Size = Vector3.new(0.2,0.2,0.2)
  200. Part.TopSurface = "SmoothNoOutlines"
  201. Part.BottomSurface = "SmoothNoOutlines"
  202. Part.FrontSurface = "SmoothNoOutlines"
  203. Part.BackSurface = "SmoothNoOutlines"
  204. Part.RightSurface = "SmoothNoOutlines"
  205. Part.LeftSurface = "SmoothNoOutlines"
  206. Part.BrickColor = BrickColor.new("Black")
  207. local Mesh = Instance.new("BlockMesh",Part)
  208. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  209. local PartWeld = Instance.new("Motor6D")
  210. PartWeld.Part0 = Handle
  211. PartWeld.Part1 = Part
  212. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*Scale) * CFrame.Angles(0,0,0)
  213. PartWeld.Parent = Part
  214.  
  215. local Part = Instance.new("Part",Model)
  216. Part.CanCollide = false
  217. Part.Position = Vector3.new(0,100,0)
  218. Part:BreakJoints()
  219. Part.FormFactor = "Custom"
  220. Part.Size = Vector3.new(0.2,0.2,0.2)
  221. Part.TopSurface = "SmoothNoOutlines"
  222. Part.BottomSurface = "SmoothNoOutlines"
  223. Part.FrontSurface = "SmoothNoOutlines"
  224. Part.BackSurface = "SmoothNoOutlines"
  225. Part.RightSurface = "SmoothNoOutlines"
  226. Part.LeftSurface = "SmoothNoOutlines"
  227. Part.BrickColor = BrickColor.new("Black")
  228. local Mesh = Instance.new("BlockMesh",Part)
  229. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  230. local PartWeld = Instance.new("Motor6D")
  231. PartWeld.Part0 = Handle
  232. PartWeld.Part1 = Part
  233. PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  234. PartWeld.Parent = Part
  235.  
  236. local Part = Instance.new("Part",Model)
  237. Part.CanCollide = false
  238. Part.Position = Vector3.new(0,100,0)
  239. Part:BreakJoints()
  240. Part.FormFactor = "Custom"
  241. Part.Size = Vector3.new(0.2,0.2,0.2)
  242. Part.TopSurface = "SmoothNoOutlines"
  243. Part.BottomSurface = "SmoothNoOutlines"
  244. Part.FrontSurface = "SmoothNoOutlines"
  245. Part.BackSurface = "SmoothNoOutlines"
  246. Part.RightSurface = "SmoothNoOutlines"
  247. Part.LeftSurface = "SmoothNoOutlines"
  248. Part.BrickColor = BrickColor.new("Black")
  249. local Mesh = Instance.new("BlockMesh",Part)
  250. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  251. local PartWeld = Instance.new("Motor6D")
  252. PartWeld.Part0 = Handle
  253. PartWeld.Part1 = Part
  254. PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  255. PartWeld.Parent = Part
  256.  
  257. local Part = Instance.new("Part",Model)
  258. Part.CanCollide = false
  259. Part.Position = Vector3.new(0,100,0)
  260. Part:BreakJoints()
  261. Part.FormFactor = "Custom"
  262. Part.Size = Vector3.new(0.2,0.2,0.2)
  263. Part.TopSurface = "SmoothNoOutlines"
  264. Part.BottomSurface = "SmoothNoOutlines"
  265. Part.FrontSurface = "SmoothNoOutlines"
  266. Part.BackSurface = "SmoothNoOutlines"
  267. Part.RightSurface = "SmoothNoOutlines"
  268. Part.LeftSurface = "SmoothNoOutlines"
  269. Part.BrickColor = BrickColor.new("Black")
  270. local Mesh = Instance.new("BlockMesh",Part)
  271. Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * Scale
  272. local PartWeld = Instance.new("Motor6D")
  273. PartWeld.Part0 = Handle
  274. PartWeld.Part1 = Part
  275. 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)
  276. PartWeld.Parent = Part
  277.  
  278. local Part = Instance.new("Part",Model)
  279. Part.CanCollide = false
  280. Part.Position = Vector3.new(0,100,0)
  281. Part:BreakJoints()
  282. Part.FormFactor = "Custom"
  283. Part.Size = Vector3.new(0.2,0.2,0.2)
  284. Part.TopSurface = "SmoothNoOutlines"
  285. Part.BottomSurface = "SmoothNoOutlines"
  286. Part.FrontSurface = "SmoothNoOutlines"
  287. Part.BackSurface = "SmoothNoOutlines"
  288. Part.RightSurface = "SmoothNoOutlines"
  289. Part.LeftSurface = "SmoothNoOutlines"
  290. Part.BrickColor = BrickColor.new("Black")
  291. local Mesh = Instance.new("BlockMesh",Part)
  292. Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * Scale
  293. local PartWeld = Instance.new("Motor6D")
  294. PartWeld.Part0 = Handle
  295. PartWeld.Part1 = Part
  296. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*Scale)
  297. PartWeld.Parent = Part
  298.  
  299. for i = 0,80,10 do
  300. local Part = Instance.new("Part",Model)
  301. Part.CanCollide = false
  302. Part.Position = Vector3.new(0,100,0)
  303. Part:BreakJoints()
  304. Part.FormFactor = "Custom"
  305. Part.Size = Vector3.new(0.2,0.2,0.2)
  306. Part.TopSurface = "SmoothNoOutlines"
  307. Part.BottomSurface = "SmoothNoOutlines"
  308. Part.FrontSurface = "SmoothNoOutlines"
  309. Part.BackSurface = "SmoothNoOutlines"
  310. Part.RightSurface = "SmoothNoOutlines"
  311. Part.LeftSurface = "SmoothNoOutlines"
  312. Part.BrickColor = BrickColor.new("Black")
  313. local Mesh = Instance.new("BlockMesh",Part)
  314. Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * Scale
  315. local PartWeld = Instance.new("Motor6D")
  316. PartWeld.Part0 = Handle
  317. PartWeld.Part1 = Part
  318. 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)
  319. PartWeld.Parent = Part
  320. end
  321.  
  322. local Barrel = Instance.new("Part",Model)
  323. Barrel.CanCollide = false
  324. Barrel.Position = Vector3.new(0,100,0)
  325. Barrel:BreakJoints()
  326. Barrel.FormFactor = "Custom"
  327. Barrel.Size = Vector3.new(0.2,0.2,0.2)
  328. Barrel.TopSurface = "SmoothNoOutlines"
  329. Barrel.BottomSurface = "SmoothNoOutlines"
  330. Barrel.FrontSurface = "SmoothNoOutlines"
  331. Barrel.BackSurface = "SmoothNoOutlines"
  332. Barrel.RightSurface = "SmoothNoOutlines"
  333. Barrel.LeftSurface = "SmoothNoOutlines"
  334. Barrel.BrickColor = BrickColor.new("Black")
  335. local Mesh = Instance.new("BlockMesh",Barrel)
  336. Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
  337. local BarrelWeld = Instance.new("Motor6D")
  338. BarrelWeld.Part0 = Handle
  339. BarrelWeld.Part1 = Barrel
  340. BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
  341. BarrelWeld.Parent = Barrel
  342.  
  343. local Barrel1 = Barrel
  344.  
  345. local Barrel2 = Instance.new("Part",Model)
  346. Barrel2.CanCollide = false
  347. Barrel2.Position = Vector3.new(0,100,0)
  348. Barrel2:BreakJoints()
  349. Barrel2.FormFactor = "Custom"
  350. Barrel2.Size = Vector3.new(0.2,0.2,0.2)
  351. Barrel2.TopSurface = "SmoothNoOutlines"
  352. Barrel2.BottomSurface = "SmoothNoOutlines"
  353. Barrel2.FrontSurface = "SmoothNoOutlines"
  354. Barrel2.BackSurface = "SmoothNoOutlines"
  355. Barrel2.RightSurface = "SmoothNoOutlines"
  356. Barrel2.LeftSurface = "SmoothNoOutlines"
  357. Barrel2.BrickColor = BrickColor.new("Really black")
  358. local Mesh = Instance.new("BlockMesh",Barrel2)
  359. Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
  360. local Barrel2Weld = Instance.new("Motor6D")
  361. Barrel2Weld.Part0 = Barrel
  362. Barrel2Weld.Part1 = Barrel2
  363. Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
  364. Barrel2Weld.Parent = Barrel2
  365.  
  366. local RealBarrel = Instance.new("Part",Model)
  367. RealBarrel.CanCollide = false
  368. RealBarrel.Position = Vector3.new(0,100,0)
  369. RealBarrel:BreakJoints()
  370. RealBarrel.FormFactor = "Custom"
  371. RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
  372. RealBarrel.TopSurface = "SmoothNoOutlines"
  373. RealBarrel.BottomSurface = "SmoothNoOutlines"
  374. RealBarrel.FrontSurface = "SmoothNoOutlines"
  375. RealBarrel.BackSurface = "SmoothNoOutlines"
  376. RealBarrel.RightSurface = "SmoothNoOutlines"
  377. RealBarrel.LeftSurface = "SmoothNoOutlines"
  378. RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
  379. local Mesh = Instance.new("CylinderMesh",RealBarrel)
  380. Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
  381. local RealBarrelWeld = Instance.new("Motor6D")
  382. RealBarrelWeld.Part0 = Barrel
  383. RealBarrelWeld.Part1 = RealBarrel
  384. RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
  385. RealBarrelWeld.Parent = RealBarrel
  386.  
  387. for i = 1,75,15 do
  388. local Part = Instance.new("Part",Model)
  389. Part.CanCollide = false
  390. Part.Position = Vector3.new(0,100,0)
  391. Part:BreakJoints()
  392. Part.FormFactor = "Custom"
  393. Part.Size = Vector3.new(0.2,0.2,0.2)
  394. Part.TopSurface = "SmoothNoOutlines"
  395. Part.BottomSurface = "SmoothNoOutlines"
  396. Part.FrontSurface = "SmoothNoOutlines"
  397. Part.BackSurface = "SmoothNoOutlines"
  398. Part.RightSurface = "SmoothNoOutlines"
  399. Part.LeftSurface = "SmoothNoOutlines"
  400. Part.BrickColor = BrickColor.new("Black")
  401. local Mesh = Instance.new("BlockMesh",Part)
  402. Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
  403. local PartWeld = Instance.new("Motor6D")
  404. PartWeld.Part0 = Handle
  405. PartWeld.Part1 = Part
  406. 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)
  407. PartWeld.Parent = Part
  408. end
  409.  
  410. local Part = Instance.new("Part",Model)
  411. Part.CanCollide = false
  412. Part.Position = Vector3.new(0,100,0)
  413. Part:BreakJoints()
  414. Part.FormFactor = "Custom"
  415. Part.Size = Vector3.new(0.2,0.2,0.2)
  416. Part.TopSurface = "SmoothNoOutlines"
  417. Part.BottomSurface = "SmoothNoOutlines"
  418. Part.FrontSurface = "SmoothNoOutlines"
  419. Part.BackSurface = "SmoothNoOutlines"
  420. Part.RightSurface = "SmoothNoOutlines"
  421. Part.LeftSurface = "SmoothNoOutlines"
  422. Part.BrickColor = BrickColor.new("Really black")
  423. local Mesh = Instance.new("BlockMesh",Part)
  424. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  425. local PartWeld = Instance.new("Motor6D")
  426. PartWeld.Part0 = Barrel2
  427. PartWeld.Part1 = Part
  428. PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
  429. PartWeld.Parent = Part
  430.  
  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("Really black")
  444. local Mesh = Instance.new("BlockMesh",Part)
  445. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  446. local PartWeld = Instance.new("Motor6D")
  447. PartWeld.Part0 = Barrel2
  448. PartWeld.Part1 = Part
  449. PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
  450. PartWeld.Parent = Part
  451.  
  452. local Part = Instance.new("Part",Model)
  453. Part.CanCollide = false
  454. Part.Position = Vector3.new(0,100,0)
  455. Part:BreakJoints()
  456. Part.FormFactor = "Custom"
  457. Part.Size = Vector3.new(0.2,0.2,0.2)
  458. Part.TopSurface = "SmoothNoOutlines"
  459. Part.BottomSurface = "SmoothNoOutlines"
  460. Part.FrontSurface = "SmoothNoOutlines"
  461. Part.BackSurface = "SmoothNoOutlines"
  462. Part.RightSurface = "SmoothNoOutlines"
  463. Part.LeftSurface = "SmoothNoOutlines"
  464. Part.BrickColor = BrickColor.new("Really black")
  465. local Mesh = Instance.new("BlockMesh",Part)
  466. Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
  467. local PartWeld = Instance.new("Motor6D")
  468. PartWeld.Part0 = Barrel2
  469. PartWeld.Part1 = Part
  470. PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
  471. PartWeld.Parent = Part
  472.  
  473. local Part = Instance.new("Part",Model)
  474. Part.CanCollide = false
  475. Part.Position = Vector3.new(0,100,0)
  476. Part:BreakJoints()
  477. Part.FormFactor = "Custom"
  478. Part.Size = Vector3.new(0.2,0.2,0.2)
  479. Part.Transparency = 1
  480. Part.TopSurface = "SmoothNoOutlines"
  481. Part.BottomSurface = "SmoothNoOutlines"
  482. Part.FrontSurface = "SmoothNoOutlines"
  483. Part.BackSurface = "SmoothNoOutlines"
  484. Part.RightSurface = "SmoothNoOutlines"
  485. Part.LeftSurface = "SmoothNoOutlines"
  486. Part.BrickColor = BrickColor.new("Really black")
  487. local Mesh = Instance.new("BlockMesh",Part)
  488. Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
  489. local PartWeld = Instance.new("Motor6D")
  490. PartWeld.Part0 = Barrel
  491. PartWeld.Part1 = Part
  492. PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
  493. PartWeld.Parent = Part
  494.  
  495. local Light = Instance.new("PointLight",Part)
  496. Light.Color = BrickColor.new("Gold").Color
  497. Light.Enabled = true
  498. Light.Shadows = true
  499. Light.Brightness = 0
  500. Light.Range = 6
  501.  
  502. local Part = Instance.new("Part",Model)
  503. Part.Material = "Neon"
  504. Part.CanCollide = false
  505. Part.Position = Vector3.new(0,100,0)
  506. Part:BreakJoints()
  507. Part.FormFactor = "Custom"
  508. Part.Size = Vector3.new(0.2,0.2,0.2)
  509. Part.TopSurface = "SmoothNoOutlines"
  510. Part.BottomSurface = "SmoothNoOutlines"
  511. Part.FrontSurface = "SmoothNoOutlines"
  512. Part.BackSurface = "SmoothNoOutlines"
  513. Part.RightSurface = "SmoothNoOutlines"
  514. Part.LeftSurface = "SmoothNoOutlines"
  515. Part.BrickColor = BrickColor.new("Bright yellow")
  516. Part.Transparency = 0.25
  517. local RecoilMesh = Instance.new("SpecialMesh",Part)
  518. RecoilMesh.MeshType = "FileMesh"
  519. RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
  520. RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
  521. RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
  522. local PartWeld = Instance.new("Motor6D")
  523. PartWeld.Part0 = RealBarrel
  524. PartWeld.Part1 = Part
  525. PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
  526. PartWeld.Parent = Part
  527. local Handle = Instance.new("Part",Model)
  528. Handle.CanCollide = false
  529. Handle.Name = "Handle"
  530. Handle.Position = Vector3.new(0,100,0)
  531. Handle:BreakJoints()
  532. Handle.FormFactor = "Custom"
  533. Handle.Size = Vector3.new(0.2,0.2,0.2)
  534. Handle.TopSurface = "SmoothNoOutlines"
  535. Handle.BottomSurface = "SmoothNoOutlines"
  536. Handle.FrontSurface = "SmoothNoOutlines"
  537. Handle.BackSurface = "SmoothNoOutlines"
  538. Handle.RightSurface = "SmoothNoOutlines"
  539. Handle.LeftSurface = "SmoothNoOutlines"
  540. Handle.BrickColor = BrickColor.new("Black")
  541. local Mesh = Instance.new("BlockMesh",Handle)
  542. Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * Scale
  543. local HandleWeld = Instance.new("Motor6D")
  544. HandleWeld.Part0 = Character["Left Arm"]
  545. HandleWeld.Part1 = Handle
  546. HandleWeld.C0 = CFrame.new(Vector3.new(0,-1,0)*Scale) * CFrame.Angles(math.rad(-105),0,0)
  547. HandleWeld.Parent = Handle
  548.  
  549. local Part = Instance.new("Part",Model)
  550. Part.CanCollide = false
  551. Part.Position = Vector3.new(0,100,0)
  552. Part:BreakJoints()
  553. Part.FormFactor = "Custom"
  554. Part.Size = Vector3.new(0.2,0.2,0.2)
  555. Part.TopSurface = "SmoothNoOutlines"
  556. Part.BottomSurface = "SmoothNoOutlines"
  557. Part.FrontSurface = "SmoothNoOutlines"
  558. Part.BackSurface = "SmoothNoOutlines"
  559. Part.RightSurface = "SmoothNoOutlines"
  560. Part.LeftSurface = "SmoothNoOutlines"
  561. Part.BrickColor = BrickColor.new("Black")
  562. local Mesh = Instance.new("CylinderMesh",Part)
  563. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  564. local PartWeld = Instance.new("Motor6D")
  565. PartWeld.Part0 = Handle
  566. PartWeld.Part1 = Part
  567. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  568. PartWeld.Parent = Part
  569.  
  570. local Part = Instance.new("Part",Model)
  571. Part.CanCollide = false
  572. Part.Position = Vector3.new(0,100,0)
  573. Part:BreakJoints()
  574. Part.FormFactor = "Custom"
  575. Part.Size = Vector3.new(0.2,0.2,0.2)
  576. Part.TopSurface = "SmoothNoOutlines"
  577. Part.BottomSurface = "SmoothNoOutlines"
  578. Part.FrontSurface = "SmoothNoOutlines"
  579. Part.BackSurface = "SmoothNoOutlines"
  580. Part.RightSurface = "SmoothNoOutlines"
  581. Part.LeftSurface = "SmoothNoOutlines"
  582. Part.BrickColor = BrickColor.new("Black")
  583. local Mesh = Instance.new("CylinderMesh",Part)
  584. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  585. local PartWeld = Instance.new("Motor6D")
  586. PartWeld.Part0 = Handle
  587. PartWeld.Part1 = Part
  588. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  589. PartWeld.Parent = Part
  590.  
  591. local Part = Instance.new("Part",Model)
  592. Part.CanCollide = false
  593. Part.Position = Vector3.new(0,100,0)
  594. Part:BreakJoints()
  595. Part.FormFactor = "Custom"
  596. Part.Size = Vector3.new(0.2,0.2,0.2)
  597. Part.TopSurface = "SmoothNoOutlines"
  598. Part.BottomSurface = "SmoothNoOutlines"
  599. Part.FrontSurface = "SmoothNoOutlines"
  600. Part.BackSurface = "SmoothNoOutlines"
  601. Part.RightSurface = "SmoothNoOutlines"
  602. Part.LeftSurface = "SmoothNoOutlines"
  603. Part.BrickColor = BrickColor.new("Black")
  604. local Mesh = Instance.new("CylinderMesh",Part)
  605. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  606. local PartWeld = Instance.new("Motor6D")
  607. PartWeld.Part0 = Handle
  608. PartWeld.Part1 = Part
  609. PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
  610. PartWeld.Parent = Part
  611.  
  612. local Part = Instance.new("Part",Model)
  613. Part.CanCollide = false
  614. Part.Position = Vector3.new(0,100,0)
  615. Part:BreakJoints()
  616. Part.FormFactor = "Custom"
  617. Part.Size = Vector3.new(0.2,0.2,0.2)
  618. Part.TopSurface = "SmoothNoOutlines"
  619. Part.BottomSurface = "SmoothNoOutlines"
  620. Part.FrontSurface = "SmoothNoOutlines"
  621. Part.BackSurface = "SmoothNoOutlines"
  622. Part.RightSurface = "SmoothNoOutlines"
  623. Part.LeftSurface = "SmoothNoOutlines"
  624. Part.BrickColor = BrickColor.new("Black")
  625. local Mesh = Instance.new("CylinderMesh",Part)
  626. Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
  627. local PartWeld = Instance.new("Motor6D")
  628. PartWeld.Part0 = Handle
  629. PartWeld.Part1 = Part
  630. PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
  631. PartWeld.Parent = Part
  632.  
  633. local Part = Instance.new("Part",Model)
  634. Part.CanCollide = false
  635. Part.Position = Vector3.new(0,100,0)
  636. Part:BreakJoints()
  637. Part.FormFactor = "Custom"
  638. Part.Size = Vector3.new(0.2,0.2,0.2)
  639. Part.TopSurface = "SmoothNoOutlines"
  640. Part.BottomSurface = "SmoothNoOutlines"
  641. Part.FrontSurface = "SmoothNoOutlines"
  642. Part.BackSurface = "SmoothNoOutlines"
  643. Part.RightSurface = "SmoothNoOutlines"
  644. Part.LeftSurface = "SmoothNoOutlines"
  645. Part.BrickColor = BrickColor.new("Black")
  646. local Mesh = Instance.new("BlockMesh",Part)
  647. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  648. local PartWeld = Instance.new("Motor6D")
  649. PartWeld.Part0 = Handle
  650. PartWeld.Part1 = Part
  651. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*Scale) * CFrame.Angles(0,0,0)
  652. PartWeld.Parent = Part
  653.  
  654. local Part = Instance.new("Part",Model)
  655. Part.CanCollide = false
  656. Part.Position = Vector3.new(0,100,0)
  657. Part:BreakJoints()
  658. Part.FormFactor = "Custom"
  659. Part.Size = Vector3.new(0.2,0.2,0.2)
  660. Part.TopSurface = "SmoothNoOutlines"
  661. Part.BottomSurface = "SmoothNoOutlines"
  662. Part.FrontSurface = "SmoothNoOutlines"
  663. Part.BackSurface = "SmoothNoOutlines"
  664. Part.RightSurface = "SmoothNoOutlines"
  665. Part.LeftSurface = "SmoothNoOutlines"
  666. Part.BrickColor = BrickColor.new("Black")
  667. local Mesh = Instance.new("BlockMesh",Part)
  668. Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
  669. local PartWeld = Instance.new("Motor6D")
  670. PartWeld.Part0 = Handle
  671. PartWeld.Part1 = Part
  672. PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*Scale) * CFrame.Angles(0,0,0)
  673. PartWeld.Parent = Part
  674.  
  675. local Part = Instance.new("Part",Model)
  676. Part.CanCollide = false
  677. Part.Position = Vector3.new(0,100,0)
  678. Part:BreakJoints()
  679. Part.FormFactor = "Custom"
  680. Part.Size = Vector3.new(0.2,0.2,0.2)
  681. Part.TopSurface = "SmoothNoOutlines"
  682. Part.BottomSurface = "SmoothNoOutlines"
  683. Part.FrontSurface = "SmoothNoOutlines"
  684. Part.BackSurface = "SmoothNoOutlines"
  685. Part.RightSurface = "SmoothNoOutlines"
  686. Part.LeftSurface = "SmoothNoOutlines"
  687. Part.BrickColor = BrickColor.new("Black")
  688. local Mesh = Instance.new("BlockMesh",Part)
  689. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  690. local PartWeld = Instance.new("Motor6D")
  691. PartWeld.Part0 = Handle
  692. PartWeld.Part1 = Part
  693. PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  694. PartWeld.Parent = Part
  695.  
  696. local Part = Instance.new("Part",Model)
  697. Part.CanCollide = false
  698. Part.Position = Vector3.new(0,100,0)
  699. Part:BreakJoints()
  700. Part.FormFactor = "Custom"
  701. Part.Size = Vector3.new(0.2,0.2,0.2)
  702. Part.TopSurface = "SmoothNoOutlines"
  703. Part.BottomSurface = "SmoothNoOutlines"
  704. Part.FrontSurface = "SmoothNoOutlines"
  705. Part.BackSurface = "SmoothNoOutlines"
  706. Part.RightSurface = "SmoothNoOutlines"
  707. Part.LeftSurface = "SmoothNoOutlines"
  708. Part.BrickColor = BrickColor.new("Black")
  709. local Mesh = Instance.new("BlockMesh",Part)
  710. Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
  711. local PartWeld = Instance.new("Motor6D")
  712. PartWeld.Part0 = Handle
  713. PartWeld.Part1 = Part
  714. PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
  715. PartWeld.Parent = Part
  716.  
  717. local Part = Instance.new("Part",Model)
  718. Part.CanCollide = false
  719. Part.Position = Vector3.new(0,100,0)
  720. Part:BreakJoints()
  721. Part.FormFactor = "Custom"
  722. Part.Size = Vector3.new(0.2,0.2,0.2)
  723. Part.TopSurface = "SmoothNoOutlines"
  724. Part.BottomSurface = "SmoothNoOutlines"
  725. Part.FrontSurface = "SmoothNoOutlines"
  726. Part.BackSurface = "SmoothNoOutlines"
  727. Part.RightSurface = "SmoothNoOutlines"
  728. Part.LeftSurface = "SmoothNoOutlines"
  729. Part.BrickColor = BrickColor.new("Black")
  730. local Mesh = Instance.new("BlockMesh",Part)
  731. Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * Scale
  732. local PartWeld = Instance.new("Motor6D")
  733. PartWeld.Part0 = Handle
  734. PartWeld.Part1 = Part
  735. 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)
  736. PartWeld.Parent = Part
  737.  
  738. local Part = Instance.new("Part",Model)
  739. Part.CanCollide = false
  740. Part.Position = Vector3.new(0,100,0)
  741. Part:BreakJoints()
  742. Part.FormFactor = "Custom"
  743. Part.Size = Vector3.new(0.2,0.2,0.2)
  744. Part.TopSurface = "SmoothNoOutlines"
  745. Part.BottomSurface = "SmoothNoOutlines"
  746. Part.FrontSurface = "SmoothNoOutlines"
  747. Part.BackSurface = "SmoothNoOutlines"
  748. Part.RightSurface = "SmoothNoOutlines"
  749. Part.LeftSurface = "SmoothNoOutlines"
  750. Part.BrickColor = BrickColor.new("Black")
  751. local Mesh = Instance.new("BlockMesh",Part)
  752. Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * Scale
  753. local PartWeld = Instance.new("Motor6D")
  754. PartWeld.Part0 = Handle
  755. PartWeld.Part1 = Part
  756. PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*Scale)
  757. PartWeld.Parent = Part
  758.  
  759. for i = 0,80,10 do
  760. local Part = Instance.new("Part",Model)
  761. Part.CanCollide = false
  762. Part.Position = Vector3.new(0,100,0)
  763. Part:BreakJoints()
  764. Part.FormFactor = "Custom"
  765. Part.Size = Vector3.new(0.2,0.2,0.2)
  766. Part.TopSurface = "SmoothNoOutlines"
  767. Part.BottomSurface = "SmoothNoOutlines"
  768. Part.FrontSurface = "SmoothNoOutlines"
  769. Part.BackSurface = "SmoothNoOutlines"
  770. Part.RightSurface = "SmoothNoOutlines"
  771. Part.LeftSurface = "SmoothNoOutlines"
  772. Part.BrickColor = BrickColor.new("Black")
  773. local Mesh = Instance.new("BlockMesh",Part)
  774. Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * Scale
  775. local PartWeld = Instance.new("Motor6D")
  776. PartWeld.Part0 = Handle
  777. PartWeld.Part1 = Part
  778. 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)
  779. PartWeld.Parent = Part
  780. end
  781.  
  782. local Barrel = Instance.new("Part",Model)
  783. Barrel.CanCollide = false
  784. Barrel.Position = Vector3.new(0,100,0)
  785. Barrel:BreakJoints()
  786. Barrel.FormFactor = "Custom"
  787. Barrel.Size = Vector3.new(0.2,0.2,0.2)
  788. Barrel.TopSurface = "SmoothNoOutlines"
  789. Barrel.BottomSurface = "SmoothNoOutlines"
  790. Barrel.FrontSurface = "SmoothNoOutlines"
  791. Barrel.BackSurface = "SmoothNoOutlines"
  792. Barrel.RightSurface = "SmoothNoOutlines"
  793. Barrel.LeftSurface = "SmoothNoOutlines"
  794. Barrel.BrickColor = BrickColor.new("Black")
  795. local Mesh = Instance.new("BlockMesh",Barrel)
  796. Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
  797. local BarrelWeld = Instance.new("Motor6D")
  798. BarrelWeld.Part0 = Handle
  799. BarrelWeld.Part1 = Barrel
  800. BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
  801. BarrelWeld.Parent = Barrel
  802.  
  803. local Barrel1 = Barrel
  804.  
  805. local Barrel2 = Instance.new("Part",Model)
  806. Barrel2.CanCollide = false
  807. Barrel2.Position = Vector3.new(0,100,0)
  808. Barrel2:BreakJoints()
  809. Barrel2.FormFactor = "Custom"
  810. Barrel2.Size = Vector3.new(0.2,0.2,0.2)
  811. Barrel2.TopSurface = "SmoothNoOutlines"
  812. Barrel2.BottomSurface = "SmoothNoOutlines"
  813. Barrel2.FrontSurface = "SmoothNoOutlines"
  814. Barrel2.BackSurface = "SmoothNoOutlines"
  815. Barrel2.RightSurface = "SmoothNoOutlines"
  816. Barrel2.LeftSurface = "SmoothNoOutlines"
  817. Barrel2.BrickColor = BrickColor.new("Really black")
  818. local Mesh = Instance.new("BlockMesh",Barrel2)
  819. Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
  820. local Barrel2Weld = Instance.new("Motor6D")
  821. Barrel2Weld.Part0 = Barrel
  822. Barrel2Weld.Part1 = Barrel2
  823. Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
  824. Barrel2Weld.Parent = Barrel2
  825.  
  826. local RealBarrel = Instance.new("Part",Model)
  827. RealBarrel.CanCollide = false
  828. RealBarrel.Position = Vector3.new(0,100,0)
  829. RealBarrel:BreakJoints()
  830. RealBarrel.FormFactor = "Custom"
  831. RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
  832. RealBarrel.TopSurface = "SmoothNoOutlines"
  833. RealBarrel.BottomSurface = "SmoothNoOutlines"
  834. RealBarrel.FrontSurface = "SmoothNoOutlines"
  835. RealBarrel.BackSurface = "SmoothNoOutlines"
  836. RealBarrel.RightSurface = "SmoothNoOutlines"
  837. RealBarrel.LeftSurface = "SmoothNoOutlines"
  838. RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
  839. local Mesh = Instance.new("CylinderMesh",RealBarrel)
  840. Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
  841. local RealBarrelWeld = Instance.new("Motor6D")
  842. RealBarrelWeld.Part0 = Barrel
  843. RealBarrelWeld.Part1 = RealBarrel
  844. RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
  845. RealBarrelWeld.Parent = RealBarrel
  846.  
  847. for i = 1,75,15 do
  848. local Part = Instance.new("Part",Model)
  849. Part.CanCollide = false
  850. Part.Position = Vector3.new(0,100,0)
  851. Part:BreakJoints()
  852. Part.FormFactor = "Custom"
  853. Part.Size = Vector3.new(0.2,0.2,0.2)
  854. Part.TopSurface = "SmoothNoOutlines"
  855. Part.BottomSurface = "SmoothNoOutlines"
  856. Part.FrontSurface = "SmoothNoOutlines"
  857. Part.BackSurface = "SmoothNoOutlines"
  858. Part.RightSurface = "SmoothNoOutlines"
  859. Part.LeftSurface = "SmoothNoOutlines"
  860. Part.BrickColor = BrickColor.new("Black")
  861. local Mesh = Instance.new("BlockMesh",Part)
  862. Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
  863. local PartWeld = Instance.new("Motor6D")
  864. PartWeld.Part0 = Handle
  865. PartWeld.Part1 = Part
  866. 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)
  867. PartWeld.Parent = Part
  868. end
  869.  
  870. local Part = Instance.new("Part",Model)
  871. Part.CanCollide = false
  872. Part.Position = Vector3.new(0,100,0)
  873. Part:BreakJoints()
  874. Part.FormFactor = "Custom"
  875. Part.Size = Vector3.new(0.2,0.2,0.2)
  876. Part.TopSurface = "SmoothNoOutlines"
  877. Part.BottomSurface = "SmoothNoOutlines"
  878. Part.FrontSurface = "SmoothNoOutlines"
  879. Part.BackSurface = "SmoothNoOutlines"
  880. Part.RightSurface = "SmoothNoOutlines"
  881. Part.LeftSurface = "SmoothNoOutlines"
  882. Part.BrickColor = BrickColor.new("Really black")
  883. local Mesh = Instance.new("BlockMesh",Part)
  884. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  885. local PartWeld = Instance.new("Motor6D")
  886. PartWeld.Part0 = Barrel2
  887. PartWeld.Part1 = Part
  888. PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
  889. PartWeld.Parent = Part
  890.  
  891. local Part = Instance.new("Part",Model)
  892. Part.CanCollide = false
  893. Part.Position = Vector3.new(0,100,0)
  894. Part:BreakJoints()
  895. Part.FormFactor = "Custom"
  896. Part.Size = Vector3.new(0.2,0.2,0.2)
  897. Part.TopSurface = "SmoothNoOutlines"
  898. Part.BottomSurface = "SmoothNoOutlines"
  899. Part.FrontSurface = "SmoothNoOutlines"
  900. Part.BackSurface = "SmoothNoOutlines"
  901. Part.RightSurface = "SmoothNoOutlines"
  902. Part.LeftSurface = "SmoothNoOutlines"
  903. Part.BrickColor = BrickColor.new("Really black")
  904. local Mesh = Instance.new("BlockMesh",Part)
  905. Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
  906. local PartWeld = Instance.new("Motor6D")
  907. PartWeld.Part0 = Barrel2
  908. PartWeld.Part1 = Part
  909. PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
  910. PartWeld.Parent = Part
  911.  
  912. local Part = Instance.new("Part",Model)
  913. Part.CanCollide = false
  914. Part.Position = Vector3.new(0,100,0)
  915. Part:BreakJoints()
  916. Part.FormFactor = "Custom"
  917. Part.Size = Vector3.new(0.2,0.2,0.2)
  918. Part.TopSurface = "SmoothNoOutlines"
  919. Part.BottomSurface = "SmoothNoOutlines"
  920. Part.FrontSurface = "SmoothNoOutlines"
  921. Part.BackSurface = "SmoothNoOutlines"
  922. Part.RightSurface = "SmoothNoOutlines"
  923. Part.LeftSurface = "SmoothNoOutlines"
  924. Part.BrickColor = BrickColor.new("Really black")
  925. local Mesh = Instance.new("BlockMesh",Part)
  926. Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
  927. local PartWeld = Instance.new("Motor6D")
  928. PartWeld.Part0 = Barrel2
  929. PartWeld.Part1 = Part
  930. PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
  931. PartWeld.Parent = Part
  932.  
  933. local Part = Instance.new("Part",Model)
  934. Part.CanCollide = false
  935. Part.Position = Vector3.new(0,100,0)
  936. Part:BreakJoints()
  937. Part.FormFactor = "Custom"
  938. Part.Size = Vector3.new(0.2,0.2,0.2)
  939. Part.Transparency = 1
  940. Part.TopSurface = "SmoothNoOutlines"
  941. Part.BottomSurface = "SmoothNoOutlines"
  942. Part.FrontSurface = "SmoothNoOutlines"
  943. Part.BackSurface = "SmoothNoOutlines"
  944. Part.RightSurface = "SmoothNoOutlines"
  945. Part.LeftSurface = "SmoothNoOutlines"
  946. Part.BrickColor = BrickColor.new("Really black")
  947. local Mesh = Instance.new("BlockMesh",Part)
  948. Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
  949. local PartWeld = Instance.new("Motor6D")
  950. PartWeld.Part0 = Barrel
  951. PartWeld.Part1 = Part
  952. PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
  953. PartWeld.Parent = Part
  954.  
  955. local Light = Instance.new("PointLight",Part)
  956. Light.Color = BrickColor.new("Gold").Color
  957. Light.Enabled = true
  958. Light.Shadows = true
  959. Light.Brightness = 0
  960. Light.Range = 6
  961.  
  962. local Part = Instance.new("Part",Model)
  963. Part.Material = "Neon"
  964. Part.CanCollide = false
  965. Part.Position = Vector3.new(0,100,0)
  966. Part:BreakJoints()
  967. Part.FormFactor = "Custom"
  968. Part.Size = Vector3.new(0.2,0.2,0.2)
  969. Part.TopSurface = "SmoothNoOutlines"
  970. Part.BottomSurface = "SmoothNoOutlines"
  971. Part.FrontSurface = "SmoothNoOutlines"
  972. Part.BackSurface = "SmoothNoOutlines"
  973. Part.RightSurface = "SmoothNoOutlines"
  974. Part.LeftSurface = "SmoothNoOutlines"
  975. Part.BrickColor = BrickColor.new("Bright yellow")
  976. Part.Transparency = 0.25
  977. local RecoilMesh = Instance.new("SpecialMesh",Part)
  978. RecoilMesh.MeshType = "FileMesh"
  979. RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
  980. RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
  981. RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
  982. local PartWeld = Instance.new("Motor6D")
  983. PartWeld.Part0 = RealBarrel
  984. PartWeld.Part1 = Part
  985. PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
  986. PartWeld.Parent = Part
  987. for i,v in pairs(Model:GetChildren()) do
  988. if v.ClassName == "Part" then
  989. v.Transparency = 1
  990. end
  991. end
  992. wait(4)
  993. for i,v in pairs(Model:GetChildren()) do
  994. if v.ClassName == "Part" then
  995. v.Transparency = 0
  996. end
  997. end
  998. wait(2.5)
  999. function killall()
  1000. for i,v in pairs(workspace:GetChildren()) do
  1001. if v.ClassName == "Model" then
  1002. local human = v:FindFirstChildOfClass("Humanoid")
  1003. if human and v.Name ~= char.Name then
  1004. human.Health = 0
  1005. end
  1006. end
  1007. end
  1008. end
  1009. for i = 0,1 ,0.3 do
  1010. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.95062065, 0.464681864, 0, -0.00532999961, -0.999985874, 0, 0.999985874, -0.00533000007, 0, 0, 0, 1),i)
  1011. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.94851112, 0.489989042, 0, -0.000345000008, 1, 0, -1, -0.000345000008, 0, 0, 0, 1),i)
  1012. end
  1013. for i = 1,45 do
  1014. char.Torso.CFrame = char.Torso.CFrame * CFrame.Angles(0,math.rad(8),0)
  1015. game:GetService("RunService").RenderStepped:wait()
  1016. end
  1017. resetlerp()
  1018. for i,v in pairs(Model:GetChildren()) do
  1019. if v.ClassName == "Part" then
  1020. v.Transparency = 1
  1021. end
  1022. end
  1023. wait(2)
  1024. Speed = 1
  1025. for i = 1,45 do
  1026. char.Torso.CFrame = char.Torso.CFrame * CFrame.Angles(0,math.rad(8 * Speed),0)
  1027. Speed = Speed + 0.1
  1028. game:GetService("RunService").RenderStepped:wait()
  1029. end
  1030. char.Torso.CFrame = char.Torso.CFrame + Vector3.new(0,5,0)
  1031. resetlerp()
  1032. wait(2)
  1033. for i,v in pairs(char:GetChildren()) do
  1034. if v.ClassName == "Part" then
  1035. v.Transparency = 1
  1036. end
  1037. end
  1038. local jeans = Instance.new("Part",char)
  1039. jeans.CanCollide = false
  1040. jeans.CFrame = char.Torso.CFrame + Vector3.new(0,-2,0)
  1041. jeans.Orientation = Vector3.new(90,0,0)
  1042. local mesh = Instance.new("FileMesh",jeans)
  1043. mesh.MeshId = "rbxassetid://1874331690"
  1044. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  1045. jeans.BrickColor = BrickColor.new("Really blue")
  1046. jeans.Anchored = true
  1047. wait(2.5)
  1048. jeans:Destroy()
  1049. for i,v in pairs(char:GetChildren()) do
  1050. if v.ClassName == "Part" then
  1051. v.Transparency = 0
  1052. end
  1053. end
  1054. char.HumanoidRootPart.Transparency = 1
  1055. for i = 0,1,0.03 do
  1056. human2.C0 = human2.C0:lerp(CFrame.new(0, -1.59474182, 2.47414136, 1, 0, 0, 0, -0.021669006, -0.999765217, 0, 0.999765217, -0.021669006):inverse(),i)
  1057. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 1.88147235, -0.0333137512, 1, 0, 0, 0, -0.999843359, -0.017703006, 0, 0.017703006, -0.999843359),i)
  1058. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 1.95083451, -0.000205993652, 1, 0, 0, 0, -1, -0.000106, 0, 0.000106, -1),i)
  1059. end
  1060. wait(3)
  1061. resetlerp()
  1062. for i = 1,230 do
  1063. char.Torso.CFrame = char.Torso.CFrame * CFrame.Angles(0,math.rad(8 * Speed),0)
  1064. Speed = Speed + 0.1
  1065. game:GetService("RunService").RenderStepped:wait()
  1066. end
  1067. local explosion = Instance.new("Explosion",char)
  1068. explosion.BlastPressure = 10
  1069. explosion.BlastRadius = 10
  1070. explosion.Position = char.Torso.Position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement