Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

The Statement for printing isn't working?

My script seems to be working fine its just that the printing doesn't work?

if playerGui:SetTopbarTransparency(1) then --The Transparency is Invisible
	print("1") --Not Printing
end

1 answer

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()

local topBarTransparency = playerGui:GetTopbarTransparency()

if topBarTransparency == 1 then
	print('Its 1')
else
	print('Its ',topBarTransparency)
end

This discussion is preserved as it was. New answers, comments, and votes are closed.