a = script.Parent.Parent.StarterPack.Stars.Value b = script.Parent.Parent.StarterGUI.ScreenGui if a == 1 then b.Star1.ImageTransparency = 0 end if a == 2 then b.Star1.ImageTransparency = 0 b.Star2.ImageTransparency = 0 end if a == 2 then b.Star1.ImageTransparency = 0 b.Star2.ImageTransparency = 0 b.Star3.ImageTransparency = 0 end if a == 2 then b.Star1.ImageTransparency = 0 b.Star2.ImageTransparency = 0 b.Star3.ImageTransparency = 0 b.Star4.ImageTransparency = 0 end if a == 2 then b.Star1.ImageTransparency = 0 b.Star2.ImageTransparency = 0 b.Star3.ImageTransparency = 0 b.Star4.ImageTransparency = 0
end
So, in my StarterPack I have a Value called Stars, which represents the number of stars appear when a crime is committed. Star1, Star2, Star3, etc. represents the 5 possible Stars that can show up. They are all currently transparent, until (I assume) the Value in the StarterPack goes up..
Please try putting your code snip in a code block so that it is actually readable.