It was a local script! I just changed it, but it still doesn’t work even with the .Value at the end. It just makes it so it tries finding an object called value in the AK47 which there is not one.
Where is the script that changes the object value running in?
Remember that if the script is in any storage service, it won’t work. I most recommend that the script is in ServerScriptService.
Its running inside a GUI button, in which it changes a value within the player, would I have to make a new script in ServerScriptService that detects what button the player presses and changes the value accordingly?