I have a RenderStepped function that keeps the MouseBehavior locked at center because that's the only way it seems to work for me in-game. But i'm trying to figure out a way to disable it and re-enable it so the player can access in-game guis
main.run.RenderStepped:Connect(function()
main.uis.MouseBehavior = Enum.MouseBehavior.LockCenter
end)

1 comment
Thank you, this is the method that worked for me.