I asked a question yesterday on how to put the character into a marble, which got answered, all went well until it came into implementing the custom movement, as I had an idea of:

Local script reigsters a key press, and sends a remote event, server script would respond to remote event depending on the key pressed

Would this work?

I'm aware on how to do it, I'm just unaware if this is a completely stupid and inefficient way of doing it.

4 comments

0

What do you mean specifically by "custom movement"?

0

I mean WASD controls, that go forward, left, back and right respectively, whilst also having gravity

0

https://developer.roblox.com/articles/Roblox-Client-Server-Model says "If the part is created by a client and that client simulates physics, the resulting changes will get copied to the server." I'm not sure if that sort of thing could be a valid way to do it, or if the lag for that player and/or other players would be better, worse, or about the same as your idea.

0

Thank you so much, I've now made a custom movement system using your help :D