Pandora Static Legs in air fix

Can someone fix my old pandora static legs in air lua from previous pandora version to new?
I know its shitcode but there was no other way to do it, and now when i try to use m_fFlags in new pandora v2 it doesnt work

Fix it please:
local label_space = ui.add_label("Space")
local hotkey_space = ui.add_hotkey("Space")

function staticlegs()
   local entity_get_client_entity = entity_list.get_client_entity
   get_local_player = entity_get_client_entity(engine.get_local_player())
   local get_m_fFlags = get_local_player:get_prop("DT_CSPlayer", "m_fFlags")

   if hotkey_space:get() then
      
   get_m_fFlags:set_float(1.0)
  
 end
end

callbacks.register("post_move", staticlegs)
 
Сверху Снизу