i have seen videos of people scripting and i have seen them use things like values and folders but i dont know when i will need to use them and where i put them. Could someone explain to me please?
how do i know when to use objects values when scripting and how do i know where i need to put them?
2 answers
You never have to use them. Some people prefer to use ModuleScripts to store cross-script values, some people communicate between scripts using BindableEvents, it's all what you're comfortable with. If you want to use value objects, use value objects! If you want to organize stuff using folders, use folders! It's up to you and what makes sense for what you're doing.
You use them when you have to, it's kinda obvious :P It's easier to edit the value instead of entering the script everytime, that's pretty much the main reason.
I hope this helped you.
2 comments
I would still say to avoid using value holders as you can easily recreate the same functionality with a module script.
^ What's better about a module script? Nothing, if you're using them for the same purpose.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
but how will i know when to use sever script storage etc.?
ServerScriptStorage is where you put scripts that you don't want in the workspace, see more information here. https://www.robloxdev.com/api-reference/class/Script