I want to make store where players can buy weapons, but where would i store the weapons so that if the player buys it it will be added to there inventory. Sorry i dont have a script to show :/
ReplicatedStorage is most likely what you're looking for. You can store objects within it, and while in ReplicatedStorage, scripts don't run, and everything is exactly how it was when it was put in.
Lighting was used before ReplicatedStorage was added in, but it is much less efficient and not recommended unless for some odd reason you can't use ReplicatedStorage.
If you found my answer helpful, consider giving me an upvote and checking out Roblox Guides. If it was hard to understand or you have any questions, feel free to contact me.