How to make numbervalue gui

what i wanted to do is whenever numbervalue changed the gui size will scale down with numbervalue like
when numbervalue change gui size will scale down a little and like when numbervalue = 27 gui size will scale down a little 27 times and until the size is 0 and whenever size is equal to 0 or less than 0 the gui will be deleted i have a lot problem with this this might be hard i don’t know but i hope you guys help, cheers!
:sunglasses:
Here’s the script

for i,v in pairs(hit.Parent.HumanoidRootPart:GetChildren()) do

					if v.Name == "UIPart" then
						TS:Create(v.NameTagGui.Frame1,TweenInfo.new(0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.Out),{Size = v.NameTagGui.Frame1.Size + UDim2.new(0, 0,0.5, 0)}):Play()
						if v.Value <= 0 then
							for _,v in pairs(hit.Parent:GetChildren()) do
								
								if v.Name == "BlockHits" then
									
									game.Debris:AddItem(v,0)
									
								end
								
							end
							game.Debris:AddItem(v,0)
							StunHandler.Stun(hum,1.4)
							Stu2.Parent = hit.Parent
							game.Debris:AddItem(Stu2,1.4)
							local GB1 = Instance.new("BoolValue",hit.Parent)
							GB1.Name = "GuardBreak"
							game.Debris:AddItem(GB1,1)
							for _,v in pairs(hit.Parent.HumanoidRootPart:GetChildren()) do

								if v.Name == "UIWeld" or v.Name == "UIPart" then

									game.Debris:AddItem(v,0)

								end

							end


						end
					end