How do I change the controls for an xbox or vr player?

I’ve already set the controls to scriptable in properties but I don’t know how to script the new controls.

Can someone help?

What do you mean when you say

?

If your looking for programming gamepad input I’d recommend checking this out Gamepad | Roblox Creator Documentation
As for Virtual Reality input, I don’t really know much about it but this might help you UserInputService | Roblox Creator Documentation. You can also try looking around on the dev hub if you have anymore questions.

Thank you! I’ll check those out!