I have this LocalScript that detects when the mouse moves and prints accordingly. When the mouse is moving in a circular motion it works fine. But if the mouse starts going in an up and down motion (and even sometimes side to side) then it starts to print that the mouse is idle.
Is there any way around this?
local mouse = game.Players.LocalPlayer:GetMouse()
local move = false
mouse.Move:Connect(function()
move = true
end)
mouse.Idle:Connect(function()
move = false
end)
while true do
if move then
print("Moving")
else
print("Idle")
end
wait()
end