Advertisement
OverseersMight

Client Config

Apr 19th, 2020
670
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.85 KB | None | 0 0
  1. local Tool = script.Parent.Parent.Parent
  2. local Utilize = require(script.Parent.Parent:WaitForChild("Modules"):WaitForChild("Utilities"))
  3. local TweenJoint = Utilize.TweenJoint
  4. local ts = game:GetService('TweenService')
  5.  
  6. local Settings = {
  7.  
  8. --// Positioning
  9.     RestPos = CFrame.new(0.41808939, 0, -0.0273852348, 0.704155862, -0.0188415907, 0.709795356, -0.314750254, 0.887783766, 0.335815758, -0.636472106, -0.459874928, 0.61920774);
  10.    
  11.     SprintPos = CFrame.new(0, 0, 0, 0.844756603, -0.251352191, 0.472449303, 0.103136979, 0.942750931, 0.317149073, -0.525118113, -0.219186768, 0.822318792);           
  12.  
  13. --// Ammo Settings         
  14.     Ammo = 50;
  15.     StoredAmmo = 50;
  16.     MagCount = math.huge; --  If you want infinate ammo, set to math.huge EX. MagCount = math.huge;
  17.     ExplosiveAmmo = math.huge;
  18.    
  19. --// Damage Settings   
  20.     Damage = 30;
  21.     HeadDamage = 40; -- If you set this to 100, there's a chance the player won't die because of the heal script
  22.    
  23. --// Recoil Settings   
  24.     gunrecoil = -0.3; -- How much the gun recoils backwards when not aiming
  25.     camrecoil = 0.05; -- How much the camera flicks when not aiming
  26.     AimGunRecoil = -0.1; -- How much the gun recoils backwards when aiming
  27.     AimCamRecoil = 0.02; -- How much the camera flicks when aiming
  28.    
  29.     Kickback = 3; -- Upward gun rotation when not aiming
  30.     AimKickback = 0.1; -- Upward gun rotation when aiming
  31.    
  32. --// Handling Settings     
  33.     Firerate = 1 / 1e100; -- 60 = 1 Minute, 700 = Rounds per that 60 seconds. DO NOT TOUCH THE 60!
  34.    
  35.     FireMode = 2,1,3,5; -- 1 = Semi, 2 = Auto, 3 = Burst, 4 = Bolt Action, 5 = Shot, 6 = Explosive
  36.    
  37. --// Firemode Settings
  38.     CanSelectFire = true;
  39.     BurstEnabled = true;
  40.     SemiEnabled = true;
  41.     AutoEnabled = true;
  42.     BoltAction = false;
  43.     ExplosiveEnabled = false;
  44.    
  45. --// Firemode Shot Customization
  46.     BurstNum = 3; -- How many bullets per burst
  47.     ShotNum = 5; -- How many bullets per shot
  48.    
  49. --// Aim|Zoom|Sensitivity Customization
  50.     ZoomSpeed = 0.23; -- The lower the number the slower and smoother the tween
  51.     AimZoom = 30; -- Default zoom
  52.     AimSpeed = 0.23;
  53.     UnaimSpeed = 0.23;
  54.     CycleAimZoom = 55; -- Cycled zoom
  55.     MouseSensitivity = 0.3; -- Number between 0.1 and 1
  56.     SensitivityIncrement = 0.05; -- No touchy
  57.    
  58. --// Bullet Physics
  59.     BulletPhysics = Vector3.new(0,45,0); -- Drop fixation: Lower number = more drop
  60.     BulletSpeed = 1200; -- Bullet Speed
  61.    
  62.     ExploPhysics = Vector3.new(0,20,0); -- Drop for explosive rounds
  63.     ExploSpeed = 600; -- Speed for explosive rounds
  64.    
  65. --// Probabilities
  66.     JamChance = 0; -- This is percent scaled. For 100% Chance of jamming, put 100, for 0%, 0; and everything inbetween
  67.     TracerChance = 0; -- This is the percen scaled. For 100% Chance of showing tracer, put 100, for 0%, 0; and everything inbetween
  68.    
  69. --// Tracer Vars
  70.     TracerTransparency = 0;
  71.     TracerLightEmission = 1;
  72.     TracerTextureLength = 0.1;
  73.     TracerLifetime = 0.05;
  74.     TracerFaceCamera = true;
  75.     TracerColor = BrickColor.new('White');
  76.  
  77. --// Dev Vars
  78.     CameraGo = true; -- No touchy
  79.     FirstPersonOnly = false; -- SET THIS TO FALSE TO ENABLE THIRD PERSON, TRUE FOR FIRST PERSON ONLY
  80.     TPSMouseIcon = 1415957732; -- Image used as the third person reticle
  81.    
  82. --// Extras
  83.     WalkAnimEnabled = false; -- Set to false to disable walking animation, true to enable
  84.     SwayEnabled = true;  -- Set to false to disable sway, true to enable
  85.  
  86. -- Customization
  87.     AntiTK = false; -- Set to false to allow TK and damaging of NPC, true for no TK. (To damage NPC, this needs to be false)
  88.    
  89.     MouseSense = 0.5;
  90.  
  91.     CanAim = true; -- Allows player to aim
  92.     CanBolt = true; -- When shooting, if this is enabled, the bolt will move (SCAR-L, ACR, AK Series)
  93.    
  94.     LaserAttached = false;
  95.     LightAttached = false;
  96.     TracerEnabled = false;
  97.  
  98. --// KeyBindings
  99.     FireSelectKey = Enum.KeyCode.V;
  100.     CycleSightKey = Enum.KeyCode.T;
  101.     LaserKey = Enum.KeyCode.F;
  102.     LightKey = Enum.KeyCode.G;
  103.     InteractKey = Enum.KeyCode.E;
  104.     AlternateAimKey = Enum.KeyCode.Z;
  105.     InspectionKey = Enum.KeyCode.H;
  106.    
  107. --// Unused (Don't delete)
  108.     RestMode = false;
  109.     AttachmentsEnabled = false;
  110.     UIScope = false;
  111.     CanSlideLock = false;
  112.        
  113. --// Animations
  114.    
  115.     -- Idle Anim
  116.     IdleAnim = function(char, speed, objs)
  117.         TweenJoint(objs[2],  nil , CFrame.new(-0.902175903, 0.295501232, -1.32277012, 1, 0, 0, 0, 1.19248806e-08, 1, 0, -1, 1.19248806e-08), function(X) return math.sin(math.rad(X)) end, 0.25)
  118.         TweenJoint(objs[3],  nil , CFrame.new(0.805950999, 0.654529691, -1.92835343, 0.787567914, -0.220087856, 0.575584888, -0.615963876, -0.308488727, 0.724860668, 0.0180283934, -0.925416589, -0.378522098), function(X) return math.sin(math.rad(X)) end, 0.25)
  119.         wait(0.18) 
  120.     end;
  121.    
  122.     -- FireMode Anim
  123.     FireModeAnim = function(char, speed, objs)
  124.         TweenJoint(objs[1],  nil , CFrame.new(0.340285569, 0, -0.0787199363, 0.962304771, 0.271973342, 0, -0.261981696, 0.926952124, -0.268561482, -0.0730415657, 0.258437991, 0.963262498), function(X) return math.sin(math.rad(X)) end, 0.25)
  125.         wait(0.1)
  126.         TweenJoint(objs[2],  nil , CFrame.new(0.67163527, -0.310947895, -1.34432662, 0.766044378, -2.80971371e-008, 0.642787576, -0.620885074, -0.258818865, 0.739942133, 0.166365519, -0.965925872, -0.198266774), function(X) return math.sin(math.rad(X)) end, 0.25)
  127.         wait(0.17)
  128.         objs[4]:WaitForChild("Click"):Play()       
  129.     end;
  130.    
  131.     -- Reload Anim
  132.     ReloadAnim = function(char, speed, objs)
  133.         TweenJoint(objs[2],  nil , CFrame.new(-0.630900264, 0.317047596, -1.27966166, 0.985866964, -0.167529628, -7.32295247e-09, 0, -4.37113883e-08, 1, -0.167529613, -0.985867023, -4.30936176e-08), function(X) return math.sin(math.rad(X)) end, 0.5)
  134.         TweenJoint(objs[3],  nil , CFrame.new(0.436954767, 0.654289246, -1.82817471, 0.894326091, -0.267454475, 0.358676374, -0.413143814, -0.185948789, 0.891479254, -0.171734676, -0.945458114, -0.276796043), function(X) return math.sin(math.rad(X)) end, 0.5)
  135.         wait(0.5)      
  136.        
  137.         local MagC = Tool:WaitForChild("Mag"):clone()
  138.         MagC:FindFirstChild("Mag"):Destroy()
  139.         MagC.Parent = Tool
  140.         MagC.Name = "MagC"
  141.         local MagCW = Instance.new("Motor6D")
  142.         MagCW.Part0 = MagC
  143.         MagCW.Part1 = workspace.CurrentCamera:WaitForChild("Arms"):WaitForChild("Left Arm")
  144.         MagCW.Parent = MagC
  145.         MagCW.C1 = MagC.CFrame:toObjectSpace(objs[4].CFrame)
  146.         objs[4].Transparency = 1
  147.        
  148.         objs[6]:WaitForChild("MagOut"):Play()      
  149.        
  150.         TweenJoint(objs[3],  nil , CFrame.new(0.436954767, 0.654289246, -3.00337243, 0.894326091, -0.267454475, 0.358676374, -0.413143814, -0.185948789, 0.891479254, -0.171734676, -0.945458114, -0.276796043), function(X) return math.sin(math.rad(X)) end, 0.3)
  151.         TweenJoint(objs[2],  nil , CFrame.new(-0.630900264, 0.317047596, -1.27966166, 0.985866964, -0.167529628, -7.32295247e-09, 0.0120280236, 0.0707816631, 0.997419298, -0.16709727, -0.983322799, 0.0717963576), function(X) return math.sin(math.rad(X)) end, 0.1)
  152.         wait(0.1)
  153.         TweenJoint(objs[2],  nil , CFrame.new(-1.11434817, 0.317047596, -0.672240019, 0.658346057, -0.747599542, -0.0876094475, 0.0672011375, -0.0575498641, 0.996078312, -0.749709547, -0.661651671, 0.0123518109), function(X) return math.sin(math.rad(X)) end, 0.3)
  154.         wait(0.3)
  155.         objs[6]:WaitForChild('MagIn'):Play()
  156.         TweenJoint(objs[3],  nil , CFrame.new(-0.273085892, 0.654289246, -1.48434556, 0.613444746, -0.780330896, 0.121527649, -0.413143814, -0.185948789, 0.891479254, -0.673050761, -0.597081661, -0.43645826), function(X) return math.sin(math.rad(X)) end, 0.3)
  157.         wait(0.4)
  158.         MagC:Destroy()
  159.         objs[4].Transparency = 0
  160.     end;
  161.  
  162.     -- Bolt Anim
  163.     BoltBackAnim = function(char, speed, objs)
  164.         TweenJoint(objs[3],  nil , CFrame.new(1.04700136, 0.317047596, -0.767886281, 0.00939893816, 0.965058565, 0.261865675, -0.00255025178, -0.261853248, 0.965104342, 0.999952495, -0.00973878056, -4.25695618e-10), function(X) return math.sin(math.rad(X)) end, 0.25)
  165.         wait(0.1)
  166.         TweenJoint(objs[2],  nil , CFrame.new(1.39884663, 0.498595923, -0.860399306, 0.782615423, -0.150612175, 0.604010761, -0.618336797, -0.300183713, 0.72632581, 0.0719207227, -0.941915989, -0.328057468), function(X) return math.sin(math.rad(X)) end, 0.25)
  167.         wait(0.4)
  168.         objs[5]:WaitForChild("BoltBack"):Play()
  169.         TweenJoint(objs[2],  nil , CFrame.new(1.1623162, 0.194058508, -0.860399306, 0.782615423, -0.150612175, 0.604010761, -0.618336797, -0.300183713, 0.72632581, 0.0719207227, -0.941915989, -0.328057468), function(X) return math.sin(math.rad(X)) end, 0.25)
  170.         TweenJoint(objs[1],  nil , CFrame.new(0, 0, 0.349522173, 1, 0, 0, 0, 1, 0, 0, 0, 1), function(X) return math.sin(math.rad(X)) end, 0.25)
  171.         TweenJoint(objs[4],  nil , CFrame.new(0, 0, 0, 0.999732673, -5.32109236e-38, 0.0231219828, 4.21572291e-38, 1, 4.78547237e-37, -0.0231219828, -4.77444539e-37, 0.999732673), function(X) return math.sin(math.rad(X)) end, 0.25)
  172.         wait(0.4)
  173.     end;
  174.    
  175.     -- Bolt Forward Anim
  176.     BoltForwardAnim = function(char, speed, objs)
  177.         objs[5]:WaitForChild("BoltForward"):Play()
  178.         TweenJoint(objs[1],  nil , CFrame.new(), function(X) return math.sin(math.rad(X)) end, 0.1)
  179.         TweenJoint(objs[2],  nil , CFrame.new(0.670083344, -0.512306809, -0.599249482, 0.783797264, -0.189583838, 0.59137094, -0.611340404, -0.06810458, 0.788431644, -0.109198831, -0.979499698, -0.169280484), function(X) return math.sin(math.rad(X)) end, 0.1)
  180.         TweenJoint(objs[4],  nil , CFrame.new(0.0584926605, 5.60519386e-45, -0.148691654, 1, -1.12103877e-44, 1.12103877e-44, 1.12103877e-44, 1, 1.12103877e-44, -1.12103877e-44, -1.12103877e-44, 1), function(X) return math.sin(math.rad(X)) end, 0.2)
  181.         wait(0.1)
  182.         TweenJoint(objs[4],  nil , CFrame.new(0.0584926605, 5.60519386e-45, 0.028041698, 1, -1.12103877e-44, 1.12103877e-44, 1.12103877e-44, 1, 1.12103877e-44, -1.12103877e-44, -1.12103877e-44, 1), function(X) return math.sin(math.rad(X)) end, 0.2)
  183.         wait(0.3)
  184.     end;
  185.    
  186.     -- Bolting Back
  187.     BoltingBackAnim = function(char, speed, objs)
  188.         TweenJoint(objs[1],  nil , CFrame.new(0, 0, 0.349522173, 1, 0, 0, 0, 1, 0, 0, 0, 1), function(X) return math.sin(math.rad(X)) end, 0.1)
  189.     end;
  190.    
  191.     BoltingForwardAnim = function(char, speed, objs)
  192.         TweenJoint(objs[1],  nil , CFrame.new(), function(X) return math.sin(math.rad(X)) end, 0.1)
  193.     end;
  194.    
  195.     InspectAnim = function(char, speed, objs)
  196.             ts:Create(objs[1],TweenInfo.new(1),{C1 = CFrame.new(0.805950999, 0.654529691, -1.92835355, 0.999723792, 0.0109803826, 0.0207702816, -0.0223077796, 0.721017241, 0.692557871, -0.00737112388, -0.692829967, 0.721063137)}):Play()
  197.             ts:Create(objs[2],TweenInfo.new(1),{C1 = CFrame.new(-1.49363565, -0.699174881, -1.32277012, 0.66716975, -8.8829113e-09, -0.74490571, 0.651565909, -0.484672248, 0.5835706, -0.361035138, -0.874695837, -0.323358655)}):Play()
  198.             wait(1)
  199.             ts:Create(objs[2],TweenInfo.new(1),{C1 = CFrame.new(1.37424219, -0.699174881, -1.03685927, -0.204235911, 0.62879771, 0.750267386, 0.65156585, -0.484672219, 0.58357054, 0.730581641, 0.60803473, -0.310715646)}):Play()
  200.             wait(1)
  201.             ts:Create(objs[2],TweenInfo.new(1),{C1 = CFrame.new(-0.902175903, 0.295501232, -1.32277012, 0.935064793, -0.354476899, 4.22709467e-09, -0.110443868, -0.291336805, 0.950223684, -0.336832345, -0.888520718, -0.311568588)}):Play()
  202.             ts:Create(objs[1],TweenInfo.new(1),{C1 = CFrame.new(0.447846293, 0.654529572, -1.81345785, 0.761665463, -0.514432132, 0.393986136, -0.560285628, -0.217437655, 0.799250066, -0.325492471, -0.82950604, -0.453843832)}):Play()
  203.             wait(1)
  204.             local MagC = Tool:WaitForChild("Mag"):clone()
  205.             MagC:FindFirstChild("Mag"):Destroy()
  206.             MagC.Parent = Tool
  207.             MagC.Name = "MagC"
  208.             local MagCW = Instance.new("Motor6D")
  209.             MagCW.Part0 = MagC
  210.             MagCW.Part1 = workspace.CurrentCamera:WaitForChild("Arms"):WaitForChild("Left Arm")
  211.             MagCW.Parent = MagC
  212.             MagCW.C1 = MagC.CFrame:toObjectSpace(Tool:WaitForChild('Mag').CFrame)
  213.             Tool.Mag.Transparency = 1
  214.             Tool:WaitForChild('Grip'):WaitForChild("MagOut"):Play()
  215.            
  216.             ts:Create(objs[2],TweenInfo.new(0.15),{C1 = CFrame.new(-0.902175903, 0.295501232, -1.55972552, 0.935064793, -0.354476899, 4.22709467e-09, -0.110443868, -0.291336805, 0.950223684, -0.336832345, -0.888520718, -0.311568588)}):Play()
  217.             ts:Create(objs[1],TweenInfo.new(0.3),{C1 = CFrame.new(0.447846293, 0.654529572, -2.9755671, 0.761665463, -0.514432132, 0.393986136, -0.568886042, -0.239798605, 0.786679745, -0.31021595, -0.823320091, -0.475299776)}):Play()
  218.             wait(0.13)
  219.             ts:Create(objs[2],TweenInfo.new(0.20),{C1 = CFrame.new(-0.902175903, 0.295501232, -1.28149843, 0.935064793, -0.354476899, 4.22709467e-09, -0.110443868, -0.291336805, 0.950223684, -0.336832345, -0.888520718, -0.311568588)}):Play()
  220.             wait(0.20)         
  221.             ts:Create(objs[1],TweenInfo.new(0.5),{C1 = CFrame.new(0.447846293, -0.650498748, -1.82401526, 0.761665463, -0.514432132, 0.393986136, -0.646156013, -0.55753684, 0.521185875, -0.0484529883, -0.651545882, -0.75706023)}):Play()
  222.             wait(0.8)
  223.             ts:Create(objs[1],TweenInfo.new(0.6),{C1 = CFrame.new(0.447846293, 0.654529572, -2.9755671, 0.761665463, -0.514432132, 0.393986136, -0.568886042, -0.239798605, 0.786679745, -0.31021595, -0.823320091, -0.475299776)}):Play()
  224.             wait(0.5)
  225.             Tool:WaitForChild('Grip'):WaitForChild("MagIn"):Play()
  226.             ts:Create(objs[1],TweenInfo.new(0.3),{C1 = CFrame.new(0.447846293, 0.654529572, -1.81345785, 0.761665463, -0.514432132, 0.393986136, -0.560285628, -0.217437655, 0.799250066, -0.325492471, -0.82950604, -0.453843832)}):Play()        
  227.             wait(0.3)
  228.             MagC:Destroy()
  229.             Tool.Mag.Transparency = 0
  230.             wait(0.1)
  231.         end;
  232.        
  233.         nadeReload = function(char, speed, objs)
  234.             ts:Create(objs[1], TweenInfo.new(0.6), {C1 = CFrame.new(-0.902175903, -1.15645337, -1.32277012, 0.984807789, -0.163175702, -0.0593911409, 0, -0.342020363, 0.939692557, -0.17364797, -0.925416529, -0.336824328)}):Play()
  235.             ts:Create(objs[2], TweenInfo.new(0.6), {C1 = CFrame.new(0.805950999, 0.654529691, -1.92835355, 0.787567914, -0.220087856, 0.575584888, -0.323594928, 0.647189975, 0.690240026, -0.524426222, -0.72986728, 0.438486755)}):Play()
  236.             wait(0.6)
  237.             ts:Create(objs[2], TweenInfo.new(0.6), {C1 = CFrame.new(0.805950999, 0.559619546, -1.73060048, 0.802135408, -0.348581612, 0.484839559, -0.597102284, -0.477574915, 0.644508123, 0.00688350201, -0.806481719, -0.59121877)}):Play()
  238.             wait(0.6)      
  239.         end;
  240.    
  241.     }
  242.  
  243. return Settings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement