CENTAURA
5.8k Views
189 Executions

GUN MOD

CENTAURAUploaded by
1 year ago
Please login to perform these actions:

Description

The silly developers put everything in the gun settings lol

View Raw
Edited By: ccjj Download


Comments

7
Log in to join the conversation. Login
Suckmy**'s profile picture
Suckmy**9 months ago

not working just breaks the gun system and puts the gun in my torso for some god forsaken reason

1
drummer's profile picture
drummer10 months ago

@ccjj hi, great script, but there is a problem, you actually have to press R every time you shoot because seem to me, whatever ammo count value i put in there, all gun only shoot 1 bullet then stop working, you have to press R to continue to shoot, which mean spam R and shoot at the same time will work, but it hurts my hand, also, the same thing also apply to melee too, which mean you can only swing once, then you cannot swing at all till you die. Any fix to this?

1
breezipsettings's profile picture
breezipsettings2 months ago

@drummer Hey, Dude. I found the reason wha Caused This, Okay. The reason the original script broke the gun system and caused the errors described by other users is that AmmoCount = 0 and the damage values were set to 0. In the decompiled gun script I found In game:GetService("ReplicatedStorage").TREKScripts.Gun, firing checks require AmmoCount > 0: Lua if not (AmmoCount > 0) then processReload() return end When AmmoCount is set to 0, the gun instantly *umes it is empty, triggers an endless reload loop, forces you to keep pressing R to fire a single shot, or breaks melee swings entirely because melee weapons also rely on valid states and configs. Setting Damage and fire rate values to 0 similarly breaks the math inside GetDamage() and task.wait(60 / v4.firerate) (which results in division by zero or infinite delay). I "fixed" it here check it out here https://pastebin.com/raw/4rpRuWsX

1
zilo's profile picture
zilo1 year ago

cooking on this rn will work in like 10s

1
J0sh's profile picture
J0sh1 year ago

dosent work

1
CipiLipi222's profile picture
CipiLipi2221 year ago

all it did was that i couldn't use my gun

1

[deleted]

Replying to a deleted comment
ccjj's profile picture
ccjjUploader1 year ago

@Yukari Modify the firearms value

1