While I was reading this tutorial I wanted to do some experiments and I came across this
UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter
print(UserInputService.MouseBehavior) -- print Enum.MouseBehavior.LockCenter
wait()
print(UserInputService.MouseBehavior) -- print Enum.MouseBehavior.Default
As you can see UserInputService.MouseBehavior changes its value automatically after a while, why doesn’t it keep its value?