Do server scripts copied from replicatedstorage by the client still run on the server

simple question; but very important

context:
a tower defense game i’ve been working on has model towers in replicatedstorage (for placing) and the actual towers in serverstorage
i’ve been trying to fix a huge exploiting problem in it, and i believe i’ve stamped out most of the obvious weaknesses; although this question is still a concern to me

1 Like

Script Instances will not run on client containers nor when they’re parented to the workspace from a client script.

2 Likes

If you create a copy on the client, it will only exist on the client. If you create a copy on the server, it will exist on the server and all clients. Then, it just depends on the script type and RunContext to determine if it’ll run or not.

Based on your question, the answer is no, these scripts will not run on the server as they only exist on the client.

1 Like

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