What is in the title..
local health = player.Character.Humanoid.Health
script.Parent.Size = UDim2.new(0.health*3.63,0,2.3,0)
Offset wasn't doing very well so I changed the values to scale.
But when I try to add a 0.health it gives me the error saying:
Malformed number
How do I fix that?
Thanks!

4 comments
BOI
You could also do (health / 100) * 3.63. Hope this helps.
Or, tonumber('0.'..health)*3.63
Just edited it, assuming you're trying to set the size of the gui object to the percentage of what the player's health is.