Advertisement
1nubloku

uzi

Nov 10th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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={},Soundscape=r:GetService("RunService").Heartbeat,BindToSoundscape=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
  6.  
  7. --Made by N3xul
  8. local runDummyScript = function(f,scri)
  9. local oldenv = getfenv(f)
  10. local newenv = setmetatable({}, {
  11. __index = function(_, k)
  12. if k:lower() == 'script' then
  13. return scri
  14. else
  15. return oldenv[k]
  16. end
  17. end
  18. })
  19. setfenv(f, newenv)
  20. ypcall(function() f() end)
  21. end
  22. cors = {}
  23. mas = Instance.new("Model",game:GetService("Lighting"))
  24. mas.Name = "CompiledModel"
  25. o1 = Instance.new("Tool")
  26. o2 = Instance.new("Part")
  27. o3 = Instance.new("Sound")
  28. o4 = Instance.new("Sound")
  29. o6 = Instance.new("Part")
  30. o7 = Instance.new("CylinderMesh")
  31. o8 = Instance.new("Part")
  32. o9 = Instance.new("BlockMesh")
  33. o10 = Instance.new("Part")
  34. o11 = Instance.new("BlockMesh")
  35. o12 = Instance.new("Part")
  36. o13 = Instance.new("Part")
  37. o14 = Instance.new("CylinderMesh")
  38. o15 = Instance.new("Part")
  39. o16 = Instance.new("SpecialMesh")
  40. o17 = Instance.new("Part")
  41. o18 = Instance.new("SpecialMesh")
  42. o19 = Instance.new("Part")
  43. o20 = Instance.new("IntValue")
  44. o21 = Instance.new("BlockMesh")
  45. o22 = Instance.new("Part")
  46. o23 = Instance.new("BlockMesh")
  47. o24 = Instance.new("Part")
  48. o25 = Instance.new("SpecialMesh")
  49. o26 = Instance.new("Part")
  50. o27 = Instance.new("SpecialMesh")
  51. o28 = Instance.new("Part")
  52. o29 = Instance.new("CylinderMesh")
  53. o30 = Instance.new("Part")
  54. o31 = Instance.new("CylinderMesh")
  55. o32 = Instance.new("Part")
  56. o33 = Instance.new("BlockMesh")
  57. o34 = Instance.new("Part")
  58. o35 = Instance.new("SpecialMesh")
  59. o36 = Instance.new("Part")
  60. o37 = Instance.new("CylinderMesh")
  61. o38 = Instance.new("Part")
  62. o39 = Instance.new("Sound")
  63. o40 = Instance.new("Sound")
  64. o41 = Instance.new("Part")
  65. o42 = Instance.new("CylinderMesh")
  66. o43 = Instance.new("Part")
  67. o44 = Instance.new("BlockMesh")
  68. o45 = Instance.new("Part")
  69. o46 = Instance.new("BlockMesh")
  70. o47 = Instance.new("ManualWeld")
  71. o48 = Instance.new("Part")
  72. o49 = Instance.new("BlockMesh")
  73. o50 = Instance.new("Part")
  74. o51 = Instance.new("CylinderMesh")
  75. o52 = Instance.new("ManualWeld")
  76. o53 = Instance.new("Part")
  77. o54 = Instance.new("BlockMesh")
  78. o55 = Instance.new("Part")
  79. o56 = Instance.new("BlockMesh")
  80. o57 = Instance.new("Part")
  81. o58 = Instance.new("BlockMesh")
  82. o59 = Instance.new("Part")
  83. o60 = Instance.new("BlockMesh")
  84. o61 = Instance.new("Part")
  85. o62 = Instance.new("CylinderMesh")
  86. o63 = Instance.new("Part")
  87. o64 = Instance.new("SpecialMesh")
  88. o65 = Instance.new("Part")
  89. o66 = Instance.new("SpecialMesh")
  90. o67 = Instance.new("Part")
  91. o68 = Instance.new("CylinderMesh")
  92. o69 = Instance.new("Part")
  93. o70 = Instance.new("BlockMesh")
  94. o71 = Instance.new("Part")
  95. o72 = Instance.new("CylinderMesh")
  96. o73 = Instance.new("Part")
  97. o74 = Instance.new("SpecialMesh")
  98. o75 = Instance.new("Part")
  99. o76 = Instance.new("SpecialMesh")
  100. o77 = Instance.new("Part")
  101. o78 = Instance.new("SpecialMesh")
  102. o79 = Instance.new("Part")
  103. o80 = Instance.new("CylinderMesh")
  104. o81 = Instance.new("Part")
  105. o82 = Instance.new("BlockMesh")
  106. o83 = Instance.new("Part")
  107. o84 = Instance.new("BlockMesh")
  108. o85 = Instance.new("Part")
  109. o86 = Instance.new("BlockMesh")
  110. o87 = Instance.new("Part")
  111. o88 = Instance.new("BlockMesh")
  112. o89 = Instance.new("Part")
  113. o90 = Instance.new("BlockMesh")
  114. o91 = Instance.new("Part")
  115. o92 = Instance.new("CylinderMesh")
  116. o93 = Instance.new("LocalScript")
  117. o94 = Instance.new("LocalScript")
  118. o95 = Instance.new("NumberValue")
  119. o96 = Instance.new("NumberValue")
  120. o97 = Instance.new("ScreenGui")
  121. o98 = Instance.new("Frame")
  122. o99 = Instance.new("TextLabel")
  123. o100 = Instance.new("Smoke")
  124. o101 = Instance.new("Smoke")
  125. o1.Name = "SUzi"
  126. o1.Parent = mas
  127. o2.Name = "Handle"
  128. o2.Parent = o1
  129. o2.BrickColor = BrickColor.new("Black")
  130. o2.Transparency = 1
  131. o2.Position = Vector3.new(59.75, 0.909995973, 191.800018)
  132. o2.Rotation = Vector3.new(-180, 1.23782713e-023, -180)
  133. o2.Anchored = true
  134. o2.CanCollide = false
  135. o2.FormFactor = Enum.FormFactor.Custom
  136. o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  137. o2.CFrame = CFrame.new(59.75, 0.909995973, 191.800018, -1, 2.55505469e-013, 2.16041589e-025, -2.55505469e-013, 0.999998093, 1.93267321e-012, 2.16041589e-025, -1.93267321e-012, -0.999998093)
  138. o2.BottomSurface = Enum.SurfaceType.Smooth
  139. o2.TopSurface = Enum.SurfaceType.Smooth
  140. o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  141. o2.Position = Vector3.new(59.75, 0.909995973, 191.800018)
  142. o3.Name = "Reload"
  143. o3.Parent = o2
  144. o3.SoundId = "http://www.roblox.com/asset/?id=95309699"
  145. o3.Volume = 1
  146. o4.Name = "Shoot"
  147. o4.Parent = o2
  148. o4.Pitch = 3
  149. o4.SoundId = "http://www.roblox.com/asset/?id=97852331"
  150. o6.Name = "Sil"
  151. o6.Parent = o1
  152. o6.Material = Enum.Material.SmoothPlastic
  153. o6.BrickColor = BrickColor.new("Black")
  154. o6.Position = Vector3.new(59.7909775, 1.38277197, 193.245148)
  155. o6.Rotation = Vector3.new(-90, 0, -0)
  156. o6.Anchored = true
  157. o6.FormFactor = Enum.FormFactor.Custom
  158. o6.Size = Vector3.new(0.200000048, 0.800000012, 0.200000003)
  159. o6.CFrame = CFrame.new(59.7909775, 1.38277197, 193.245148, 1, 0, 0, 0, 0, 1, 0, -1, -4.37113883e-008)
  160. o6.Color = Color3.new(0.105882, 0.164706, 0.207843)
  161. o6.Position = Vector3.new(59.7909775, 1.38277197, 193.245148)
  162. o7.Parent = o6
  163. o8.Name = "Mag2"
  164. o8.Parent = o1
  165. o8.BrickColor = BrickColor.new("Dark stone grey")
  166. o8.Position = Vector3.new(59.7968826, 0.367808998, 191.748718)
  167. o8.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
  168. o8.Anchored = true
  169. o8.CanCollide = false
  170. o8.Elasticity = 0
  171. o8.FormFactor = Enum.FormFactor.Custom
  172. o8.Size = Vector3.new(0.200000003, 0.638095081, 0.200000003)
  173. o8.CFrame = CFrame.new(59.7968826, 0.367808998, 191.748718, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
  174. o8.BottomSurface = Enum.SurfaceType.Smooth
  175. o8.TopSurface = Enum.SurfaceType.Smooth
  176. o8.Color = Color3.new(0.388235, 0.372549, 0.384314)
  177. o8.Position = Vector3.new(59.7968826, 0.367808998, 191.748718)
  178. o9.Parent = o8
  179. o9.Scale = Vector3.new(0.809523821, 1, 0.714285731)
  180. o10.Parent = o1
  181. o10.BrickColor = BrickColor.new("Black")
  182. o10.Position = Vector3.new(59.7963982, 0.963775992, 191.12471)
  183. o10.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
  184. o10.Anchored = true
  185. o10.CanCollide = false
  186. o10.Elasticity = 0
  187. o10.FormFactor = Enum.FormFactor.Symmetric
  188. o10.Size = Vector3.new(1, 1, 1)
  189. o10.CFrame = CFrame.new(59.7963982, 0.963775992, 191.12471, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
  190. o10.BottomSurface = Enum.SurfaceType.Smooth
  191. o10.TopSurface = Enum.SurfaceType.Smooth
  192. o10.Color = Color3.new(0.105882, 0.164706, 0.207843)
  193. o10.Position = Vector3.new(59.7963982, 0.963775992, 191.12471)
  194. o11.Parent = o10
  195. o11.Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194)
  196. o12.Name = "AimPart"
  197. o12.Parent = o1
  198. o12.BrickColor = BrickColor.new("Black")
  199. o12.Transparency = 1
  200. o12.Position = Vector3.new(59.7963028, 1.51867104, 190.408508)
  201. o12.Rotation = Vector3.new(-180, 1.23782713e-023, -180)
  202. o12.Anchored = true
  203. o12.CanCollide = false
  204. o12.FormFactor = Enum.FormFactor.Custom
  205. o12.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  206. o12.CFrame = CFrame.new(59.7963028, 1.51867104, 190.408508, -1, 2.55505469e-013, 2.16041589e-025, -2.55505469e-013, 0.999998093, 1.93267321e-012, 2.16041589e-025, -1.93267321e-012, -0.999998093)
  207. o12.BottomSurface = Enum.SurfaceType.Smooth
  208. o12.TopSurface = Enum.SurfaceType.Smooth
  209. o12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  210. o12.Position = Vector3.new(59.7963028, 1.51867104, 190.408508)
  211. o13.Name = "SmokePart"
  212. o13.Parent = o1
  213. o13.BrickColor = BrickColor.new("Black")
  214. o13.Transparency = 1
  215. o13.Position = Vector3.new(59.7909317, 1.37609601, 193.662384)
  216. o13.Rotation = Vector3.new(90, -90, 0)
  217. o13.Anchored = true
  218. o13.CanCollide = false
  219. o13.FormFactor = Enum.FormFactor.Custom
  220. o13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  221. o13.CFrame = CFrame.new(59.7909317, 1.37609601, 193.662384, -2.55505469e-013, -2.16041589e-025, -1, -0.999998093, -1.93267321e-012, -2.55505469e-013, 1.93267321e-012, 0.999998093, 2.16041589e-025)
  222. o13.BottomSurface = Enum.SurfaceType.Smooth
  223. o13.TopSurface = Enum.SurfaceType.Smooth
  224. o13.Color = Color3.new(0.105882, 0.164706, 0.207843)
  225. o13.Position = Vector3.new(59.7909317, 1.37609601, 193.662384)
  226. o14.Parent = o13
  227. o14.Scale = Vector3.new(0.600000024, 1, 0.600000024)
  228. o15.Name = "NoSight"
  229. o15.Parent = o1
  230. o15.BrickColor = BrickColor.new("Black")
  231. o15.Position = Vector3.new(59.7685661, 1.52071798, 192.186493)
  232. o15.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
  233. o15.Anchored = true
  234. o15.CanCollide = false
  235. o15.Elasticity = 0
  236. o15.FormFactor = Enum.FormFactor.Custom
  237. o15.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  238. o15.CFrame = CFrame.new(59.7685661, 1.52071798, 192.186493, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
  239. o15.BottomSurface = Enum.SurfaceType.Smooth
  240. o15.TopSurface = Enum.SurfaceType.Smooth
  241. o15.Color = Color3.new(0.105882, 0.164706, 0.207843)
  242. o15.Position = Vector3.new(59.7685661, 1.52071798, 192.186493)
  243. o16.Parent = o15
  244. o16.Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097)
  245. o16.MeshType = Enum.MeshType.Wedge
  246. o17.Name = "NoSight"
  247. o17.Parent = o1
  248. o17.BrickColor = BrickColor.new("Black")
  249. o17.Position = Vector3.new(59.7963982, 1.486812, 192.186615)
  250. o17.Rotation = Vector3.new(-0.00321958517, 0.00275059137, -179.978378)
  251. o17.Anchored = true
  252. o17.CanCollide = false
  253. o17.Elasticity = 0
  254. o17.FormFactor = Enum.FormFactor.Custom
  255. o17.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  256. o17.CFrame = CFrame.new(59.7963982, 1.486812, 192.186615, -0.999998569, 0.000377276359, 4.80068738e-005, -0.000377273187, -0.99999845, 5.61921843e-005, 4.80578747e-005, 5.65051087e-005, 0.999996841)
  257. o17.BottomSurface = Enum.SurfaceType.Smooth
  258. o17.TopSurface = Enum.SurfaceType.Smooth
  259. o17.Color = Color3.new(0.105882, 0.164706, 0.207843)
  260. o17.Position = Vector3.new(59.7963982, 1.486812, 192.186615)
  261. o18.Parent = o17
  262. o18.Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343)
  263. o18.MeshType = Enum.MeshType.Torso
  264. o19.Name = "NoSight"
  265. o19.Parent = o1
  266. o19.BrickColor = BrickColor.new("White")
  267. o19.Transparency = 1
  268. o19.Position = Vector3.new(59.7963982, 1.52467203, 192.476547)
  269. o19.Rotation = Vector3.new(-0.00322641456, -0.000993201276, 0.0216163192)
  270. o19.Anchored = true
  271. o19.CanCollide = false
  272. o19.Elasticity = 0
  273. o19.FormFactor = Enum.FormFactor.Custom
  274. o19.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  275. o19.CFrame = CFrame.new(59.7963982, 1.52467203, 192.476547, 0.999998569, -0.000377275399, -1.73346325e-005, 0.000377275835, 0.99999845, 5.63113936e-005, 1.73282169e-005, -5.65051087e-005, 0.999997079)
  276. o19.BottomSurface = Enum.SurfaceType.Smooth
  277. o19.TopSurface = Enum.SurfaceType.Smooth
  278. o19.Color = Color3.new(0.94902, 0.952941, 0.952941)
  279. o19.Position = Vector3.new(59.7963982, 1.52467203, 192.476547)
  280. o20.Name = "lenspart"
  281. o20.Parent = o19
  282. o21.Parent = o19
  283. o21.Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485)
  284. o22.Name = "NoSight"
  285. o22.Parent = o1
  286. o22.BrickColor = BrickColor.new("Black")
  287. o22.Position = Vector3.new(59.7963982, 1.50163996, 192.528473)
  288. o22.Rotation = Vector3.new(-92.0970917, 89.9051285, 2.09262466)
  289. o22.Anchored = true
  290. o22.CanCollide = false
  291. o22.Elasticity = 0
  292. o22.FormFactor = Enum.FormFactor.Custom
  293. o22.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  294. o22.CFrame = CFrame.new(59.7963982, 1.50163996, 192.528473, 0.000420434255, -1.53624314e-005, 0.999998629, -0.999998271, -4.57315873e-005, 0.000420432887, 4.59104012e-005, -0.999996901, -1.53951878e-005)
  295. o22.BottomSurface = Enum.SurfaceType.Smooth
  296. o22.TopSurface = Enum.SurfaceType.Smooth
  297. o22.Color = Color3.new(0.105882, 0.164706, 0.207843)
  298. o22.Position = Vector3.new(59.7963982, 1.50163996, 192.528473)
  299. o23.Parent = o22
  300. o23.Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097)
  301. o24.Name = "NoSight"
  302. o24.Parent = o1
  303. o24.BrickColor = BrickColor.new("Black")
  304. o24.Position = Vector3.new(59.8252106, 1.52071798, 192.186493)
  305. o24.Rotation = Vector3.new(-87.8741455, 89.9072189, 87.8717728)
  306. o24.Anchored = true
  307. o24.CanCollide = false
  308. o24.Elasticity = 0
  309. o24.FormFactor = Enum.FormFactor.Custom
  310. o24.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  311. o24.CFrame = CFrame.new(59.8252106, 1.52071798, 192.186493, 1.51542945e-005, -0.000407792773, 0.999998689, -4.36454284e-005, 0.999998331, 0.000407792832, -0.99999696, -4.38391435e-005, 1.51373351e-005)
  312. o24.BottomSurface = Enum.SurfaceType.Smooth
  313. o24.TopSurface = Enum.SurfaceType.Smooth
  314. o24.Color = Color3.new(0.105882, 0.164706, 0.207843)
  315. o24.Position = Vector3.new(59.8252106, 1.52071798, 192.186493)
  316. o25.Parent = o24
  317. o25.Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097)
  318. o25.MeshType = Enum.MeshType.Wedge
  319. o26.Name = "NoSight"
  320. o26.Parent = o1
  321. o26.BrickColor = BrickColor.new("Black")
  322. o26.Position = Vector3.new(59.7963982, 1.52480197, 191.219437)
  323. o26.Rotation = Vector3.new(179.999252, 0.000992268557, -0.0240890589)
  324. o26.Anchored = true
  325. o26.CanCollide = false
  326. o26.Elasticity = 0
  327. o26.FormFactor = Enum.FormFactor.Custom
  328. o26.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  329. o26.CFrame = CFrame.new(59.7963982, 1.52480197, 191.219437, 0.999998629, 0.000420432829, 1.73183525e-005, 0.000420432421, -0.999998331, -1.31428005e-005, 1.73127555e-005, 1.33365193e-005, -0.99999696)
  330. o26.BottomSurface = Enum.SurfaceType.Smooth
  331. o26.TopSurface = Enum.SurfaceType.Smooth
  332. o26.Color = Color3.new(0.105882, 0.164706, 0.207843)
  333. o26.Position = Vector3.new(59.7963982, 1.52480197, 191.219437)
  334. o27.Parent = o26
  335. o27.MeshId = "http://www.roblox.com/asset/?id=3270017"
  336. o27.Scale = Vector3.new(0.0571428612, 0.0571428612, 0.0571428612)
  337. o27.MeshType = Enum.MeshType.FileMesh
  338. o28.Name = "NoSight"
  339. o28.Parent = o1
  340. o28.BrickColor = BrickColor.new("Black")
  341. o28.Position = Vector3.new(59.7202454, 1.47276294, 191.243576)
  342. o28.Rotation = Vector3.new(179.997513, -0.000881102751, 89.9818802)
  343. o28.Anchored = true
  344. o28.CanCollide = false
  345. o28.Elasticity = 0
  346. o28.FormFactor = Enum.FormFactor.Plate
  347. o28.Size = Vector3.new(1, 0.400000006, 1)
  348. o28.CFrame = CFrame.new(59.7202454, 1.47276294, 191.243576, 0.000316242484, -0.999998629, -1.53781439e-005, -0.999998331, -0.000316241261, -4.36454284e-005, 4.38391435e-005, 1.5393849e-005, -0.99999696)
  349. o28.BottomSurface = Enum.SurfaceType.Smooth
  350. o28.TopSurface = Enum.SurfaceType.Smooth
  351. o28.Color = Color3.new(0.105882, 0.164706, 0.207843)
  352. o28.Position = Vector3.new(59.7202454, 1.47276294, 191.243576)
  353. o29.Parent = o28
  354. o29.Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  355. o30.Name = "NoSight"
  356. o30.Parent = o1
  357. o30.BrickColor = BrickColor.new("Black")
  358. o30.Position = Vector3.new(59.7202454, 1.47264397, 192.52829)
  359. o30.Rotation = Vector3.new(179.997513, -0.000881102751, 89.9818802)
  360. o30.Anchored = true
  361. o30.CanCollide = false
  362. o30.Elasticity = 0
  363. o30.FormFactor = Enum.FormFactor.Plate
  364. o30.Size = Vector3.new(1, 0.400000006, 1)
  365. o30.CFrame = CFrame.new(59.7202454, 1.47264397, 192.52829, 0.000316242484, -0.999998629, -1.53781439e-005, -0.999998331, -0.000316241261, -4.36454284e-005, 4.38391435e-005, 1.5393849e-005, -0.99999696)
  366. o30.BottomSurface = Enum.SurfaceType.Smooth
  367. o30.TopSurface = Enum.SurfaceType.Smooth
  368. o30.Color = Color3.new(0.105882, 0.164706, 0.207843)
  369. o30.Position = Vector3.new(59.7202454, 1.47264397, 192.52829)
  370. o31.Parent = o30
  371. o31.Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  372. o32.Parent = o1
  373. o32.BrickColor = BrickColor.new("Black")
  374. o32.Position = Vector3.new(59.7963982, 1.20182598, 191.338531)
  375. o32.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
  376. o32.Anchored = true
  377. o32.CanCollide = false
  378. o32.Elasticity = 0
  379. o32.FormFactor = Enum.FormFactor.Symmetric
  380. o32.Size = Vector3.new(1, 1, 1)
  381. o32.CFrame = CFrame.new(59.7963982, 1.20182598, 191.338531, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
  382. o32.BottomSurface = Enum.SurfaceType.Smooth
  383. o32.TopSurface = Enum.SurfaceType.Smooth
  384. o32.Color = Color3.new(0.105882, 0.164706, 0.207843)
  385. o32.Position = Vector3.new(59.7963982, 1.20182598, 191.338531)
  386. o33.Parent = o32
  387. o33.Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194)
  388. o34.Parent = o1
  389. o34.BrickColor = BrickColor.new("Black")
  390. o34.Position = Vector3.new(59.7963982, 0.96371001, 191.076248)
  391. o34.Rotation = Vector3.new(-0.00321958517, 0.00275059137, -179.978378)
  392. o34.Anchored = true
  393. o34.CanCollide = false
  394. o34.Elasticity = 0
  395. o34.FormFactor = Enum.FormFactor.Symmetric
  396. o34.Size = Vector3.new(1, 1, 1)
  397. o34.CFrame = CFrame.new(59.7963982, 0.96371001, 191.076248, -0.999998569, 0.000377276359, 4.80068738e-005, -0.000377273187, -0.99999845, 5.61921843e-005, 4.80578747e-005, 5.65051087e-005, 0.999996841)
  398. o34.BottomSurface = Enum.SurfaceType.Smooth
  399. o34.TopSurface = Enum.SurfaceType.Smooth
  400. o34.Color = Color3.new(0.105882, 0.164706, 0.207843)
  401. o34.Position = Vector3.new(59.7963982, 0.96371001, 191.076248)
  402. o35.Parent = o34
  403. o35.Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485)
  404. o35.MeshType = Enum.MeshType.Wedge
  405. o36.Parent = o1
  406. o36.BrickColor = BrickColor.new("Black")
  407. o36.Position = Vector3.new(59.7963982, 1.37784398, 192.862396)
  408. o36.Rotation = Vector3.new(-92.0970917, 89.9051285, 2.09262466)
  409. o36.Anchored = true
  410. o36.CanCollide = false
  411. o36.Elasticity = 0
  412. o36.FormFactor = Enum.FormFactor.Symmetric
  413. o36.Size = Vector3.new(1, 1, 1)
  414. o36.CFrame = CFrame.new(59.7963982, 1.37784398, 192.862396, 0.000420434255, -1.53624314e-005, 0.999998629, -0.999998271, -4.57315873e-005, 0.000420432887, 4.59104012e-005, -0.999996901, -1.53951878e-005)
  415. o36.BottomSurface = Enum.SurfaceType.Smooth
  416. o36.TopSurface = Enum.SurfaceType.Smooth
  417. o36.Color = Color3.new(0.105882, 0.164706, 0.207843)
  418. o36.Position = Vector3.new(59.7963982, 1.37784398, 192.862396)
  419. o37.Parent = o36
  420. o37.Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097)
  421. o38.Name = "HandleD"
  422. o38.Parent = o1
  423. o38.Transparency = 1
  424. o38.Position = Vector3.new(59.7963982, 0.924808025, 191.510574)
  425. o38.Rotation = Vector3.new(179.999252, -0.000881762127, 179.978378)
  426. o38.Anchored = true
  427. o38.CanCollide = false
  428. o38.Elasticity = 0
  429. o38.FormFactor = Enum.FormFactor.Plate
  430. o38.Size = Vector3.new(1, 0.400000006, 1)
  431. o38.CFrame = CFrame.new(59.7963982, 0.924808025, 191.510574, -0.999998629, -0.000377275224, -1.53896526e-005, -0.00037727438, 0.999998331, -1.31278994e-005, 1.53945912e-005, -1.33365193e-005, -0.99999696)
  432. o38.BottomSurface = Enum.SurfaceType.Smooth
  433. o38.FrontSurface = Enum.SurfaceType.Universal
  434. o38.TopSurface = Enum.SurfaceType.Smooth
  435. o38.Position = Vector3.new(59.7963982, 0.924808025, 191.510574)
  436. o39.Name = "Fire"
  437. o39.Parent = o38
  438. o39.Pitch = 1.3500000238419
  439. o39.SoundId = "http://www.roblox.com/asset/?id=97852331"
  440. o39.Volume = 0.25
  441. o40.Name = "Reload"
  442. o40.Parent = o38
  443. o40.SoundId = "http://www.roblox.com/asset/?id=95309699"
  444. o40.Volume = 0.10000000149012
  445. o41.Name = "Cylinder"
  446. o41.Parent = o1
  447. o41.BrickColor = BrickColor.new("Really black")
  448. o41.Position = Vector3.new(59.7963982, 1.37777805, 193.014389)
  449. o41.Rotation = Vector3.new(87.36203, -89.9051285, -2.63255858)
  450. o41.Anchored = true
  451. o41.CanCollide = false
  452. o41.Elasticity = 0
  453. o41.FormFactor = Enum.FormFactor.Plate
  454. o41.Size = Vector3.new(1, 0.400000006, 1)
  455. o41.CFrame = CFrame.new(59.7963982, 1.37777805, 193.014389, 0.000334117154, 1.53624314e-005, -0.999998629, -0.999998271, 4.57315873e-005, -0.000334115815, 4.59104012e-005, 0.999996901, 1.53940309e-005)
  456. o41.BottomSurface = Enum.SurfaceType.Smooth
  457. o41.TopSurface = Enum.SurfaceType.Smooth
  458. o41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  459. o41.Position = Vector3.new(59.7963982, 1.37777805, 193.014389)
  460. o42.Parent = o41
  461. o42.Offset = Vector3.new(0, -0.0185714271, 0)
  462. o42.Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627)
  463. o43.Name = "Mag1"
  464. o43.Parent = o1
  465. o43.BrickColor = BrickColor.new("Dark stone grey")
  466. o43.Position = Vector3.new(59.7968826, 0.520928979, 191.74855)
  467. o43.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
  468. o43.Anchored = true
  469. o43.CanCollide = false
  470. o43.Elasticity = 0
  471. o43.FormFactor = Enum.FormFactor.Custom
  472. o43.Size = Vector3.new(0.200000003, 0.476190478, 0.200000003)
  473. o43.CFrame = CFrame.new(59.7968826, 0.520928979, 191.74855, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
  474. o43.BottomSurface = Enum.SurfaceType.Smooth
  475. o43.TopSurface = Enum.SurfaceType.Smooth
  476. o43.Color = Color3.new(0.388235, 0.372549, 0.384314)
  477. o43.Position = Vector3.new(59.7968826, 0.520928979, 191.74855)
  478. o44.Parent = o43
  479. o44.Scale = Vector3.new(0.809523821, 1, 0.714285731)
  480. o45.Parent = o1
  481. o45.BrickColor = BrickColor.new("Black")
  482. o45.Position = Vector3.new(59.7963982, 1.28275597, 192.362503)
  483. o45.Rotation = Vector3.new(-92.0970917, 89.9051285, 2.09262466)
  484. o45.Anchored = true
  485. o45.CanCollide = false
  486. o45.Elasticity = 0
  487. o45.FormFactor = Enum.FormFactor.Symmetric
  488. o45.Size = Vector3.new(1, 1, 1)
  489. o45.CFrame = CFrame.new(59.7963982, 1.28275597, 192.362503, 0.000420434255, -1.53624314e-005, 0.999998629, -0.999998271, -4.57315873e-005, 0.000420432887, 4.59104012e-005, -0.999996901, -1.53951878e-005)
  490. o45.BottomSurface = Enum.SurfaceType.Smooth
  491. o45.TopSurface = Enum.SurfaceType.Smooth
  492. o45.Color = Color3.new(0.105882, 0.164706, 0.207843)
  493. o45.Position = Vector3.new(59.7963982, 1.28275597, 192.362503)
  494. o46.Parent = o45
  495. o46.Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239)
  496. o47.Name = "Part-to-Port Strong Joint"
  497. o47.Parent = o45
  498. o47.C0 = CFrame.new(-0.5, 0.5, 0.5, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  499. o47.C1 = CFrame.new(-0.567365646, 0.454582214, 0.15675354, -0.965815187, -0.259224743, 4.81826173e-005, -0.259224653, 0.965815544, -3.01207638e-006, -4.59400871e-005, -1.53690817e-005, -0.999996901)
  500. o47.Part0 = o45
  501. o47.Part1 = o87
  502. o48.Parent = o1
  503. o48.BrickColor = BrickColor.new("Black")
  504. o48.Position = Vector3.new(59.7963982, 1.35372806, 191.88652)
  505. o48.Rotation = Vector3.new(87.36203, -89.9051285, -2.63255858)
  506. o48.Anchored = true
  507. o48.CanCollide = false
  508. o48.Elasticity = 0
  509. o48.FormFactor = Enum.FormFactor.Symmetric
  510. o48.Size = Vector3.new(1, 1, 1)
  511. o48.CFrame = CFrame.new(59.7963982, 1.35372806, 191.88652, 0.000334117154, 1.53624314e-005, -0.999998629, -0.999998271, 4.57315873e-005, -0.000334115815, 4.59104012e-005, 0.999996901, 1.53940309e-005)
  512. o48.BottomSurface = Enum.SurfaceType.Smooth
  513. o48.TopSurface = Enum.SurfaceType.Smooth
  514. o48.Color = Color3.new(0.105882, 0.164706, 0.207843)
  515. o48.Position = Vector3.new(59.7963982, 1.35372806, 191.88652)
  516. o49.Parent = o48
  517. o49.Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194)
  518. o50.Parent = o1
  519. o50.BrickColor = BrickColor.new("Black")
  520. o50.Position = Vector3.new(59.7963982, 1.23474205, 192.362595)
  521. o50.Rotation = Vector3.new(-92.0970917, 89.9051285, 2.09262466)
  522. o50.Anchored = true
  523. o50.CanCollide = false
  524. o50.Elasticity = 0
  525. o50.FormFactor = Enum.FormFactor.Symmetric
  526. o50.Size = Vector3.new(1, 1, 1)
  527. o50.CFrame = CFrame.new(59.7963982, 1.23474205, 192.362595, 0.000420434255, -1.53624314e-005, 0.999998629, -0.999998271, -4.57315873e-005, 0.000420432887, 4.59104012e-005, -0.999996901, -1.53951878e-005)
  528. o50.BottomSurface = Enum.SurfaceType.Smooth
  529. o50.TopSurface = Enum.SurfaceType.Smooth
  530. o50.Color = Color3.new(0.105882, 0.164706, 0.207843)
  531. o50.Position = Vector3.new(59.7963982, 1.23474205, 192.362595)
  532. o51.Parent = o50
  533. o51.Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239)
  534. o52.Name = "Part-to-Port Strong Joint"
  535. o52.Parent = o50
  536. o52.C0 = CFrame.new(-0.5, 0.5, 0.5, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  537. o52.C1 = CFrame.new(-0.520986557, 0.467010498, 0.156845093, -0.965815187, -0.259224743, 4.81826173e-005, -0.259224653, 0.965815544, -3.01207638e-006, -4.59400871e-005, -1.53690817e-005, -0.999996901)
  538. o52.Part0 = o50
  539. o52.Part1 = o87
  540. o53.Parent = o1
  541. o53.BrickColor = BrickColor.new("Black")
  542. o53.Position = Vector3.new(59.7963982, 0.901830018, 191.743729)
  543. o53.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
  544. o53.Anchored = true
  545. o53.CanCollide = false
  546. o53.Elasticity = 0
  547. o53.FormFactor = Enum.FormFactor.Symmetric
  548. o53.Size = Vector3.new(1, 1, 1)
  549. o53.CFrame = CFrame.new(59.7963982, 0.901830018, 191.743729, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
  550. o53.BottomSurface = Enum.SurfaceType.Smooth
  551. o53.TopSurface = Enum.SurfaceType.Smooth
  552. o53.Color = Color3.new(0.105882, 0.164706, 0.207843)
  553. o53.Position = Vector3.new(59.7963982, 0.901830018, 191.743729)
  554. o54.Parent = o53
  555. o54.Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194)
  556. o55.Parent = o1
  557. o55.BrickColor = BrickColor.new("Black")
  558. o55.Position = Vector3.new(59.7963982, 0.734970987, 191.600723)
  559. o55.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
  560. o55.Anchored = true
  561. o55.CanCollide = false
  562. o55.Elasticity = 0
  563. o55.FormFactor = Enum.FormFactor.Symmetric
  564. o55.Size = Vector3.new(1, 1, 1)
  565. o55.CFrame = CFrame.new(59.7963982, 0.734970987, 191.600723, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
  566. o55.BottomSurface = Enum.SurfaceType.Smooth
  567. o55.TopSurface = Enum.SurfaceType.Smooth
  568. o55.Color = Color3.new(0.105882, 0.164706, 0.207843)
  569. o55.Position = Vector3.new(59.7963982, 0.734970987, 191.600723)
  570. o56.Parent = o55
  571. o56.Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194)
  572. o57.Parent = o1
  573. o57.BrickColor = BrickColor.new("Black")
  574. o57.Position = Vector3.new(59.7963982, 1.18677402, 191.862274)
  575. o57.Rotation = Vector3.new(87.36203, -89.9051285, -2.63255858)
  576. o57.Anchored = true
  577. o57.CanCollide = false
  578. o57.Elasticity = 0
  579. o57.FormFactor = Enum.FormFactor.Symmetric
  580. o57.Size = Vector3.new(1, 1, 1)
  581. o57.CFrame = CFrame.new(59.7963982, 1.18677402, 191.862274, 0.000334117154, 1.53624314e-005, -0.999998629, -0.999998271, 4.57315873e-005, -0.000334115815, 4.59104012e-005, 0.999996901, 1.53940309e-005)
  582. o57.BottomSurface = Enum.SurfaceType.Smooth
  583. o57.TopSurface = Enum.SurfaceType.Smooth
  584. o57.Color = Color3.new(0.105882, 0.164706, 0.207843)
  585. o57.Position = Vector3.new(59.7963982, 1.18677402, 191.862274)
  586. o58.Parent = o57
  587. o58.Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194)
  588. o59.Parent = o1
  589. o59.BrickColor = BrickColor.new("Black")
  590. o59.Position = Vector3.new(59.7963982, 1.02874994, 191.2724)
  591. o59.Rotation = Vector3.new(90.1920929, -89.9115295, 45.1911354)
  592. o59.Anchored = true
  593. o59.CanCollide = false
  594. o59.Elasticity = 0
  595. o59.FormFactor = Enum.FormFactor.Symmetric
  596. o59.Size = Vector3.new(1, 1, 1)
  597. o59.CFrame = CFrame.new(59.7963982, 1.02874994, 191.2724, 0.00023777863, -0.000239370362, -0.999998808, -0.707081556, 0.707129419, -0.000337401696, 0.707128465, 0.707080603, -1.13121314e-006)
  598. o59.BottomSurface = Enum.SurfaceType.Smooth
  599. o59.TopSurface = Enum.SurfaceType.Smooth
  600. o59.Color = Color3.new(0.105882, 0.164706, 0.207843)
  601. o59.Position = Vector3.new(59.7963982, 1.02874994, 191.2724)
  602. o60.Parent = o59
  603. o60.Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097)
  604. o61.Parent = o1
  605. o61.BrickColor = BrickColor.new("Black")
  606. o61.Position = Vector3.new(59.7963982, 1.24872303, 191.148514)
  607. o61.Rotation = Vector3.new(-90.0032425, -0.0197449103, -89.9991226)
  608. o61.Anchored = true
  609. o61.CanCollide = false
  610. o61.Elasticity = 0
  611. o61.FormFactor = Enum.FormFactor.Symmetric
  612. o61.Size = Vector3.new(1, 1, 1)
  613. o61.CFrame = CFrame.new(59.7963982, 1.24872303, 191.148514, 1.53733763e-005, 0.999998629, -0.000344613683, 5.61921843e-005, 0.000344612228, 0.99999845, 0.999996841, -1.53942347e-005, -5.65051087e-005)
  614. o61.BottomSurface = Enum.SurfaceType.Smooth
  615. o61.TopSurface = Enum.SurfaceType.Smooth
  616. o61.Color = Color3.new(0.105882, 0.164706, 0.207843)
  617. o61.Position = Vector3.new(59.7963982, 1.24872303, 191.148514)
  618. o62.Parent = o61
  619. o62.Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194)
  620. o63.Parent = o1
  621. o63.BrickColor = BrickColor.new("Black")
  622. o63.Position = Vector3.new(59.7963982, 0.972872019, 191.600677)
  623. o63.Rotation = Vector3.new(89.9974899, 0.0233648326, 179.997375)
  624. o63.Anchored = true
  625. o63.CanCollide = false
  626. o63.Elasticity = 0
  627. o63.FormFactor = Enum.FormFactor.Symmetric
  628. o63.Size = Vector3.new(1, 1, 1)
  629. o63.CFrame = CFrame.new(59.7963982, 0.972872019, 191.600677, -0.999998629, -4.58807735e-005, 0.000407793239, -0.000407791493, -4.36752307e-005, -0.999998331, 4.58976283e-005, -0.999996901, 4.38391435e-005)
  630. o63.BottomSurface = Enum.SurfaceType.Smooth
  631. o63.TopSurface = Enum.SurfaceType.Smooth
  632. o63.Color = Color3.new(0.105882, 0.164706, 0.207843)
  633. o63.Position = Vector3.new(59.7963982, 0.972872019, 191.600677)
  634. o64.Parent = o63
  635. o64.Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343)
  636. o64.MeshType = Enum.MeshType.Wedge
  637. o65.Parent = o1
  638. o65.BrickColor = BrickColor.new("Black")
  639. o65.Position = Vector3.new(59.7963982, 1.18680406, 191.600357)
  640. o65.Rotation = Vector3.new(-90.006012, -0.023364298, -0.00436579948)
  641. o65.Anchored = true
  642. o65.CanCollide = false
  643. o65.Elasticity = 0
  644. o65.FormFactor = Enum.FormFactor.Symmetric
  645. o65.Size = Vector3.new(1, 1, 1)
  646. o65.CFrame = CFrame.new(59.7963982, 1.18680406, 191.600357, 0.999998808, 7.61974879e-005, -0.000407783926, 0.000407791376, -0.000104665582, 0.999998271, 7.61573901e-005, -0.99999702, -0.000104889099)
  647. o65.BottomSurface = Enum.SurfaceType.Smooth
  648. o65.TopSurface = Enum.SurfaceType.Smooth
  649. o65.Color = Color3.new(0.105882, 0.164706, 0.207843)
  650. o65.Position = Vector3.new(59.7963982, 1.18680406, 191.600357)
  651. o66.Parent = o65
  652. o66.Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097)
  653. o66.MeshType = Enum.MeshType.Wedge
  654. o67.Parent = o1
  655. o67.BrickColor = BrickColor.new("Black")
  656. o67.Position = Vector3.new(59.7963982, 1.37776804, 192.671585)
  657. o67.Rotation = Vector3.new(-92.0970917, 89.9051285, 2.09262466)
  658. o67.Anchored = true
  659. o67.CanCollide = false
  660. o67.Elasticity = 0
  661. o67.FormFactor = Enum.FormFactor.Symmetric
  662. o67.Size = Vector3.new(1, 1, 1)
  663. o67.CFrame = CFrame.new(59.7963982, 1.37776804, 192.671585, 0.000420434255, -1.53624314e-005, 0.999998629, -0.999998271, -4.57315873e-005, 0.000420432887, 4.59104012e-005, -0.999996901, -1.53951878e-005)
  664. o67.BottomSurface = Enum.SurfaceType.Smooth
  665. o67.TopSurface = Enum.SurfaceType.Smooth
  666. o67.Color = Color3.new(0.105882, 0.164706, 0.207843)
  667. o67.Position = Vector3.new(59.7963982, 1.37776804, 192.671585)
  668. o68.Parent = o67
  669. o68.Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149)
  670. o69.Name = "Block"
  671. o69.Parent = o1
  672. o69.BrickColor = BrickColor.new("Black")
  673. o69.Position = Vector3.new(59.7963982, 1.09186399, 191.906616)
  674. o69.Rotation = Vector3.new(93.8753433, -89.9072189, -146.128876)
  675. o69.Anchored = true
  676. o69.CanCollide = false
  677. o69.Elasticity = 0
  678. o69.FormFactor = Enum.FormFactor.Plate
  679. o69.Size = Vector3.new(1, 0.400000006, 1)
  680. o69.CFrame = CFrame.new(59.7963982, 1.09186399, 191.906616, -0.000323262677, 0.000216987115, -0.999998689, 0.866047204, -0.499958873, -0.000388443208, -0.499958366, -0.866046071, -2.63134498e-005)
  681. o69.BottomSurface = Enum.SurfaceType.Smooth
  682. o69.TopSurface = Enum.SurfaceType.Smooth
  683. o69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  684. o69.Position = Vector3.new(59.7963982, 1.09186399, 191.906616)
  685. o70.Parent = o69
  686. o70.Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485)
  687. o71.Name = "NoSight"
  688. o71.Parent = o1
  689. o71.BrickColor = BrickColor.new("Black")
  690. o71.Position = Vector3.new(59.8725815, 1.47276294, 191.243576)
  691. o71.Rotation = Vector3.new(179.997513, -0.000881102751, 89.9818802)
  692. o71.Anchored = true
  693. o71.CanCollide = false
  694. o71.Elasticity = 0
  695. o71.FormFactor = Enum.FormFactor.Plate
  696. o71.Size = Vector3.new(1, 0.400000006, 1)
  697. o71.CFrame = CFrame.new(59.8725815, 1.47276294, 191.243576, 0.000316242484, -0.999998629, -1.53781439e-005, -0.999998331, -0.000316241261, -4.36454284e-005, 4.38391435e-005, 1.5393849e-005, -0.99999696)
  698. o71.BottomSurface = Enum.SurfaceType.Smooth
  699. o71.TopSurface = Enum.SurfaceType.Smooth
  700. o71.Color = Color3.new(0.105882, 0.164706, 0.207843)
  701. o71.Position = Vector3.new(59.8725815, 1.47276294, 191.243576)
  702. o72.Parent = o71
  703. o72.Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  704. o73.Name = "NoSight"
  705. o73.Parent = o1
  706. o73.BrickColor = BrickColor.new("Black")
  707. o73.Position = Vector3.new(59.8105545, 1.51075399, 192.186325)
  708. o73.Rotation = Vector3.new(-87.8741455, 89.9072189, 87.8717728)
  709. o73.Anchored = true
  710. o73.CanCollide = false
  711. o73.Elasticity = 0
  712. o73.FormFactor = Enum.FormFactor.Custom
  713. o73.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  714. o73.CFrame = CFrame.new(59.8105545, 1.51075399, 192.186325, 1.51542945e-005, -0.000407792773, 0.999998689, -4.36454284e-005, 0.999998331, 0.000407792832, -0.99999696, -4.38391435e-005, 1.51373351e-005)
  715. o73.BottomSurface = Enum.SurfaceType.Smooth
  716. o73.TopSurface = Enum.SurfaceType.Smooth
  717. o73.Color = Color3.new(0.105882, 0.164706, 0.207843)
  718. o73.Position = Vector3.new(59.8105545, 1.51075399, 192.186325)
  719. o74.Parent = o73
  720. o74.Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105)
  721. o74.MeshType = Enum.MeshType.Wedge
  722. o75.Name = "Ring"
  723. o75.Parent = o1
  724. o75.BrickColor = BrickColor.new("Black")
  725. o75.Position = Vector3.new(59.7963982, 1.11583996, 191.910538)
  726. o75.Rotation = Vector3.new(-96.4217224, 89.9051285, -83.5806656)
  727. o75.Anchored = true
  728. o75.CanCollide = false
  729. o75.Elasticity = 0
  730. o75.FormFactor = Enum.FormFactor.Symmetric
  731. o75.Size = Vector3.new(1, 1, 1)
  732. o75.CFrame = CFrame.new(59.7963982, 1.11583996, 191.910538, 4.58807735e-005, 0.000407793676, 0.999998629, 4.36752307e-005, -0.999998331, 0.000407791085, 0.999996901, 4.38391435e-005, -4.58976101e-005)
  733. o75.BottomSurface = Enum.SurfaceType.Smooth
  734. o75.TopSurface = Enum.SurfaceType.Smooth
  735. o75.Color = Color3.new(0.105882, 0.164706, 0.207843)
  736. o75.Position = Vector3.new(59.7963982, 1.11583996, 191.910538)
  737. o76.Parent = o75
  738. o76.MeshId = "http://www.roblox.com/asset/?id=3270017"
  739. o76.Scale = Vector3.new(0.285714298, 0.238095239, 0.238095239)
  740. o76.MeshType = Enum.MeshType.FileMesh
  741. o77.Name = "NoSight"
  742. o77.Parent = o1
  743. o77.BrickColor = BrickColor.new("Black")
  744. o77.Position = Vector3.new(59.782238, 1.51075399, 192.186325)
  745. o77.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
  746. o77.Anchored = true
  747. o77.CanCollide = false
  748. o77.Elasticity = 0
  749. o77.FormFactor = Enum.FormFactor.Custom
  750. o77.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  751. o77.CFrame = CFrame.new(59.782238, 1.51075399, 192.186325, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
  752. o77.BottomSurface = Enum.SurfaceType.Smooth
  753. o77.TopSurface = Enum.SurfaceType.Smooth
  754. o77.Color = Color3.new(0.105882, 0.164706, 0.207843)
  755. o77.Position = Vector3.new(59.782238, 1.51075399, 192.186325)
  756. o78.Parent = o77
  757. o78.Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105)
  758. o78.MeshType = Enum.MeshType.Wedge
  759. o79.Name = "NoSight"
  760. o79.Parent = o1
  761. o79.BrickColor = BrickColor.new("Black")
  762. o79.Position = Vector3.new(59.8725815, 1.47264397, 192.52829)
  763. o79.Rotation = Vector3.new(179.997513, -0.000881102751, 89.9818802)
  764. o79.Anchored = true
  765. o79.CanCollide = false
  766. o79.Elasticity = 0
  767. o79.FormFactor = Enum.FormFactor.Plate
  768. o79.Size = Vector3.new(1, 0.400000006, 1)
  769. o79.CFrame = CFrame.new(59.8725815, 1.47264397, 192.52829, 0.000316242484, -0.999998629, -1.53781439e-005, -0.999998331, -0.000316241261, -4.36454284e-005, 4.38391435e-005, 1.5393849e-005, -0.99999696)
  770. o79.BottomSurface = Enum.SurfaceType.Smooth
  771. o79.TopSurface = Enum.SurfaceType.Smooth
  772. o79.Color = Color3.new(0.105882, 0.164706, 0.207843)
  773. o79.Position = Vector3.new(59.8725815, 1.47264397, 192.52829)
  774. o80.Parent = o79
  775. o80.Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194)
  776. o81.Name = "NoSight"
  777. o81.Parent = o1
  778. o81.BrickColor = BrickColor.new("Black")
  779. o81.Position = Vector3.new(59.7963982, 1.48673594, 191.219437)
  780. o81.Rotation = Vector3.new(92.499733, -89.9072189, 92.5024033)
  781. o81.Anchored = true
  782. o81.CanCollide = false
  783. o81.Elasticity = 0
  784. o81.FormFactor = Enum.FormFactor.Custom
  785. o81.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  786. o81.CFrame = CFrame.new(59.7963982, 1.48673594, 191.219437, -1.51542963e-005, -0.000346757675, -0.999998689, 4.36454284e-005, 0.999998331, -0.000346757763, 0.99999696, -4.38391435e-005, -1.51381428e-005)
  787. o81.BottomSurface = Enum.SurfaceType.Smooth
  788. o81.TopSurface = Enum.SurfaceType.Smooth
  789. o81.Color = Color3.new(0.105882, 0.164706, 0.207843)
  790. o81.Position = Vector3.new(59.7963982, 1.48673594, 191.219437)
  791. o82.Parent = o81
  792. o82.Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603)
  793. o83.Name = "A2"
  794. o83.Parent = o1
  795. o83.BrickColor = BrickColor.new("Dark stone grey")
  796. o83.Position = Vector3.new(59.6102676, 1.37655604, 191.886581)
  797. o83.Rotation = Vector3.new(-91.287262, 89.9010925, 1.29019773)
  798. o83.Anchored = true
  799. o83.CanCollide = false
  800. o83.Elasticity = 0
  801. o83.FormFactor = Enum.FormFactor.Custom
  802. o83.Size = Vector3.new(0.200000003, 0.200000003, 1.20000005)
  803. o83.CFrame = CFrame.new(59.6102676, 1.37655604, 191.886581, 3.04579735e-005, -6.85974669e-007, 0.99999851, -0.999999583, -1.38607647e-005, 3.04281712e-005, 1.41282026e-005, -0.999998152, -6.83742883e-007)
  804. o83.BottomSurface = Enum.SurfaceType.Smooth
  805. o83.TopSurface = Enum.SurfaceType.Smooth
  806. o83.Color = Color3.new(0.388235, 0.372549, 0.384314)
  807. o83.Position = Vector3.new(59.6102676, 1.37655604, 191.886581)
  808. o84.Parent = o83
  809. o84.Offset = Vector3.new(0, 0, 0.0599999987)
  810. o84.Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004)
  811. o85.Name = "A1"
  812. o85.Parent = o1
  813. o85.BrickColor = BrickColor.new("Black")
  814. o85.Position = Vector3.new(59.7102661, 1.37155795, 191.736572)
  815. o85.Rotation = Vector3.new(-91.287262, 89.9010925, 1.29019773)
  816. o85.Anchored = true
  817. o85.CanCollide = false
  818. o85.Elasticity = 0
  819. o85.FormFactor = Enum.FormFactor.Custom
  820. o85.Size = Vector3.new(0.409999967, 0.480000019, 1)
  821. o85.CFrame = CFrame.new(59.7102661, 1.37155795, 191.736572, 3.04579735e-005, -6.85974669e-007, 0.99999851, -0.999999583, -1.38607647e-005, 3.04281712e-005, 1.41282026e-005, -0.999998152, -6.83742883e-007)
  822. o85.BottomSurface = Enum.SurfaceType.Smooth
  823. o85.TopSurface = Enum.SurfaceType.Smooth
  824. o85.Color = Color3.new(0.105882, 0.164706, 0.207843)
  825. o85.Position = Vector3.new(59.7102661, 1.37155795, 191.736572)
  826. o86.Parent = o85
  827. o86.Scale = Vector3.new(0.238000005, 1, 0.0480000004)
  828. o87.Name = "Port"
  829. o87.Parent = o1
  830. o87.Material = Enum.Material.SmoothPlastic
  831. o87.BrickColor = BrickColor.new("Dark stone grey")
  832. o87.Transparency = 1
  833. o87.Position = Vector3.new(59.7102661, 1.35256398, 191.705719)
  834. o87.Rotation = Vector3.new(1.70019246e-006, 1.49652749e-006, -105)
  835. o87.Anchored = true
  836. o87.CanCollide = false
  837. o87.FormFactor = Enum.FormFactor.Custom
  838. o87.Size = Vector3.new(0.200000003, 0.200000003, 0.338461548)
  839. o87.CFrame = CFrame.new(59.7102661, 1.35256398, 191.705719, -0.258818984, 0.965925694, 2.61193325e-008, -0.965925694, -0.258818984, -2.96739557e-008, -3.32160077e-008, 9.31242816e-009, 1)
  840. o87.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  841. o87.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  842. o87.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  843. o87.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  844. o87.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  845. o87.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  846. o87.Color = Color3.new(0.388235, 0.372549, 0.384314)
  847. o87.Position = Vector3.new(59.7102661, 1.35256398, 191.705719)
  848. o88.Parent = o87
  849. o88.Scale = Vector3.new(0.0769230723, 0.538461506, 1)
  850. o89.Name = "Hole"
  851. o89.Parent = o1
  852. o89.BrickColor = BrickColor.new("Really black")
  853. o89.Position = Vector3.new(59.7102661, 1.36658394, 191.736557)
  854. o89.Rotation = Vector3.new(-91.287262, 89.9010925, 1.29019773)
  855. o89.Anchored = true
  856. o89.CanCollide = false
  857. o89.Elasticity = 0
  858. o89.FormFactor = Enum.FormFactor.Custom
  859. o89.Size = Vector3.new(0.399999976, 0.400000036, 1)
  860. o89.CFrame = CFrame.new(59.7102661, 1.36658394, 191.736557, 3.04579735e-005, -6.85974669e-007, 0.99999851, -0.999999583, -1.38607647e-005, 3.04281712e-005, 1.41282026e-005, -0.999998152, -6.83742883e-007)
  861. o89.BottomSurface = Enum.SurfaceType.Smooth
  862. o89.TopSurface = Enum.SurfaceType.Smooth
  863. o89.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  864. o89.Position = Vector3.new(59.7102661, 1.36658394, 191.736557)
  865. o90.Parent = o89
  866. o90.Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485)
  867. o91.Name = "Sil"
  868. o91.Parent = o1
  869. o91.Material = Enum.Material.SmoothPlastic
  870. o91.BrickColor = BrickColor.new("Really black")
  871. o91.Position = Vector3.new(59.7909775, 1.38277197, 193.745148)
  872. o91.Rotation = Vector3.new(-90, 0, -0)
  873. o91.Anchored = true
  874. o91.FormFactor = Enum.FormFactor.Custom
  875. o91.Size = Vector3.new(0.200000048, 0.200000003, 0.200000003)
  876. o91.CFrame = CFrame.new(59.7909775, 1.38277197, 193.745148, 1, 0, 0, 0, 0, 1, 0, -1, -4.37113883e-008)
  877. o91.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  878. o91.Position = Vector3.new(59.7909775, 1.38277197, 193.745148)
  879. o92.Parent = o91
  880. o92.Offset = Vector3.new(0, 0.199000001, 0)
  881. o92.Scale = Vector3.new(0.5, 1, 1)
  882. o93.Name = "Coloring"
  883. o93.Parent = o1
  884. table.insert(cors,coroutine.create(function()
  885. wait()
  886. runDummyScript(function()
  887. repeat
  888. wait()
  889. until script.Parent.Parent.Parent.ClassName == "Player"
  890. g = script.Parent:GetChildren()
  891. for i = 1,#g do
  892. if g[i].Name == "Color" then
  893. g[i].BrickColor = script.Parent.Parent.Parent.TeamColor
  894. end
  895. end
  896.  
  897. end,o93)
  898. end))
  899. o94.Name = "Gun_Script"
  900. o94.Parent = o1
  901. table.insert(cors,coroutine.create(function()
  902. wait()
  903. runDummyScript(function()
  904. wait(0.5)
  905. --Edit settings below--
  906. local Tool = script.Parent
  907. local Settings = {
  908. Range = 700
  909. ,Spread = 5
  910. ,Damage = {16, 20}
  911. ,HeadShotDamage = {13, 14}
  912. ,Bullets = 1
  913. ,FireRate = 0.10
  914. ,Automatic = true
  915. ,AntiTK = false
  916. ,ImpactDuration = 3
  917. --Reload
  918. ,ReloadKey = "R"
  919. ,ReloadTime = 3
  920. ,Ammo = 30
  921. ,IncludeChamberedBullet = true
  922. --Gui
  923. ,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
  924. --Arms
  925. ,OneHanded = false
  926. ,FakeArms = true
  927. ,FakeArmTransparency = 1
  928. ,RightPos = CFrame.new(-0.75, -0.25, 0.5) * CFrame.Angles(math.rad(-90), 0, 0)
  929. ,LeftPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-90), math.rad(45), 0)
  930. ,AimPart = Tool.AimPart
  931. ,AimPartOffset = CFrame.new()
  932. ,AimGripOffset = Vector3.new(0, 0, 0)
  933. ,LeftAimPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-100), math.rad(45), 0)
  934. ,AimAnim = {
  935. Enabled = false
  936. ,Frames = 50
  937. ,Time = 0.1
  938. }
  939. ,ChangeFOV = {true, 60}
  940. ,SpreadReduction = 3
  941. --Weld
  942. ,Weld = true
  943. --Mouse
  944. ,Icons = {
  945. Idle = "rbxassetid://70288585"
  946. ,Fire1 = "rbxassetid://70288578"
  947. ,Fire2 = "rbxassetid://70288572"
  948. ,Fire3 = "rbxassetid://70288578"
  949. ,Reload = "rbxassetid://70288599"
  950. ,Aim = "rbxasset://textures/Blank.png"
  951. }
  952. ,FireMouseAnimTime = 0.15
  953. --Recoil
  954. ,Recoil = math.rad(1.2)
  955. --Smoke
  956. ,Smoke = true
  957. ,SmokePart = Tool.SmokePart
  958. ,Smokes = {{script.Smoke, 6, 0.1}, {script.Smoke1, 0.1}, {script.Smoke1, 0.1}}
  959. --Sprint
  960. ,Sprint = true
  961. ,SprintSpeed = 25
  962. ,SprintKey = "0"
  963. ,SprintSpreadIncrease = 40
  964. ,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
  965. --Other
  966. ,DropHats = false
  967. }
  968.  
  969. --Do not edit below this lign--
  970.  
  971. local Orig_Spread = Settings.Spread
  972. local Orig_Grip = Tool.GripPos
  973.  
  974. local Player = game.Players.LocalPlayer
  975. local Character = Player.Character
  976.  
  977. local Camera = Workspace.CurrentCamera
  978.  
  979. local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
  980.  
  981. local Gui, CanUpdateGui = nil, true
  982.  
  983. local Sprinting, Equipped
  984.  
  985. function Update_Gui()
  986. if Gui and CanUpdateGui then
  987. Gui.Frame.AmmoDisplay.Text = Ammo.Value .. "|" .. StoredAmmo.Value
  988. end
  989. end
  990.  
  991. local Welded
  992. if Settings.Weld then
  993. Delay(0, function()
  994. local weldC0s = {}
  995. for i, v in pairs(Tool:GetChildren()) do
  996. if v:IsA("BasePart") and v ~= Tool.Handle then
  997. table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
  998. v.Anchored = false
  999. end
  1000. end
  1001. Tool.Handle.Anchored = false
  1002. local welds = {}
  1003. Tool.Equipped:connect(function()
  1004. for i, v in ipairs(welds) do
  1005. v.Part1 = nil
  1006. v:Destroy()
  1007. end
  1008. for i, v in ipairs(weldC0s) do
  1009. if v[1] and v[2] then
  1010. local w = Instance.new("Weld", Tool.Handle)
  1011. w.Part0 = Tool.Handle
  1012. w.Part1 = v[1]
  1013. w.C0 = v[2]
  1014. table.insert(welds, w)
  1015. end
  1016. end
  1017. end)
  1018. wait()
  1019. Welded = true
  1020. end)
  1021. end
  1022.  
  1023. local Left_Weld, Right_Weld
  1024.  
  1025. Ammo.Changed:connect(Update_Gui)
  1026. StoredAmmo.Changed:connect(Update_Gui)
  1027.  
  1028. Settings.Range = math.min(Settings.Range, 999)
  1029.  
  1030. local Ignore_Model = Workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", Workspace)
  1031. Ignore_Model.Name = "Ray_Ignore"
  1032.  
  1033. local Ray_Ignore = {Character, Ignore_Model, Camera}
  1034.  
  1035. Character.Humanoid.Died:connect(function()
  1036. Tool.Parent = Player.Backpack
  1037. end)
  1038.  
  1039. function Fire(Mouse)
  1040. local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
  1041. local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
  1042. local Hit, Pos = Workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
  1043. if Hit and Hit.Parent:FindFirstChild("Humanoid") then
  1044. local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
  1045. if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
  1046. return
  1047. end
  1048. local Humanoid = Hit.Parent.Humanoid
  1049. local c = Instance.new("ObjectValue")
  1050. c.Name = "creator"
  1051. c.Value = Player
  1052. game.Debris:AddItem(c, 3)
  1053. c.Parent = Humanoid
  1054. if Hit.Name == "Head" then
  1055. Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
  1056. else
  1057. Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
  1058. end
  1059. elseif Hit then
  1060. local Hit_Part = Instance.new("Part", Ignore_Model)
  1061. Hit_Part.FormFactor = "Custom"
  1062. Hit_Part.TopSurface = 0
  1063. Hit_Part.BottomSurface = 0
  1064. Hit_Part.Anchored = true
  1065. Hit_Part.CanCollide = false
  1066. Hit_Part.Size = Vector3.new()
  1067. Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  1068. Hit_Part.BrickColor = BrickColor.new("Black")
  1069. game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
  1070. if not Hit.Anchored then
  1071. local w = Instance.new("Weld", Hit_Part)
  1072. w.Part0 = Hit
  1073. w.Part1 = Hit_Part
  1074. w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
  1075. Hit_Part.Anchored = false
  1076. end
  1077. if Hit.Parent:IsA("Hat") and Settings.DropHats then
  1078. Hit.Parent.Parent = workspace
  1079. game.Debris:AddItem(Hit, 3)
  1080. end
  1081. end
  1082. end
  1083.  
  1084. local Can_Shoot = true
  1085. local Reloading = false
  1086.  
  1087. local First_Person = false
  1088.  
  1089. local Mouse_Held
  1090.  
  1091. Tool.Equipped:connect(function(Mouse)
  1092. Equipped = true
  1093. if Settings.Weld and not Welded then
  1094. wait()
  1095. Tool.Parent = Player.Backpack
  1096. end
  1097. Character = Player.Character
  1098. if Gui then
  1099. return
  1100. end
  1101. Ray_Ignore = {Character, Ignore_Model, Camera}
  1102. Mouse.Icon = Settings.Icons.Idle
  1103. Gui = script.Gui:Clone()
  1104. Gui.Parent = Player.PlayerGui
  1105. Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
  1106. Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
  1107. CanUpdateGui = true
  1108. Update_Gui()
  1109. Mouse.Button1Down:connect(function()
  1110. if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
  1111. Mouse_Held = true
  1112. while true do
  1113. Can_Shoot = false
  1114. Delay(0, function()
  1115. local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
  1116. if not Aiming then
  1117. Mouse.Icon = Settings.Icons.Fire1
  1118. end
  1119. wait(t)
  1120. if not Aiming then
  1121. if Reloading then return end
  1122. Mouse.Icon = Settings.Icons.Fire2
  1123. end
  1124. wait(t)
  1125. if not Aiming then
  1126. if Reloading then return end
  1127. Mouse.Icon = Settings.Icons.Fire3
  1128. end
  1129. wait(t)
  1130. if not Aiming then
  1131. if Reloading then return end
  1132. Mouse.Icon = Settings.Icons.Idle
  1133. end
  1134. end)
  1135. if Settings.Smoke then
  1136. for i, v in pairs(Settings.Smokes) do
  1137. local s = v[1]:Clone()
  1138. s.Parent = Settings.SmokePart
  1139. s.Enabled = true
  1140. game.Debris:AddItem(s, v[2])
  1141. if v[3] then
  1142. Delay(v[3], function()
  1143. s.Enabled = false
  1144. end)
  1145. end
  1146. end
  1147. end
  1148. for _ = 1, Settings.Bullets do
  1149. Fire(Mouse)
  1150. end
  1151. Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(math.abs(Settings.Recoil), 0, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
  1152. if Tool.Handle:FindFirstChild("Shoot") then
  1153. Tool.Handle.Shoot:Play()
  1154. end
  1155. Ammo.Value = Ammo.Value - 1
  1156. wait(Settings.FireRate)
  1157. if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
  1158. break
  1159. end
  1160. end
  1161. Can_Shoot = true
  1162. elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
  1163. Tool.Handle.Click:Play()
  1164. end
  1165. end)
  1166. Mouse.Button1Up:connect(function()
  1167. Mouse_Held = false
  1168. end)
  1169. Mouse.KeyDown:connect(function(Key)
  1170. if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
  1171. if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
  1172. return
  1173. end
  1174. Can_Shoot = false
  1175. Reloading = true
  1176. local TextLabel = Gui.Frame.AmmoDisplay
  1177. Delay(0, function()
  1178. CanUpdateGui = false
  1179. TextLabel.Text = "Reloading."
  1180. wait(Settings.ReloadTime/3)
  1181. if TextLabel then
  1182. TextLabel.Text = "Reloading.."
  1183. end
  1184. wait(Settings.ReloadTime/3)
  1185. if TextLabel then
  1186. TextLabel.Text = "Reloading..."
  1187. end
  1188. end)
  1189. if Tool.Handle:FindFirstChild("Reload") then
  1190. Tool.Handle.Reload:Play()
  1191. end
  1192. Mouse.Icon = Settings.Icons.Reload
  1193. wait(Settings.ReloadTime)
  1194. Mouse.Icon = Settings.Icons.Idle
  1195. CanUpdateGui = true
  1196. local m = Settings.Ammo
  1197. if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
  1198. m = m + 1
  1199. end
  1200. if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
  1201. Ammo.Value = Ammo.Value + StoredAmmo.Value
  1202. StoredAmmo.Value = 0
  1203. else
  1204. StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
  1205. Ammo.Value = m
  1206. end
  1207. Can_Shoot = true
  1208. Reloading = false
  1209. elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
  1210. Sprinting = true
  1211. Character.Humanoid.WalkSpeed = Settings.SprintSpeed
  1212. Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
  1213. end
  1214. end)
  1215. Mouse.KeyUp:connect(function(Key)
  1216. if Key:upper() == Settings.SprintKey:upper() and Sprinting then
  1217. Sprinting = false
  1218. Character.Humanoid.WalkSpeed = 16
  1219. Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
  1220. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1221. end
  1222. end)
  1223. Mouse.Button2Down:connect(function()
  1224. if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
  1225. Aiming = true
  1226. Mouse.Icon = Settings.Icons.Aim
  1227. if Settings.AimAnim.Enabled then
  1228. Right_Weld.C1 = CFrame.new()
  1229. Right_Weld.C0 = CFrame.new()
  1230. Delay(0, function()
  1231. Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
  1232. end)
  1233. Delay(0, function()
  1234. Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
  1235. end)
  1236. Delay(0, function()
  1237. if Settings.ChangeFOV[1] then
  1238. Camera.FieldOfView = 70
  1239. local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
  1240. for i = 1, T_F do
  1241. local FOV = 70 - Cam_Dif/T_F * i
  1242. Camera.FieldOfView = FOV
  1243. wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
  1244. if not Aiming then
  1245. return
  1246. end
  1247. end
  1248. Camera.FieldOfView = Settings.ChangeFOV[2]
  1249. end
  1250. end)
  1251. else
  1252. Right_Weld.C1 = CFrame.new()
  1253. Right_Weld.C0 = CFrame.new()
  1254. Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
  1255. Left_Weld.C1 = Settings.LeftAimPos
  1256. if Settings.ChangeFOV[1] then
  1257. Camera.FieldOfView = Settings.ChangeFOV[2]
  1258. end
  1259. end
  1260. Tool.GripPos = Orig_Grip + Settings.AimGripOffset
  1261. Settings.Spread = Settings.Spread - Settings.SpreadReduction
  1262. end
  1263. end)
  1264. Mouse.Button2Up:connect(function()
  1265. if Aiming then
  1266. Mouse.Icon = Settings.Icons.Idle
  1267. Tool.GripPos = Orig_Grip
  1268. if Settings.AimAnim.Enabled then
  1269. Delay(0, function()
  1270. Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
  1271. end)
  1272. Delay(0, function()
  1273. Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
  1274. end)
  1275. else
  1276. Right_Weld.C1 = Settings.RightPos
  1277. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1278. Left_Weld.C1 = Settings.LeftPos
  1279. end
  1280. if Settings.ChangeFOV[1] then
  1281. Camera.FieldOfView = 70
  1282. end
  1283. Settings.Spread = Settings.Spread + Settings.SpreadReduction
  1284. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1285. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1286. wait(0.25)
  1287. Aiming = false
  1288. end
  1289. end)
  1290. wait()
  1291. Camera.Changed:connect(function()
  1292. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  1293. Mouse.TargetFilter = workspace
  1294. Character.Torso.Neck.C1 = CFrame.new()
  1295. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  1296. end
  1297. end)
  1298. Mouse.Idle:connect(function()
  1299. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  1300. Mouse.TargetFilter = workspace
  1301. Character.Torso.Neck.C1 = CFrame.new()
  1302. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  1303. end
  1304. end)
  1305. while wait() and Equipped do
  1306. if Sprinting then
  1307. Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  1308. Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  1309. elseif not Aiming then
  1310. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  1311. end
  1312. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
  1313. Mouse.TargetFilter = nil
  1314. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1315. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1316. end
  1317. end
  1318. end)
  1319.  
  1320. local Arms_Made
  1321. local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
  1322.  
  1323. Tool.Equipped:connect(function(Mouse)
  1324. if Character and not Arms_Made then
  1325. Arms_Made = true
  1326. local Torso = Character.Torso
  1327. Torso["Right Shoulder"].Part1 = nil
  1328. Left_Weld = Instance.new("Weld", Torso)
  1329. Left_Weld.Name = "Left_Weld"
  1330. Left_Weld.Part0 = Character.Head
  1331. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  1332. if not Settings.OneHanded then
  1333. Torso["Left Shoulder"].Part1 = nil
  1334. Left_Weld.Part1 = Character["Left Arm"]
  1335. end
  1336. Right_Weld = Instance.new("Weld", Torso)
  1337. Right_Weld.Name = "Right_Weld"
  1338. Right_Weld.Part0 = Character.Head
  1339. Right_Weld.Part1 = Character["Right Arm"]
  1340. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1341. Left_Weld.C1 = Settings.LeftPos
  1342. Right_Weld.C1 = Settings.RightPos
  1343. end
  1344. if Settings.FakeArms and not Fake_Arm_Right then
  1345. Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
  1346. Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
  1347. Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
  1348. local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
  1349. for i = 1, 2 do
  1350. local w = Instance.new("Weld", fakeArms[i])
  1351. w.Part0 = Character[fakeArms[i].Name]
  1352. w.Part1 = fakeArms[i]
  1353. fakeArms[i].Transparency = Settings.FakeArmTransparency
  1354. end
  1355. Fake_Arm_Model = Instance.new("Model", Camera)
  1356. Fake_Arm_Right.Parent = Fake_Arm_Model
  1357. if not Settings.OneHanded then
  1358. Fake_Arm_Left.Parent = Fake_Arm_Model
  1359. end
  1360. Fake_Arm_Model.Name = "FakeArms"
  1361. if Settings.CharacterMeshes then
  1362. for i, v in pairs(Character:GetChildren()) do
  1363. if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
  1364. v:Clone().Parent = Fake_Arm_Model
  1365. end
  1366. end
  1367. end
  1368. if Character:FindFirstChild("Shirt") then
  1369. Instance.new("Humanoid", Fake_Arm_Model)
  1370. Character.Shirt:Clone().Parent = Fake_Arm_Model
  1371. else
  1372. local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
  1373. Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(5, 10, 5)
  1374. local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
  1375. Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(5, 10, 5)
  1376. end
  1377. end
  1378. end)
  1379.  
  1380. Tool.Unequipped:connect(function()
  1381. Equipped = false
  1382. Tool.GripPos = Orig_Grip
  1383. Aiming = false
  1384. Settings.Spread = Orig_Spread
  1385. if Settings.ChangeFOV[1] then
  1386. Camera.FieldOfView = 70
  1387. end
  1388. if Gui then
  1389. Gui:Destroy()
  1390. Gui = nil
  1391. end
  1392. for i, v in pairs(Tool.Handle:GetChildren()) do
  1393. if v:IsA("Sound") then
  1394. v:Stop()
  1395. end
  1396. end
  1397. if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
  1398. Fake_Arm_Model:Destroy()
  1399. Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
  1400. end
  1401. if Character and Left_Weld and Right_Weld then
  1402. Arms_Made = false
  1403. local Torso = Character.Torso
  1404. Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
  1405. Left_Weld:Destroy()
  1406. Right_Weld:Destroy()
  1407. end
  1408. Sprinting = false
  1409. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1410. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1411. Character.Humanoid.WalkSpeed = 16
  1412. end)
  1413.  
  1414. end,o94)
  1415. end))
  1416. o95.Name = "Ammo"
  1417. o95.Parent = o94
  1418. o95.Value = 30
  1419. o96.Name = "StoredAmmo"
  1420. o96.Parent = o94
  1421. o96.Value = 1200
  1422. o97.Name = "Gui"
  1423. o97.Parent = o94
  1424. o98.Parent = o97
  1425. o98.Position = UDim2.new(1,-200,1,-100)
  1426. o98.Size = UDim2.new(0,100,0,100)
  1427. o98.Position = UDim2.new(1,-200,1,-100)
  1428. o98.BackgroundColor3 = Color3.new(1, 1, 1)
  1429. o98.BackgroundTransparency = 1
  1430. o98.BorderSizePixel = 0
  1431. o99.Name = "AmmoDisplay"
  1432. o99.Parent = o98
  1433. o99.Size = UDim2.new(1,0,1,0)
  1434. o99.Text = ""
  1435. o99.BackgroundTransparency = 1
  1436. o99.FontSize = Enum.FontSize.Size24
  1437. o99.TextColor3 = Color3.new(0.917647, 0.917647, 0.917647)
  1438. o99.TextStrokeTransparency = 0.5
  1439. o99.TextXAlignment = Enum.TextXAlignment.Right
  1440. o100.Parent = o94
  1441. o100.Size = 0.30000001192093
  1442. o100.Color = Color3.new(0.372549, 0.372549, 0.372549)
  1443. o100.Enabled = false
  1444. o100.Opacity = 0.30000001192093
  1445. o100.RiseVelocity = 15
  1446. o101.Name = "Smoke1"
  1447. o101.Parent = o94
  1448. o101.Size = 0.10000000149012
  1449. o101.Color = Color3.new(1, 0.6, 0.2)
  1450. o101.Enabled = false
  1451. o101.Opacity = 0.40000000596046
  1452. o101.RiseVelocity = 3
  1453. mas.Parent = workspace
  1454. mas:MakeJoints()
  1455. local mas1 = mas:GetChildren()
  1456. for i=1,#mas1 do
  1457. mas1[i].Parent = game:GetService("Players").LocalPlayer.Backpack
  1458. ypcall(function() mas1[i]:MakeJoints() end)
  1459. end
  1460. mas:Destroy()
  1461. for i=1,#cors do
  1462. coroutine.resume(cors[i])
  1463. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement