Where is a good place to put my scripts?

Okay, so I’m making a local script which fires a remote to the server, but I was wondering if I should sort the remotes into ReplicatedStorage and server scripts into ServerScriptService. Does it even matter performance-wise? Should I just put my scripts and remotes in my local script instead?

image
^ What I think I should do

1 Like

It depends on where you want to run it. But from basic knowledge I’d suggest the following:

LocalScript.Parent = game:GetService('StarterPlayer').StarterPlayerScripts
RemoteEvent.Parent = game:GetService('ReplicatedStorage')
Script.Parent = game:GetService('ServerScriptService')

I personally like to have everything organized, so I create folders to know what is what.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.