Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is mouse position laggy on server?

I have a weapon that shoots a projectile which you can control with your mouse. It works by having the localscript calling the severscript with the player's mouse position repeatedly through a loop.

while ready == false do
	event:FireServer("Firing", mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
	wait()
end

It works alright when I play on solo, but I worry about if it will work with 10+ player, as I've heard *mouse *is not recommended to use in serverscripts.

1 answer

It's probably the client to server ping/lag issues, I don't think mouse on local is laggy.

This discussion is preserved as it was. New answers, comments, and votes are closed.