I want detect how the mouse moves. For example, I want to check if the mouse moving seems natural or it seems like a robot. Thank you if you could help!
PS: I’m willing to script it myself. Just give me an example and if it’s possible.
Not a solution as this seems extremely difficult to work reliably since I’m assuming its for an anti-cheat, but you could try detecting if the mouse continuously moves to an exact position, or if it goes in a straight line at a constant fixed speed however you would do that, but it depends what it’s for, if you elaborate a bit more I might be able to help more.
local UIS = game:GetService("UserInputService")
UIS.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
print(input.Position)
end
end)
Yes, this for an anti bot, I was making an approach similar to re captcha, a bot doesn’t move a mouse like a human. Any idea how I detect if the movement is too precise?