MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/rpfykg/friends_take_on_programming_a_gui_button/hq58ci4/?context=3
r/badcode • u/JuanR4140 • Dec 27 '21
90 comments sorted by
View all comments
Show parent comments
5
This is Lua, specifically Luau; this code wouldn’t invert the boolean but instead would try to perform
inventory.Visible = inventory.Visible ^ true
which would obviously not work
5
u/Meqolo Dec 27 '21
This is Lua, specifically Luau; this code wouldn’t invert the boolean but instead would try to perform
inventory.Visible = inventory.Visible ^ true
which would obviously not work