Guest User

Untitled

a guest
Jan 11th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.12 KB | None | 0 0
  1.  
  2. repeat
  3. wait()
  4. until game.Players.LocalPlayer.Character
  5. wait(0.5)
  6.  
  7. --// Variables
  8. local L_1_ = script.Parent
  9. local L_2_ = game.Players.LocalPlayer
  10. local L_3_ = L_2_.Character
  11. local L_4_ = L_2_:GetMouse()
  12. local L_5_ = workspace.CurrentCamera
  13.  
  14. local L_6_ = L_3_:WaitForChild('Torso')
  15. local L_7_ = L_3_:WaitForChild('Head')
  16. local L_8_ = L_3_:WaitForChild('HumanoidRootPart')
  17. local L_9_ = L_8_:WaitForChild('RootJoint')
  18. local L_10_ = L_6_:WaitForChild('Right Hip')
  19. local L_11_ = L_6_:WaitForChild('Left Hip')
  20.  
  21. --// Services
  22. local L_12_ = game:GetService('UserInputService')
  23. local L_13_ = game:GetService('RunService')
  24. local L_14_ = game:GetService('TweenService')
  25.  
  26. --// Declarables
  27. local L_15_ = false
  28.  
  29. local L_16_ = false
  30. local L_17_ = true
  31.  
  32. local L_18_ = L_1_:WaitForChild('Resource')
  33. local L_19_ = L_18_:WaitForChild('FX')
  34. local L_20_ = L_18_:WaitForChild('Events')
  35. local L_21_ = L_18_:WaitForChild('HUD')
  36. local L_22_ = L_18_:WaitForChild('Modules')
  37. local L_23_ = L_18_:WaitForChild('SettingsModule')
  38. local L_24_ = require(L_23_:WaitForChild("ClientConfig"))
  39. local L_25_ = L_18_:WaitForChild('Vars')
  40.  
  41. local L_26_
  42. local L_27_
  43. local L_28_
  44. local L_29_
  45. local L_30_
  46. local L_31_
  47. local L_32_
  48. local L_33_
  49. local L_34_
  50. local L_35_
  51. local L_36_
  52. local L_37_
  53. local L_38_
  54. local L_39_
  55. local L_40_
  56. local L_41_
  57.  
  58. local L_42_
  59.  
  60. local L_43_
  61. local L_44_
  62. local L_45_
  63. local L_46_
  64. local L_47_
  65. local L_48_
  66. local L_49_
  67.  
  68. local L_50_ = L_24_.AimZoom
  69.  
  70. local L_51_ = L_24_.MouseSensitivity
  71. local L_52_ = L_12_.MouseDeltaSensitivity
  72.  
  73. local L_53_ = game.ReplicatedStorage:FindFirstChild('SoundIso_Network') or nil
  74. local L_54_
  75. if L_53_ then
  76. L_54_ = L_53_:WaitForChild('EventConnection')
  77. end
  78.  
  79. local L_55_ = CFrame.Angles(0, 0, 0)
  80.  
  81. --// Weapon Parts
  82. local L_56_ = L_1_:WaitForChild('AimPart')
  83. local L_57_
  84. local L_58_ = L_1_:WaitForChild('Grip')
  85. local L_59_ = L_1_:WaitForChild('FirePart')
  86. local L_60_
  87. local L_61_ = L_1_:WaitForChild('Mag')
  88. local L_62_ = L_1_:WaitForChild('Bolt')
  89.  
  90. --// Probability
  91. local L_63_
  92.  
  93. --// States
  94. local L_64_ = false
  95. local L_65_ = false
  96. local L_66_ = false
  97. local L_67_ = false
  98. local L_68_ = false
  99. local L_69_ = true
  100. local L_70_ = false
  101. local L_71_ = false
  102. local L_72_ = false
  103. local L_73_ = false
  104. local L_74_ = false
  105. local L_75_ = false
  106. local L_76_ = false
  107. local L_77_ = false
  108. local L_78_ = false
  109. local L_79_ = false
  110.  
  111. local L_80_ = false
  112. local L_81_ = false
  113. local L_82_ = false
  114.  
  115. local L_83_ = false
  116. local L_84_ = true
  117. local L_85_ = true
  118.  
  119. local L_86_ = false
  120.  
  121. local L_87_
  122. local L_88_
  123.  
  124. local L_89_
  125. local L_90_
  126. local L_91_
  127.  
  128. local L_92_ = L_24_.FireMode
  129.  
  130. local L_93_ = 0
  131. local L_94_ = false
  132. local L_95_ = true
  133. local L_96_ = false
  134.  
  135. local L_97_ = 70
  136.  
  137. local L_98_ = L_2_.PlayerGui:FindFirstChild('AimSFX') or Instance.new('Sound')
  138. L_98_.Parent = L_2_.PlayerGui
  139.  
  140. --// Tables
  141. local L_99_ = {
  142.  
  143. "2389761679";
  144. "151130102";
  145. "151130171";
  146. "285421804";
  147. "287769483";
  148. "287769415";
  149. "285421687";
  150. "287769261";
  151. "287772525";
  152. "287772445";
  153. "287772351";
  154. "285421819";
  155. "287772163";
  156.  
  157. }
  158.  
  159. local L_100_ = {
  160.  
  161. "2282590559";
  162. "2282583154";
  163. "2282584222";
  164. "2282584708";
  165. "2282585118";
  166. "2282586860";
  167. "2282587182";
  168. "2282587628";
  169. "2282588117";
  170. "2282588433";
  171. "2282576973";
  172. "2282577954";
  173. "2282578595";
  174. "2282579272";
  175. "2282579760";
  176. "2282580279";
  177. "2282580551";
  178. "2282580935";
  179. "2282582377";
  180. "2282582717";
  181. "2282449653";
  182.  
  183. }
  184.  
  185. local L_101_ = {
  186.  
  187. "2297264589";
  188. "2297264920";
  189. "2297265171";
  190. "2297265394";
  191. "2297266410";
  192. "2297266774";
  193. "2297267106";
  194. "2297267463";
  195. "2297267748";
  196. "2297268261";
  197. "2297268486";
  198. "2297268707";
  199. "2297268894";
  200. "2297269092";
  201. "2297269542";
  202. "2297269946";
  203. "2297270243";
  204. "2297270591";
  205. "2297270984";
  206. "2297271381";
  207. "2297271626";
  208. "2297272112";
  209. "2297272424";
  210.  
  211. }
  212.  
  213. local L_102_ = {
  214.  
  215. 2211580202;
  216. 2211580297;
  217. 2211580374;
  218. 2211580446;
  219.  
  220. }
  221.  
  222. local L_103_ = {
  223.  
  224. 2211580506;
  225. 2211580587;
  226. 2211580721;
  227. 2211580791;
  228.  
  229. }
  230.  
  231.  
  232. local L_104_ = workspace:FindFirstChild("BulletModel: " .. L_2_.Name) or Instance.new("Folder", workspace)
  233. L_104_.Name = "BulletModel: " .. L_2_.Name
  234.  
  235. local L_105_
  236.  
  237. local L_106_ = L_24_.Ammo
  238. local L_107_ = L_24_.StoredAmmo * L_24_.MagCount
  239.  
  240. local L_108_ = L_24_.ExplosiveAmmo
  241.  
  242. IgnoreList = {
  243. L_3_,
  244. L_104_,
  245. L_5_
  246. }
  247.  
  248. --// Services
  249. local L_109_ = game:GetService('RunService').RenderStepped
  250. local L_110_ = game:GetService('UserInputService')
  251.  
  252. --// Events
  253. local L_111_ = L_20_:WaitForChild('Equipped')
  254. local L_112_ = L_20_:WaitForChild('ShootEvent')
  255. local L_113_ = L_20_:WaitForChild('DamageEvent')
  256. local L_114_ = L_20_:WaitForChild('CreateOwner')
  257. local L_115_ = L_20_:WaitForChild('Stance')
  258. local L_116_ = L_20_:WaitForChild('HitEvent')
  259. local L_117_ = L_20_:WaitForChild('KillEvent')
  260. local L_118_ = L_20_:WaitForChild('AimEvent')
  261. local L_119_ = L_20_:WaitForChild('ExploEvent')
  262. local L_120_ = L_20_:WaitForChild('AttachEvent')
  263. local L_121_ = L_20_:WaitForChild('ServerFXEvent')
  264. local L_122_ = L_20_:WaitForChild('ChangeIDEvent')
  265.  
  266. --// Modules
  267. local L_123_ = require(L_22_:WaitForChild("Utilities"))
  268. local L_124_ = require(L_22_:WaitForChild("Spring"))
  269. local L_125_ = require(L_22_:WaitForChild("Plugins"))
  270. local L_126_ = require(L_22_:WaitForChild("easing"))
  271.  
  272. local L_127_ = L_123_.Fade
  273. local L_128_ = L_123_.SpawnCam
  274. local L_129_ = L_123_.FixCam
  275. local L_130_ = L_123_.tweenFoV
  276. local L_131_ = L_123_.tweenCam
  277. local L_132_ = L_123_.tweenRoll
  278. local L_133_ = L_123_.TweenJoint
  279.  
  280. local L_134_ = L_123_.Weld
  281.  
  282. --// Math
  283. local L_135_ = function(L_172_arg1, L_173_arg2, L_174_arg3)
  284. if L_172_arg1 > L_174_arg3 then
  285. return L_174_arg3
  286. elseif L_172_arg1 < L_173_arg2 then
  287. return L_173_arg2
  288. end
  289. return L_172_arg1
  290. end
  291.  
  292. local L_136_ = L_124_.new(Vector3.new())
  293. L_136_.s = 30
  294. L_136_.d = 0.55
  295.  
  296. local L_137_ = CFrame.Angles(0, 0, 0)
  297.  
  298. --// Functions
  299. function MakeFakeArms()
  300. Arms = Instance.new("Model")
  301. Arms.Name = "Arms"
  302. Arms.Parent = L_5_
  303.  
  304. local L_175_ = Instance.new("Humanoid")
  305. L_175_.MaxHealth = 0
  306. L_175_.Health = 0
  307. L_175_.Name = ""
  308. L_175_.Parent = Arms
  309.  
  310. if L_3_:FindFirstChild("Shirt") then
  311. local L_180_ = L_3_:FindFirstChild("Shirt"):clone()
  312. L_180_.Parent = Arms
  313. end
  314.  
  315. local L_176_ = L_3_:FindFirstChild("Right Arm"):clone()
  316. for L_181_forvar1, L_182_forvar2 in pairs(L_176_:GetChildren()) do
  317. if L_182_forvar2:IsA('Motor6D') then
  318. L_182_forvar2:Destroy()
  319. end
  320. end
  321. L_176_.Name = "Right Arm"
  322. L_176_.FormFactor = "Custom"
  323. L_176_.Size = Vector3.new(0.8, 2.5, 0.8)
  324. L_176_.Transparency = 0.0
  325.  
  326. local L_177_ = Instance.new("Motor6D")
  327. L_177_.Part0 = L_176_
  328. L_177_.Part1 = L_3_:FindFirstChild("Right Arm")
  329. L_177_.C0 = CFrame.new()
  330. L_177_.C1 = CFrame.new()
  331. L_177_.Parent = L_176_
  332. L_176_.Parent = Arms
  333.  
  334. local L_178_ = L_3_:FindFirstChild("Left Arm"):clone()
  335. L_178_.Name = "Left Arm"
  336. L_178_.FormFactor = "Custom"
  337. L_178_.Size = Vector3.new(0.8, 2.5, 0.8)
  338. L_178_.Transparency = 0.0
  339.  
  340. local L_179_ = Instance.new("Motor6D")
  341. L_179_.Part0 = L_178_
  342. L_179_.Part1 = L_3_:FindFirstChild("Left Arm")
  343. L_179_.C0 = CFrame.new()
  344. L_179_.C1 = CFrame.new()
  345. L_179_.Parent = L_178_
  346. L_178_.Parent = Arms
  347. end
  348.  
  349. function RemoveArmModel()
  350. if Arms then
  351. Arms:Destroy()
  352. Arms = nil
  353. end
  354. end
  355.  
  356. local L_138_
  357.  
  358. function CreateShell()
  359. L_138_ = time()
  360. local L_183_ = L_1_.Shell:clone()
  361. if L_183_:FindFirstChild('Shell') then
  362. L_183_.Shell:Destroy()
  363. end
  364. L_183_.CFrame = L_1_.Chamber.CFrame
  365. L_183_.Velocity = L_1_.Chamber.CFrame.lookVector * 30 + Vector3.new(0, 4, 0)
  366. --shell.RotVelocity = Vector3.new(-10,40,30)
  367. L_183_.Parent = L_104_
  368. L_183_.CanCollide = false
  369. game:GetService("Debris"):addItem(L_183_, 1)
  370. delay(0.5, function()
  371. if L_19_:FindFirstChild('ShellCasing') then
  372. local L_184_ = L_19_.ShellCasing:clone()
  373. L_184_.Parent = L_2_.PlayerGui
  374. L_184_:Play()
  375. game:GetService('Debris'):AddItem(L_184_, L_184_.TimeLength)
  376. end
  377. end)
  378. end
  379.  
  380. -- 100 == 1 0 == 0 1/0.5
  381.  
  382. function JamCalculation()
  383. local L_185_
  384. if (math.random(1, 100) <= L_24_.JamChance) then
  385. L_185_ = true
  386. L_75_ = true
  387. else
  388. L_185_ = false
  389. end
  390. return L_185_
  391. end
  392.  
  393. function TracerCalculation()
  394. local L_186_
  395. if (math.random(1, 100) <= L_24_.TracerChance) then
  396. L_186_ = true
  397. else
  398. L_186_ = false
  399. end
  400. return L_186_
  401. end
  402.  
  403. function ScreamCalculation()
  404. local L_187_
  405. if (math.random(1, 100) <= L_24_.SuppressCalloutChance) then
  406. L_187_ = true
  407. else
  408. L_187_ = false
  409. end
  410. return L_187_
  411. end
  412.  
  413. function SearchResupply(L_188_arg1)
  414. local L_189_ = false
  415. local L_190_ = nil
  416.  
  417. if L_188_arg1:FindFirstChild('ResupplyVal') or L_188_arg1.Parent:FindFirstChild('ResupplyVal') then
  418. L_189_ = true
  419. if L_188_arg1:FindFirstChild('ResupplyVal') then
  420. L_190_ = L_188_arg1.ResupplyVal
  421. elseif L_188_arg1.Parent:FindFirstChild('ResupplyVal') then
  422. L_190_ = L_188_arg1.Parent.ResupplyVal
  423. end
  424. end
  425. return L_189_, L_190_
  426. end
  427.  
  428. function CheckReverb()
  429. local L_191_, L_192_ = workspace:FindPartOnRayWithIgnoreList(Ray.new(L_6_.CFrame.p, (L_6_.CFrame.upVector).unit * 30), IgnoreList);
  430.  
  431. if L_191_ then
  432. local L_193_ = L_59_:WaitForChild('Fire'):FindFirstChild('ReverbSoundEffect') or Instance.new("ReverbSoundEffect", L_59_:WaitForChild('Fire'))
  433. elseif not L_191_ then
  434. if L_59_:WaitForChild('Fire'):FindFirstChild('ReverbSoundEffect') then
  435. L_59_.Fire.ReverbSoundEffect:Destroy()
  436. end
  437. end
  438. end
  439.  
  440. function UpdateAmmo()
  441. L_29_.Text = L_106_
  442. L_30_.Text = L_29_.Text
  443.  
  444. L_31_.Text = '| ' .. math.ceil(L_107_ / L_24_.StoredAmmo)
  445. L_32_.Text = L_31_.Text
  446.  
  447. if L_93_ == 0 then
  448. L_40_.Image = 'rbxassetid://' .. 1868007495
  449. elseif L_93_ == 1 then
  450. L_40_.Image = 'rbxassetid://' .. 1868007947
  451. elseif L_93_ == 2 then
  452. L_40_.Image = 'rbxassetid://' .. 1868008584
  453. end
  454.  
  455. if L_92_ == 1 then
  456. L_35_.BackgroundTransparency = 0
  457. L_36_.BackgroundTransparency = 0.7
  458. L_37_.BackgroundTransparency = 0.7
  459. L_38_.BackgroundTransparency = 0.7
  460. L_39_.BackgroundTransparency = 0.7
  461. elseif L_92_ == 2 then
  462. L_35_.BackgroundTransparency = 0
  463. L_36_.BackgroundTransparency = 0
  464. L_37_.BackgroundTransparency = 0
  465. L_38_.BackgroundTransparency = 0
  466. L_39_.BackgroundTransparency = 0
  467. elseif L_92_ == 3 then
  468. L_35_.BackgroundTransparency = 0
  469. L_36_.BackgroundTransparency = 0
  470. L_37_.BackgroundTransparency = 0
  471. L_38_.BackgroundTransparency = 0.7
  472. L_39_.BackgroundTransparency = 0.7
  473. elseif L_92_ == 4 then
  474. L_35_.BackgroundTransparency = 0
  475. L_36_.BackgroundTransparency = 0
  476. L_37_.BackgroundTransparency = 0
  477. L_38_.BackgroundTransparency = 0
  478. L_39_.BackgroundTransparency = 0.7
  479. elseif L_92_ == 5 then
  480. L_35_.BackgroundTransparency = 0
  481. L_36_.BackgroundTransparency = 0.7
  482. L_37_.BackgroundTransparency = 0
  483. L_38_.BackgroundTransparency = 0.7
  484. L_39_.BackgroundTransparency = 0.7
  485. elseif L_92_ == 6 then
  486. L_35_.BackgroundTransparency = 0
  487. L_36_.BackgroundTransparency = 0.7
  488. L_37_.BackgroundTransparency = 0
  489. L_38_.BackgroundTransparency = 0
  490. L_39_.BackgroundTransparency = 0.7
  491. end
  492.  
  493. end
  494.  
  495. --// Connections
  496. L_111_.OnClientEvent:connect(function(L_194_arg1, L_195_arg2, L_196_arg3, L_197_arg4, L_198_arg5, L_199_arg6, L_200_arg7)
  497. if L_194_arg1 and not L_15_ then
  498. MakeFakeArms()
  499.  
  500. L_42_ = L_2_.PlayerGui.MainGui
  501. L_26_ = L_42_:WaitForChild('Others')
  502. L_27_ = L_26_:WaitForChild('Kill')
  503. L_28_ = L_42_:WaitForChild('GameGui'):WaitForChild('AmmoFrame')
  504. L_29_ = L_28_:WaitForChild('Ammo')
  505. L_30_ = L_28_:WaitForChild('AmmoBackground')
  506. L_31_ = L_28_:WaitForChild('MagCount')
  507. L_32_ = L_28_:WaitForChild('MagCountBackground')
  508. L_33_ = L_28_:WaitForChild('DistDisp')
  509. L_34_ = L_28_:WaitForChild('Title')
  510. L_35_ = L_28_:WaitForChild('Mode1')
  511. L_36_ = L_28_:WaitForChild('Mode2')
  512. L_37_ = L_28_:WaitForChild('Mode3')
  513. L_38_ = L_28_:WaitForChild('Mode4')
  514. L_39_ = L_28_:WaitForChild('Mode5')
  515. L_40_ = L_28_:WaitForChild('Stances')
  516. L_41_ = L_42_:WaitForChild('Shading')
  517. L_41_.Visible = false
  518.  
  519. L_34_.Text = L_1_.Name
  520. UpdateAmmo()
  521.  
  522. L_43_ = L_195_arg2
  523. L_44_ = L_196_arg3
  524. L_45_ = L_197_arg4
  525. L_46_ = L_198_arg5
  526. L_47_ = L_199_arg6
  527. L_48_ = L_200_arg7
  528. L_49_ = L_62_.Bolt
  529.  
  530. L_87_ = L_48_.C1
  531. L_88_ = L_48_.C0
  532.  
  533. if L_1_:FindFirstChild('AimPart2') then
  534. L_57_ = L_1_:WaitForChild('AimPart2')
  535. end
  536.  
  537. if L_1_:FindFirstChild('FirePart2') then
  538. L_60_ = L_1_.FirePart2
  539. end
  540.  
  541. if L_24_.FirstPersonOnly then
  542. L_2_.CameraMode = Enum.CameraMode.LockFirstPerson
  543. end
  544. --uis.MouseIconEnabled = false
  545. L_5_.FieldOfView = 70
  546. L_15_ = true
  547. elseif L_15_ then
  548. if L_3_ and L_3_.Humanoid and L_3_.Humanoid.Health > 0 and L_9_ then
  549. Stand()
  550. Unlean()
  551. end
  552.  
  553. L_93_ = 0
  554. L_80_ = false
  555. L_81_ = false
  556. L_82_ = false
  557. L_64_ = false
  558. L_67_ = false
  559. L_66_ = false
  560. Shooting = false
  561.  
  562. L_97_ = 70
  563.  
  564. RemoveArmModel()
  565.  
  566. L_42_:Destroy()
  567.  
  568. for L_201_forvar1, L_202_forvar2 in pairs(IgnoreList) do
  569. if L_202_forvar2 ~= L_3_ and L_202_forvar2 ~= L_5_ and L_202_forvar2 ~= L_104_ then
  570. table.remove(IgnoreList, L_201_forvar1)
  571. end
  572. end
  573.  
  574. if L_3_:FindFirstChild('Right Arm') and L_3_:FindFirstChild('Left Arm') then
  575. L_3_['Right Arm'].LocalTransparencyModifier = 0
  576. L_3_['Left Arm'].LocalTransparencyModifier = 0
  577. end
  578.  
  579. L_78_ = false
  580. L_69_ = true
  581.  
  582. L_2_.CameraMode = Enum.CameraMode.Classic
  583. L_110_.MouseIconEnabled = true
  584. L_5_.FieldOfView = 70
  585. L_15_ = false
  586. L_110_.MouseDeltaSensitivity = L_52_
  587. L_4_.Icon = "http://www.roblox.com/asset?id=0"
  588. L_15_ = false
  589. L_4_.TargetFilter = nil
  590. end
  591. end)
  592.  
  593. --// Firemode Functions
  594. function CreateBullet(L_203_arg1)
  595. local L_204_ = L_59_.Position
  596. local L_205_ = (L_4_.Hit.p - L_204_).unit
  597. local L_206_ = CFrame.Angles(math.rad(math.random(-L_203_arg1, L_203_arg1)), math.rad(math.random(-L_203_arg1, L_203_arg1)), math.rad(math.random(-L_203_arg1, L_203_arg1)))
  598. L_205_ = L_206_ * L_205_
  599. local L_207_ = CFrame.new(L_204_, L_204_ + L_205_)
  600.  
  601. local L_208_ = Instance.new("Part", L_104_)
  602. game.Debris:AddItem(L_208_, 10)
  603. L_208_.Shape = Enum.PartType.Ball
  604. L_208_.Size = Vector3.new(1, 1, 12)
  605. L_208_.Name = "Bullet"
  606. L_208_.TopSurface = "Smooth"
  607. L_208_.BottomSurface = "Smooth"
  608. L_208_.BrickColor = BrickColor.new("Bright green")
  609. L_208_.Material = "Neon"
  610. L_208_.CanCollide = false
  611. --Bullet.CFrame = FirePart.CFrame + (Grip.CFrame.p - Grip.CFrame.p)
  612. L_208_.CFrame = L_207_
  613.  
  614. local L_209_ = Instance.new("Sound")
  615. L_209_.SoundId = "rbxassetid://341519743"
  616. L_209_.Looped = true
  617. L_209_:Play()
  618. L_209_.Parent = L_208_
  619. L_209_.Volume = 0.4
  620. L_209_.MaxDistance = 30
  621.  
  622. L_208_.Transparency = 1
  623. local L_210_ = L_208_:GetMass()
  624. local L_211_ = Instance.new('BodyForce', L_208_)
  625.  
  626. if not L_83_ then
  627. L_211_.Force = L_24_.BulletPhysics
  628. L_208_.Velocity = L_205_ * L_24_.BulletSpeed
  629. else
  630. L_211_.Force = L_24_.ExploPhysics
  631. L_208_.Velocity = L_205_ * L_24_.ExploSpeed
  632. end
  633.  
  634. local L_212_ = Instance.new('Attachment', L_208_)
  635. L_212_.Position = Vector3.new(0.1, 0, 0)
  636. local L_213_ = Instance.new('Attachment', L_208_)
  637. L_213_.Position = Vector3.new(-0.1, 0, 0)
  638.  
  639. local L_214_ = TracerCalculation()
  640.  
  641. if L_24_.TracerEnabled == true and L_214_ then
  642. local L_215_ = Instance.new('Trail', L_208_)
  643. L_215_.Attachment0 = L_212_
  644. L_215_.Attachment1 = L_213_
  645. L_215_.Transparency = NumberSequence.new(L_24_.TracerTransparency)
  646. L_215_.LightEmission = L_24_.TracerLightEmission
  647. L_215_.TextureLength = L_24_.TracerTextureLength
  648. L_215_.Lifetime = L_24_.TracerLifetime
  649. L_215_.FaceCamera = L_24_.TracerFaceCamera
  650. L_215_.Color = ColorSequence.new(L_24_.TracerColor.Color)
  651. end
  652.  
  653. if L_1_:FindFirstChild('Shell') and not L_83_ then
  654. CreateShell()
  655. end
  656.  
  657. delay(0.2, function()
  658. L_208_.Transparency = 0
  659. end)
  660.  
  661. return L_208_
  662. end
  663.  
  664. function CheckForHumanoid(L_216_arg1)
  665. local L_217_ = false
  666. local L_218_ = nil
  667. if L_216_arg1 then
  668. if (L_216_arg1.Parent:FindFirstChild("Humanoid") or L_216_arg1.Parent.Parent:FindFirstChild("Humanoid")) then
  669. L_217_ = true
  670. if L_216_arg1.Parent:FindFirstChild('Humanoid') then
  671. L_218_ = L_216_arg1.Parent.Humanoid
  672. elseif L_216_arg1.Parent.Parent:FindFirstChild('Humanoid') then
  673. L_218_ = L_216_arg1.Parent.Parent.Humanoid
  674. end
  675. else
  676. L_217_ = false
  677. end
  678. end
  679. return L_217_, L_218_
  680. end
  681.  
  682. function CastRay(L_219_arg1)
  683. local L_220_, L_221_, L_222_
  684. local L_223_ = L_56_.Position;
  685. local L_224_ = L_219_arg1.Position;
  686. local L_225_ = 0
  687.  
  688. local L_226_ = L_83_
  689.  
  690. while true do
  691. L_109_:wait()
  692. L_224_ = L_219_arg1.Position;
  693. L_225_ = L_225_ + (L_224_ - L_223_).magnitude
  694. L_220_, L_221_, L_222_ = workspace:FindPartOnRayWithIgnoreList(Ray.new(L_223_, (L_224_ - L_223_)), IgnoreList);
  695. local L_227_ = Vector3.new(0, 1, 0):Cross(L_222_)
  696. local L_228_ = math.asin(L_227_.magnitude) -- division by 1 is redundant
  697. if L_225_ > L_24_.BulletDecay then
  698. L_219_arg1:Destroy()
  699. break
  700. end
  701. if L_220_ and (L_220_ and L_220_.Transparency >= 1 or L_220_.CanCollide == false) and L_220_.Name ~= 'Right Arm' and L_220_.Name ~= 'Left Arm' and L_220_.Name ~= 'Right Leg' and L_220_.Name ~= 'Left Leg' and L_220_.Name ~= 'Armor' then
  702. table.insert(IgnoreList, L_220_)
  703. end
  704.  
  705. if L_220_ then
  706. L_227_ = Vector3.new(0, 1, 0):Cross(L_222_)
  707. L_228_ = math.asin(L_227_.magnitude) -- division by 1 is redundant
  708.  
  709. L_121_:FireServer(L_221_)
  710.  
  711. local L_229_ = CheckForHumanoid(L_220_)
  712. if L_229_ == false then
  713. L_219_arg1:Destroy()
  714. L_116_:FireServer(L_221_, L_227_, L_228_, L_222_, "Part", L_220_)
  715. elseif L_229_ == true then
  716. L_219_arg1:Destroy()
  717. L_116_:FireServer(L_221_, L_227_, L_228_, L_222_, "Human", L_220_)
  718. end
  719. end
  720.  
  721. if L_220_ and L_226_ then
  722. L_119_:FireServer(L_221_)
  723. end
  724.  
  725. if L_220_ then
  726. local L_230_, L_231_ = CheckForHumanoid(L_220_)
  727. if L_230_ then
  728. L_114_:FireServer(L_231_)
  729. if L_24_.AntiTK then
  730. if game.Players:FindFirstChild(L_231_.Parent.Name) and game.Players:FindFirstChild(L_231_.Parent.Name).TeamColor ~= L_2_.TeamColor or L_231_.Parent:FindFirstChild('Vars') and game.Players:FindFirstChild(L_231_.Parent:WaitForChild('Vars'):WaitForChild('BotID').Value) and L_2_.TeamColor ~= L_231_.Parent:WaitForChild('Vars'):WaitForChild('teamColor').Value then
  731. if L_220_.Name == 'Head' then
  732. L_113_:FireServer(L_231_, L_24_.HeadDamage)
  733. local L_232_ = L_19_:WaitForChild('BodyHit'):clone()
  734. L_232_.Parent = L_2_.PlayerGui
  735. L_232_:Play()
  736. game:GetService("Debris"):addItem(L_232_, L_232_.TimeLength)
  737. end
  738. if L_220_.Name ~= 'Head' and not (L_220_.Parent:IsA('Accessory') or L_220_.Parent:IsA('Hat')) then
  739. if L_220_.Name ~= 'Torso' and L_220_.Name ~= 'HumanoidRootPart' and L_220_.Name ~= 'Armor' then
  740. L_113_:FireServer(L_231_, L_24_.LimbDamage)
  741. elseif L_220_.Name == 'Torso' or L_220_.Name == 'HumanoidRootPart' and L_220_.Name ~= 'Armor' then
  742. L_113_:FireServer(L_231_, L_24_.BaseDamage)
  743. elseif L_220_.Name == 'Armor' then
  744. L_113_:FireServer(L_231_, L_24_.ArmorDamage)
  745. end
  746. local L_233_ = L_19_:WaitForChild('BodyHit'):clone()
  747. L_233_.Parent = L_2_.PlayerGui
  748. L_233_:Play()
  749. game:GetService("Debris"):addItem(L_233_, L_233_.TimeLength)
  750. end
  751. if (L_220_.Parent:IsA('Accessory') or L_220_.Parent:IsA('Hat')) then
  752. L_113_:FireServer(L_231_, L_24_.HeadDamage)
  753. local L_234_ = L_19_:WaitForChild('BodyHit'):clone()
  754. L_234_.Parent = L_2_.PlayerGui
  755. L_234_:Play()
  756. game:GetService("Debris"):addItem(L_234_, L_234_.TimeLength)
  757. end
  758. end
  759. else
  760. if L_220_.Name == 'Head' then
  761. L_113_:FireServer(L_231_, L_24_.HeadDamage)
  762. local L_235_ = L_19_:WaitForChild('BodyHit'):clone()
  763. L_235_.Parent = L_2_.PlayerGui
  764. L_235_:Play()
  765. game:GetService("Debris"):addItem(L_235_, L_235_.TimeLength)
  766. end
  767. if L_220_.Name ~= 'Head' and not (L_220_.Parent:IsA('Accessory') or L_220_.Parent:IsA('Hat')) then
  768. if L_220_.Name ~= 'Torso' and L_220_.Name ~= 'HumanoidRootPart' and L_220_.Name ~= 'Armor' then
  769. L_113_:FireServer(L_231_, L_24_.LimbDamage)
  770. elseif L_220_.Name == 'Torso' or L_220_.Name == 'HumanoidRootPart' and L_220_.Name ~= 'Armor' then
  771. L_113_:FireServer(L_231_, L_24_.BaseDamage)
  772. elseif L_220_.Name == 'Armor' then
  773. L_113_:FireServer(L_231_, L_24_.ArmorDamage)
  774. end
  775. local L_236_ = L_19_:WaitForChild('BodyHit'):clone()
  776. L_236_.Parent = L_2_.PlayerGui
  777. L_236_:Play()
  778. game:GetService("Debris"):addItem(L_236_, L_236_.TimeLength)
  779. end
  780. if (L_220_.Parent:IsA('Accessory') or L_220_.Parent:IsA('Hat')) then
  781. L_113_:FireServer(L_231_, L_24_.HeadDamage)
  782. local L_237_ = L_19_:WaitForChild('BodyHit'):clone()
  783. L_237_.Parent = L_2_.PlayerGui
  784. L_237_:Play()
  785. game:GetService("Debris"):addItem(L_237_, L_237_.TimeLength)
  786. end
  787. end
  788. end
  789. end
  790.  
  791. if L_220_ and L_220_.Parent:FindFirstChild("Humanoid") then
  792. return L_220_, L_221_;
  793. end
  794. L_223_ = L_224_;
  795. end
  796. end
  797.  
  798. function fireSemi()
  799. if L_15_ then
  800. L_69_ = false
  801. Recoiling = true
  802. Shooting = true
  803.  
  804. --CheckReverb()
  805. if L_54_ then
  806. L_54_:FireServer(L_59_:WaitForChild('Fire').SoundId, L_59_)
  807. else
  808. L_59_:WaitForChild('Fire'):Play()
  809. end
  810. L_112_:FireServer()
  811. L_105_ = CreateBullet(L_24_.BulletSpread)
  812. L_106_ = L_106_ - 1
  813. UpdateAmmo()
  814. RecoilFront = true
  815. local L_238_, L_239_ = spawn(function()
  816. CastRay(L_105_)
  817. end)
  818.  
  819. if L_24_.CanBolt == true then
  820. BoltingBackAnim()
  821. delay(L_24_.Firerate / 2, function()
  822. if L_24_.CanSlideLock == false then
  823. BoltingForwardAnim()
  824. elseif L_24_.CanSlideLock == true then
  825. if L_106_ > 0 then
  826. BoltingForwardAnim()
  827. end
  828. end
  829. end)
  830. end
  831.  
  832. delay(L_24_.Firerate / 2, function()
  833. Recoiling = false
  834. RecoilFront = false
  835. end)
  836.  
  837. wait(L_24_.Firerate)
  838.  
  839. local L_240_ = JamCalculation()
  840. if L_240_ then
  841. L_69_ = false
  842. else
  843. L_69_ = true
  844. end
  845. Shooting = false
  846. end
  847. end
  848.  
  849. function fireExplo()
  850. if L_15_ then
  851. L_69_ = false
  852. Recoiling = true
  853. Shooting = true
  854. if L_54_ then
  855. L_54_:FireServer(L_60_:WaitForChild('Fire').SoundId, L_60_)
  856. else
  857. L_60_:WaitForChild('Fire'):Play()
  858. end
  859. L_112_:FireServer()
  860. L_105_ = CreateBullet(L_24_.BulletSpread)
  861. L_108_ = L_108_ - 1
  862. UpdateAmmo()
  863. RecoilFront = true
  864. local L_241_, L_242_ = spawn(function()
  865. CastRay(L_105_)
  866. end)
  867.  
  868. delay(L_24_.Firerate / 2, function()
  869. Recoiling = false
  870. RecoilFront = false
  871. end)
  872.  
  873. L_69_ = false
  874. Shooting = false
  875. end
  876. end
  877.  
  878. function fireShot()
  879. if L_15_ then
  880. L_69_ = false
  881. Recoiling = true
  882. Shooting = true
  883. RecoilFront = true
  884. --CheckReverb()
  885. if L_54_ then
  886. L_54_:FireServer(L_59_:WaitForChild('Fire').SoundId, L_59_)
  887. else
  888. L_59_:WaitForChild('Fire'):Play()
  889. end
  890. L_112_:FireServer()
  891. for L_244_forvar1 = 1, L_24_.ShotNum do
  892. spawn(function()
  893. L_105_ = CreateBullet(L_24_.BulletSpread)
  894. end)
  895. local L_245_, L_246_ = spawn(function()
  896. CastRay(L_105_)
  897. end)
  898. end
  899.  
  900. for L_247_forvar1, L_248_forvar2 in pairs(L_59_:GetChildren()) do
  901. if L_248_forvar2.Name:sub(1, 7) == "FlashFX" then
  902. L_248_forvar2.Enabled = true
  903. end
  904. end
  905.  
  906. delay(1 / 30, function()
  907. for L_249_forvar1, L_250_forvar2 in pairs(L_59_:GetChildren()) do
  908. if L_250_forvar2.Name:sub(1, 7) == "FlashFX" then
  909. L_250_forvar2.Enabled = false
  910. end
  911. end
  912. end)
  913.  
  914. if L_24_.CanBolt == true then
  915. BoltingBackAnim()
  916. delay(L_24_.Firerate / 2, function()
  917. if L_24_.CanSlideLock == false then
  918. BoltingForwardAnim()
  919. elseif L_24_.CanSlideLock == true then
  920. if L_106_ > 0 then
  921. BoltingForwardAnim()
  922. end
  923. end
  924. end)
  925. end
  926.  
  927. delay(L_24_.Firerate / 2, function()
  928. Recoiling = false
  929. RecoilFront = false
  930. end)
  931. L_106_ = L_106_ - 1
  932. UpdateAmmo()
  933. wait(L_24_.Firerate)
  934.  
  935. L_76_ = true
  936. BoltBackAnim()
  937. BoltForwardAnim()
  938. IdleAnim()
  939. L_76_ = false
  940.  
  941. local L_243_ = JamCalculation()
  942. if L_243_ then
  943. L_69_ = false
  944. else
  945. L_69_ = true
  946. end
  947.  
  948. Shooting = false
  949. end
  950. end
  951.  
  952. function fireBoltAction()
  953. if L_15_ then
  954. L_69_ = false
  955. Recoiling = true
  956. Shooting = true
  957. --CheckReverb()
  958. if L_54_ then
  959. L_54_:FireServer(L_59_:WaitForChild('Fire').SoundId, L_59_)
  960. else
  961. L_59_:WaitForChild('Fire'):Play()
  962. end
  963. L_112_:FireServer()
  964. L_105_ = CreateBullet(L_24_.BulletSpread)
  965. L_106_ = L_106_ - 1
  966. UpdateAmmo()
  967. RecoilFront = true
  968. local L_251_, L_252_ = spawn(function()
  969. CastRay(L_105_)
  970. end)
  971.  
  972. for L_254_forvar1, L_255_forvar2 in pairs(L_59_:GetChildren()) do
  973. if L_255_forvar2.Name:sub(1, 7) == "FlashFX" then
  974. L_255_forvar2.Enabled = true
  975. end
  976. end
  977.  
  978. delay(1 / 30, function()
  979. for L_256_forvar1, L_257_forvar2 in pairs(L_59_:GetChildren()) do
  980. if L_257_forvar2.Name:sub(1, 7) == "FlashFX" then
  981. L_257_forvar2.Enabled = false
  982. end
  983. end
  984. end)
  985.  
  986. if L_24_.CanBolt == true then
  987. BoltingBackAnim()
  988. delay(L_24_.Firerate / 2, function()
  989. if L_24_.CanSlideLock == false then
  990. BoltingForwardAnim()
  991. elseif L_24_.CanSlideLock == true then
  992. if L_106_ > 0 then
  993. BoltingForwardAnim()
  994. end
  995. end
  996. end)
  997. end
  998.  
  999. delay(L_24_.Firerate / 2, function()
  1000. Recoiling = false
  1001. RecoilFront = false
  1002. end)
  1003. wait(L_24_.Firerate)
  1004.  
  1005. L_76_ = true
  1006. BoltBackAnim()
  1007. BoltForwardAnim()
  1008. IdleAnim()
  1009. L_76_ = false
  1010.  
  1011. local L_253_ = JamCalculation()
  1012. if L_253_ then
  1013. L_69_ = false
  1014. else
  1015. L_69_ = true
  1016. end
  1017.  
  1018. Shooting = false
  1019. end
  1020. end
  1021.  
  1022. function fireAuto()
  1023. while not Shooting and L_106_ > 0 and L_68_ and L_69_ and L_15_ do
  1024. L_69_ = false
  1025. Recoiling = true
  1026. --CheckReverb()
  1027. if L_54_ then
  1028. L_54_:FireServer(L_59_:WaitForChild('Fire').SoundId, L_59_)
  1029. else
  1030. L_59_:WaitForChild('Fire'):Play()
  1031. end
  1032. L_112_:FireServer()
  1033. L_106_ = L_106_ - 1
  1034. UpdateAmmo()
  1035. Shooting = true
  1036. RecoilFront = true
  1037. L_105_ = CreateBullet(L_24_.BulletSpread)
  1038. local L_258_, L_259_ = spawn(function()
  1039. CastRay(L_105_)
  1040. end)
  1041.  
  1042. for L_261_forvar1, L_262_forvar2 in pairs(L_59_:GetChildren()) do
  1043. if L_262_forvar2.Name:sub(1, 7) == "FlashFX" then
  1044. L_262_forvar2.Enabled = true
  1045. end
  1046. end
  1047.  
  1048. delay(1 / 30, function()
  1049. for L_263_forvar1, L_264_forvar2 in pairs(L_59_:GetChildren()) do
  1050. if L_264_forvar2.Name:sub(1, 7) == "FlashFX" then
  1051. L_264_forvar2.Enabled = false
  1052. end
  1053. end
  1054. end)
  1055.  
  1056. if L_24_.CanBolt == true then
  1057. BoltingBackAnim()
  1058. delay(L_24_.Firerate / 2, function()
  1059. if L_24_.CanSlideLock == false then
  1060. BoltingForwardAnim()
  1061. elseif L_24_.CanSlideLock == true then
  1062. if L_106_ > 0 then
  1063. BoltingForwardAnim()
  1064. end
  1065. end
  1066. end)
  1067. end
  1068.  
  1069.  
  1070. delay(L_24_.Firerate / 2, function()
  1071. Recoiling = false
  1072. RecoilFront = false
  1073. end)
  1074. wait(L_24_.Firerate)
  1075.  
  1076. local L_260_ = JamCalculation()
  1077. if L_260_ then
  1078. L_69_ = false
  1079. else
  1080. L_69_ = true
  1081. end
  1082.  
  1083. Shooting = false
  1084. end
  1085. end
  1086.  
  1087. function fireBurst()
  1088. if not Shooting and L_106_ > 0 and L_68_ and L_15_ then
  1089. for L_265_forvar1 = 1, L_24_.BurstNum do
  1090. if L_106_ > 0 and L_68_ then
  1091. L_69_ = false
  1092. Recoiling = true
  1093. --CheckReverb()
  1094. if L_54_ then
  1095. L_54_:FireServer(L_59_:WaitForChild('Fire').SoundId, L_59_)
  1096. else
  1097. L_59_:WaitForChild('Fire'):Play()
  1098. end
  1099. L_112_:FireServer()
  1100. L_105_ = CreateBullet(L_24_.BulletSpread)
  1101. local L_266_, L_267_ = spawn(function()
  1102. CastRay(L_105_)
  1103. end)
  1104.  
  1105. for L_269_forvar1, L_270_forvar2 in pairs(L_59_:GetChildren()) do
  1106. if L_270_forvar2.Name:sub(1, 7) == "FlashFX" then
  1107. L_270_forvar2.Enabled = true
  1108. end
  1109. end
  1110.  
  1111. delay(1 / 30, function()
  1112. for L_271_forvar1, L_272_forvar2 in pairs(L_59_:GetChildren()) do
  1113. if L_272_forvar2.Name:sub(1, 7) == "FlashFX" then
  1114. L_272_forvar2.Enabled = false
  1115. end
  1116. end
  1117. end)
  1118.  
  1119. if L_24_.CanBolt == true then
  1120. BoltingBackAnim()
  1121. delay(L_24_.Firerate / 2, function()
  1122. if L_24_.CanSlideLock == false then
  1123. BoltingForwardAnim()
  1124. elseif L_24_.CanSlideLock == true then
  1125. if L_106_ > 0 then
  1126. BoltingForwardAnim()
  1127. end
  1128. end
  1129. end)
  1130. end
  1131.  
  1132. L_106_ = L_106_ - 1
  1133. UpdateAmmo()
  1134. RecoilFront = true
  1135. delay(L_24_.Firerate / 2, function()
  1136. Recoiling = false
  1137. RecoilFront = false
  1138. end)
  1139. wait(L_24_.Firerate)
  1140.  
  1141. local L_268_ = JamCalculation()
  1142. if L_268_ then
  1143. L_69_ = false
  1144. else
  1145. L_69_ = true
  1146. end
  1147.  
  1148. end
  1149. Shooting = true
  1150. end
  1151. Shooting = false
  1152. end
  1153. end
  1154.  
  1155. function Shoot()
  1156. if L_15_ and L_69_ then
  1157. if L_92_ == 1 then
  1158. fireSemi()
  1159. elseif L_92_ == 2 then
  1160. fireAuto()
  1161. elseif L_92_ == 3 then
  1162. fireBurst()
  1163. elseif L_92_ == 4 then
  1164. fireBoltAction()
  1165. elseif L_92_ == 5 then
  1166. fireShot()
  1167. elseif L_92_ == 6 then
  1168. fireExplo()
  1169. end
  1170. end
  1171. end
  1172.  
  1173. --// Walk and Sway
  1174. local L_139_
  1175.  
  1176. local L_140_ = 0.6
  1177. local L_141_ = 0.05 -- speed
  1178. local L_142_ = -0.1 -- height
  1179.  
  1180. local L_143_ = 0
  1181. local L_144_ = 0
  1182. local L_145_ = 35 --This is the limit of the mouse input for the sway
  1183. local L_146_ = -9 --This is the magnitude of the sway when you're unaimed
  1184. local L_147_ = -9 --This is the magnitude of the sway when you're aimed
  1185.  
  1186. --local Sprinting =false
  1187. local L_148_ = L_124_.new(Vector3.new())
  1188. L_148_.s = 15
  1189. L_148_.d = 0.5
  1190.  
  1191. game:GetService("UserInputService").InputChanged:connect(function(L_273_arg1) --Get the mouse delta for the gun sway
  1192. if L_273_arg1.UserInputType == Enum.UserInputType.MouseMovement then
  1193. L_143_ = math.min(math.max(L_273_arg1.Delta.x, -L_145_), L_145_)
  1194. L_144_ = math.min(math.max(L_273_arg1.Delta.y, -L_145_), L_145_)
  1195. end
  1196. end)
  1197.  
  1198. L_4_.Idle:connect(function() --Reset the sway to 0 when the mouse is still
  1199. L_143_ = 0
  1200. L_144_ = 0
  1201. end)
  1202.  
  1203. local L_149_ = false
  1204. local L_150_ = CFrame.new()
  1205. local L_151_ = CFrame.new()
  1206.  
  1207. local L_152_
  1208. local L_153_
  1209. local L_154_
  1210. local L_155_
  1211.  
  1212. local L_156_
  1213. local L_157_
  1214. local L_158_
  1215.  
  1216. L_152_ = 0
  1217. L_153_ = CFrame.new()
  1218. L_154_ = 0.05
  1219. L_155_ = 2
  1220.  
  1221. L_156_ = 0
  1222. L_157_ = 0.09
  1223. L_158_ = 11
  1224.  
  1225. local L_159_ = 0
  1226. local L_160_ = 5
  1227. local L_161_ = .3
  1228.  
  1229. local L_162_, L_163_ = 0, 0
  1230.  
  1231. local L_164_ = nil
  1232. local L_165_ = nil
  1233. local L_166_ = nil
  1234.  
  1235. L_3_.Humanoid.Running:connect(function(L_274_arg1)
  1236. if L_274_arg1 > 1 then
  1237. L_149_ = true
  1238. else
  1239. L_149_ = false
  1240. end
  1241. end)
  1242.  
  1243. --// Renders
  1244. local L_167_
  1245.  
  1246. L_109_:connect(function()
  1247. if L_15_ then
  1248. L_162_, L_163_ = L_162_ or 0, L_163_ or 0
  1249. if L_165_ == nil or L_164_ == nil then
  1250. L_165_ = L_45_.C0
  1251. L_164_ = L_45_.C1
  1252. end
  1253.  
  1254. local L_275_ = (math.sin(L_156_ * L_158_ / 2) * L_157_)
  1255. local L_276_ = (math.sin(L_156_ * L_158_) * L_157_)
  1256. local L_277_ = CFrame.new(L_275_, L_276_, 0.02)
  1257.  
  1258. local L_278_ = (math.sin(L_156_ * L_158_ / 2) * L_157_)
  1259. local L_279_ = (math.sin(L_156_ * L_158_) * L_157_)
  1260. local L_280_ = CFrame.new(L_275_, L_276_, 0.02) * CFrame.Angles((math.cos(L_156_ * L_158_) * L_157_), (math.cos(L_156_ * L_158_ / 2) * L_157_), 0)
  1261.  
  1262. local L_281_ = (math.sin(L_152_ * L_155_ / 2) * L_154_)
  1263. local L_282_ = (math.cos(L_152_ * L_155_) * L_154_)
  1264. local L_283_ = CFrame.new(L_281_, L_282_, 0.02)
  1265.  
  1266. if L_149_ then
  1267. L_156_ = L_156_ + .017
  1268. if L_24_.WalkAnimEnabled == true then
  1269. L_150_ = L_280_
  1270. else
  1271. L_150_ = CFrame.new()
  1272. end
  1273. else
  1274. L_156_ = 0
  1275. L_150_ = CFrame.new()
  1276. end
  1277.  
  1278. L_148_.t = Vector3.new(L_143_, L_144_, 0)
  1279. local L_284_ = L_148_.p
  1280. local L_285_ = L_284_.X / L_145_ * (L_64_ and L_147_ or L_146_)
  1281. local L_286_ = L_284_.Y / L_145_ * (L_64_ and L_147_ or L_146_)
  1282.  
  1283. L_5_.CFrame = L_5_.CFrame:lerp(L_5_.CFrame * L_151_, 0.2)
  1284.  
  1285. if L_64_ then
  1286. L_139_ = CFrame.Angles(math.rad(-L_285_), math.rad(L_285_), math.rad(L_286_)) * CFrame.fromAxisAngle(Vector3.new(5, 0, -1), math.rad(L_285_))
  1287. L_152_ = 0
  1288. L_153_ = CFrame.new()
  1289. elseif not L_64_ then
  1290. L_139_ = CFrame.Angles(math.rad(-L_286_), math.rad(-L_285_), math.rad(-L_285_)) * CFrame.fromAxisAngle(L_44_.Position, math.rad(-L_286_))
  1291. L_152_ = L_152_ + 0.017
  1292. L_153_ = L_283_
  1293. end
  1294.  
  1295. if L_24_.SwayEnabled == true then
  1296. L_45_.C0 = L_45_.C0:lerp(L_165_ * L_139_ * L_150_ * L_153_, 0.1)
  1297. else
  1298. L_45_.C0 = L_45_.C0:lerp(L_165_ * L_150_, 0.1)
  1299. end
  1300.  
  1301. if L_67_ and not L_70_ and L_72_ and not L_64_ and not L_66_ and not Shooting then
  1302. L_45_.C1 = L_45_.C1:lerp(L_45_.C0 * L_24_.SprintPos, 0.1)
  1303. elseif not L_67_ and not L_70_ and not L_72_ and not L_64_ and not L_66_ and not Shooting and not L_79_ then
  1304. L_45_.C1 = L_45_.C1:lerp(CFrame.new() * L_137_, 0.05)
  1305. end
  1306.  
  1307.  
  1308. if L_64_ and not L_67_ then
  1309. if not L_65_ then
  1310. L_90_ = L_24_.AimCamRecoil
  1311. L_89_ = L_24_.AimGunRecoil
  1312. L_91_ = L_24_.AimKickback
  1313. elseif L_65_ then
  1314. if L_93_ == 1 then
  1315. L_90_ = L_24_.AimCamRecoil / 1.5
  1316. L_89_ = L_24_.AimGunRecoil / 1.5
  1317. L_91_ = L_24_.AimKickback / 1.5
  1318. end
  1319.  
  1320. if L_93_ == 2 then
  1321. L_90_ = L_24_.AimCamRecoil / 2
  1322. L_89_ = L_24_.AimGunRecoil / 2
  1323. L_91_ = L_24_.AimKickback / 2
  1324. end
  1325. end
  1326.  
  1327. if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 then
  1328. L_45_.C1 = L_45_.C1:lerp(L_45_.C0 * L_56_.CFrame:toObjectSpace(L_44_.CFrame), L_24_.AimSpeed)
  1329.  
  1330. L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
  1331. L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
  1332. L_110_.MouseDeltaSensitivity = L_51_
  1333. end
  1334. elseif not L_64_ and not L_67_ and L_15_ and not L_79_ then
  1335. if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 then
  1336. L_45_.C1 = L_45_.C1:lerp(CFrame.new() * L_137_, L_24_.UnaimSpeed)
  1337.  
  1338. L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
  1339. L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
  1340. L_110_.MouseDeltaSensitivity = L_52_
  1341. end
  1342.  
  1343. if not L_65_ then
  1344. L_90_ = L_24_.camrecoil
  1345. L_89_ = L_24_.gunrecoil
  1346. L_91_ = L_24_.Kickback
  1347. elseif L_65_ then
  1348. if L_93_ == 1 then
  1349. L_90_ = L_24_.camrecoil / 1.5
  1350. L_89_ = L_24_.gunrecoil / 1.5
  1351. L_91_ = L_24_.Kickback / 1.5
  1352. end
  1353.  
  1354. if L_93_ == 2 then
  1355. L_90_ = L_24_.camrecoil / 2
  1356. L_89_ = L_24_.gunrecoil / 2
  1357. L_91_ = L_24_.Kickback / 2
  1358. end
  1359. end
  1360. end
  1361.  
  1362. if Recoiling then
  1363. if not L_64_ then
  1364. L_151_ = CFrame.fromEulerAnglesXYZ(math.rad(L_90_ * math.random(0, L_24_.CamShake)), math.rad(L_90_ * math.random(-L_24_.CamShake, L_24_.CamShake)), math.rad(L_90_ * math.random(-L_24_.CamShake, L_24_.CamShake)))--CFrame.Angles(camrecoil,0,0)
  1365. else
  1366. L_151_ = CFrame.fromEulerAnglesXYZ(math.rad(L_90_ * math.random(0, L_24_.AimCamShake)), math.rad(L_90_ * math.random(-L_24_.AimCamShake, L_24_.AimCamShake)), math.rad(L_90_ * math.random(-L_24_.AimCamShake, L_24_.AimCamShake)))
  1367. end
  1368. --cam.CoordinateFrame = cam.CoordinateFrame * CFrame.fromEulerAnglesXYZ(math.rad(camrecoil*math.random(0,3)), math.rad(camrecoil*math.random(-1,1)), math.rad(camrecoil*math.random(-1,1)))
  1369. L_45_.C0 = L_45_.C0:lerp(L_45_.C0 * CFrame.new(0, 0, L_89_) * CFrame.Angles(-math.rad(L_91_), 0, 0), 0.3)
  1370. elseif not Recoiling then
  1371. L_151_ = CFrame.Angles(0, 0, 0)
  1372. L_45_.C0 = L_45_.C0:lerp(CFrame.new(), 0.2)
  1373. end
  1374.  
  1375. if L_65_ then
  1376. L_3_:WaitForChild('Humanoid').Jump = false
  1377. end
  1378.  
  1379. if L_15_ then
  1380. L_5_.FieldOfView = L_5_.FieldOfView * (1 - L_24_.ZoomSpeed) + (L_97_ * L_24_.ZoomSpeed)
  1381. if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude >= 2 then
  1382. L_90_ = L_24_.AimCamRecoil
  1383. L_89_ = L_24_.AimGunRecoil
  1384. L_91_ = L_24_.AimKickback
  1385.  
  1386. L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
  1387. L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
  1388. L_110_.MouseDeltaSensitivity = L_51_
  1389. elseif (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 and not L_64_ and not L_65_ then
  1390. L_90_ = L_24_.camrecoil
  1391. L_89_ = L_24_.gunrecoil
  1392. L_91_ = L_24_.Kickback
  1393.  
  1394. L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
  1395. L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
  1396. L_110_.MouseDeltaSensitivity = L_52_
  1397. end
  1398. end
  1399.  
  1400. if L_15_ and L_24_.CameraGo then --and (char.Head.Position - cam.CoordinateFrame.p).magnitude < 2 then
  1401. L_4_.TargetFilter = game.Workspace
  1402. local L_287_ = L_3_:WaitForChild("HumanoidRootPart").CFrame * CFrame.new(0, 1.5, 0) * CFrame.new(L_3_:WaitForChild("Humanoid").CameraOffset)
  1403. L_48_.C0 = L_8_.CFrame:toObjectSpace(L_287_)
  1404. L_48_.C1 = CFrame.Angles(-math.asin((L_4_.Hit.p - L_4_.Origin.p).unit.y), 0, 0)
  1405. L_110_.MouseIconEnabled = false
  1406. end
  1407.  
  1408. if L_15_ and (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude >= 2 then
  1409. if L_4_.Icon ~= "http://www.roblox.com/asset?id=" .. L_24_.TPSMouseIcon then
  1410. L_4_.Icon = "http://www.roblox.com/asset?id=" .. L_24_.TPSMouseIcon
  1411. end
  1412. L_110_.MouseIconEnabled = true
  1413.  
  1414. if L_3_:FindFirstChild('Right Arm') and L_3_:FindFirstChild('Left Arm') then
  1415. L_3_['Right Arm'].LocalTransparencyModifier = 1
  1416. L_3_['Left Arm'].LocalTransparencyModifier = 1
  1417. end
  1418. end;
  1419. end
  1420. end)
  1421.  
  1422. --// Stances
  1423. function Prone()
  1424. UpdateAmmo()
  1425. L_115_:FireServer("Prone")
  1426.  
  1427. L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
  1428. CameraOffset = Vector3.new(0, -3, 0)
  1429. }):Play()
  1430. L_3_:WaitForChild("Humanoid").WalkSpeed = 4
  1431.  
  1432. L_157_ = 0.01
  1433. L_158_ = 4
  1434.  
  1435. L_65_ = true
  1436.  
  1437. Proned2 = Vector3.new(0, 0.5, 0.5)
  1438. L_133_(L_9_, CFrame.new(0, -2.4201169, -0.0385534465, -0.99999994, -5.86197757e-012, -4.54747351e-013, 5.52669195e-012, 0.998915195, 0.0465667509, 0, 0.0465667509, -0.998915195), nil, function(L_288_arg1)
  1439. return math.sin(math.rad(L_288_arg1))
  1440. end, 0.25)
  1441. L_133_(L_10_, CFrame.new(1.00000191, -1, -5.96046448e-008, 1.31237243e-011, -0.344507754, 0.938783348, 0, 0.938783467, 0.344507784, -1, 0, -1.86264515e-009) , nil, function(L_289_arg1)
  1442. return math.sin(math.rad(L_289_arg1))
  1443. end, 0.25)
  1444. L_133_(L_11_, CFrame.new(-0.999996185, -1, -1.1920929e-007, -2.58566502e-011, 0.314521015, -0.949250221, 0, 0.94925046, 0.314521164, 1, 3.7252903e-009, 1.86264515e-009) , nil, function(L_290_arg1)
  1445. return math.sin(math.rad(L_290_arg1))
  1446. end, 0.25)
  1447. end
  1448.  
  1449. function Stand()
  1450. UpdateAmmo()
  1451. L_115_:FireServer("Stand")
  1452.  
  1453. L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
  1454. CameraOffset = Vector3.new(0, 0, 0)
  1455. }):Play()
  1456.  
  1457. L_65_ = false
  1458.  
  1459. if not L_64_ then
  1460. L_3_:WaitForChild("Humanoid").WalkSpeed = 16
  1461. L_157_ = 0.09
  1462. L_158_ = 11
  1463. elseif L_64_ then
  1464. L_157_ = 0.015
  1465. L_158_ = 7
  1466. L_3_:WaitForChild("Humanoid").WalkSpeed = 7
  1467. end
  1468.  
  1469. Proned2 = Vector3.new(0, 0, 0)
  1470. L_133_(L_9_, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), nil, function(L_291_arg1)
  1471. return math.sin(math.rad(L_291_arg1))
  1472. end, 0.25)
  1473. L_133_(L_10_, CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), nil, function(L_292_arg1)
  1474. return math.sin(math.rad(L_292_arg1))
  1475. end, 0.25)
  1476. L_133_(L_11_, CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), nil, function(L_293_arg1)
  1477. return math.sin(math.rad(L_293_arg1))
  1478. end, 0.25)
  1479. end
  1480.  
  1481. function Crouch()
  1482. UpdateAmmo()
  1483. L_115_:FireServer("Crouch")
  1484.  
  1485. L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
  1486. CameraOffset = Vector3.new(0, -1, 0)
  1487. }):Play()
  1488. L_3_:WaitForChild("Humanoid").WalkSpeed = 9
  1489. L_157_ = 0.015
  1490. L_158_ = 9
  1491.  
  1492. L_65_ = true
  1493.  
  1494. Proned2 = Vector3.new(0, 0, 0)
  1495. L_133_(L_9_, CFrame.new(0, -1.04933882, 0, -1, 0, -1.88871293e-012, 1.88871293e-012, -3.55271368e-015, 1, 0, 1, -3.55271368e-015), nil, function(L_294_arg1)
  1496. return math.sin(math.rad(L_294_arg1))
  1497. end, 0.25)
  1498. L_133_(L_10_, CFrame.new(1, 0.0456044674, -0.494239986, 6.82121026e-013, -1.22639676e-011, 1, -0.058873821, 0.998265445, -1.09836602e-011, -0.998265445, -0.058873821, 0), nil, function(L_295_arg1)
  1499. return math.sin(math.rad(L_295_arg1))
  1500. end, 0.25)
  1501. L_133_(L_11_, CFrame.new(-1.00000381, -0.157019258, -0.471293032, -8.7538865e-012, -8.7538865e-012, -1, 0.721672177, 0.692235112, 1.64406284e-011, 0.692235112, -0.721672177, 0), nil, function(L_296_arg1)
  1502. return math.sin(math.rad(L_296_arg1))
  1503. end, 0.25)
  1504. L_133_(L_6_:WaitForChild("Neck"), nil, CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), function(L_297_arg1)
  1505. return math.sin(math.rad(L_297_arg1))
  1506. end, 0.25)
  1507. end
  1508.  
  1509. function LeanRight()
  1510. if L_93_ ~= 2 then
  1511. L_115_:FireServer("LeanRight")
  1512. L_133_(L_9_, nil, CFrame.new(0, 0.200000003, 0, -0.939692616, 0, -0.342020124, -0.342020124, 0, 0.939692616, 0, 1, 0), function(L_298_arg1)
  1513. return math.sin(math.rad(L_298_arg1))
  1514. end, 0.25)
  1515. L_133_(L_10_, nil, CFrame.new(0.300000012, 0.600000024, 0, 0, 0.342020124, 0.939692616, 0, 0.939692616, -0.342020124, -1, 0, 0), function(L_299_arg1)
  1516. return math.sin(math.rad(L_299_arg1))
  1517. end, 0.25)
  1518. L_133_(L_11_, nil, nil, function(L_300_arg1)
  1519. return math.sin(math.rad(L_300_arg1))
  1520. end, 0.25)
  1521. L_133_(L_6_:WaitForChild("Clone"), nil, CFrame.new(-0.400000006, -0.300000012, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), function(L_301_arg1)
  1522. return math.sin(math.rad(L_301_arg1))
  1523. end, 0.25)
  1524. if not L_65_ then
  1525. L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
  1526. CameraOffset = Vector3.new(1, -0.5, 0)
  1527. }):Play()
  1528. elseif L_65_ then
  1529. if L_93_ == 1 then
  1530. L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
  1531. CameraOffset = Vector3.new(1, -1.5, 0)
  1532. }):Play()
  1533. end
  1534. end;
  1535. end
  1536. end
  1537.  
  1538. function LeanLeft()
  1539. if L_93_ ~= 2 then
  1540. L_115_:FireServer("LeanLeft")
  1541. L_133_(L_9_, nil, CFrame.new(0, 0.200000003, 0, -0.939692616, 0, 0.342020124, 0.342020124, 0, 0.939692616, 0, 1, 0), function(L_302_arg1)
  1542. return math.sin(math.rad(L_302_arg1))
  1543. end, 0.25)
  1544. L_133_(L_10_, nil, nil, function(L_303_arg1)
  1545. return math.sin(math.rad(L_303_arg1))
  1546. end, 0.25)
  1547. L_133_(L_11_, nil, CFrame.new(-0.300000012, 0.600000024, 0, 0, -0.342020124, -0.939692616, 0, 0.939692616, -0.342020124, 1, 0, 0), function(L_304_arg1)
  1548. return math.sin(math.rad(L_304_arg1))
  1549. end, 0.25)
  1550. L_133_(L_6_:WaitForChild("Clone"), nil, CFrame.new(0.400000006, -0.300000012, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), function(L_305_arg1)
  1551. return math.sin(math.rad(L_305_arg1))
  1552. end, 0.25)
  1553. if not L_65_ then
  1554. L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
  1555. CameraOffset = Vector3.new(-1, -0.5, 0)
  1556. }):Play()
  1557. elseif L_65_ then
  1558. if L_93_ == 1 then
  1559. L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
  1560. CameraOffset = Vector3.new(-1, -1.5, 0)
  1561. }):Play()
  1562. end
  1563. end;
  1564. end
  1565. end
  1566.  
  1567. function Unlean()
  1568. if L_93_ ~= 2 then
  1569. L_115_:FireServer("Unlean")
  1570. L_133_(L_9_, nil, CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), function(L_306_arg1)
  1571. return math.sin(math.rad(L_306_arg1))
  1572. end, 0.25)
  1573. L_133_(L_10_, nil, CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), function(L_307_arg1)
  1574. return math.sin(math.rad(L_307_arg1))
  1575. end, 0.25)
  1576. L_133_(L_11_, nil, CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), function(L_308_arg1)
  1577. return math.sin(math.rad(L_308_arg1))
  1578. end, 0.25)
  1579. if L_6_:FindFirstChild('Clone') then
  1580. L_133_(L_6_:WaitForChild("Clone"), nil, CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), function(L_309_arg1)
  1581. return math.sin(math.rad(L_309_arg1))
  1582. end, 0.25)
  1583. end
  1584. if not L_65_ then
  1585. L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
  1586. CameraOffset = Vector3.new(0, 0, 0)
  1587. }):Play()
  1588. elseif L_65_ then
  1589. if L_93_ == 1 then
  1590. L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
  1591. CameraOffset = Vector3.new(0, -1, 0)
  1592. }):Play()
  1593. end
  1594. end;
  1595. end
  1596. end
  1597.  
  1598. local L_168_ = false
  1599.  
  1600. L_110_.InputBegan:connect(function(L_310_arg1, L_311_arg2)
  1601. if not L_311_arg2 and L_15_ == true then
  1602. if L_15_ then
  1603. if L_310_arg1.KeyCode == Enum.KeyCode.C or L_310_arg1.KeyCode == Enum.KeyCode.ButtonB then
  1604. if L_93_ == 0 and not L_67_ and L_15_ then
  1605. L_93_ = 1
  1606. Crouch()
  1607.  
  1608. L_94_ = false
  1609. L_96_ = true
  1610. L_95_ = false
  1611. elseif L_93_ == 1 and not L_67_ and L_15_ then
  1612. L_93_ = 2
  1613. Prone()
  1614.  
  1615. L_96_ = false
  1616. L_94_ = true
  1617. L_95_ = false
  1618. L_168_ = true
  1619. end
  1620. end
  1621.  
  1622.  
  1623. if L_310_arg1.KeyCode == Enum.KeyCode.X or L_310_arg1.KeyCode == Enum.KeyCode.ButtonY then
  1624. if L_93_ == 2 and not L_67_ and L_15_ then
  1625. L_168_ = false
  1626. L_93_ = 1
  1627. Crouch()
  1628.  
  1629. L_94_ = false
  1630. L_96_ = true
  1631. L_95_ = false
  1632. elseif L_93_ == 1 and not L_67_ and L_15_ then
  1633. L_93_ = 0
  1634. Stand()
  1635.  
  1636. L_94_ = false
  1637. L_96_ = false
  1638. L_95_ = true
  1639. end
  1640. end
  1641. end
  1642. end
  1643. end)
  1644.  
  1645. --// Touch Connections
  1646. L_3_:WaitForChild('Humanoid').Touched:connect(function(L_312_arg1)
  1647. local L_313_, L_314_ = SearchResupply(L_312_arg1)
  1648. if L_313_ and L_17_ then
  1649. L_17_ = false
  1650. L_106_ = L_24_.Ammo
  1651. L_107_ = L_24_.StoredAmmo * L_24_.MagCount
  1652. L_108_ = L_24_.ExplosiveAmmo
  1653. if L_58_:FindFirstChild('Resupply') then
  1654. L_58_.Resupply:Play()
  1655. end
  1656. wait(15)
  1657. L_17_ = true
  1658. end;
  1659. end)
  1660.  
  1661. --// Input Connections
  1662. L_110_.InputBegan:connect(function(L_315_arg1, L_316_arg2)
  1663. if not L_316_arg2 and L_15_ then
  1664. if L_315_arg1.UserInputType == (Enum.UserInputType.MouseButton2 or L_315_arg1.KeyCode == Enum.KeyCode.ButtonL2) and not L_79_ and not L_78_ and not L_77_ and L_24_.CanAim and not L_74_ and L_15_ and not L_66_ and not L_67_ then
  1665. if not L_64_ then
  1666. if not L_65_ then
  1667. L_157_ = 0.015
  1668. L_158_ = 7
  1669. L_3_:WaitForChild("Humanoid").WalkSpeed = 7
  1670. end
  1671.  
  1672. if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude <= 2 then
  1673. L_97_ = L_50_
  1674. end
  1675. L_136_.target = L_56_.CFrame:toObjectSpace(L_44_.CFrame).p
  1676. L_98_.SoundId = 'rbxassetid://' .. L_102_[math.random(1, #L_102_)]
  1677. L_98_:Play()
  1678. L_118_:FireServer(true)
  1679. L_64_ = true
  1680. end
  1681. end;
  1682.  
  1683. if L_315_arg1.KeyCode == Enum.KeyCode.A and L_15_ then
  1684. L_137_ = CFrame.Angles(0, 0, 0.1)
  1685. end;
  1686.  
  1687. if L_315_arg1.KeyCode == Enum.KeyCode.D and L_15_ then
  1688. L_137_ = CFrame.Angles(0, 0, -0.1)
  1689. end;
  1690.  
  1691. if L_315_arg1.KeyCode == Enum.KeyCode.E and L_15_ and not L_80_ and not L_81_ then
  1692. L_80_ = true
  1693. L_82_ = false
  1694. L_81_ = true
  1695. LeanRight()
  1696. end
  1697.  
  1698. if L_315_arg1.KeyCode == Enum.KeyCode.Q and L_15_ and not L_80_ and not L_82_ then
  1699. L_80_ = true
  1700. L_81_ = false
  1701. L_82_ = true
  1702. LeanLeft()
  1703. end
  1704.  
  1705. if L_315_arg1.KeyCode == L_24_.AlternateAimKey and not L_79_ and not L_78_ and not L_77_ and L_24_.CanAim and not L_74_ and L_15_ and not L_66_ and not L_67_ then
  1706. if not L_64_ then
  1707. if not L_65_ then
  1708. L_3_.Humanoid.WalkSpeed = 10
  1709. L_158_ = 10
  1710. L_157_ = 0.008
  1711. end
  1712. L_97_ = L_50_
  1713. L_136_.target = L_56_.CFrame:toObjectSpace(L_44_.CFrame).p
  1714. L_98_.SoundId = 'rbxassetid://' .. L_102_[math.random(1, #L_102_)]
  1715. L_98_:Play()
  1716. L_118_:FireServer(true)
  1717. L_64_ = true
  1718. end
  1719. end;
  1720.  
  1721. if L_315_arg1.UserInputType == (Enum.UserInputType.MouseButton1 or L_315_arg1.KeyCode == Enum.KeyCode.ButtonR2) and not L_79_ and not L_77_ and L_69_ and L_15_ and not L_66_ and not L_67_ and not L_74_ then
  1722. L_68_ = true
  1723. if not Shooting and L_15_ and not L_83_ then
  1724. if L_106_ > 0 then
  1725. Shoot()
  1726. end
  1727. elseif not Shooting and L_15_ and L_83_ then
  1728. if L_108_ > 0 then
  1729. Shoot()
  1730. end
  1731. end
  1732. end;
  1733.  
  1734. if L_315_arg1.KeyCode == (L_24_.LaserKey or L_315_arg1.KeyCode == Enum.KeyCode.DPadRight) and L_15_ and L_24_.LaserAttached then
  1735. local L_317_ = L_1_:FindFirstChild("LaserLight")
  1736. L_125_.KeyDown[1].Plugin()
  1737. end;
  1738.  
  1739. if L_315_arg1.KeyCode == (L_24_.LightKey or L_315_arg1.KeyCode == Enum.KeyCode.ButtonR3) and L_15_ and L_24_.LightAttached then
  1740. local L_318_ = L_1_:FindFirstChild("FlashLight"):FindFirstChild('Light')
  1741. local L_319_ = false
  1742. L_318_.Enabled = not L_318_.Enabled
  1743. end;
  1744.  
  1745. if L_15_ and L_315_arg1.KeyCode == (L_24_.FireSelectKey or L_315_arg1.KeyCode == Enum.KeyCode.DPadUp) and not L_79_ and not L_70_ and not L_78_ then
  1746. L_70_ = true
  1747. if L_92_ == 1 then
  1748. if Shooting then
  1749. Shooting = false
  1750. end
  1751. if L_24_.AutoEnabled then
  1752. L_92_ = 2
  1753. L_83_ = false
  1754. L_69_ = L_84_
  1755. elseif not L_24_.AutoEnabled and L_24_.BurstEnabled then
  1756. L_92_ = 3
  1757. L_83_ = false
  1758. L_69_ = L_84_
  1759. elseif not L_24_.AutoEnabled and not L_24_.BurstEnabled and L_24_.BoltAction then
  1760. L_92_ = 4
  1761. L_83_ = false
  1762. L_69_ = L_84_
  1763. elseif not L_24_.AutoEnabled and not L_24_.BurstEnabled and not L_24_.BoltAction and L_24_.ExplosiveEnabled then
  1764. L_92_ = 6
  1765. L_83_ = true
  1766. L_84_ = L_69_
  1767. L_69_ = L_85_
  1768. elseif not L_24_.AutoEnabled and not L_24_.BurstEnabled and not L_24_.BoltAction and not L_24_.ExplosiveEnabled then
  1769. L_92_ = 1
  1770. L_83_ = false
  1771. L_69_ = L_84_
  1772. end
  1773. elseif L_92_ == 2 then
  1774. if Shooting then
  1775. Shooting = false
  1776. end
  1777. if L_24_.BurstEnabled then
  1778. L_92_ = 3
  1779. L_83_ = false
  1780. L_69_ = L_84_
  1781. elseif not L_24_.BurstEnabled and L_24_.BoltAction then
  1782. L_92_ = 4
  1783. L_83_ = false
  1784. L_69_ = L_84_
  1785. elseif not L_24_.BurstEnabled and not L_24_.BoltAction and L_24_.ExplosiveEnabled then
  1786. L_92_ = 6
  1787. L_83_ = true
  1788. L_84_ = L_69_
  1789. L_69_ = L_85_
  1790. elseif not L_24_.BurstEnabled and not L_24_.BoltAction and not L_24_.ExplosiveEnabled and L_24_.SemiEnabled then
  1791. L_92_ = 1
  1792. L_83_ = false
  1793. L_69_ = L_84_
  1794. elseif not L_24_.BurstEnabled and not L_24_.BoltAction and not L_24_.SemiEnabled then
  1795. L_92_ = 2
  1796. L_83_ = false
  1797. L_69_ = L_84_
  1798. end
  1799. elseif L_92_ == 3 then
  1800. if Shooting then
  1801. Shooting = false
  1802. end
  1803. if L_24_.BoltAction then
  1804. L_92_ = 4
  1805. L_83_ = false
  1806. L_69_ = L_84_
  1807. elseif not L_24_.BoltAction and L_24_.ExplosiveEnabled then
  1808. L_92_ = 6
  1809. L_83_ = true
  1810. L_84_ = L_69_
  1811. L_69_ = L_85_
  1812. elseif not L_24_.BoltAction and not L_24_.ExplosiveEnabled and L_24_.SemiEnabled then
  1813. L_92_ = 1
  1814. L_83_ = false
  1815. L_69_ = L_84_
  1816. elseif not L_24_.BoltAction and not L_24_.SemiEnabled and L_24_.AutoEnabled then
  1817. L_92_ = 2
  1818. L_83_ = false
  1819. L_69_ = L_84_
  1820. elseif not L_24_.BoltAction and not L_24_.SemiEnabled and not L_24_.AutoEnabled then
  1821. L_92_ = 3
  1822. L_83_ = false
  1823. L_69_ = L_84_
  1824. end
  1825. elseif L_92_ == 4 then
  1826. if Shooting then
  1827. Shooting = false
  1828. end
  1829. if L_24_.ExplosiveEnabled then
  1830. L_92_ = 6
  1831. L_83_ = true
  1832. L_84_ = L_69_
  1833. L_69_ = L_85_
  1834. elseif not L_24_.ExplosiveEnabled and L_24_.SemiEnabled then
  1835. L_92_ = 1
  1836. L_83_ = false
  1837. L_69_ = L_84_
  1838. elseif not L_24_.SemiEnabled and L_24_.AutoEnabled then
  1839. L_92_ = 2
  1840. L_83_ = false
  1841. L_69_ = L_84_
  1842. elseif not L_24_.SemiEnabled and not L_24_.AutoEnabled and L_24_.BurstEnabled then
  1843. L_92_ = 3
  1844. L_83_ = false
  1845. L_69_ = L_84_
  1846. elseif not L_24_.SemiEnabled and not L_24_.AutoEnabled and not L_24_.BurstEnabled then
  1847. L_92_ = 4
  1848. L_83_ = false
  1849. L_69_ = L_84_
  1850. end
  1851. elseif L_92_ == 6 then
  1852. if Shooting then
  1853. Shooting = false
  1854. end
  1855. L_85_ = L_69_
  1856. if L_24_.SemiEnabled then
  1857. L_92_ = 1
  1858. L_83_ = false
  1859. L_69_ = L_84_
  1860. elseif not L_24_.SemiEnabled and L_24_.AutoEnabled then
  1861. L_92_ = 2
  1862. L_83_ = false
  1863. L_69_ = L_84_
  1864. elseif not L_24_.SemiEnabled and not L_24_.AutoEnabled and L_24_.BurstEnabled then
  1865. L_92_ = 3
  1866. L_83_ = false
  1867. L_69_ = L_84_
  1868. elseif not L_24_.SemiEnabled and not L_24_.AutoEnabled and not L_24_.BurstEnabled and L_24_.BoltAction then
  1869. L_92_ = 4
  1870. L_83_ = false
  1871. L_69_ = L_84_
  1872. elseif not L_24_.SemiEnabled and not L_24_.AutoEnabled and not L_24_.BurstEnabled and not L_24_.BoltAction then
  1873. L_92_ = 6
  1874. L_83_ = true
  1875. L_84_ = L_69_
  1876. L_69_ = L_85_
  1877. end
  1878. end
  1879. UpdateAmmo()
  1880. FireModeAnim()
  1881. IdleAnim()
  1882. L_70_ = false
  1883. end;
  1884.  
  1885. if L_315_arg1.KeyCode == (Enum.KeyCode.F or L_315_arg1.KeyCode == Enum.KeyCode.DPadDown) and not L_79_ and not L_77_ and not L_78_ and not L_67_ and not L_70_ and not L_64_ and not L_66_ and not Shooting and not L_76_ then
  1886. if not L_73_ and not L_74_ then
  1887. L_74_ = true
  1888. Shooting = false
  1889. L_69_ = false
  1890. L_138_ = time()
  1891. delay(0.6, function()
  1892. if L_106_ ~= L_24_.Ammo and L_106_ > 0 then
  1893. CreateShell()
  1894. end
  1895. end)
  1896. BoltBackAnim()
  1897. L_73_ = true
  1898. elseif L_73_ and L_74_ then
  1899. BoltForwardAnim()
  1900. Shooting = false
  1901. L_69_ = true
  1902. if L_106_ ~= L_24_.Ammo and L_106_ > 0 then
  1903. L_106_ = L_106_ - 1
  1904. elseif L_106_ >= L_24_.Ammo then
  1905. L_69_ = true
  1906. end
  1907. L_73_ = false
  1908. L_74_ = false
  1909. IdleAnim()
  1910. L_75_ = false
  1911. end
  1912. UpdateAmmo()
  1913. end;
  1914.  
  1915. if L_315_arg1.KeyCode == (Enum.KeyCode.LeftShift or L_315_arg1.KeyCode == Enum.KeyCode.ButtonL3) and not L_78_ and not L_77_ and L_149_ then
  1916. L_71_ = true
  1917. if L_15_ and not L_70_ and not L_67_ and L_71_ and not L_65_ and not L_74_ then
  1918. Shooting = false
  1919. L_64_ = false
  1920. L_67_ = true
  1921.  
  1922. delay(0, function()
  1923. if L_67_ and not L_66_ then
  1924. L_64_ = false
  1925. L_72_ = true
  1926. end
  1927. end)
  1928. L_97_ = 80
  1929. L_157_ = 0.4
  1930. L_158_ = 16
  1931. L_3_.Humanoid.WalkSpeed = L_24_.SprintSpeed
  1932. end
  1933. end;
  1934.  
  1935. if L_315_arg1.KeyCode == (Enum.KeyCode.R or L_315_arg1.KeyCode == Enum.KeyCode.ButtonX) and not L_79_ and not L_78_ and not L_77_ and L_15_ and not L_66_ and not L_64_ and not Shooting and not L_67_ and not L_74_ then
  1936. if not L_83_ then
  1937. if L_107_ > 0 and L_106_ < L_24_.Ammo then
  1938. Shooting = false
  1939. L_66_ = true
  1940.  
  1941. for L_320_forvar1, L_321_forvar2 in pairs(game.Players:GetChildren()) do
  1942. if L_321_forvar2 and L_321_forvar2:IsA('Player') and L_321_forvar2 ~= L_2_ and L_321_forvar2.TeamColor == L_2_.TeamColor then
  1943. if (L_321_forvar2.Character.HumanoidRootPart.Position - L_3_.HumanoidRootPart.Position).magnitude <= 200 then
  1944. if L_7_:FindFirstChild('AHH') and not L_7_.AHH.IsPlaying and L_24_.CanCallout then
  1945. L_122_:FireServer(L_7_.AHH, L_101_[math.random(0, 23)])
  1946. end
  1947. end
  1948. end
  1949. end
  1950.  
  1951. ReloadAnim()
  1952. if L_106_ <= 0 then
  1953. if not L_24_.CanSlideLock then
  1954. BoltBackAnim()
  1955. BoltForwardAnim()
  1956. end
  1957. end
  1958. IdleAnim()
  1959. L_69_ = true
  1960.  
  1961. if L_106_ <= 0 then
  1962. if (L_107_ - (L_24_.Ammo - L_106_)) < 0 then
  1963. L_106_ = L_106_ + L_107_
  1964. L_107_ = 0
  1965. else
  1966. L_107_ = L_107_ - (L_24_.Ammo - L_106_)
  1967. L_106_ = L_24_.Ammo
  1968. end
  1969. elseif L_106_ > 0 then
  1970. if (L_107_ - (L_24_.Ammo - L_106_)) < 0 then
  1971. L_106_ = L_106_ + L_107_ + 1
  1972. L_107_ = 0
  1973. else
  1974. L_107_ = L_107_ - (L_24_.Ammo - L_106_)
  1975. L_106_ = L_24_.Ammo + 1
  1976. end
  1977. end
  1978.  
  1979. L_66_ = false
  1980. if not L_75_ then
  1981. L_69_ = true
  1982. end
  1983. end;
  1984. elseif L_83_ then
  1985. if L_108_ > 0 then
  1986. Shooting = false
  1987. L_66_ = true
  1988. nadeReload()
  1989. IdleAnim()
  1990. L_66_ = false
  1991. L_69_ = true
  1992. end
  1993. end;
  1994. UpdateAmmo()
  1995. end;
  1996.  
  1997. if L_315_arg1.KeyCode == Enum.KeyCode.RightBracket and L_64_ then
  1998. if (L_51_ < 1) then
  1999. L_51_ = L_51_ + L_24_.SensitivityIncrement
  2000. end
  2001. end
  2002.  
  2003. if L_315_arg1.KeyCode == Enum.KeyCode.LeftBracket and L_64_ then
  2004. if (L_51_ > 0.1) then
  2005. L_51_ = L_51_ - L_24_.SensitivityIncrement
  2006. end
  2007. end
  2008.  
  2009. if L_315_arg1.KeyCode == (Enum.KeyCode.T or L_315_arg1.KeyCode == Enum.KeyCode.DPadLeft) and L_1_:FindFirstChild("AimPart2") then
  2010. if not L_86_ then
  2011. L_56_ = L_1_:WaitForChild("AimPart2")
  2012. L_50_ = L_24_.CycleAimZoom
  2013. if L_64_ then
  2014. L_97_ = L_24_.CycleAimZoom
  2015. end
  2016. L_86_ = true
  2017. else
  2018. L_56_ = L_1_:FindFirstChild("AimPart")
  2019. L_50_ = L_24_.AimZoom
  2020. if L_64_ then
  2021. L_97_ = L_24_.AimZoom
  2022. end
  2023. L_86_ = false
  2024. end;
  2025. end;
  2026.  
  2027. if L_315_arg1.KeyCode == L_24_.InspectionKey and not L_79_ and not L_78_ then
  2028. if not L_77_ then
  2029. L_77_ = true
  2030. InspectAnim()
  2031. IdleAnim()
  2032. L_77_ = false
  2033. end
  2034. end;
  2035.  
  2036. if L_315_arg1.KeyCode == L_24_.AttachmentKey and not L_79_ and not L_77_ then
  2037. if L_15_ then
  2038. if not L_78_ then
  2039. L_67_ = false
  2040. L_64_ = false
  2041. L_69_ = false
  2042. L_78_ = true
  2043.  
  2044. AttachAnim()
  2045. elseif L_78_ then
  2046. L_67_ = false
  2047. L_64_ = false
  2048. L_69_ = true
  2049. L_78_ = false
  2050.  
  2051. IdleAnim()
  2052. end
  2053. end
  2054. end;
  2055.  
  2056. if L_315_arg1.KeyCode == Enum.KeyCode.P and not L_77_ and not L_78_ and not L_64_ and not L_67_ and not L_65_ and not L_66_ and not Recoiling and not L_67_ then
  2057. if not L_79_ then
  2058. L_79_ = true
  2059. L_14_:Create(L_45_, TweenInfo.new(0.2), {
  2060. C1 = L_24_.SprintPos
  2061. }):Play()
  2062. wait(0.2)
  2063. L_115_:FireServer("Patrol", L_24_.SprintPos)
  2064. else
  2065. L_79_ = false
  2066. L_14_:Create(L_45_, TweenInfo.new(0.2), {
  2067. C1 = CFrame.new()
  2068. }):Play()
  2069. wait(0.2)
  2070. L_115_:FireServer("Unpatrol")
  2071. end
  2072. end;
  2073. end
  2074. end)
  2075.  
  2076. L_110_.InputEnded:connect(function(L_322_arg1, L_323_arg2)
  2077. if not L_323_arg2 and L_15_ then
  2078. if L_322_arg1.UserInputType == (Enum.UserInputType.MouseButton2 or L_322_arg1.KeyCode == Enum.KeyCode.ButtonL2) and not L_77_ and L_24_.CanAim and not L_78_ then
  2079. if L_64_ then
  2080. if not L_65_ then
  2081. L_3_:WaitForChild("Humanoid").WalkSpeed = 16
  2082. L_157_ = 0.09
  2083. L_158_ = 11
  2084. end
  2085. L_97_ = 70
  2086. L_136_.target = Vector3.new()
  2087. L_98_.SoundId = 'rbxassetid://' .. L_103_[math.random(1, #L_103_)]
  2088. L_98_:Play()
  2089. L_118_:FireServer(false)
  2090. L_64_ = false
  2091. end
  2092. end;
  2093.  
  2094. if L_322_arg1.KeyCode == Enum.KeyCode.A and L_15_ then
  2095. L_137_ = CFrame.Angles(0, 0, 0)
  2096. end;
  2097.  
  2098. if L_322_arg1.KeyCode == Enum.KeyCode.D and L_15_ then
  2099. L_137_ = CFrame.Angles(0, 0, 0)
  2100. end;
  2101.  
  2102. if L_322_arg1.KeyCode == Enum.KeyCode.E and L_15_ and L_80_ then
  2103. Unlean()
  2104. L_80_ = false
  2105. L_82_ = false
  2106. L_81_ = false
  2107. end
  2108.  
  2109. if L_322_arg1.KeyCode == Enum.KeyCode.Q and L_15_ and L_80_ then
  2110. Unlean()
  2111. L_80_ = false
  2112. L_82_ = false
  2113. L_81_ = false
  2114. end
  2115.  
  2116. if L_322_arg1.KeyCode == L_24_.AlternateAimKey and not L_77_ and L_24_.CanAim then
  2117. if L_64_ then
  2118. if not L_65_ then
  2119. L_3_.Humanoid.WalkSpeed = 16
  2120. L_158_ = 17
  2121. L_157_ = .25
  2122. end
  2123. L_97_ = 70
  2124. L_136_.target = Vector3.new()
  2125. L_136_.target = Vector3.new()
  2126. L_98_.SoundId = 'rbxassetid://' .. L_103_[math.random(1, #L_103_)]
  2127. L_118_:FireServer(false)
  2128. L_64_ = false
  2129. end
  2130. end;
  2131.  
  2132. if L_322_arg1.UserInputType == (Enum.UserInputType.MouseButton1 or L_322_arg1.KeyCode == Enum.KeyCode.ButtonR2) and not L_77_ then
  2133. L_68_ = false
  2134. if Shooting then
  2135. Shooting = false
  2136. end
  2137. end;
  2138.  
  2139. if L_322_arg1.KeyCode == Enum.KeyCode.E and L_15_ then
  2140. local L_324_ = L_42_:WaitForChild('GameGui')
  2141. if L_16_ then
  2142. L_324_:WaitForChild('AmmoFrame').Visible = false
  2143. L_16_ = false
  2144. end
  2145. end;
  2146.  
  2147. if L_322_arg1.KeyCode == (Enum.KeyCode.LeftShift or L_322_arg1.KeyCode == Enum.KeyCode.ButtonL3) and not L_77_ and not L_70_ and not L_65_ then -- SPRINT
  2148. L_71_ = false
  2149. if L_67_ and not L_64_ and not Shooting and not L_71_ then
  2150. L_67_ = false
  2151. L_72_ = false
  2152. L_97_ = 70
  2153.  
  2154. L_3_.Humanoid.WalkSpeed = 16
  2155. L_157_ = 0.09
  2156. L_158_ = 11
  2157. end
  2158. end;
  2159. end
  2160. end)
  2161.  
  2162. L_110_.InputChanged:connect(function(L_325_arg1, L_326_arg2)
  2163. if not L_326_arg2 and L_15_ and L_24_.FirstPersonOnly and L_64_ then
  2164. if L_325_arg1.UserInputType == Enum.UserInputType.MouseWheel then
  2165. if L_325_arg1.Position.Z == 1 and (L_51_ < 1) then
  2166. L_51_ = L_51_ + L_24_.SensitivityIncrement
  2167. elseif L_325_arg1.Position.Z == -1 and (L_51_ > 0.1) then
  2168. L_51_ = L_51_ - L_24_.SensitivityIncrement
  2169. end
  2170. end
  2171. end
  2172. end)
  2173.  
  2174. L_110_.InputChanged:connect(function(L_327_arg1, L_328_arg2)
  2175. if not L_328_arg2 and L_15_ then
  2176. local L_329_, L_330_ = workspace:FindPartOnRayWithIgnoreList(Ray.new(L_56_.CFrame.p, (L_56_.CFrame.lookVector).unit * 10000), IgnoreList);
  2177. if L_329_ then
  2178. local L_331_ = (L_330_ - L_6_.Position).magnitude
  2179. L_33_.Text = math.ceil(L_331_) .. ' m'
  2180. end
  2181. end
  2182. end)
  2183.  
  2184. --// Event Connections
  2185. L_118_.OnClientEvent:connect(function(L_332_arg1, L_333_arg2)
  2186. if L_332_arg1 ~= L_2_ then
  2187. local L_334_ = L_332_arg1.Character
  2188. local L_335_ = L_334_.AnimBase.AnimBaseW
  2189. local L_336_ = L_335_.C1
  2190. if L_333_arg2 then
  2191. L_133_(L_335_, nil , L_334_.Head.CFrame, function(L_337_arg1)
  2192. return math.sin(math.rad(L_337_arg1))
  2193. end, 0.25)
  2194. elseif not L_333_arg2 then
  2195. L_133_(L_335_, nil , L_336_, function(L_338_arg1)
  2196. return math.sin(math.rad(L_338_arg1))
  2197. end, 0.25)
  2198. end
  2199. end
  2200. end)
  2201.  
  2202. L_121_.OnClientEvent:connect(function(L_339_arg1, L_340_arg2)
  2203. if L_42_ and L_340_arg2 ~= L_2_ and L_24_.CanCallout then
  2204. if (L_3_.HumanoidRootPart.Position - L_339_arg1).magnitude <= 10 then
  2205. L_41_.Visible = true
  2206. local L_341_ = ScreamCalculation()
  2207. if L_341_ then
  2208. if L_7_:FindFirstChild('AHH') and not L_7_.AHH.IsPlaying then
  2209. L_122_:FireServer(L_7_.AHH, L_100_[math.random(0, 21)])
  2210. end
  2211. end
  2212. L_14_:Create(L_41_, TweenInfo.new(0.1), {
  2213. BackgroundTransparency = 0.4
  2214. }):Play()
  2215. delay(0.1, function()
  2216. L_14_:Create(L_41_, TweenInfo.new(3), {
  2217. BackgroundTransparency = 1
  2218. }):Play()
  2219. end)
  2220. end
  2221. end
  2222. end)
  2223.  
  2224. --// UI Tween Info
  2225. local L_169_ = TweenInfo.new(
  2226. 1,
  2227. Enum.EasingStyle.Sine,
  2228. Enum.EasingDirection.Out,
  2229. 0,
  2230. false,
  2231. 0
  2232. )
  2233.  
  2234. local L_170_ = {
  2235. TextTransparency = 1
  2236. }
  2237.  
  2238.  
  2239.  
  2240. --[[killEvent.OnClientEvent:connect(function()
  2241. KillText.TextTransparency = 0
  2242. delay(2, function()
  2243. local testTween = tweenService:Create(KillText,killInfo,killGoals)
  2244. testTween:Play()
  2245. end)
  2246. end)]]--
  2247.  
  2248. --// Animations
  2249. local L_171_
  2250.  
  2251. function IdleAnim(L_342_arg1)
  2252. L_24_.IdleAnim(L_3_, L_171_, {
  2253. L_45_,
  2254. L_46_,
  2255. L_47_
  2256. });
  2257. end;
  2258.  
  2259. function EquipAnim(L_343_arg1)
  2260. L_24_.EquipAnim(L_3_, L_171_, {
  2261. L_45_
  2262. });
  2263. end;
  2264.  
  2265. function UnequipAnim(L_344_arg1)
  2266. L_24_.UnequipAnim(L_3_, L_171_, {
  2267. L_45_
  2268. });
  2269. end;
  2270.  
  2271. function FireModeAnim(L_345_arg1)
  2272. L_24_.FireModeAnim(L_3_, L_171_, {
  2273. L_45_,
  2274. L_47_,
  2275. L_46_,
  2276. L_58_
  2277. });
  2278. end
  2279.  
  2280. function ReloadAnim(L_346_arg1)
  2281. L_24_.ReloadAnim(L_3_, L_171_, {
  2282. L_45_,
  2283. L_46_,
  2284. L_47_,
  2285. L_61_,
  2286. L_3_:WaitForChild('Left Arm'),
  2287. L_58_,
  2288. L_49_,
  2289. L_3_:WaitForChild('Right Arm'),
  2290. L_43_
  2291. });
  2292. end;
  2293.  
  2294. function BoltingBackAnim(L_347_arg1)
  2295. L_24_.BoltingBackAnim(L_3_, L_171_, {
  2296. L_49_
  2297. });
  2298. end
  2299.  
  2300. function BoltingForwardAnim(L_348_arg1)
  2301. L_24_.BoltingForwardAnim(L_3_, L_171_, {
  2302. L_49_
  2303. });
  2304. end
  2305.  
  2306. function BoltingForwardAnim(L_349_arg1)
  2307. L_24_.BoltingForwardAnim(L_3_, L_171_, {
  2308. L_49_
  2309. });
  2310. end
  2311.  
  2312. function BoltBackAnim(L_350_arg1)
  2313. L_24_.BoltBackAnim(L_3_, L_171_, {
  2314. L_49_,
  2315. L_47_,
  2316. L_46_,
  2317. L_45_,
  2318. L_62_
  2319. });
  2320. end
  2321.  
  2322. function BoltForwardAnim(L_351_arg1)
  2323. L_24_.BoltForwardAnim(L_3_, L_171_, {
  2324. L_49_,
  2325. L_47_,
  2326. L_46_,
  2327. L_45_,
  2328. L_62_
  2329. });
  2330. end
  2331.  
  2332. function InspectAnim(L_352_arg1)
  2333. L_24_.InspectAnim(L_3_, L_171_, {
  2334. L_47_,
  2335. L_46_
  2336. });
  2337. end
  2338.  
  2339. function nadeReload(L_353_arg1)
  2340. L_24_.nadeReload(L_3_, L_171_, {
  2341. L_46_,
  2342. L_47_
  2343. });
  2344. end
  2345.  
  2346. function AttachAnim(L_354_arg1)
  2347. L_24_.AttachAnim(L_3_, L_171_, {
  2348. L_46_,
  2349. L_47_
  2350. });
  2351. end
  2352.  
  2353. function PatrolAnim(L_355_arg1)
  2354. L_24_.PatrolAnim(L_3_, L_171_, {
  2355. L_46_,
  2356. L_47_
  2357. });
  2358. end
Advertisement
Add Comment
Please, Sign In to add comment