I’m currently beginning the process of programming for my upcoming game. This game will have a lot of features and different gameplay. With this being said I want to make sure my game is secure as well as the Inventory system of my game is secure. After doing research I haven’t been able to find a good or clear answer to this. I’m currently debating if I should be using Module Scripts, Normal Scripts or Local scripts for the majority of the game. My biggest concern is exploiters giving themselves money. I do plan on having an anticheat and I understand that I won’t be able to block anything however I want to make sure that the biggest things are blocked. Examples would be them messing with everyones money or giving themselves lots of money etc. So my final question is the following which of these things listed below should I avoid using as much as possible and where should I try to store most of my core scripts. If you guys could let me know the risk of using the following and where they should be stored that would be great.
- Local Scripts
- Normal Scripts
- Module Scripts
- Remote Events
- Remote Functions
- Datastores
On that note which of the following are the safest places to store scripts?
- Workspace
- Replicated Storage
- StarterPlayerScripts
- StarterCharacterScripts
- ServerStorage
- ServerScriptService
Thank you for taking the time to read this. Hopefully this is the right area.