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
I don't know what you are trying to do but it should be :Connect(function() unless you already made a function called onAKModActivated()
AKMod.MouseButton1Down:connect(function() -- Your code here end)