How would one make the mouse’s position continuously change a parts position

Hey everyone I was simply wondering how would one send the mouses position without stressing the server and make it so that the player may create a blast like this and move it around. Thank you for anyone who helps me learn new ways on how to continuously send data such as the mouses position to the server without creating much lag or exhausting the server

What you can do is let the client do the processing then have the server simply replicate it to all clients. In a sense what you are doing is locally setting the parts position but telling the server bro, dont worry about this one. I got this for you. This makes it so you are updating the other clients instead of the server, in a sense letting you manage it and not the server. Look into network ownership. (note, only for anchored baseparts) Network Ownership | Documentation - Roblox Creator Hub

1 Like

Oh wow, I didn’t even know about this function, But now that I experimented a bit with iy, it’s honestly so cool, I don’t understand the core mechanics of it but is it essentially allowing a player to control a parts property on the client side? But thank you for this! it gave me a lot insight as how to do it, I had another idea to simply add a body position locally to a part so that it can be moved constantly but some roblox physics interferred and I didn’t know how to fix it exactly. Again, Thank you!

Like I said when we think of updating a part on the client we simply are not replicating it to the server, in this case it lets us do the math to calculate it then we send that data from our computer to everybody else

Well, I jus gotta say thank you, I was wondering on how to do this for some time and while I didn’t really need to make this for my game but it definitely helped me to expand my abilities as a newbie scripter. Here is what I made. When a player presses X they activate the ability and when the key is released it stops and deletes all the parts FullSizeRender|video