My script seems to be working fine its just that the printing doesn't work?
1 | if playerGui:SetTopbarTransparency( 1 ) then --The Transparency is Invisible |
2 | print ( "1" ) --Not Printing |
3 | end |
you're trying to get and set the value at the same time lol
for this to work how you'd like, must use GetTopbarTransparency()
1 | local topBarTransparency = playerGui:GetTopbarTransparency() |
2 |
3 | if topBarTransparency = = 1 then |
4 | print ( 'Its 1' ) |
5 | else |
6 | print ( 'Its ' ,topBarTransparency) |
7 | end |