i create a simple script for this thing but dont work, can you help me?
wait()
local UserInputService = game:GetService("UserInputService")
UserInputService.MouseIconEnabled = false
UserInputService.MouseBehavior.EnumType(Enum.MouseBehavior.LockCenter)