Advertisement
speedyfox66

uzi?

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