How to anchor/weld locally?

Hello, everyone!
Lately I have been working on my project and noticed that when I anchor or weld my character to parts locally my character reacts fine, but on server character just freezes. I don’t want to use remotes to replicate character’s position, since that can kill server because of the amount of players (let’s say 50), or maybe I am wrong and server will react fine.
Here is what I have right now:

1 Like

You wouldn’t necessarily require to replicate the players position to the server, Just make so the script runs in server not client.
I can’t see how you have scripted this so it’s hard to understand what you exactly mean.

I can’t replicate it to the server for several reasons:
First, my scipt does a lot of raycasting, which will cause lag and slow the game if there are 50 players.
Seconds, there are serviced that can be used only in LocalScript.

There seems to be a misunderstanding, Raycasting isn’t that expensive in Roblox

As you can see you can cast 600 raycasts per frame.

Your actually would be making, this worse by handling locally, since a lot variables can be changed by exploiters and script kiddies. I honestly just recommend making it server side, even if there is 50 players I doubt it would cause a lot of problems, plus why 50?

EDIT: He did use his own module though he used projectiles, meaning the results stilll should be similar.

Hm, if Server can handle that much raycasting, then I guess I can easily update character’s CFrame for each client.
I don’t really care about exploiters since there is only one remote (to update character) that can’t be abused that hard.

My policy is to create fun Idie game to show people that there are many creative games that were dropped cause of the simulators.