I’m trying to make a custom TextBox, but I’m stuck at one part. I’m wondering if it’s possible to replicate how a TextBox disables your movement and only captures keys with CaptureFocus, but without the TextBox itself. If anyone has any idea’s, your help would be appreciated.
hmm, guess you will need to create a function to disable player is movement and re-enable it after player is focus off the textbox.
function DisableMovement(Player)
local Character = Player.Character or Player.CharacterAdded:Wait()
Character.Humanoid.WalkSpeed = 0
end
guess this code will work.