Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

my gun made for acs version 1.7.5 is not working?

Asked by 2 years ago

I have a minigun desingned for ACS (advanced combat system) 1.7.5 I am using that version. my problem is even though I have it on "auto mode" and it has TONS of ammo it only fires 1 bullet per magasine.

here is the settings code:

local Tool = script.Parent.Parent.Parent
local ACS = Tool:WaitForChild("ACS_Modulo")
local Var = ACS:WaitForChild("Variaveis")

local Config = {

----------------------------------------------------------------------------------------------------
---------------------=[ GERAL ]=--------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
     Name = "minigun"
    ,BulletType = "6.5mm"
    ,Ammo = Var.Ammo.Value
    ,ChangeFOV = {60, 60}
    ,ZoomAnim = false
    ,FocusOnSight = false
    ,FocusOnSight2 = false
    ,MagCount = true
    ,Bullets = 1
    ,FireRate = 900
    ,BurstFireRate = 900
    ,BurstShot = 3
    ,GunType = 1                --- 1 - Rifle, 2 - Shotgun
    ,ReloadType = 1             --- 1 - Magazine, 2 - Shell inserting
    ,Mode = "Auto"              --- Semi, Burst, Auto, Explosive || Bolt-Action, Pump-Action
    ,FireModes = {
        ChangeFiremode = false;     
        Semi = true;
        Burst = false;
        Auto = true;
        Explosive = false;}
----------------------------------------------------------------------------------------------------
-----------------------=[ PUMP-ACTION ]=------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,AutoChamber = false
    ,ChamberWhileAim = false
----------------------------------------------------------------------------------------------------
-----------------=[ RECOIL & PRECISAO ]=------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,VRecoil = {17,23}              --- Vertical Recoil
    ,HRecoil = {3,4}                --- Horizontal Recoil
    ,AimRecover = .75               ---- Between 0 & 1

    ,RecoilPunch = .5
    ,VPunchBase = 2.75              --- Vertical Punch
    ,HPunchBase = 1.35              --- Horizontal Punch
    ,DPunchBase = 1                 --- Tilt Punch | useless

    ,AimRecoilReduction = 5         --- Recoil Reduction Factor While Aiming (Do not set to 0)
    ,PunchRecover = 0.2
    ,MinRecoilPower = .5
    ,MaxRecoilPower = 3.5
    ,RecoilPowerStepAmount = .25

    ,MinSpread = 1.25               --- Min bullet spread value | Studs
    ,MaxSpread = 40                 --- Max bullet spread value | Studs
    ,AimInaccuracyStepAmount = 0.75
    ,WalkMultiplier = 0             --- Bullet spread based on player speed

    ,SwayBase = 0.05                --- Weapon Base Sway | Studs
    ,MaxSway =  1.5                 --- Max sway value based on player stamina | Studs
----------------------------------------------------------------------------------------------------
---------------------=[ DANO ]=---------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,LimbsDamage = {45,50}
    ,TorsoDamage = {67,72}
    ,HeadDamage = {130,140}
    ,BulletPenetration = 65          ---- Between 0 & 100%
    ,FallOfDamage = 1
----------------------------------------------------------------------------------------------------
-------------------=[ PROJETIL ]=-------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,Distance = 10000
    ,BDrop = .25
    ,BSpeed = 2200

    ,SuppressMaxDistance = 25   --- Studs
    ,SuppressTime = 10          --- Seconds

    ,BulletWhiz = true
    ,BWEmitter = 25
    ,BWMaxDistance = 200

    ,BulletFlare = false
    ,BulletFlareColor = Color3.fromRGB(255,255,255)

    ,Tracer = true
    ,TracerColor = Color3.fromRGB(255,255,255)
    ,TracerLightEmission = 1
    ,TracerLightInfluence = 0
    ,TracerLifeTime = .2
    ,TracerWidth = .1
    ,RandomTracer = false
    ,TracerEveryXShots = 5
    ,TracerChance = 100

    ,BulletLight = false
    ,BulletLightBrightness = 1
    ,BulletLightColor = Color3.fromRGB(255,255,255)
    ,BulletLightRange = 10

    ,ExplosiveHit = false
    ,ExPressure = 500
    ,ExpRadius = 25
    ,DestroyJointRadiusPercent = 0  --- Between 0 & 1
    ,ExplosionDamage = 100

    ,LauncherDamage = 100
    ,LauncherRadius = 25
    ,LauncherPressure = 500
    ,LauncherDestroyJointRadiusPercent = 0
----------------------------------------------------------------------------------------------------
--------------------=[ OUTROS ]=--------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,FastReload = true                  --- Automatically operates the bolt on reload if needed
    ,SlideLock = false
    ,MoveBolt = true
    ,BoltLock = false
    ,CanBreachDoor = false
    ,CanBreak = false                   --- Weapon can jam?
    ,JamChance = 1000                   --- This old piece of brick doesn't work fine >;c
    ,IncludeChamberedBullet = true      --- Include the chambered bullet on next reload
    ,Chambered = false                  --- Start with the gun chambered?
    ,LauncherReady = false              --- Start with the GL ready?
    ,CanCheckMag = true                 --- You can check the magazine
    ,ArcadeMode = true              --- You can see the bullets left in magazine
    ,RainbowMode = false                --- Operation: Party Time xD
    ,ModoTreino = false                 --- Surrender enemies instead of killing them
    ,GunSize = 4
    ,GunFOVReduction = 5

    ,BoltExtend = Vector3.new(0, 0, 0.4)
    ,SlideExtend = Vector3.new(0, 0, 0.4)   
----------------------------------------------------------------------------------------------------
--------------------=[ CFRAME ]=--------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,EnableHolster = false
    ,HolsterTo = 'Torso'                 -- Put the name of the body part you wanna holster to
    ,HolsterPos = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))

    ,RightArmPos = CFrame.new(-0.85, -0.2, -1.2) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))   --Server
    ,LeftArmPos = CFrame.new(1.05,0.9,-1.4) * CFrame.Angles(math.rad(-100),math.rad(25),math.rad(-20))  --server

    ,ServerGunPos = CFrame.new(-.3, -1, -0.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0))
    ,GunPos = CFrame.new(0.15, -0.15, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))

    ,RightPos = CFrame.new(-.65, -0.2, -1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) --Client
    ,LeftPos = CFrame.new(1.2,0.1,-1.6) * CFrame.Angles(math.rad(-120),math.rad(35),math.rad(-20))  --Client
}

return Config


1 answer

Log in to vote
0
Answered by
NykoVania 231 Moderation Voter
2 years ago

Try setting semi = false

local Tool = script.Parent.Parent.Parent
local ACS = Tool:WaitForChild("ACS_Modulo")
local Var = ACS:WaitForChild("Variaveis")

local Config = {

----------------------------------------------------------------------------------------------------
---------------------=[ GERAL ]=--------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
     Name = "minigun"
    ,BulletType = "6.5mm"
    ,Ammo = Var.Ammo.Value
    ,ChangeFOV = {60, 60}
    ,ZoomAnim = false
    ,FocusOnSight = false
    ,FocusOnSight2 = false
    ,MagCount = true
    ,Bullets = 1
    ,FireRate = 900
    ,BurstFireRate = 900
    ,BurstShot = 3
    ,GunType = 1                --- 1 - Rifle, 2 - Shotgun
    ,ReloadType = 1             --- 1 - Magazine, 2 - Shell inserting
    ,Mode = "Auto"              --- Semi, Burst, Auto, Explosive || Bolt-Action, Pump-Action
    ,FireModes = {
        ChangeFiremode = false;     
        Semi = false;
        Burst = false;
        Auto = true;
        Explosive = false;}
----------------------------------------------------------------------------------------------------
-----------------------=[ PUMP-ACTION ]=------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,AutoChamber = false
    ,ChamberWhileAim = false
----------------------------------------------------------------------------------------------------
-----------------=[ RECOIL & PRECISAO ]=------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,VRecoil = {17,23}              --- Vertical Recoil
    ,HRecoil = {3,4}                --- Horizontal Recoil
    ,AimRecover = .75               ---- Between 0 & 1

    ,RecoilPunch = .5
    ,VPunchBase = 2.75              --- Vertical Punch
    ,HPunchBase = 1.35              --- Horizontal Punch
    ,DPunchBase = 1                 --- Tilt Punch | useless

    ,AimRecoilReduction = 5         --- Recoil Reduction Factor While Aiming (Do not set to 0)
    ,PunchRecover = 0.2
    ,MinRecoilPower = .5
    ,MaxRecoilPower = 3.5
    ,RecoilPowerStepAmount = .25

    ,MinSpread = 1.25               --- Min bullet spread value | Studs
    ,MaxSpread = 40                 --- Max bullet spread value | Studs
    ,AimInaccuracyStepAmount = 0.75
    ,WalkMultiplier = 0             --- Bullet spread based on player speed

    ,SwayBase = 0.05                --- Weapon Base Sway | Studs
    ,MaxSway =  1.5                 --- Max sway value based on player stamina | Studs
----------------------------------------------------------------------------------------------------
---------------------=[ DANO ]=---------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,LimbsDamage = {45,50}
    ,TorsoDamage = {67,72}
    ,HeadDamage = {130,140}
    ,BulletPenetration = 65          ---- Between 0 & 100%
    ,FallOfDamage = 1
----------------------------------------------------------------------------------------------------
-------------------=[ PROJETIL ]=-------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,Distance = 10000
    ,BDrop = .25
    ,BSpeed = 2200

    ,SuppressMaxDistance = 25   --- Studs
    ,SuppressTime = 10          --- Seconds

    ,BulletWhiz = true
    ,BWEmitter = 25
    ,BWMaxDistance = 200

    ,BulletFlare = false
    ,BulletFlareColor = Color3.fromRGB(255,255,255)

    ,Tracer = true
    ,TracerColor = Color3.fromRGB(255,255,255)
    ,TracerLightEmission = 1
    ,TracerLightInfluence = 0
    ,TracerLifeTime = .2
    ,TracerWidth = .1
    ,RandomTracer = false
    ,TracerEveryXShots = 5
    ,TracerChance = 100

    ,BulletLight = false
    ,BulletLightBrightness = 1
    ,BulletLightColor = Color3.fromRGB(255,255,255)
    ,BulletLightRange = 10

    ,ExplosiveHit = false
    ,ExPressure = 500
    ,ExpRadius = 25
    ,DestroyJointRadiusPercent = 0  --- Between 0 & 1
    ,ExplosionDamage = 100

    ,LauncherDamage = 100
    ,LauncherRadius = 25
    ,LauncherPressure = 500
    ,LauncherDestroyJointRadiusPercent = 0
----------------------------------------------------------------------------------------------------
--------------------=[ OUTROS ]=--------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,FastReload = true                  --- Automatically operates the bolt on reload if needed
    ,SlideLock = false
    ,MoveBolt = true
    ,BoltLock = false
    ,CanBreachDoor = false
    ,CanBreak = false                   --- Weapon can jam?
    ,JamChance = 1000                   --- This old piece of brick doesn't work fine >;c
    ,IncludeChamberedBullet = true      --- Include the chambered bullet on next reload
    ,Chambered = false                  --- Start with the gun chambered?
    ,LauncherReady = false              --- Start with the GL ready?
    ,CanCheckMag = true                 --- You can check the magazine
    ,ArcadeMode = true              --- You can see the bullets left in magazine
    ,RainbowMode = false                --- Operation: Party Time xD
    ,ModoTreino = false                 --- Surrender enemies instead of killing them
    ,GunSize = 4
    ,GunFOVReduction = 5

    ,BoltExtend = Vector3.new(0, 0, 0.4)
    ,SlideExtend = Vector3.new(0, 0, 0.4)   
----------------------------------------------------------------------------------------------------
--------------------=[ CFRAME ]=--------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
    ,EnableHolster = false
    ,HolsterTo = 'Torso'                 -- Put the name of the body part you wanna holster to
    ,HolsterPos = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))

    ,RightArmPos = CFrame.new(-0.85, -0.2, -1.2) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))   --Server
    ,LeftArmPos = CFrame.new(1.05,0.9,-1.4) * CFrame.Angles(math.rad(-100),math.rad(25),math.rad(-20))  --server

    ,ServerGunPos = CFrame.new(-.3, -1, -0.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0))
    ,GunPos = CFrame.new(0.15, -0.15, 1) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))

    ,RightPos = CFrame.new(-.65, -0.2, -1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) --Client
    ,LeftPos = CFrame.new(1.2,0.1,-1.6) * CFrame.Angles(math.rad(-120),math.rad(35),math.rad(-20))  --Client
}

return Config


0
Sorry I think I misread your post, try settings bullets = 1 to the amount of bullets you want per magazine, for example: Bullets = 30. NykoVania 231 — 2y
0
I found out that is how many bullets come out at once I put it at 1,000 and it crashed my game ???? betme778 6 — 2y
0
I don't think you can set it that high, too many instances being created at once. NykoVania 231 — 2y
Ad

Answer this question