local AKMod = game.CoreGui.ScreenGui.main.AK
AKMod.MouseButton1Down:connect (onAKModActivated()
local player = game:GetService("Players").LocalPlayer
local gun = player.Backpack:FindFirstChild("AK-47")
local sM = require(gun:FindFirstChild("GunStates"))
sM["Damage"] = 999
sM["MaxAmmo"] = 9999991
sM["StoredAmmo"] = 9999991
sM["FireRate"] = 0.000001
sM["AmmoPerClip"] = 9999991
sM["Range"] = 5000
sM["ReloadTime"] = 0.05
sM["Bullets"] = 10
sM["AutoFire"] = true
end)
I just dont have a clue. how to fix it

6 comments
Where exactly is the error because it says line 73 but there's only 15 lines
Line 3
I think Connect should be with a capital
Did you set up the module correctly?
why is there a "CoreGui"...
CoreGui is for plugins and stuff