Script running in StarterPlayerScripts?

The reason your server script is running in that area is because you set the RunContext of the script to client. That means it will essentially function like a LocalScript, while being able to run in places LocalScripts can’t run in (e.g. Workspace).

You can learn more about it in the announcement they made 2 years ago: