local UserInputService = game:GetService("UserInputService")
function OnInputChanged(Input)
if Input.KeyCode == Enum.KeyCode.Thumbstick1 then
print (Input.Delta.X, Input.Delta.Y)
if Input.Delta.X > 0 then
print("Right")
elseif Input.Delta.X < 0 then
print("Left")
elseif Input.Delta.Y < 0 then
print("Down")
elseif Input.Delta.Y > 0 then
print("Up")
else
print "None"
end
end
end
UserInputService.InputChanged:Connect(OnInputChanged)
For some reason, this script is printing "Down" even when my thumbstick isn't moving. Other times Its printing "Right" and when I stop moving it says "Left. Also, when I'm going Up it starts printing "Down" when I stop moving. Why is this? How do I make this script more accurate?

2 comments
thats literally the same script i posted..
not really?