Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

Console Movement Controls not Initializing?

Asked by 4 years ago
Edited 4 years ago

This isn't a code error per-say, but I need help. On the current concept I'm developing, I'm creating compatibility for both Console and PC controls. There seems to be some kind of Roblox error regarding the Humanoid:LoadCharacter() function where console movement doesn't initialize upon respawn. It works completely fine for keyboard controls and the rest of the Xbox controls seem to work fine. It seems to be exclusively movement for console.

The PlayerModule script(s) are in the PlayerScripts folder, and therefore isn't reset upon :LoadCharacter(), so I'm wondering if it's just some weird glitch having to do with that.

Or, maybe, it has something to do with the fact I have both the Xbox controller and the keyboard connected?

Any ideas on how I can go about fixing this manually?

1 answer

Log in to vote
0
Answered by
A_thruZ 29
4 years ago

You can fork the core movement scripts (no need for forking Camera scripts) and make a new LocalScript inside of StarterPlayerScripts with custom movement. This essentially gives more creativity such as the ability for the player to rebind keys, etc.

Ad

Answer this question