LUA script in nvim to chage cursor shape

Tried LUA script in nvim to chage cursor shape by its part:
local o=vim.opt

o.guicursor = ‘n-v-sm-i-ci-ve:block,i-cr-o:ver33,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor’

o.guicursor:append(‘r:hor33’)

Expecting in insert mode it’s one-third block as left side/part and in replace it’s that of bottom part, but seems not work

Any great help to the correct one?