for i,v in pairs(playerGui:GetChildren()) do
if v.Name ~= "HatchingGui" and v.Name ~= "PetsBill" then
v.Enabled = false
if v.Name == "PetsInv" then
for i,n in pairs(v:GetChildren()) do
if n:IsA("BillboardGui") then
n.Size = UDim2.new(0,0,0,0)
end
end
end
end
end
-- sometime later in code
for i,v in pairs(playerGui:GetChildren()) do
if v.Name ~= "Shop" then
v.Enabled = true
if v.Name == "PetsInv" then
for i,n in pairs(v:GetChildren()) do
if n:IsA("BillboardGui") then
n.Size = UDim2.new(15,0,20,0)
end
end
end
end
end
Why tf does this change the scales of every single ui stroke in my game for the player. And yes this is the source of the issue when i enable this part back it happens again.
I have searched “Thickness” “UIStroke” and everything u can think of in find all already. I know that this code is the issue 100% but idk WHY it is.
Its been days and still no solution anything helps ty!