Unfortunately you cannot DISABLE Roblox’s automatic replication, and therefore it will still occur even if you improvise and replicate manually. With that being said, if you replicate using the module or with any other manual method, you will always run into the issue of the tween running twice.
But I’m creating the tween on a client, why it replicates to the server (since it shouldn’t)? This is really weird; also, if I remove the replication, the only tween shown will be one like the second one (delayed, not smooth, quicker).
Thank you for replying!
It should. Most changes to the character via the client are automatically replicated to the server. For example, if you changed your walkspeed on the client, it will replicate to the server. The same applies to CFrame changes, which explains the replication of your tween.
Then how can I fix this? Since it is not smooth at all and delayed (just like if I would have created the tween directly from the server) and I can’t avoid it, what’s the point of tweens in the first place if they can’t be played correctly (since, regardless to what I do, they’ll always be replicated incorrectly to server)?
Thank you for replying!
Can you please demonstrate this replication issue you are describing?
This looks like when I’m manually replicating (as you can see, character’s position is corrected as soon as I move):
This looks like when I’m not manually replicating (as you told me):
https://streamable.com/wu8fuh
Thank you for replying!
If the delay is a big deal, you could technically move the tween handling over to the server and only the server (via a simple remove event for example) and not rely on any replication.
However, some are against using the server for a detailed tween like the one you are attempting to create. If this applies to you, unfortunately the only thing I see plausible is to deal with the delay. Otherwise, my only other solution is to give this a try.
It isn’t like that, I’ve seen a lot of tweens from client that actually are smooth and not delayed. I also have seen a lot of people replicate their tweens/VFX from a client to clients (so, if you’re right, all they’ve done would be absolutely inecessary.
EDIT: just like this.
Thank you for replying!
Also, just switched to :FireAllClients() instead of everyone but the original client (so it happens locally for each client and doesn’t get automatically replicated) but it is still happening.
Thank you for reading!