I want to restrict this to X movement alone. I just started using newer features of Roblox and gamepads are harder than I thought. I'm making a Side-scrolling fighting game like Mortal Kombat.
game:GetService("UserInputService").InputChanged:connect(function(input, processed)
if input.UserInputType == Enum.UserInputType.Gamepad1 then
if input.KeyCode == Enum.KeyCode.Thumbstick1 then
character.Humanoid:Move(Vector3.new(input.Position.X, 0, -input.Position.Y), true)
end
end
end)

2 comments
im PRetty sure its :MoveTo i might be wrong
Use the Console to see where errors are in your script