Fixed some save/load error with script

Now float numbers will be saved and loaded correctly