Hi guys, I used to script before, but stopped when all these new storages came out (Replicated/serverscript/etc). I just wanted to ask what the proper placement for certain objects are. I understand that they were added largely for theft control.
ie. Before those all came out, I pretty much put all my scripts in workspace along with the map. I also put local scripts and other objects like tools/hops in lighting for easy access when needed. Guis in startergui etc
Now it just seems all soo complicated for me, having to put remote functions to call or fire a script? idk any of that. Im trying to take it one step at a time. Thank you
Usually, the placement doesn't really matter, but here are some common placements that people use:
ReplicatedStorage: Remote Events and Remote Functions tend to go here a lot. You usually want to use:
local RS = game:GetService("ReplicatedStorage") local event = RS:WaitForChild("RemoteEvent")
ServerScriptService: This is where you usually put loose scripts that don't really belong to a certain object. Main scripts (like handling rounds or the sort) go here. Module scripts are also sometimes placed here.
ServerStorage: You just tend to put objects that don't belong anywhere else here. This just keeps them stored somewhere until you need them.
I hope this helped!