It doesn't change the size of the gui as expected
local HealthOverlay = script.Parent.Health:WaitForChild("Overlay")
local xscale = 0
local xOffset = 250
local yscale = 0
local yOffset = 23
HealthOverlay.Size = UDim2.new({xscale,xOffset},{yscale,yOffset})

8 comments
Is it meant to be around curly braces like that and did you get anything from the output with red or orange lines and have you tried doing HealthOverlay.Size.x = ... etc.
remove the tables and just pass the variables.
@xxcoordinatorxx - I shows no errors and changes all the values to 0 instead of what I want it to be
*it
Have you tried using the graphical interface tools and resize it that way?
Yes it still doesn't work
I think your overlay is ruined you might have to start over sadly
As kingdom5 said, UDim2 's dont take tables, they take 4 separate args. remove the curly braces.