Testing out the new Input Action System, and running into an odd issue. Why does :GetState() only work if I reference the InputContext through the script itself and not through startergui? (See video)
1 Like
You are referencing the gui in “StarterGui” which is different from the location the player’s actual gui is stored at “PlayerGui.”
The correct path should be: game.Players.LocalPlayer.PlayerGui.Keybinds:FindFirstChild(“InputContext”)
1 Like
This makes sense! I don’t know how I didn’t consider that. Thank you!
Happy to help!! And your flight system looks very cool
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.