Revive Above corpse

Goodmorning i got a question, i have modified my core so when you die ingame you respawn above youré corpse.but when you press revive my walk speed is so slow it gets default setted to walkspeed 0.1.

if you are still a ghost the movement speed is just fine.

if you do a relog its gone.

can somone tell me how to fix this issue?i am using compile trinity&Eluna core

[ATTACH]2321._xfImport[/ATTACH]